From 06c16a2959b251bad4100f49e866719015aaa159 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Tue, 17 Oct 2023 18:16:47 +0000 Subject: [PATCH] Add retryMode ALL_ACTIONS to RetryStageExecution API that retries a failed stage starting from first action in the stage Add domainWithSuffix finding field to dnsRequestAction Fixed error where ListCustomRoutingEndpointGroups did not have a paginator Documentation only updates to address Amazon ECS tickets. AWS Managed Streaming for Kafka is launching MSK Replicator, a new feature that enables customers to reliably replicate data across Amazon MSK clusters in same or different AWS regions. You can now use SDK to create, list, describe, delete, update, and manage tags of MSK Replicators. This release introduces three new APIs: StartBatchDeleteConfigurationTask, DescribeBatchDeleteConfigurationTask, and BatchDeleteAgents. Adds permissions for GetResourcePolicy to support returning details about AWS Resource Access Manager resource policies for shared resources. Adds Owner field to ListRoutingControls API. --- VERSION | 2 +- .../aws/codepipeline/CodePipelineClient.h | 13 +- .../model/RetryStageExecutionRequest.h | 18 +- .../aws/codepipeline/model/StageRetryMode.h | 3 +- .../source/CodePipelineEndpointRules.cpp | 196 ++-- .../source/model/StageRetryMode.cpp | 7 + ...plicationDiscoveryServiceEndpointRules.cpp | 186 ++-- .../ClusterServiceConnectDefaultsRequest.h | 16 +- .../include/aws/ecs/model/EnvironmentFile.h | 19 +- .../include/aws/ecs/model/HealthCheck.h | 66 +- .../include/aws/ecs/model/NetworkBinding.h | 232 ++--- .../include/aws/ecs/model/PortMapping.h | 232 ++--- .../source/ECSEndpointRules.cpp | 180 ++-- .../aws/guardduty/model/DnsRequestAction.h | 52 + .../aws/guardduty/model/ListFindingsRequest.h | 6 + .../source/GuardDutyEndpointRules.cpp | 212 ++-- .../source/model/DnsRequestAction.cpp | 19 +- .../include/aws/kafka/KafkaClient.h | 125 +++ .../aws/kafka/KafkaServiceClientModel.h | 25 + .../aws/kafka/model/AmazonMskCluster.h | 88 ++ .../kafka/model/ConsumerGroupReplication.h | 213 ++++ .../model/ConsumerGroupReplicationUpdate.h | 213 ++++ .../aws/kafka/model/CreateReplicatorRequest.h | 360 +++++++ .../aws/kafka/model/CreateReplicatorResult.h | 168 ++++ .../aws/kafka/model/DeleteReplicatorRequest.h | 133 +++ .../aws/kafka/model/DeleteReplicatorResult.h | 130 +++ .../kafka/model/DescribeReplicatorRequest.h | 83 ++ .../kafka/model/DescribeReplicatorResult.h | 560 +++++++++++ .../include/aws/kafka/model/KafkaCluster.h | 120 +++ .../kafka/model/KafkaClusterClientVpcConfig.h | 144 +++ .../aws/kafka/model/KafkaClusterDescription.h | 173 ++++ .../aws/kafka/model/KafkaClusterSummary.h | 132 +++ .../aws/kafka/model/ListReplicatorsRequest.h | 177 ++++ .../aws/kafka/model/ListReplicatorsResult.h | 155 +++ .../include/aws/kafka/model/ReplicationInfo.h | 238 +++++ .../kafka/model/ReplicationInfoDescription.h | 239 +++++ .../aws/kafka/model/ReplicationInfoSummary.h | 133 +++ .../aws/kafka/model/ReplicationStateInfo.h | 132 +++ .../include/aws/kafka/model/ReplicatorState.h | 34 + .../aws/kafka/model/ReplicatorSummary.h | 413 ++++++++ .../aws/kafka/model/TargetCompressionType.h | 34 + .../aws/kafka/model/TopicReplication.h | 232 +++++ .../aws/kafka/model/TopicReplicationUpdate.h | 233 +++++ .../model/UpdateReplicationInfoRequest.h | 289 ++++++ .../kafka/model/UpdateReplicationInfoResult.h | 130 +++ .../aws-cpp-sdk-kafka/source/KafkaClient.cpp | 159 +++ .../source/KafkaEndpointRules.cpp | 206 ++-- .../source/model/AmazonMskCluster.cpp | 59 ++ .../source/model/ConsumerGroupReplication.cpp | 124 +++ .../model/ConsumerGroupReplicationUpdate.cpp | 124 +++ .../source/model/CreateReplicatorRequest.cpp | 85 ++ .../source/model/CreateReplicatorResult.cpp | 62 ++ .../source/model/DeleteReplicatorRequest.cpp | 42 + .../source/model/DeleteReplicatorResult.cpp | 56 ++ .../model/DescribeReplicatorRequest.cpp | 27 + .../source/model/DescribeReplicatorResult.cpp | 133 +++ .../source/model/KafkaCluster.cpp | 74 ++ .../model/KafkaClusterClientVpcConfig.cpp | 90 ++ .../source/model/KafkaClusterDescription.cpp | 89 ++ .../source/model/KafkaClusterSummary.cpp | 74 ++ .../source/model/ListReplicatorsRequest.cpp | 58 ++ .../source/model/ListReplicatorsResult.cpp | 57 ++ .../source/model/ReplicationInfo.cpp | 120 +++ .../model/ReplicationInfoDescription.cpp | 120 +++ .../source/model/ReplicationInfoSummary.cpp | 74 ++ .../source/model/ReplicationStateInfo.cpp | 74 ++ .../source/model/ReplicatorState.cpp | 93 ++ .../source/model/ReplicatorSummary.cpp | 197 ++++ .../source/model/TargetCompressionType.cpp | 93 ++ .../source/model/TopicReplication.cpp | 141 +++ .../source/model/TopicReplicationUpdate.cpp | 141 +++ .../model/UpdateReplicationInfoRequest.cpp | 64 ++ .../model/UpdateReplicationInfoResult.cpp | 56 ++ .../Route53RecoveryClusterClient.h | 38 +- .../model/RoutingControl.h | 103 +- .../model/UpdateRoutingControlStateRequest.h | 12 +- .../Route53RecoveryClusterEndpointRules.cpp | 196 ++-- .../source/model/RoutingControl.cpp | 19 +- .../Route53RecoveryControlConfigClient.h | 26 + ...3RecoveryControlConfigServiceClientModel.h | 5 + .../model/AssertionRule.h | 44 + .../model/Cluster.h | 44 + .../model/ControlPanel.h | 44 + .../model/GatingRule.h | 44 + .../model/GetResourcePolicyRequest.h | 83 ++ .../model/GetResourcePolicyResult.h | 101 ++ .../model/RoutingControl.h | 44 + .../Route53RecoveryControlConfigClient.cpp | 34 + ...te53RecoveryControlConfigEndpointRules.cpp | 224 ++--- .../source/model/AssertionRule.cpp | 19 +- .../source/model/Cluster.cpp | 19 +- .../source/model/ControlPanel.cpp | 19 +- .../source/model/GatingRule.cpp | 19 +- .../source/model/GetResourcePolicyRequest.cpp | 27 + .../source/model/GetResourcePolicyResult.cpp | 48 + .../source/model/RoutingControl.cpp | 19 +- .../include/aws/core/VersionConfig.h | 4 +- .../codepipeline-2015-07-09.normal.json | 9 +- .../discovery-2015-11-01.normal.json | 4 +- .../ecs-2014-11-13.normal.json | 10 +- .../guardduty-2017-11-28.normal.json | 7 +- .../kafka-2018-11-14.normal.json | 929 ++++++++++++++++++ ...53-recovery-cluster-2019-12-02.normal.json | 28 +- ...very-control-config-2020-11-02.normal.json | 81 ++ ...pipeline-2015-07-09.endpoint-rule-set.json | 40 +- ...iscovery-2015-11-01.endpoint-rule-set.json | 40 +- .../ecs-2014-11-13.endpoint-rule-set.json | 40 +- ...uardduty-2017-11-28.endpoint-rule-set.json | 44 +- .../kafka-2018-11-14.endpoint-rule-set.json | 44 +- ...-cluster-2019-12-02.endpoint-rule-set.json | 40 +- ...l-config-2020-11-02.endpoint-rule-set.json | 40 +- 111 files changed, 10641 insertions(+), 1207 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/AmazonMskCluster.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplication.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplicationUpdate.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorRequest.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorResult.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorRequest.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorResult.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorRequest.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorResult.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaCluster.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterClientVpcConfig.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterDescription.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterSummary.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsRequest.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsResult.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfo.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoDescription.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoSummary.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationStateInfo.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorState.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorSummary.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TargetCompressionType.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplicationUpdate.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoRequest.h create mode 100644 generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoResult.h create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/AmazonMskCluster.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplication.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplicationUpdate.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorResult.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/KafkaCluster.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterClientVpcConfig.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterDescription.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfo.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoDescription.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicationStateInfo.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorState.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/TargetCompressionType.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/TopicReplicationUpdate.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoResult.cpp create mode 100644 generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyRequest.h create mode 100644 generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyResult.h create mode 100644 generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyResult.cpp diff --git a/VERSION b/VERSION index 8027cad8c8d..3da91b0c5e5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.180 \ No newline at end of file +1.11.181 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h index eb1848967a2..eb6c6dfa0e9 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h @@ -1033,10 +1033,15 @@ namespace CodePipeline } /** - *

Resumes the pipeline execution by retrying the last failed actions in a - * stage. You can retry a stage immediately if any of the actions in the stage - * fail. When you retry, all actions that are still in progress continue working, - * and failed actions are triggered again.

See Also:

You can retry a stage that has failed without having to run a pipeline again + * from the beginning. You do this by either retrying the failed actions in a stage + * or by retrying all actions in the stage starting from the first action in the + * stage. When you retry the failed actions in a stage, all actions that are still + * in progress continue working, and failed actions are triggered again. When you + * retry a failed stage from the first action in the stage, the stage cannot have + * any actions in progress. Before a stage can be retried, it must either have all + * actions failed or some actions failed and some succeeded.

See + * Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RetryStageExecutionRequest.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RetryStageExecutionRequest.h index cdb07db8666..4ad9a5a2bba 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RetryStageExecutionRequest.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RetryStageExecutionRequest.h @@ -179,38 +179,32 @@ namespace Model /** - *

The scope of the retry attempt. Currently, the only supported value is - * FAILED_ACTIONS.

+ *

The scope of the retry attempt.

*/ inline const StageRetryMode& GetRetryMode() const{ return m_retryMode; } /** - *

The scope of the retry attempt. Currently, the only supported value is - * FAILED_ACTIONS.

+ *

The scope of the retry attempt.

*/ inline bool RetryModeHasBeenSet() const { return m_retryModeHasBeenSet; } /** - *

The scope of the retry attempt. Currently, the only supported value is - * FAILED_ACTIONS.

+ *

The scope of the retry attempt.

*/ inline void SetRetryMode(const StageRetryMode& value) { m_retryModeHasBeenSet = true; m_retryMode = value; } /** - *

The scope of the retry attempt. Currently, the only supported value is - * FAILED_ACTIONS.

+ *

The scope of the retry attempt.

*/ inline void SetRetryMode(StageRetryMode&& value) { m_retryModeHasBeenSet = true; m_retryMode = std::move(value); } /** - *

The scope of the retry attempt. Currently, the only supported value is - * FAILED_ACTIONS.

+ *

The scope of the retry attempt.

*/ inline RetryStageExecutionRequest& WithRetryMode(const StageRetryMode& value) { SetRetryMode(value); return *this;} /** - *

The scope of the retry attempt. Currently, the only supported value is - * FAILED_ACTIONS.

+ *

The scope of the retry attempt.

*/ inline RetryStageExecutionRequest& WithRetryMode(StageRetryMode&& value) { SetRetryMode(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/StageRetryMode.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/StageRetryMode.h index 52631a58733..1f7c029577b 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/StageRetryMode.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/StageRetryMode.h @@ -16,7 +16,8 @@ namespace Model enum class StageRetryMode { NOT_SET, - FAILED_ACTIONS + FAILED_ACTIONS, + ALL_ACTIONS }; namespace StageRetryModeMapper diff --git a/generated/src/aws-cpp-sdk-codepipeline/source/CodePipelineEndpointRules.cpp b/generated/src/aws-cpp-sdk-codepipeline/source/CodePipelineEndpointRules.cpp index 69fd153b45d..60cc742e1e5 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/source/CodePipelineEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-codepipeline/source/CodePipelineEndpointRules.cpp @@ -51,107 +51,107 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e', -'p','i','p','e','l','i','n','e','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P', -'a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D', -'n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', -'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a', -'l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t', -'h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u', -'p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"', -':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', -'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',', -'t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', -'u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e','p','i','p', -'e','l','i','n','e','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"', -'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', -'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', -'"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', -'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']', -'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':', -'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', -',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', -'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', -',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e','p','i','p', -'e','l','i','n','e','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x', -'}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', -'r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', -'o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d', -' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ', -'n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t', -'y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"', -':','"','h','t','t','p','s',':','/','/','c','o','d','e','p','i','p','e','l','i','n','e','.','{','R', -'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', -'n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', '}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e','p','i','p','e','l','i', +'n','e','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f', +'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', +'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S', +' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e', +'d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e', +'s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h', +'"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"', +':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u', +'e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}', +',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', +'l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e','p','i','p','e','l','i','n','e','-', +'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r', +'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', +'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ', +'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', +'o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', +'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a', +'c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', +'l','"',':','"','h','t','t','p','s',':','/','/','c','o','d','e','p','i','p','e','l','i','n','e','.', +'{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r', +'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}', +'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s', +' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i', +'o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S', +'t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h', +'t','t','p','s',':','/','/','c','o','d','e','p','i','p','e','l','i','n','e','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S', +'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', 's','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', 'n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i', 'o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-codepipeline/source/model/StageRetryMode.cpp b/generated/src/aws-cpp-sdk-codepipeline/source/model/StageRetryMode.cpp index a8403dbe4a9..86d36ed6639 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/source/model/StageRetryMode.cpp +++ b/generated/src/aws-cpp-sdk-codepipeline/source/model/StageRetryMode.cpp @@ -21,6 +21,7 @@ namespace Aws { static const int FAILED_ACTIONS_HASH = HashingUtils::HashString("FAILED_ACTIONS"); + static const int ALL_ACTIONS_HASH = HashingUtils::HashString("ALL_ACTIONS"); StageRetryMode GetStageRetryModeForName(const Aws::String& name) @@ -30,6 +31,10 @@ namespace Aws { return StageRetryMode::FAILED_ACTIONS; } + else if (hashCode == ALL_ACTIONS_HASH) + { + return StageRetryMode::ALL_ACTIONS; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -48,6 +53,8 @@ namespace Aws return {}; case StageRetryMode::FAILED_ACTIONS: return "FAILED_ACTIONS"; + case StageRetryMode::ALL_ACTIONS: + return "ALL_ACTIONS"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-discovery/source/ApplicationDiscoveryServiceEndpointRules.cpp b/generated/src/aws-cpp-sdk-discovery/source/ApplicationDiscoveryServiceEndpointRules.cpp index 6eb99441f77..fdf4fbb5230 100644 --- a/generated/src/aws-cpp-sdk-discovery/source/ApplicationDiscoveryServiceEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-discovery/source/ApplicationDiscoveryServiceEndpointRules.cpp @@ -51,106 +51,106 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','i','s','c', -'o','v','e','r','y','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S', -'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', -'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', -'o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t', -'a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', '"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u', -'e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','i','s','c','o','v','e','r','y','-', +'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}', +'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', +'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n', +'d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ', +'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', +'o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"', +'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r', +'u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','d','i','s','c','o','v','e','r','y','-','f','i','p','s','.','{', +'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', +'"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h', +'i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p', +'p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D', +'u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', 'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', ':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','i','s','c','o','v','e','r','y','-', -'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r', -'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', -'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d', -'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ', -'i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i', -'t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P', -'S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', -'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y', -'p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n', -'d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"', -':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p', -'o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','d','i','s','c','o','v','e','r','y','.','{','R','e', -'g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u', -'a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e', -'r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', -'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n', -'d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l', -'S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r', -'o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/', -'/','d','i','s','c','o','v','e','r','y','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"', -'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', -'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']', +'"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', +'t','p','s',':','/','/','d','i','s','c','o','v','e','r','y','.','{','R','e','g','i','o','n','}','.', +'{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c', +'k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"', +':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':', +'"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', +'r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ', +'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', +'o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y', +'p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','d','i', +'s','c','o','v','e','r','y','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o', +'p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}', +',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', '}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', '"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':', ' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':','"', diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ClusterServiceConnectDefaultsRequest.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ClusterServiceConnectDefaultsRequest.h index ff0e642b37a..7b9828a5178 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ClusterServiceConnectDefaultsRequest.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ClusterServiceConnectDefaultsRequest.h @@ -64,7 +64,7 @@ namespace Model * Amazon ECS creates a Cloud Map namespace with the "API calls" method of instance * discovery only. This instance discovery method is the "HTTP" namespace type in * the Command Line Interface. Other types of instance discovery aren't used by - * Service Connect.

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see

If you update the service with an empty string + * Service Connect.

If you update the cluster with an empty string * "" for the namespace name, the cluster configuration for Service * Connect is removed. Note that the namespace will remain in Cloud Map and must be * deleted separately.

For more information about Cloud Map, see .env file extension. Each line in an environment file should * contain an environment variable in VARIABLE=VALUE format. Lines - * beginning with # are treated as comments and are ignored. For more - * information about the environment variable file syntax, see Declare default environment - * variables in file.

If there are environment variables specified using - * the environment parameter in a container definition, they take - * precedence over the variables contained within an environment file. If multiple - * environment files are specified that contain the same variable, they're - * processed from the top down. We recommend that you use unique variable names. - * For more information, see # are treated as comments and are ignored.

If + * there are environment variables specified using the environment + * parameter in a container definition, they take precedence over the variables + * contained within an environment file. If multiple environment files are + * specified that contain the same variable, they're processed from the top down. + * We recommend that you use unique variable names. For more information, see Specifying * environment variables in the Amazon Elastic Container Service Developer * Guide.

You must use the following platforms for the Fargate launch * type:

Consider the following when using the Fargate launch type:

See Also:

AWS * API Reference

diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h index 0ac7f901439..a437eeae07d 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/HealthCheck.h @@ -44,27 +44,51 @@ namespace Model * HEALTHY-The container health check has passed successfully.

*
  • UNHEALTHY-The container health check has failed.

    *
  • UNKNOWN-The container health check is being - * evaluated or there's no container health check defined.

  • The - * following describes the possible healthStatus values for a task. - * The container health check status of non-essential containers don't have an - * effect on the health status of a task.

    If a task is run manually, and not as part of a service, the task - * will continue its lifecycle regardless of its health status. For tasks that are - * part of a service, if the task reports as unhealthy then the task will be - * stopped and the service scheduler will replace it.

    The following are - * notes about container health check support:

    The following describes + * the possible healthStatus values based on the container health + * checker status of essential containers in the task with the following priority + * order (high to low):

    Consider the following task health example with 2 containers.

    Consider the following task health + * example with 3 containers.

    + *

    If a task is run manually, and not as part of a service, the task will + * continue its lifecycle regardless of its health status. For tasks that are part + * of a service, if the task reports as unhealthy then the task will be stopped and + * the service scheduler will replace it.

    The following are notes about + * container health check support:

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call

  • You do not specify a * hostPortRange. The value of the hostPortRange is set * as follows:

    • For containers in a task with the - * awsvpc network mode, the hostPort is set to the same - * value as the containerPort. This is a static mapping strategy.

      - *
    • For containers in a task with the bridge network - * mode, the Amazon ECS agent finds open host ports from the default ephemeral - * range and passes it to docker to bind them to the container ports.

    • - *
  • The containerPortRange valid values are between - * 1 and 65535.

  • A port can only be included in one port mapping - * per container.

  • You cannot specify overlapping port ranges.

    - *
  • The first port in the range must be less than last port in the - * range.

  • Docker recommends that you turn off the docker-proxy in - * the Docker daemon config file when you have a large number of ports.

    For - * more information, see Issue - * #11185 on the Github website.

    For information about how to turn off - * the docker-proxy in the Docker daemon config file, see awsvpc network mode, the hostPortRange is set to the + * same value as the containerPortRange. This is a static mapping + * strategy.

  • For containers in a task with the + * bridge network mode, the Amazon ECS agent finds open host ports + * from the default ephemeral range and passes it to docker to bind them to the + * container ports.

  • The + * containerPortRange valid values are between 1 and 65535.

  • + *
  • A port can only be included in one port mapping per container.

  • + *
  • You cannot specify overlapping port ranges.

  • The first + * port in the range must be less than last port in the range.

  • + *

    Docker recommends that you turn off the docker-proxy in the Docker daemon + * config file when you have a large number of ports.

    For more information, + * see Issue #11185 on the + * Github website.

    For information about how to turn off the docker-proxy in + * the Docker daemon config file, see Docker * daemon in the Amazon ECS Developer Guide.

  • You can * call The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline const Aws::String& GetDomainWithSuffix() const{ return m_domainWithSuffix; } + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline bool DomainWithSuffixHasBeenSet() const { return m_domainWithSuffixHasBeenSet; } + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline void SetDomainWithSuffix(const Aws::String& value) { m_domainWithSuffixHasBeenSet = true; m_domainWithSuffix = value; } + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline void SetDomainWithSuffix(Aws::String&& value) { m_domainWithSuffixHasBeenSet = true; m_domainWithSuffix = std::move(value); } + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline void SetDomainWithSuffix(const char* value) { m_domainWithSuffixHasBeenSet = true; m_domainWithSuffix.assign(value); } + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline DnsRequestAction& WithDomainWithSuffix(const Aws::String& value) { SetDomainWithSuffix(value); return *this;} + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline DnsRequestAction& WithDomainWithSuffix(Aws::String&& value) { SetDomainWithSuffix(std::move(value)); return *this;} + + /** + *

    The second and top level domain involved in the activity that prompted + * GuardDuty to generate this finding.

    + */ + inline DnsRequestAction& WithDomainWithSuffix(const char* value) { SetDomainWithSuffix(value); return *this;} + private: Aws::String m_domain; @@ -158,6 +207,9 @@ namespace Model bool m_blocked; bool m_blockedHasBeenSet = false; + + Aws::String m_domainWithSuffix; + bool m_domainWithSuffixHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/ListFindingsRequest.h b/generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/ListFindingsRequest.h index 3291a1b1fab..11819871dde 100644 --- a/generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/ListFindingsRequest.h +++ b/generated/src/aws-cpp-sdk-guardduty/include/aws/guardduty/model/ListFindingsRequest.h @@ -115,6 +115,7 @@ namespace Model *

    service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

    *
  • service.action.awsApiCallAction.serviceName

  • *

    service.action.dnsRequestAction.domain

  • + *

    service.action.dnsRequestAction.domainWithSuffix

  • *

    service.action.networkConnectionAction.blocked

  • *

    service.action.networkConnectionAction.connectionDirection

  • *

    service.action.networkConnectionAction.localPortDetails.port

  • @@ -169,6 +170,7 @@ namespace Model *

    service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

  • *
  • service.action.awsApiCallAction.serviceName

  • *

    service.action.dnsRequestAction.domain

  • + *

    service.action.dnsRequestAction.domainWithSuffix

  • *

    service.action.networkConnectionAction.blocked

  • *

    service.action.networkConnectionAction.connectionDirection

  • *

    service.action.networkConnectionAction.localPortDetails.port

  • @@ -223,6 +225,7 @@ namespace Model *

    service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

  • *
  • service.action.awsApiCallAction.serviceName

  • *

    service.action.dnsRequestAction.domain

  • + *

    service.action.dnsRequestAction.domainWithSuffix

  • *

    service.action.networkConnectionAction.blocked

  • *

    service.action.networkConnectionAction.connectionDirection

  • *

    service.action.networkConnectionAction.localPortDetails.port

  • @@ -277,6 +280,7 @@ namespace Model *

    service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

  • *
  • service.action.awsApiCallAction.serviceName

  • *

    service.action.dnsRequestAction.domain

  • + *

    service.action.dnsRequestAction.domainWithSuffix

  • *

    service.action.networkConnectionAction.blocked

  • *

    service.action.networkConnectionAction.connectionDirection

  • *

    service.action.networkConnectionAction.localPortDetails.port

  • @@ -331,6 +335,7 @@ namespace Model *

    service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

  • *
  • service.action.awsApiCallAction.serviceName

  • *

    service.action.dnsRequestAction.domain

  • + *

    service.action.dnsRequestAction.domainWithSuffix

  • *

    service.action.networkConnectionAction.blocked

  • *

    service.action.networkConnectionAction.connectionDirection

  • *

    service.action.networkConnectionAction.localPortDetails.port

  • @@ -385,6 +390,7 @@ namespace Model *

    service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

  • *
  • service.action.awsApiCallAction.serviceName

  • *

    service.action.dnsRequestAction.domain

  • + *

    service.action.dnsRequestAction.domainWithSuffix

  • *

    service.action.networkConnectionAction.blocked

  • *

    service.action.networkConnectionAction.connectionDirection

  • *

    service.action.networkConnectionAction.localPortDetails.port

  • diff --git a/generated/src/aws-cpp-sdk-guardduty/source/GuardDutyEndpointRules.cpp b/generated/src/aws-cpp-sdk-guardduty/source/GuardDutyEndpointRules.cpp index 0d5608c3b3a..c5956b25f37 100644 --- a/generated/src/aws-cpp-sdk-guardduty/source/GuardDutyEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-guardduty/source/GuardDutyEndpointRules.cpp @@ -51,116 +51,116 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', 'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', '"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d','u','t','y','-', +'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}', +'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', +'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n', +'d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ', +'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', +'o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"', +'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r', +'u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s','-','u','s', +'-','g','o','v','"',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l', +'"',':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d','u','t','y','.','{','R','e','g', +'i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p', +'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', +'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u', +'r','l','"',':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d','u','t','y','-','f','i', +'p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', +'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', +'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u', +'t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t', +' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r', +'r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', +'U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', +'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', +':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', +'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k', +'"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"', +':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d','u','t','y','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l', +'S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', +'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', +'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b', +'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', +'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"', +',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', +'/','/','g','u','a','r','d','d','u','t','y','.','{','R','e','g','i','o','n','}','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',', '"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', -'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','g','u','a','r', -'d','d','u','t','y','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S', -'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', -'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', -'o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t', -'a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', -'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u', -'e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', -'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','"','a','w','s','-','u','s','-','g','o', -'v','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p','o','i','n','t','"', -':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d','u','t', -'y','.','{','R','e','g','i','o','n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', -'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d', -'u','t','y','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t', -'i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r', -'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}', -'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F', -'I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p', -'a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t', -' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{', -'"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"', -'s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"', -'t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c', -'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':', -'{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','g','u','a','r','d','d','u','t','y', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"', -'D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ', -'t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s', -'u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':', -'"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', -'p','s',':','/','/','g','u','a','r','d','d','u','t','y','.','{','R','e','g','i','o','n','}','.','{', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x', -'}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e', -'r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"', -'}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', 'r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t', 'i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p', 'e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-guardduty/source/model/DnsRequestAction.cpp b/generated/src/aws-cpp-sdk-guardduty/source/model/DnsRequestAction.cpp index 112a9d5f837..66c1641c920 100644 --- a/generated/src/aws-cpp-sdk-guardduty/source/model/DnsRequestAction.cpp +++ b/generated/src/aws-cpp-sdk-guardduty/source/model/DnsRequestAction.cpp @@ -22,7 +22,8 @@ DnsRequestAction::DnsRequestAction() : m_domainHasBeenSet(false), m_protocolHasBeenSet(false), m_blocked(false), - m_blockedHasBeenSet(false) + m_blockedHasBeenSet(false), + m_domainWithSuffixHasBeenSet(false) { } @@ -30,7 +31,8 @@ DnsRequestAction::DnsRequestAction(JsonView jsonValue) : m_domainHasBeenSet(false), m_protocolHasBeenSet(false), m_blocked(false), - m_blockedHasBeenSet(false) + m_blockedHasBeenSet(false), + m_domainWithSuffixHasBeenSet(false) { *this = jsonValue; } @@ -58,6 +60,13 @@ DnsRequestAction& DnsRequestAction::operator =(JsonView jsonValue) m_blockedHasBeenSet = true; } + if(jsonValue.ValueExists("domainWithSuffix")) + { + m_domainWithSuffix = jsonValue.GetString("domainWithSuffix"); + + m_domainWithSuffixHasBeenSet = true; + } + return *this; } @@ -83,6 +92,12 @@ JsonValue DnsRequestAction::Jsonize() const } + if(m_domainWithSuffixHasBeenSet) + { + payload.WithString("domainWithSuffix", m_domainWithSuffix); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h index 575064eb7b3..942f74694ae 100644 --- a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaClient.h @@ -191,6 +191,31 @@ namespace Kafka return SubmitAsync(&KafkaClient::CreateConfiguration, request, handler, context); } + /** + *

    Creates the replicator.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::CreateReplicatorOutcome CreateReplicator(const Model::CreateReplicatorRequest& request) const; + + /** + * A Callable wrapper for CreateReplicator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateReplicatorOutcomeCallable CreateReplicatorCallable(const CreateReplicatorRequestT& request) const + { + return SubmitCallable(&KafkaClient::CreateReplicator, request); + } + + /** + * An Async wrapper for CreateReplicator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateReplicatorAsync(const CreateReplicatorRequestT& request, const CreateReplicatorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&KafkaClient::CreateReplicator, request, handler, context); + } + /** *

    Creates a new MSK VPC connection.

    @@ -303,6 +328,31 @@ namespace Kafka return SubmitAsync(&KafkaClient::DeleteConfiguration, request, handler, context); } + /** + *

    Deletes a replicator.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DeleteReplicatorOutcome DeleteReplicator(const Model::DeleteReplicatorRequest& request) const; + + /** + * A Callable wrapper for DeleteReplicator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteReplicatorOutcomeCallable DeleteReplicatorCallable(const DeleteReplicatorRequestT& request) const + { + return SubmitCallable(&KafkaClient::DeleteReplicator, request); + } + + /** + * An Async wrapper for DeleteReplicator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteReplicatorAsync(const DeleteReplicatorRequestT& request, const DeleteReplicatorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&KafkaClient::DeleteReplicator, request, handler, context); + } + /** *

    Deletes a MSK VPC connection.

    @@ -499,6 +549,31 @@ namespace Kafka return SubmitAsync(&KafkaClient::DescribeConfigurationRevision, request, handler, context); } + /** + *

    Describes a replicator.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::DescribeReplicatorOutcome DescribeReplicator(const Model::DescribeReplicatorRequest& request) const; + + /** + * A Callable wrapper for DescribeReplicator that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeReplicatorOutcomeCallable DescribeReplicatorCallable(const DescribeReplicatorRequestT& request) const + { + return SubmitCallable(&KafkaClient::DescribeReplicator, request); + } + + /** + * An Async wrapper for DescribeReplicator that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeReplicatorAsync(const DescribeReplicatorRequestT& request, const DescribeReplicatorResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&KafkaClient::DescribeReplicator, request, handler, context); + } + /** *

    Returns a description of this MSK VPC connection.

    @@ -863,6 +938,31 @@ namespace Kafka return SubmitAsync(&KafkaClient::ListNodes, request, handler, context); } + /** + *

    Lists the replicators.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListReplicatorsOutcome ListReplicators(const Model::ListReplicatorsRequest& request) const; + + /** + * A Callable wrapper for ListReplicators that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListReplicatorsOutcomeCallable ListReplicatorsCallable(const ListReplicatorsRequestT& request) const + { + return SubmitCallable(&KafkaClient::ListReplicators, request); + } + + /** + * An Async wrapper for ListReplicators that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListReplicatorsAsync(const ListReplicatorsRequestT& request, const ListReplicatorsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&KafkaClient::ListReplicators, request, handler, context); + } + /** *

    Returns a list of the Scram Secrets associated with an Amazon @@ -1338,6 +1438,31 @@ namespace Kafka return SubmitAsync(&KafkaClient::UpdateMonitoring, request, handler, context); } + /** + *

    Updates replication info of a replicator.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::UpdateReplicationInfoOutcome UpdateReplicationInfo(const Model::UpdateReplicationInfoRequest& request) const; + + /** + * A Callable wrapper for UpdateReplicationInfo that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateReplicationInfoOutcomeCallable UpdateReplicationInfoCallable(const UpdateReplicationInfoRequestT& request) const + { + return SubmitCallable(&KafkaClient::UpdateReplicationInfo, request); + } + + /** + * An Async wrapper for UpdateReplicationInfo that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateReplicationInfoAsync(const UpdateReplicationInfoRequestT& request, const UpdateReplicationInfoResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&KafkaClient::UpdateReplicationInfo, request, handler, context); + } + /** *

    Updates the security settings for the cluster. You can use this diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaServiceClientModel.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaServiceClientModel.h index a462bae94d4..13016cab09b 100644 --- a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/KafkaServiceClientModel.h @@ -22,10 +22,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -33,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -46,6 +49,7 @@ #include #include #include +#include #include #include #include @@ -61,6 +65,7 @@ #include #include #include +#include #include #include #include @@ -108,10 +113,12 @@ namespace Aws class CreateClusterRequest; class CreateClusterV2Request; class CreateConfigurationRequest; + class CreateReplicatorRequest; class CreateVpcConnectionRequest; class DeleteClusterRequest; class DeleteClusterPolicyRequest; class DeleteConfigurationRequest; + class DeleteReplicatorRequest; class DeleteVpcConnectionRequest; class DescribeClusterRequest; class DescribeClusterV2Request; @@ -119,6 +126,7 @@ namespace Aws class DescribeClusterOperationV2Request; class DescribeConfigurationRequest; class DescribeConfigurationRevisionRequest; + class DescribeReplicatorRequest; class DescribeVpcConnectionRequest; class BatchDisassociateScramSecretRequest; class GetBootstrapBrokersRequest; @@ -132,6 +140,7 @@ namespace Aws class ListConfigurationsRequest; class ListKafkaVersionsRequest; class ListNodesRequest; + class ListReplicatorsRequest; class ListScramSecretsRequest; class ListTagsForResourceRequest; class ListClientVpcConnectionsRequest; @@ -149,6 +158,7 @@ namespace Aws class UpdateClusterConfigurationRequest; class UpdateClusterKafkaVersionRequest; class UpdateMonitoringRequest; + class UpdateReplicationInfoRequest; class UpdateSecurityRequest; class UpdateStorageRequest; /* End of service model forward declarations required in KafkaClient header */ @@ -158,10 +168,12 @@ namespace Aws typedef Aws::Utils::Outcome CreateClusterOutcome; typedef Aws::Utils::Outcome CreateClusterV2Outcome; typedef Aws::Utils::Outcome CreateConfigurationOutcome; + typedef Aws::Utils::Outcome CreateReplicatorOutcome; typedef Aws::Utils::Outcome CreateVpcConnectionOutcome; typedef Aws::Utils::Outcome DeleteClusterOutcome; typedef Aws::Utils::Outcome DeleteClusterPolicyOutcome; typedef Aws::Utils::Outcome DeleteConfigurationOutcome; + typedef Aws::Utils::Outcome DeleteReplicatorOutcome; typedef Aws::Utils::Outcome DeleteVpcConnectionOutcome; typedef Aws::Utils::Outcome DescribeClusterOutcome; typedef Aws::Utils::Outcome DescribeClusterV2Outcome; @@ -169,6 +181,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeClusterOperationV2Outcome; typedef Aws::Utils::Outcome DescribeConfigurationOutcome; typedef Aws::Utils::Outcome DescribeConfigurationRevisionOutcome; + typedef Aws::Utils::Outcome DescribeReplicatorOutcome; typedef Aws::Utils::Outcome DescribeVpcConnectionOutcome; typedef Aws::Utils::Outcome BatchDisassociateScramSecretOutcome; typedef Aws::Utils::Outcome GetBootstrapBrokersOutcome; @@ -182,6 +195,7 @@ namespace Aws typedef Aws::Utils::Outcome ListConfigurationsOutcome; typedef Aws::Utils::Outcome ListKafkaVersionsOutcome; typedef Aws::Utils::Outcome ListNodesOutcome; + typedef Aws::Utils::Outcome ListReplicatorsOutcome; typedef Aws::Utils::Outcome ListScramSecretsOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome ListClientVpcConnectionsOutcome; @@ -199,6 +213,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateClusterConfigurationOutcome; typedef Aws::Utils::Outcome UpdateClusterKafkaVersionOutcome; typedef Aws::Utils::Outcome UpdateMonitoringOutcome; + typedef Aws::Utils::Outcome UpdateReplicationInfoOutcome; typedef Aws::Utils::Outcome UpdateSecurityOutcome; typedef Aws::Utils::Outcome UpdateStorageOutcome; /* End of service model Outcome class definitions */ @@ -208,10 +223,12 @@ namespace Aws typedef std::future CreateClusterOutcomeCallable; typedef std::future CreateClusterV2OutcomeCallable; typedef std::future CreateConfigurationOutcomeCallable; + typedef std::future CreateReplicatorOutcomeCallable; typedef std::future CreateVpcConnectionOutcomeCallable; typedef std::future DeleteClusterOutcomeCallable; typedef std::future DeleteClusterPolicyOutcomeCallable; typedef std::future DeleteConfigurationOutcomeCallable; + typedef std::future DeleteReplicatorOutcomeCallable; typedef std::future DeleteVpcConnectionOutcomeCallable; typedef std::future DescribeClusterOutcomeCallable; typedef std::future DescribeClusterV2OutcomeCallable; @@ -219,6 +236,7 @@ namespace Aws typedef std::future DescribeClusterOperationV2OutcomeCallable; typedef std::future DescribeConfigurationOutcomeCallable; typedef std::future DescribeConfigurationRevisionOutcomeCallable; + typedef std::future DescribeReplicatorOutcomeCallable; typedef std::future DescribeVpcConnectionOutcomeCallable; typedef std::future BatchDisassociateScramSecretOutcomeCallable; typedef std::future GetBootstrapBrokersOutcomeCallable; @@ -232,6 +250,7 @@ namespace Aws typedef std::future ListConfigurationsOutcomeCallable; typedef std::future ListKafkaVersionsOutcomeCallable; typedef std::future ListNodesOutcomeCallable; + typedef std::future ListReplicatorsOutcomeCallable; typedef std::future ListScramSecretsOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future ListClientVpcConnectionsOutcomeCallable; @@ -249,6 +268,7 @@ namespace Aws typedef std::future UpdateClusterConfigurationOutcomeCallable; typedef std::future UpdateClusterKafkaVersionOutcomeCallable; typedef std::future UpdateMonitoringOutcomeCallable; + typedef std::future UpdateReplicationInfoOutcomeCallable; typedef std::future UpdateSecurityOutcomeCallable; typedef std::future UpdateStorageOutcomeCallable; /* End of service model Outcome callable definitions */ @@ -261,10 +281,12 @@ namespace Aws typedef std::function&) > CreateClusterResponseReceivedHandler; typedef std::function&) > CreateClusterV2ResponseReceivedHandler; typedef std::function&) > CreateConfigurationResponseReceivedHandler; + typedef std::function&) > CreateReplicatorResponseReceivedHandler; typedef std::function&) > CreateVpcConnectionResponseReceivedHandler; typedef std::function&) > DeleteClusterResponseReceivedHandler; typedef std::function&) > DeleteClusterPolicyResponseReceivedHandler; typedef std::function&) > DeleteConfigurationResponseReceivedHandler; + typedef std::function&) > DeleteReplicatorResponseReceivedHandler; typedef std::function&) > DeleteVpcConnectionResponseReceivedHandler; typedef std::function&) > DescribeClusterResponseReceivedHandler; typedef std::function&) > DescribeClusterV2ResponseReceivedHandler; @@ -272,6 +294,7 @@ namespace Aws typedef std::function&) > DescribeClusterOperationV2ResponseReceivedHandler; typedef std::function&) > DescribeConfigurationResponseReceivedHandler; typedef std::function&) > DescribeConfigurationRevisionResponseReceivedHandler; + typedef std::function&) > DescribeReplicatorResponseReceivedHandler; typedef std::function&) > DescribeVpcConnectionResponseReceivedHandler; typedef std::function&) > BatchDisassociateScramSecretResponseReceivedHandler; typedef std::function&) > GetBootstrapBrokersResponseReceivedHandler; @@ -285,6 +308,7 @@ namespace Aws typedef std::function&) > ListConfigurationsResponseReceivedHandler; typedef std::function&) > ListKafkaVersionsResponseReceivedHandler; typedef std::function&) > ListNodesResponseReceivedHandler; + typedef std::function&) > ListReplicatorsResponseReceivedHandler; typedef std::function&) > ListScramSecretsResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > ListClientVpcConnectionsResponseReceivedHandler; @@ -302,6 +326,7 @@ namespace Aws typedef std::function&) > UpdateClusterConfigurationResponseReceivedHandler; typedef std::function&) > UpdateClusterKafkaVersionResponseReceivedHandler; typedef std::function&) > UpdateMonitoringResponseReceivedHandler; + typedef std::function&) > UpdateReplicationInfoResponseReceivedHandler; typedef std::function&) > UpdateSecurityResponseReceivedHandler; typedef std::function&) > UpdateStorageResponseReceivedHandler; /* End of service model async handlers definitions */ diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/AmazonMskCluster.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/AmazonMskCluster.h new file mode 100644 index 00000000000..cd7261cc385 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/AmazonMskCluster.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Details of an Amazon MSK Cluster.

    See Also:

    AWS + * API Reference

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

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline const Aws::String& GetMskClusterArn() const{ return m_mskClusterArn; } + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline bool MskClusterArnHasBeenSet() const { return m_mskClusterArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline void SetMskClusterArn(const Aws::String& value) { m_mskClusterArnHasBeenSet = true; m_mskClusterArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline void SetMskClusterArn(Aws::String&& value) { m_mskClusterArnHasBeenSet = true; m_mskClusterArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline void SetMskClusterArn(const char* value) { m_mskClusterArnHasBeenSet = true; m_mskClusterArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline AmazonMskCluster& WithMskClusterArn(const Aws::String& value) { SetMskClusterArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline AmazonMskCluster& WithMskClusterArn(Aws::String&& value) { SetMskClusterArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

    + */ + inline AmazonMskCluster& WithMskClusterArn(const char* value) { SetMskClusterArn(value); return *this;} + + private: + + Aws::String m_mskClusterArn; + bool m_mskClusterArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplication.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplication.h new file mode 100644 index 00000000000..6dbd820a874 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplication.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Details about consumer group replication.

    See Also:

    AWS + * API Reference

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

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline const Aws::Vector& GetConsumerGroupsToExclude() const{ return m_consumerGroupsToExclude; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline bool ConsumerGroupsToExcludeHasBeenSet() const { return m_consumerGroupsToExcludeHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline void SetConsumerGroupsToExclude(const Aws::Vector& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude = value; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline void SetConsumerGroupsToExclude(Aws::Vector&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude = std::move(value); } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplication& WithConsumerGroupsToExclude(const Aws::Vector& value) { SetConsumerGroupsToExclude(value); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplication& WithConsumerGroupsToExclude(Aws::Vector&& value) { SetConsumerGroupsToExclude(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplication& AddConsumerGroupsToExclude(const Aws::String& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplication& AddConsumerGroupsToExclude(Aws::String&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplication& AddConsumerGroupsToExclude(const char* value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; } + + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline const Aws::Vector& GetConsumerGroupsToReplicate() const{ return m_consumerGroupsToReplicate; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline bool ConsumerGroupsToReplicateHasBeenSet() const { return m_consumerGroupsToReplicateHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline void SetConsumerGroupsToReplicate(const Aws::Vector& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate = value; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline void SetConsumerGroupsToReplicate(Aws::Vector&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate = std::move(value); } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplication& WithConsumerGroupsToReplicate(const Aws::Vector& value) { SetConsumerGroupsToReplicate(value); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplication& WithConsumerGroupsToReplicate(Aws::Vector&& value) { SetConsumerGroupsToReplicate(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplication& AddConsumerGroupsToReplicate(const Aws::String& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplication& AddConsumerGroupsToReplicate(Aws::String&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplication& AddConsumerGroupsToReplicate(const char* value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; } + + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline bool GetDetectAndCopyNewConsumerGroups() const{ return m_detectAndCopyNewConsumerGroups; } + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline bool DetectAndCopyNewConsumerGroupsHasBeenSet() const { return m_detectAndCopyNewConsumerGroupsHasBeenSet; } + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline void SetDetectAndCopyNewConsumerGroups(bool value) { m_detectAndCopyNewConsumerGroupsHasBeenSet = true; m_detectAndCopyNewConsumerGroups = value; } + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline ConsumerGroupReplication& WithDetectAndCopyNewConsumerGroups(bool value) { SetDetectAndCopyNewConsumerGroups(value); return *this;} + + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline bool GetSynchroniseConsumerGroupOffsets() const{ return m_synchroniseConsumerGroupOffsets; } + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline bool SynchroniseConsumerGroupOffsetsHasBeenSet() const { return m_synchroniseConsumerGroupOffsetsHasBeenSet; } + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline void SetSynchroniseConsumerGroupOffsets(bool value) { m_synchroniseConsumerGroupOffsetsHasBeenSet = true; m_synchroniseConsumerGroupOffsets = value; } + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline ConsumerGroupReplication& WithSynchroniseConsumerGroupOffsets(bool value) { SetSynchroniseConsumerGroupOffsets(value); return *this;} + + private: + + Aws::Vector m_consumerGroupsToExclude; + bool m_consumerGroupsToExcludeHasBeenSet = false; + + Aws::Vector m_consumerGroupsToReplicate; + bool m_consumerGroupsToReplicateHasBeenSet = false; + + bool m_detectAndCopyNewConsumerGroups; + bool m_detectAndCopyNewConsumerGroupsHasBeenSet = false; + + bool m_synchroniseConsumerGroupOffsets; + bool m_synchroniseConsumerGroupOffsetsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplicationUpdate.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplicationUpdate.h new file mode 100644 index 00000000000..b0ed44a379f --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ConsumerGroupReplicationUpdate.h @@ -0,0 +1,213 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Details about consumer group replication.

    See Also:

    AWS + * API Reference

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

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline const Aws::Vector& GetConsumerGroupsToExclude() const{ return m_consumerGroupsToExclude; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline bool ConsumerGroupsToExcludeHasBeenSet() const { return m_consumerGroupsToExcludeHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline void SetConsumerGroupsToExclude(const Aws::Vector& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude = value; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline void SetConsumerGroupsToExclude(Aws::Vector&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude = std::move(value); } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplicationUpdate& WithConsumerGroupsToExclude(const Aws::Vector& value) { SetConsumerGroupsToExclude(value); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplicationUpdate& WithConsumerGroupsToExclude(Aws::Vector&& value) { SetConsumerGroupsToExclude(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToExclude(const Aws::String& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToExclude(Aws::String&& value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups that + * should not be replicated.

    + */ + inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToExclude(const char* value) { m_consumerGroupsToExcludeHasBeenSet = true; m_consumerGroupsToExclude.push_back(value); return *this; } + + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline const Aws::Vector& GetConsumerGroupsToReplicate() const{ return m_consumerGroupsToReplicate; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline bool ConsumerGroupsToReplicateHasBeenSet() const { return m_consumerGroupsToReplicateHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline void SetConsumerGroupsToReplicate(const Aws::Vector& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate = value; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline void SetConsumerGroupsToReplicate(Aws::Vector&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate = std::move(value); } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplicationUpdate& WithConsumerGroupsToReplicate(const Aws::Vector& value) { SetConsumerGroupsToReplicate(value); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplicationUpdate& WithConsumerGroupsToReplicate(Aws::Vector&& value) { SetConsumerGroupsToReplicate(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToReplicate(const Aws::String& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToReplicate(Aws::String&& value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the consumer groups to + * copy.

    + */ + inline ConsumerGroupReplicationUpdate& AddConsumerGroupsToReplicate(const char* value) { m_consumerGroupsToReplicateHasBeenSet = true; m_consumerGroupsToReplicate.push_back(value); return *this; } + + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline bool GetDetectAndCopyNewConsumerGroups() const{ return m_detectAndCopyNewConsumerGroups; } + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline bool DetectAndCopyNewConsumerGroupsHasBeenSet() const { return m_detectAndCopyNewConsumerGroupsHasBeenSet; } + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline void SetDetectAndCopyNewConsumerGroups(bool value) { m_detectAndCopyNewConsumerGroupsHasBeenSet = true; m_detectAndCopyNewConsumerGroups = value; } + + /** + *

    Enables synchronization of consumer groups to target cluster.

    + */ + inline ConsumerGroupReplicationUpdate& WithDetectAndCopyNewConsumerGroups(bool value) { SetDetectAndCopyNewConsumerGroups(value); return *this;} + + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline bool GetSynchroniseConsumerGroupOffsets() const{ return m_synchroniseConsumerGroupOffsets; } + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline bool SynchroniseConsumerGroupOffsetsHasBeenSet() const { return m_synchroniseConsumerGroupOffsetsHasBeenSet; } + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline void SetSynchroniseConsumerGroupOffsets(bool value) { m_synchroniseConsumerGroupOffsetsHasBeenSet = true; m_synchroniseConsumerGroupOffsets = value; } + + /** + *

    Enables synchronization of consumer group offsets to target cluster. The + * translated offsets will be written to topic __consumer_offsets.

    + */ + inline ConsumerGroupReplicationUpdate& WithSynchroniseConsumerGroupOffsets(bool value) { SetSynchroniseConsumerGroupOffsets(value); return *this;} + + private: + + Aws::Vector m_consumerGroupsToExclude; + bool m_consumerGroupsToExcludeHasBeenSet = false; + + Aws::Vector m_consumerGroupsToReplicate; + bool m_consumerGroupsToReplicateHasBeenSet = false; + + bool m_detectAndCopyNewConsumerGroups; + bool m_detectAndCopyNewConsumerGroupsHasBeenSet = false; + + bool m_synchroniseConsumerGroupOffsets; + bool m_synchroniseConsumerGroupOffsetsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorRequest.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorRequest.h new file mode 100644 index 00000000000..a1749e87352 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorRequest.h @@ -0,0 +1,360 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + + /** + *

    Creates a replicator using the specified configuration.

    See + * Also:

    AWS + * API Reference

    + */ + class CreateReplicatorRequest : public KafkaRequest + { + public: + AWS_KAFKA_API CreateReplicatorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "CreateReplicator"; } + + AWS_KAFKA_API Aws::String SerializePayload() const override; + + + /** + *

    A summary description of the replicator.

    + */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *

    A summary description of the replicator.

    + */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *

    A summary description of the replicator.

    + */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *

    A summary description of the replicator.

    + */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *

    A summary description of the replicator.

    + */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *

    A summary description of the replicator.

    + */ + inline CreateReplicatorRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *

    A summary description of the replicator.

    + */ + inline CreateReplicatorRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *

    A summary description of the replicator.

    + */ + inline CreateReplicatorRequest& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline const Aws::Vector& GetKafkaClusters() const{ return m_kafkaClusters; } + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline bool KafkaClustersHasBeenSet() const { return m_kafkaClustersHasBeenSet; } + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline void SetKafkaClusters(const Aws::Vector& value) { m_kafkaClustersHasBeenSet = true; m_kafkaClusters = value; } + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline void SetKafkaClusters(Aws::Vector&& value) { m_kafkaClustersHasBeenSet = true; m_kafkaClusters = std::move(value); } + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline CreateReplicatorRequest& WithKafkaClusters(const Aws::Vector& value) { SetKafkaClusters(value); return *this;} + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline CreateReplicatorRequest& WithKafkaClusters(Aws::Vector&& value) { SetKafkaClusters(std::move(value)); return *this;} + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline CreateReplicatorRequest& AddKafkaClusters(const KafkaCluster& value) { m_kafkaClustersHasBeenSet = true; m_kafkaClusters.push_back(value); return *this; } + + /** + *

    Kafka Clusters to use in setting up sources / targets for replication.

    + */ + inline CreateReplicatorRequest& AddKafkaClusters(KafkaCluster&& value) { m_kafkaClustersHasBeenSet = true; m_kafkaClusters.push_back(std::move(value)); return *this; } + + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline const Aws::Vector& GetReplicationInfoList() const{ return m_replicationInfoList; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline bool ReplicationInfoListHasBeenSet() const { return m_replicationInfoListHasBeenSet; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline void SetReplicationInfoList(const Aws::Vector& value) { m_replicationInfoListHasBeenSet = true; m_replicationInfoList = value; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline void SetReplicationInfoList(Aws::Vector&& value) { m_replicationInfoListHasBeenSet = true; m_replicationInfoList = std::move(value); } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline CreateReplicatorRequest& WithReplicationInfoList(const Aws::Vector& value) { SetReplicationInfoList(value); return *this;} + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline CreateReplicatorRequest& WithReplicationInfoList(Aws::Vector&& value) { SetReplicationInfoList(std::move(value)); return *this;} + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline CreateReplicatorRequest& AddReplicationInfoList(const ReplicationInfo& value) { m_replicationInfoListHasBeenSet = true; m_replicationInfoList.push_back(value); return *this; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline CreateReplicatorRequest& AddReplicationInfoList(ReplicationInfo&& value) { m_replicationInfoListHasBeenSet = true; m_replicationInfoList.push_back(std::move(value)); return *this; } + + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; } + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline bool ReplicatorNameHasBeenSet() const { return m_replicatorNameHasBeenSet; } + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline void SetReplicatorName(const Aws::String& value) { m_replicatorNameHasBeenSet = true; m_replicatorName = value; } + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline void SetReplicatorName(Aws::String&& value) { m_replicatorNameHasBeenSet = true; m_replicatorName = std::move(value); } + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline void SetReplicatorName(const char* value) { m_replicatorNameHasBeenSet = true; m_replicatorName.assign(value); } + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline CreateReplicatorRequest& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;} + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline CreateReplicatorRequest& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;} + + /** + *

    The name of the replicator. Alpha-numeric characters with '-' are + * allowed.

    + */ + inline CreateReplicatorRequest& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;} + + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; } + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline bool ServiceExecutionRoleArnHasBeenSet() const { return m_serviceExecutionRoleArnHasBeenSet; } + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = value; } + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn = std::move(value); } + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArnHasBeenSet = true; m_serviceExecutionRoleArn.assign(value); } + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline CreateReplicatorRequest& WithServiceExecutionRoleArn(const Aws::String& value) { SetServiceExecutionRoleArn(value); return *this;} + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline CreateReplicatorRequest& WithServiceExecutionRoleArn(Aws::String&& value) { SetServiceExecutionRoleArn(std::move(value)); return *this;} + + /** + *

    The ARN of the IAM role used by the replicator to access resources in the + * customer's account (e.g source and target clusters)

    + */ + inline CreateReplicatorRequest& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;} + + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + + /** + *

    List of tags to attach to created Replicator.

    + */ + inline CreateReplicatorRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + Aws::Vector m_kafkaClusters; + bool m_kafkaClustersHasBeenSet = false; + + Aws::Vector m_replicationInfoList; + bool m_replicationInfoListHasBeenSet = false; + + Aws::String m_replicatorName; + bool m_replicatorNameHasBeenSet = false; + + Aws::String m_serviceExecutionRoleArn; + bool m_serviceExecutionRoleArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorResult.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorResult.h new file mode 100644 index 00000000000..92e10589df6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/CreateReplicatorResult.h @@ -0,0 +1,168 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + class CreateReplicatorResult + { + public: + AWS_KAFKA_API CreateReplicatorResult(); + AWS_KAFKA_API CreateReplicatorResult(const Aws::AmazonWebServiceResult& result); + AWS_KAFKA_API CreateReplicatorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline CreateReplicatorResult& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline CreateReplicatorResult& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline CreateReplicatorResult& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; } + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline void SetReplicatorName(const Aws::String& value) { m_replicatorName = value; } + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline void SetReplicatorName(Aws::String&& value) { m_replicatorName = std::move(value); } + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline void SetReplicatorName(const char* value) { m_replicatorName.assign(value); } + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline CreateReplicatorResult& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;} + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline CreateReplicatorResult& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;} + + /** + *

    Name of the replicator provided by the customer.

    + */ + inline CreateReplicatorResult& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;} + + + /** + *

    State of the replicator.

    + */ + inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorState = value; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorState = std::move(value); } + + /** + *

    State of the replicator.

    + */ + inline CreateReplicatorResult& WithReplicatorState(const ReplicatorState& value) { SetReplicatorState(value); return *this;} + + /** + *

    State of the replicator.

    + */ + inline CreateReplicatorResult& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(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 CreateReplicatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline CreateReplicatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline CreateReplicatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_replicatorArn; + + Aws::String m_replicatorName; + + ReplicatorState m_replicatorState; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorRequest.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorRequest.h new file mode 100644 index 00000000000..bbcebcda284 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorRequest.h @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Kafka +{ +namespace Model +{ + + /** + */ + class DeleteReplicatorRequest : public KafkaRequest + { + public: + AWS_KAFKA_API DeleteReplicatorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DeleteReplicator"; } + + AWS_KAFKA_API Aws::String SerializePayload() const override; + + AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

    The current version of the replicator.

    + */ + inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } + + /** + *

    The current version of the replicator.

    + */ + inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } + + /** + *

    The current version of the replicator.

    + */ + inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } + + /** + *

    The current version of the replicator.

    + */ + inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } + + /** + *

    The current version of the replicator.

    + */ + inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } + + /** + *

    The current version of the replicator.

    + */ + inline DeleteReplicatorRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} + + /** + *

    The current version of the replicator.

    + */ + inline DeleteReplicatorRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} + + /** + *

    The current version of the replicator.

    + */ + inline DeleteReplicatorRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} + + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline bool ReplicatorArnHasBeenSet() const { return m_replicatorArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArnHasBeenSet = true; m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline DeleteReplicatorRequest& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline DeleteReplicatorRequest& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    + */ + inline DeleteReplicatorRequest& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + private: + + Aws::String m_currentVersion; + bool m_currentVersionHasBeenSet = false; + + Aws::String m_replicatorArn; + bool m_replicatorArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorResult.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorResult.h new file mode 100644 index 00000000000..d14ede02eab --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DeleteReplicatorResult.h @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + class DeleteReplicatorResult + { + public: + AWS_KAFKA_API DeleteReplicatorResult(); + AWS_KAFKA_API DeleteReplicatorResult(const Aws::AmazonWebServiceResult& result); + AWS_KAFKA_API DeleteReplicatorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline DeleteReplicatorResult& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline DeleteReplicatorResult& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline DeleteReplicatorResult& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + + /** + *

    The state of the replicator.

    + */ + inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; } + + /** + *

    The state of the replicator.

    + */ + inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorState = value; } + + /** + *

    The state of the replicator.

    + */ + inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorState = std::move(value); } + + /** + *

    The state of the replicator.

    + */ + inline DeleteReplicatorResult& WithReplicatorState(const ReplicatorState& value) { SetReplicatorState(value); return *this;} + + /** + *

    The state of the replicator.

    + */ + inline DeleteReplicatorResult& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(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 DeleteReplicatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DeleteReplicatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DeleteReplicatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_replicatorArn; + + ReplicatorState m_replicatorState; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorRequest.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorRequest.h new file mode 100644 index 00000000000..5f28acce01e --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + + /** + */ + class DescribeReplicatorRequest : public KafkaRequest + { + public: + AWS_KAFKA_API DescribeReplicatorRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "DescribeReplicator"; } + + AWS_KAFKA_API Aws::String SerializePayload() const override; + + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline bool ReplicatorArnHasBeenSet() const { return m_replicatorArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArnHasBeenSet = true; m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline DescribeReplicatorRequest& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline DescribeReplicatorRequest& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be described.

    + */ + inline DescribeReplicatorRequest& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + private: + + Aws::String m_replicatorArn; + bool m_replicatorArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorResult.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorResult.h new file mode 100644 index 00000000000..9cc1316c748 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/DescribeReplicatorResult.h @@ -0,0 +1,560 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + class DescribeReplicatorResult + { + public: + AWS_KAFKA_API DescribeReplicatorResult(); + AWS_KAFKA_API DescribeReplicatorResult(const Aws::AmazonWebServiceResult& result); + AWS_KAFKA_API DescribeReplicatorResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    The time when the replicator was created.

    + */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + + /** + *

    The time when the replicator was created.

    + */ + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } + + /** + *

    The time when the replicator was created.

    + */ + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } + + /** + *

    The time when the replicator was created.

    + */ + inline DescribeReplicatorResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + + /** + *

    The time when the replicator was created.

    + */ + inline DescribeReplicatorResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + + + /** + *

    The current version number of the replicator.

    + */ + inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } + + /** + *

    The current version number of the replicator.

    + */ + inline void SetCurrentVersion(const Aws::String& value) { m_currentVersion = value; } + + /** + *

    The current version number of the replicator.

    + */ + inline void SetCurrentVersion(Aws::String&& value) { m_currentVersion = std::move(value); } + + /** + *

    The current version number of the replicator.

    + */ + inline void SetCurrentVersion(const char* value) { m_currentVersion.assign(value); } + + /** + *

    The current version number of the replicator.

    + */ + inline DescribeReplicatorResult& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} + + /** + *

    The current version number of the replicator.

    + */ + inline DescribeReplicatorResult& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} + + /** + *

    The current version number of the replicator.

    + */ + inline DescribeReplicatorResult& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} + + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline bool GetIsReplicatorReference() const{ return m_isReplicatorReference; } + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline void SetIsReplicatorReference(bool value) { m_isReplicatorReference = value; } + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline DescribeReplicatorResult& WithIsReplicatorReference(bool value) { SetIsReplicatorReference(value); return *this;} + + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline const Aws::Vector& GetKafkaClusters() const{ return m_kafkaClusters; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline void SetKafkaClusters(const Aws::Vector& value) { m_kafkaClusters = value; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline void SetKafkaClusters(Aws::Vector&& value) { m_kafkaClusters = std::move(value); } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline DescribeReplicatorResult& WithKafkaClusters(const Aws::Vector& value) { SetKafkaClusters(value); return *this;} + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline DescribeReplicatorResult& WithKafkaClusters(Aws::Vector&& value) { SetKafkaClusters(std::move(value)); return *this;} + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline DescribeReplicatorResult& AddKafkaClusters(const KafkaClusterDescription& value) { m_kafkaClusters.push_back(value); return *this; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline DescribeReplicatorResult& AddKafkaClusters(KafkaClusterDescription&& value) { m_kafkaClusters.push_back(std::move(value)); return *this; } + + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline const Aws::Vector& GetReplicationInfoList() const{ return m_replicationInfoList; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline void SetReplicationInfoList(const Aws::Vector& value) { m_replicationInfoList = value; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline void SetReplicationInfoList(Aws::Vector&& value) { m_replicationInfoList = std::move(value); } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline DescribeReplicatorResult& WithReplicationInfoList(const Aws::Vector& value) { SetReplicationInfoList(value); return *this;} + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline DescribeReplicatorResult& WithReplicationInfoList(Aws::Vector&& value) { SetReplicationInfoList(std::move(value)); return *this;} + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline DescribeReplicatorResult& AddReplicationInfoList(const ReplicationInfoDescription& value) { m_replicationInfoList.push_back(value); return *this; } + + /** + *

    A list of replication configurations, where each configuration targets a + * given source cluster to target cluster replication flow.

    + */ + inline DescribeReplicatorResult& AddReplicationInfoList(ReplicationInfoDescription&& value) { m_replicationInfoList.push_back(std::move(value)); return *this; } + + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + + /** + *

    The description of the replicator.

    + */ + inline const Aws::String& GetReplicatorDescription() const{ return m_replicatorDescription; } + + /** + *

    The description of the replicator.

    + */ + inline void SetReplicatorDescription(const Aws::String& value) { m_replicatorDescription = value; } + + /** + *

    The description of the replicator.

    + */ + inline void SetReplicatorDescription(Aws::String&& value) { m_replicatorDescription = std::move(value); } + + /** + *

    The description of the replicator.

    + */ + inline void SetReplicatorDescription(const char* value) { m_replicatorDescription.assign(value); } + + /** + *

    The description of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorDescription(const Aws::String& value) { SetReplicatorDescription(value); return *this;} + + /** + *

    The description of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorDescription(Aws::String&& value) { SetReplicatorDescription(std::move(value)); return *this;} + + /** + *

    The description of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorDescription(const char* value) { SetReplicatorDescription(value); return *this;} + + + /** + *

    The name of the replicator.

    + */ + inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; } + + /** + *

    The name of the replicator.

    + */ + inline void SetReplicatorName(const Aws::String& value) { m_replicatorName = value; } + + /** + *

    The name of the replicator.

    + */ + inline void SetReplicatorName(Aws::String&& value) { m_replicatorName = std::move(value); } + + /** + *

    The name of the replicator.

    + */ + inline void SetReplicatorName(const char* value) { m_replicatorName.assign(value); } + + /** + *

    The name of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;} + + /** + *

    The name of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;} + + /** + *

    The name of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;} + + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline const Aws::String& GetReplicatorResourceArn() const{ return m_replicatorResourceArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline void SetReplicatorResourceArn(const Aws::String& value) { m_replicatorResourceArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline void SetReplicatorResourceArn(Aws::String&& value) { m_replicatorResourceArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline void SetReplicatorResourceArn(const char* value) { m_replicatorResourceArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline DescribeReplicatorResult& WithReplicatorResourceArn(const Aws::String& value) { SetReplicatorResourceArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline DescribeReplicatorResult& WithReplicatorResourceArn(Aws::String&& value) { SetReplicatorResourceArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline DescribeReplicatorResult& WithReplicatorResourceArn(const char* value) { SetReplicatorResourceArn(value); return *this;} + + + /** + *

    State of the replicator.

    + */ + inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorState = value; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorState = std::move(value); } + + /** + *

    State of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorState(const ReplicatorState& value) { SetReplicatorState(value); return *this;} + + /** + *

    State of the replicator.

    + */ + inline DescribeReplicatorResult& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(std::move(value)); return *this;} + + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline const Aws::String& GetServiceExecutionRoleArn() const{ return m_serviceExecutionRoleArn; } + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline void SetServiceExecutionRoleArn(const Aws::String& value) { m_serviceExecutionRoleArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline void SetServiceExecutionRoleArn(Aws::String&& value) { m_serviceExecutionRoleArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline void SetServiceExecutionRoleArn(const char* value) { m_serviceExecutionRoleArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline DescribeReplicatorResult& WithServiceExecutionRoleArn(const Aws::String& value) { SetServiceExecutionRoleArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline DescribeReplicatorResult& WithServiceExecutionRoleArn(Aws::String&& value) { SetServiceExecutionRoleArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to + * access resources in the customer's account (e.g source and target clusters)

    + */ + inline DescribeReplicatorResult& WithServiceExecutionRoleArn(const char* value) { SetServiceExecutionRoleArn(value); return *this;} + + + /** + *

    Details about the state of the replicator.

    + */ + inline const ReplicationStateInfo& GetStateInfo() const{ return m_stateInfo; } + + /** + *

    Details about the state of the replicator.

    + */ + inline void SetStateInfo(const ReplicationStateInfo& value) { m_stateInfo = value; } + + /** + *

    Details about the state of the replicator.

    + */ + inline void SetStateInfo(ReplicationStateInfo&& value) { m_stateInfo = std::move(value); } + + /** + *

    Details about the state of the replicator.

    + */ + inline DescribeReplicatorResult& WithStateInfo(const ReplicationStateInfo& value) { SetStateInfo(value); return *this;} + + /** + *

    Details about the state of the replicator.

    + */ + inline DescribeReplicatorResult& WithStateInfo(ReplicationStateInfo&& value) { SetStateInfo(std::move(value)); return *this;} + + + /** + *

    List of tags attached to the Replicator.

    + */ + inline const Aws::Map& GetTags() const{ return m_tags; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline void SetTags(const Aws::Map& value) { m_tags = value; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + + /** + *

    List of tags attached to the Replicator.

    + */ + inline DescribeReplicatorResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline DescribeReplicatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DescribeReplicatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DescribeReplicatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Utils::DateTime m_creationTime; + + Aws::String m_currentVersion; + + bool m_isReplicatorReference; + + Aws::Vector m_kafkaClusters; + + Aws::Vector m_replicationInfoList; + + Aws::String m_replicatorArn; + + Aws::String m_replicatorDescription; + + Aws::String m_replicatorName; + + Aws::String m_replicatorResourceArn; + + ReplicatorState m_replicatorState; + + Aws::String m_serviceExecutionRoleArn; + + ReplicationStateInfo m_stateInfo; + + Aws::Map m_tags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaCluster.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaCluster.h new file mode 100644 index 00000000000..7fa42db41e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaCluster.h @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Information about Kafka Cluster to be used as source / target for + * replication.

    See Also:

    AWS + * API Reference

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

    Details of an Amazon MSK Cluster.

    + */ + inline const AmazonMskCluster& GetAmazonMskCluster() const{ return m_amazonMskCluster; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline bool AmazonMskClusterHasBeenSet() const { return m_amazonMskClusterHasBeenSet; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline void SetAmazonMskCluster(const AmazonMskCluster& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = value; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline void SetAmazonMskCluster(AmazonMskCluster&& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = std::move(value); } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline KafkaCluster& WithAmazonMskCluster(const AmazonMskCluster& value) { SetAmazonMskCluster(value); return *this;} + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline KafkaCluster& WithAmazonMskCluster(AmazonMskCluster&& value) { SetAmazonMskCluster(std::move(value)); return *this;} + + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline const KafkaClusterClientVpcConfig& GetVpcConfig() const{ return m_vpcConfig; } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline void SetVpcConfig(const KafkaClusterClientVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline void SetVpcConfig(KafkaClusterClientVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline KafkaCluster& WithVpcConfig(const KafkaClusterClientVpcConfig& value) { SetVpcConfig(value); return *this;} + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline KafkaCluster& WithVpcConfig(KafkaClusterClientVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} + + private: + + AmazonMskCluster m_amazonMskCluster; + bool m_amazonMskClusterHasBeenSet = false; + + KafkaClusterClientVpcConfig m_vpcConfig; + bool m_vpcConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterClientVpcConfig.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterClientVpcConfig.h new file mode 100644 index 00000000000..7e0dabe1523 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterClientVpcConfig.h @@ -0,0 +1,144 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    See Also:

    AWS + * API Reference

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

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline KafkaClusterClientVpcConfig& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline KafkaClusterClientVpcConfig& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline KafkaClusterClientVpcConfig& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline KafkaClusterClientVpcConfig& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } + + /** + *

    The security groups to attach to the ENIs for the broker nodes.

    + */ + inline KafkaClusterClientVpcConfig& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } + + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline KafkaClusterClientVpcConfig& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline KafkaClusterClientVpcConfig& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline KafkaClusterClientVpcConfig& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline KafkaClusterClientVpcConfig& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } + + /** + *

    The list of subnets in the client VPC to connect to.

    + */ + inline KafkaClusterClientVpcConfig& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } + + private: + + Aws::Vector m_securityGroupIds; + bool m_securityGroupIdsHasBeenSet = false; + + Aws::Vector m_subnetIds; + bool m_subnetIdsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterDescription.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterDescription.h new file mode 100644 index 00000000000..aed7ef34b13 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterDescription.h @@ -0,0 +1,173 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Information about Kafka Cluster used as source / target for + * replication.

    See Also:

    AWS + * API Reference

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

    Details of an Amazon MSK Cluster.

    + */ + inline const AmazonMskCluster& GetAmazonMskCluster() const{ return m_amazonMskCluster; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline bool AmazonMskClusterHasBeenSet() const { return m_amazonMskClusterHasBeenSet; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline void SetAmazonMskCluster(const AmazonMskCluster& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = value; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline void SetAmazonMskCluster(AmazonMskCluster&& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = std::move(value); } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline KafkaClusterDescription& WithAmazonMskCluster(const AmazonMskCluster& value) { SetAmazonMskCluster(value); return *this;} + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline KafkaClusterDescription& WithAmazonMskCluster(AmazonMskCluster&& value) { SetAmazonMskCluster(std::move(value)); return *this;} + + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline const Aws::String& GetKafkaClusterAlias() const{ return m_kafkaClusterAlias; } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline bool KafkaClusterAliasHasBeenSet() const { return m_kafkaClusterAliasHasBeenSet; } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline void SetKafkaClusterAlias(const Aws::String& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = value; } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline void SetKafkaClusterAlias(Aws::String&& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = std::move(value); } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline void SetKafkaClusterAlias(const char* value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias.assign(value); } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline KafkaClusterDescription& WithKafkaClusterAlias(const Aws::String& value) { SetKafkaClusterAlias(value); return *this;} + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline KafkaClusterDescription& WithKafkaClusterAlias(Aws::String&& value) { SetKafkaClusterAlias(std::move(value)); return *this;} + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline KafkaClusterDescription& WithKafkaClusterAlias(const char* value) { SetKafkaClusterAlias(value); return *this;} + + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline const KafkaClusterClientVpcConfig& GetVpcConfig() const{ return m_vpcConfig; } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline void SetVpcConfig(const KafkaClusterClientVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline void SetVpcConfig(KafkaClusterClientVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline KafkaClusterDescription& WithVpcConfig(const KafkaClusterClientVpcConfig& value) { SetVpcConfig(value); return *this;} + + /** + *

    Details of an Amazon VPC which has network connectivity to the Apache Kafka + * cluster.

    + */ + inline KafkaClusterDescription& WithVpcConfig(KafkaClusterClientVpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} + + private: + + AmazonMskCluster m_amazonMskCluster; + bool m_amazonMskClusterHasBeenSet = false; + + Aws::String m_kafkaClusterAlias; + bool m_kafkaClusterAliasHasBeenSet = false; + + KafkaClusterClientVpcConfig m_vpcConfig; + bool m_vpcConfigHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterSummary.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterSummary.h new file mode 100644 index 00000000000..f2c99b6f8f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/KafkaClusterSummary.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Summarized information about Kafka Cluster used as source / target for + * replication.

    See Also:

    AWS + * API Reference

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

    Details of an Amazon MSK Cluster.

    + */ + inline const AmazonMskCluster& GetAmazonMskCluster() const{ return m_amazonMskCluster; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline bool AmazonMskClusterHasBeenSet() const { return m_amazonMskClusterHasBeenSet; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline void SetAmazonMskCluster(const AmazonMskCluster& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = value; } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline void SetAmazonMskCluster(AmazonMskCluster&& value) { m_amazonMskClusterHasBeenSet = true; m_amazonMskCluster = std::move(value); } + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline KafkaClusterSummary& WithAmazonMskCluster(const AmazonMskCluster& value) { SetAmazonMskCluster(value); return *this;} + + /** + *

    Details of an Amazon MSK Cluster.

    + */ + inline KafkaClusterSummary& WithAmazonMskCluster(AmazonMskCluster&& value) { SetAmazonMskCluster(std::move(value)); return *this;} + + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline const Aws::String& GetKafkaClusterAlias() const{ return m_kafkaClusterAlias; } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline bool KafkaClusterAliasHasBeenSet() const { return m_kafkaClusterAliasHasBeenSet; } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline void SetKafkaClusterAlias(const Aws::String& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = value; } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline void SetKafkaClusterAlias(Aws::String&& value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias = std::move(value); } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline void SetKafkaClusterAlias(const char* value) { m_kafkaClusterAliasHasBeenSet = true; m_kafkaClusterAlias.assign(value); } + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline KafkaClusterSummary& WithKafkaClusterAlias(const Aws::String& value) { SetKafkaClusterAlias(value); return *this;} + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline KafkaClusterSummary& WithKafkaClusterAlias(Aws::String&& value) { SetKafkaClusterAlias(std::move(value)); return *this;} + + /** + *

    The alias of the Kafka cluster. Used to prefix names of replicated + * topics.

    + */ + inline KafkaClusterSummary& WithKafkaClusterAlias(const char* value) { SetKafkaClusterAlias(value); return *this;} + + private: + + AmazonMskCluster m_amazonMskCluster; + bool m_amazonMskClusterHasBeenSet = false; + + Aws::String m_kafkaClusterAlias; + bool m_kafkaClusterAliasHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsRequest.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsRequest.h new file mode 100644 index 00000000000..0f1c27016a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsRequest.h @@ -0,0 +1,177 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Kafka +{ +namespace Model +{ + + /** + */ + class ListReplicatorsRequest : public KafkaRequest + { + public: + AWS_KAFKA_API ListReplicatorsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListReplicators"; } + + AWS_KAFKA_API Aws::String SerializePayload() const override; + + AWS_KAFKA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

    The maximum number of results to return in the response. If there are more + * results, the response includes a NextToken parameter.

    + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

    The maximum number of results to return in the response. If there are more + * results, the response includes a NextToken parameter.

    + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

    The maximum number of results to return in the response. If there are more + * results, the response includes a NextToken parameter.

    + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

    The maximum number of results to return in the response. If there are more + * results, the response includes a NextToken parameter.

    + */ + inline ListReplicatorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline ListReplicatorsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline ListReplicatorsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline ListReplicatorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

    Returns replicators starting with given name.

    + */ + inline const Aws::String& GetReplicatorNameFilter() const{ return m_replicatorNameFilter; } + + /** + *

    Returns replicators starting with given name.

    + */ + inline bool ReplicatorNameFilterHasBeenSet() const { return m_replicatorNameFilterHasBeenSet; } + + /** + *

    Returns replicators starting with given name.

    + */ + inline void SetReplicatorNameFilter(const Aws::String& value) { m_replicatorNameFilterHasBeenSet = true; m_replicatorNameFilter = value; } + + /** + *

    Returns replicators starting with given name.

    + */ + inline void SetReplicatorNameFilter(Aws::String&& value) { m_replicatorNameFilterHasBeenSet = true; m_replicatorNameFilter = std::move(value); } + + /** + *

    Returns replicators starting with given name.

    + */ + inline void SetReplicatorNameFilter(const char* value) { m_replicatorNameFilterHasBeenSet = true; m_replicatorNameFilter.assign(value); } + + /** + *

    Returns replicators starting with given name.

    + */ + inline ListReplicatorsRequest& WithReplicatorNameFilter(const Aws::String& value) { SetReplicatorNameFilter(value); return *this;} + + /** + *

    Returns replicators starting with given name.

    + */ + inline ListReplicatorsRequest& WithReplicatorNameFilter(Aws::String&& value) { SetReplicatorNameFilter(std::move(value)); return *this;} + + /** + *

    Returns replicators starting with given name.

    + */ + inline ListReplicatorsRequest& WithReplicatorNameFilter(const char* value) { SetReplicatorNameFilter(value); return *this;} + + private: + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + Aws::String m_replicatorNameFilter; + bool m_replicatorNameFilterHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsResult.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsResult.h new file mode 100644 index 00000000000..5a7fca01c8a --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ListReplicatorsResult.h @@ -0,0 +1,155 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + class ListReplicatorsResult + { + public: + AWS_KAFKA_API ListReplicatorsResult(); + AWS_KAFKA_API ListReplicatorsResult(const Aws::AmazonWebServiceResult& result); + AWS_KAFKA_API ListReplicatorsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline ListReplicatorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline ListReplicatorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

    If the response of ListReplicators is truncated, it returns a NextToken in + * the response. This NextToken should be sent in the subsequent request to + * ListReplicators.

    + */ + inline ListReplicatorsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline const Aws::Vector& GetReplicators() const{ return m_replicators; } + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline void SetReplicators(const Aws::Vector& value) { m_replicators = value; } + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline void SetReplicators(Aws::Vector&& value) { m_replicators = std::move(value); } + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline ListReplicatorsResult& WithReplicators(const Aws::Vector& value) { SetReplicators(value); return *this;} + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline ListReplicatorsResult& WithReplicators(Aws::Vector&& value) { SetReplicators(std::move(value)); return *this;} + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline ListReplicatorsResult& AddReplicators(const ReplicatorSummary& value) { m_replicators.push_back(value); return *this; } + + /** + *

    List containing information of each of the replicators in the account.

    + */ + inline ListReplicatorsResult& AddReplicators(ReplicatorSummary&& value) { m_replicators.push_back(std::move(value)); return *this; } + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline ListReplicatorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListReplicatorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListReplicatorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_replicators; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfo.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfo.h new file mode 100644 index 00000000000..73b4c00ca60 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfo.h @@ -0,0 +1,238 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Specifies configuration for replication between a source and target Kafka + * cluster.

    See Also:

    AWS + * API Reference

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

    Configuration relating to consumer group replication.

    + */ + inline const ConsumerGroupReplication& GetConsumerGroupReplication() const{ return m_consumerGroupReplication; } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline bool ConsumerGroupReplicationHasBeenSet() const { return m_consumerGroupReplicationHasBeenSet; } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline void SetConsumerGroupReplication(const ConsumerGroupReplication& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = value; } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline void SetConsumerGroupReplication(ConsumerGroupReplication&& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = std::move(value); } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline ReplicationInfo& WithConsumerGroupReplication(const ConsumerGroupReplication& value) { SetConsumerGroupReplication(value); return *this;} + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline ReplicationInfo& WithConsumerGroupReplication(ConsumerGroupReplication&& value) { SetConsumerGroupReplication(std::move(value)); return *this;} + + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline const Aws::String& GetSourceKafkaClusterArn() const{ return m_sourceKafkaClusterArn; } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline bool SourceKafkaClusterArnHasBeenSet() const { return m_sourceKafkaClusterArnHasBeenSet; } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterArn(const Aws::String& value) { m_sourceKafkaClusterArnHasBeenSet = true; m_sourceKafkaClusterArn = value; } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterArn(Aws::String&& value) { m_sourceKafkaClusterArnHasBeenSet = true; m_sourceKafkaClusterArn = std::move(value); } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterArn(const char* value) { m_sourceKafkaClusterArnHasBeenSet = true; m_sourceKafkaClusterArn.assign(value); } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline ReplicationInfo& WithSourceKafkaClusterArn(const Aws::String& value) { SetSourceKafkaClusterArn(value); return *this;} + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline ReplicationInfo& WithSourceKafkaClusterArn(Aws::String&& value) { SetSourceKafkaClusterArn(std::move(value)); return *this;} + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline ReplicationInfo& WithSourceKafkaClusterArn(const char* value) { SetSourceKafkaClusterArn(value); return *this;} + + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline const TargetCompressionType& GetTargetCompressionType() const{ return m_targetCompressionType; } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline bool TargetCompressionTypeHasBeenSet() const { return m_targetCompressionTypeHasBeenSet; } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline void SetTargetCompressionType(const TargetCompressionType& value) { m_targetCompressionTypeHasBeenSet = true; m_targetCompressionType = value; } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline void SetTargetCompressionType(TargetCompressionType&& value) { m_targetCompressionTypeHasBeenSet = true; m_targetCompressionType = std::move(value); } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline ReplicationInfo& WithTargetCompressionType(const TargetCompressionType& value) { SetTargetCompressionType(value); return *this;} + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline ReplicationInfo& WithTargetCompressionType(TargetCompressionType&& value) { SetTargetCompressionType(std::move(value)); return *this;} + + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline const Aws::String& GetTargetKafkaClusterArn() const{ return m_targetKafkaClusterArn; } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline bool TargetKafkaClusterArnHasBeenSet() const { return m_targetKafkaClusterArnHasBeenSet; } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterArn(const Aws::String& value) { m_targetKafkaClusterArnHasBeenSet = true; m_targetKafkaClusterArn = value; } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterArn(Aws::String&& value) { m_targetKafkaClusterArnHasBeenSet = true; m_targetKafkaClusterArn = std::move(value); } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterArn(const char* value) { m_targetKafkaClusterArnHasBeenSet = true; m_targetKafkaClusterArn.assign(value); } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline ReplicationInfo& WithTargetKafkaClusterArn(const Aws::String& value) { SetTargetKafkaClusterArn(value); return *this;} + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline ReplicationInfo& WithTargetKafkaClusterArn(Aws::String&& value) { SetTargetKafkaClusterArn(std::move(value)); return *this;} + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline ReplicationInfo& WithTargetKafkaClusterArn(const char* value) { SetTargetKafkaClusterArn(value); return *this;} + + + /** + *

    Configuration relating to topic replication.

    + */ + inline const TopicReplication& GetTopicReplication() const{ return m_topicReplication; } + + /** + *

    Configuration relating to topic replication.

    + */ + inline bool TopicReplicationHasBeenSet() const { return m_topicReplicationHasBeenSet; } + + /** + *

    Configuration relating to topic replication.

    + */ + inline void SetTopicReplication(const TopicReplication& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = value; } + + /** + *

    Configuration relating to topic replication.

    + */ + inline void SetTopicReplication(TopicReplication&& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = std::move(value); } + + /** + *

    Configuration relating to topic replication.

    + */ + inline ReplicationInfo& WithTopicReplication(const TopicReplication& value) { SetTopicReplication(value); return *this;} + + /** + *

    Configuration relating to topic replication.

    + */ + inline ReplicationInfo& WithTopicReplication(TopicReplication&& value) { SetTopicReplication(std::move(value)); return *this;} + + private: + + ConsumerGroupReplication m_consumerGroupReplication; + bool m_consumerGroupReplicationHasBeenSet = false; + + Aws::String m_sourceKafkaClusterArn; + bool m_sourceKafkaClusterArnHasBeenSet = false; + + TargetCompressionType m_targetCompressionType; + bool m_targetCompressionTypeHasBeenSet = false; + + Aws::String m_targetKafkaClusterArn; + bool m_targetKafkaClusterArnHasBeenSet = false; + + TopicReplication m_topicReplication; + bool m_topicReplicationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoDescription.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoDescription.h new file mode 100644 index 00000000000..6a2e65a39f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoDescription.h @@ -0,0 +1,239 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Specifies configuration for replication between a source and target Kafka + * cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)

    See + * Also:

    AWS + * API Reference

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

    Configuration relating to consumer group replication.

    + */ + inline const ConsumerGroupReplication& GetConsumerGroupReplication() const{ return m_consumerGroupReplication; } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline bool ConsumerGroupReplicationHasBeenSet() const { return m_consumerGroupReplicationHasBeenSet; } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline void SetConsumerGroupReplication(const ConsumerGroupReplication& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = value; } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline void SetConsumerGroupReplication(ConsumerGroupReplication&& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = std::move(value); } + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline ReplicationInfoDescription& WithConsumerGroupReplication(const ConsumerGroupReplication& value) { SetConsumerGroupReplication(value); return *this;} + + /** + *

    Configuration relating to consumer group replication.

    + */ + inline ReplicationInfoDescription& WithConsumerGroupReplication(ConsumerGroupReplication&& value) { SetConsumerGroupReplication(std::move(value)); return *this;} + + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline const Aws::String& GetSourceKafkaClusterAlias() const{ return m_sourceKafkaClusterAlias; } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline bool SourceKafkaClusterAliasHasBeenSet() const { return m_sourceKafkaClusterAliasHasBeenSet; } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterAlias(const Aws::String& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = value; } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterAlias(Aws::String&& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = std::move(value); } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterAlias(const char* value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias.assign(value); } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline ReplicationInfoDescription& WithSourceKafkaClusterAlias(const Aws::String& value) { SetSourceKafkaClusterAlias(value); return *this;} + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline ReplicationInfoDescription& WithSourceKafkaClusterAlias(Aws::String&& value) { SetSourceKafkaClusterAlias(std::move(value)); return *this;} + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline ReplicationInfoDescription& WithSourceKafkaClusterAlias(const char* value) { SetSourceKafkaClusterAlias(value); return *this;} + + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline const TargetCompressionType& GetTargetCompressionType() const{ return m_targetCompressionType; } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline bool TargetCompressionTypeHasBeenSet() const { return m_targetCompressionTypeHasBeenSet; } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline void SetTargetCompressionType(const TargetCompressionType& value) { m_targetCompressionTypeHasBeenSet = true; m_targetCompressionType = value; } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline void SetTargetCompressionType(TargetCompressionType&& value) { m_targetCompressionTypeHasBeenSet = true; m_targetCompressionType = std::move(value); } + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline ReplicationInfoDescription& WithTargetCompressionType(const TargetCompressionType& value) { SetTargetCompressionType(value); return *this;} + + /** + *

    The compression type to use when producing records to target cluster.

    + */ + inline ReplicationInfoDescription& WithTargetCompressionType(TargetCompressionType&& value) { SetTargetCompressionType(std::move(value)); return *this;} + + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline const Aws::String& GetTargetKafkaClusterAlias() const{ return m_targetKafkaClusterAlias; } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline bool TargetKafkaClusterAliasHasBeenSet() const { return m_targetKafkaClusterAliasHasBeenSet; } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterAlias(const Aws::String& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = value; } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterAlias(Aws::String&& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = std::move(value); } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterAlias(const char* value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias.assign(value); } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline ReplicationInfoDescription& WithTargetKafkaClusterAlias(const Aws::String& value) { SetTargetKafkaClusterAlias(value); return *this;} + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline ReplicationInfoDescription& WithTargetKafkaClusterAlias(Aws::String&& value) { SetTargetKafkaClusterAlias(std::move(value)); return *this;} + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline ReplicationInfoDescription& WithTargetKafkaClusterAlias(const char* value) { SetTargetKafkaClusterAlias(value); return *this;} + + + /** + *

    Configuration relating to topic replication.

    + */ + inline const TopicReplication& GetTopicReplication() const{ return m_topicReplication; } + + /** + *

    Configuration relating to topic replication.

    + */ + inline bool TopicReplicationHasBeenSet() const { return m_topicReplicationHasBeenSet; } + + /** + *

    Configuration relating to topic replication.

    + */ + inline void SetTopicReplication(const TopicReplication& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = value; } + + /** + *

    Configuration relating to topic replication.

    + */ + inline void SetTopicReplication(TopicReplication&& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = std::move(value); } + + /** + *

    Configuration relating to topic replication.

    + */ + inline ReplicationInfoDescription& WithTopicReplication(const TopicReplication& value) { SetTopicReplication(value); return *this;} + + /** + *

    Configuration relating to topic replication.

    + */ + inline ReplicationInfoDescription& WithTopicReplication(TopicReplication&& value) { SetTopicReplication(std::move(value)); return *this;} + + private: + + ConsumerGroupReplication m_consumerGroupReplication; + bool m_consumerGroupReplicationHasBeenSet = false; + + Aws::String m_sourceKafkaClusterAlias; + bool m_sourceKafkaClusterAliasHasBeenSet = false; + + TargetCompressionType m_targetCompressionType; + bool m_targetCompressionTypeHasBeenSet = false; + + Aws::String m_targetKafkaClusterAlias; + bool m_targetKafkaClusterAliasHasBeenSet = false; + + TopicReplication m_topicReplication; + bool m_topicReplicationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoSummary.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoSummary.h new file mode 100644 index 00000000000..15039a33a0f --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationInfoSummary.h @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Summarized information of replication between clusters.

    See + * Also:

    AWS + * API Reference

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

    The alias of the source Kafka cluster.

    + */ + inline const Aws::String& GetSourceKafkaClusterAlias() const{ return m_sourceKafkaClusterAlias; } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline bool SourceKafkaClusterAliasHasBeenSet() const { return m_sourceKafkaClusterAliasHasBeenSet; } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterAlias(const Aws::String& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = value; } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterAlias(Aws::String&& value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias = std::move(value); } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterAlias(const char* value) { m_sourceKafkaClusterAliasHasBeenSet = true; m_sourceKafkaClusterAlias.assign(value); } + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline ReplicationInfoSummary& WithSourceKafkaClusterAlias(const Aws::String& value) { SetSourceKafkaClusterAlias(value); return *this;} + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline ReplicationInfoSummary& WithSourceKafkaClusterAlias(Aws::String&& value) { SetSourceKafkaClusterAlias(std::move(value)); return *this;} + + /** + *

    The alias of the source Kafka cluster.

    + */ + inline ReplicationInfoSummary& WithSourceKafkaClusterAlias(const char* value) { SetSourceKafkaClusterAlias(value); return *this;} + + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline const Aws::String& GetTargetKafkaClusterAlias() const{ return m_targetKafkaClusterAlias; } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline bool TargetKafkaClusterAliasHasBeenSet() const { return m_targetKafkaClusterAliasHasBeenSet; } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterAlias(const Aws::String& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = value; } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterAlias(Aws::String&& value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias = std::move(value); } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterAlias(const char* value) { m_targetKafkaClusterAliasHasBeenSet = true; m_targetKafkaClusterAlias.assign(value); } + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline ReplicationInfoSummary& WithTargetKafkaClusterAlias(const Aws::String& value) { SetTargetKafkaClusterAlias(value); return *this;} + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline ReplicationInfoSummary& WithTargetKafkaClusterAlias(Aws::String&& value) { SetTargetKafkaClusterAlias(std::move(value)); return *this;} + + /** + *

    The alias of the target Kafka cluster.

    + */ + inline ReplicationInfoSummary& WithTargetKafkaClusterAlias(const char* value) { SetTargetKafkaClusterAlias(value); return *this;} + + private: + + Aws::String m_sourceKafkaClusterAlias; + bool m_sourceKafkaClusterAliasHasBeenSet = false; + + Aws::String m_targetKafkaClusterAlias; + bool m_targetKafkaClusterAliasHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationStateInfo.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationStateInfo.h new file mode 100644 index 00000000000..57daf244c2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicationStateInfo.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + * Details about the state of a replicator

    See Also:

    AWS + * API Reference

    + */ + class ReplicationStateInfo + { + public: + AWS_KAFKA_API ReplicationStateInfo(); + AWS_KAFKA_API ReplicationStateInfo(Aws::Utils::Json::JsonView jsonValue); + AWS_KAFKA_API ReplicationStateInfo& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; + + + /** + * Code that describes the current state of the replicator. + */ + inline const Aws::String& GetCode() const{ return m_code; } + + /** + * Code that describes the current state of the replicator. + */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + * Code that describes the current state of the replicator. + */ + inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + * Code that describes the current state of the replicator. + */ + inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + * Code that describes the current state of the replicator. + */ + inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } + + /** + * Code that describes the current state of the replicator. + */ + inline ReplicationStateInfo& WithCode(const Aws::String& value) { SetCode(value); return *this;} + + /** + * Code that describes the current state of the replicator. + */ + inline ReplicationStateInfo& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} + + /** + * Code that describes the current state of the replicator. + */ + inline ReplicationStateInfo& WithCode(const char* value) { SetCode(value); return *this;} + + + /** + * Message that describes the state of the replicator. + */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + * Message that describes the state of the replicator. + */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + * Message that describes the state of the replicator. + */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + * Message that describes the state of the replicator. + */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + * Message that describes the state of the replicator. + */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + * Message that describes the state of the replicator. + */ + inline ReplicationStateInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + * Message that describes the state of the replicator. + */ + inline ReplicationStateInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + * Message that describes the state of the replicator. + */ + inline ReplicationStateInfo& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + Aws::String m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorState.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorState.h new file mode 100644 index 00000000000..3503bb74e99 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorState.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + enum class ReplicatorState + { + NOT_SET, + RUNNING, + CREATING, + UPDATING, + DELETING, + FAILED + }; + +namespace ReplicatorStateMapper +{ +AWS_KAFKA_API ReplicatorState GetReplicatorStateForName(const Aws::String& name); + +AWS_KAFKA_API Aws::String GetNameForReplicatorState(ReplicatorState value); +} // namespace ReplicatorStateMapper +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorSummary.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorSummary.h new file mode 100644 index 00000000000..be0d3945b97 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/ReplicatorSummary.h @@ -0,0 +1,413 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Information about a replicator.

    See Also:

    AWS + * API Reference

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

    The time the replicator was created.

    + */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + + /** + *

    The time the replicator was created.

    + */ + inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } + + /** + *

    The time the replicator was created.

    + */ + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } + + /** + *

    The time the replicator was created.

    + */ + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } + + /** + *

    The time the replicator was created.

    + */ + inline ReplicatorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + + /** + *

    The time the replicator was created.

    + */ + inline ReplicatorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + + + /** + *

    The current version of the replicator.

    + */ + inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } + + /** + *

    The current version of the replicator.

    + */ + inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } + + /** + *

    The current version of the replicator.

    + */ + inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } + + /** + *

    The current version of the replicator.

    + */ + inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } + + /** + *

    The current version of the replicator.

    + */ + inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } + + /** + *

    The current version of the replicator.

    + */ + inline ReplicatorSummary& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} + + /** + *

    The current version of the replicator.

    + */ + inline ReplicatorSummary& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} + + /** + *

    The current version of the replicator.

    + */ + inline ReplicatorSummary& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} + + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline bool GetIsReplicatorReference() const{ return m_isReplicatorReference; } + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline bool IsReplicatorReferenceHasBeenSet() const { return m_isReplicatorReferenceHasBeenSet; } + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline void SetIsReplicatorReference(bool value) { m_isReplicatorReferenceHasBeenSet = true; m_isReplicatorReference = value; } + + /** + *

    Whether this resource is a replicator reference.

    + */ + inline ReplicatorSummary& WithIsReplicatorReference(bool value) { SetIsReplicatorReference(value); return *this;} + + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline const Aws::Vector& GetKafkaClustersSummary() const{ return m_kafkaClustersSummary; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline bool KafkaClustersSummaryHasBeenSet() const { return m_kafkaClustersSummaryHasBeenSet; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline void SetKafkaClustersSummary(const Aws::Vector& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary = value; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline void SetKafkaClustersSummary(Aws::Vector&& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary = std::move(value); } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline ReplicatorSummary& WithKafkaClustersSummary(const Aws::Vector& value) { SetKafkaClustersSummary(value); return *this;} + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline ReplicatorSummary& WithKafkaClustersSummary(Aws::Vector&& value) { SetKafkaClustersSummary(std::move(value)); return *this;} + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline ReplicatorSummary& AddKafkaClustersSummary(const KafkaClusterSummary& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary.push_back(value); return *this; } + + /** + *

    Kafka Clusters used in setting up sources / targets for replication.

    + */ + inline ReplicatorSummary& AddKafkaClustersSummary(KafkaClusterSummary&& value) { m_kafkaClustersSummaryHasBeenSet = true; m_kafkaClustersSummary.push_back(std::move(value)); return *this; } + + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline const Aws::Vector& GetReplicationInfoSummaryList() const{ return m_replicationInfoSummaryList; } + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline bool ReplicationInfoSummaryListHasBeenSet() const { return m_replicationInfoSummaryListHasBeenSet; } + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline void SetReplicationInfoSummaryList(const Aws::Vector& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList = value; } + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline void SetReplicationInfoSummaryList(Aws::Vector&& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList = std::move(value); } + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline ReplicatorSummary& WithReplicationInfoSummaryList(const Aws::Vector& value) { SetReplicationInfoSummaryList(value); return *this;} + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline ReplicatorSummary& WithReplicationInfoSummaryList(Aws::Vector&& value) { SetReplicationInfoSummaryList(std::move(value)); return *this;} + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline ReplicatorSummary& AddReplicationInfoSummaryList(const ReplicationInfoSummary& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList.push_back(value); return *this; } + + /** + *

    A list of summarized information of replications between clusters.

    + */ + inline ReplicatorSummary& AddReplicationInfoSummaryList(ReplicationInfoSummary&& value) { m_replicationInfoSummaryListHasBeenSet = true; m_replicationInfoSummaryList.push_back(std::move(value)); return *this; } + + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline bool ReplicatorArnHasBeenSet() const { return m_replicatorArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArnHasBeenSet = true; m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + + /** + *

    The name of the replicator.

    + */ + inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; } + + /** + *

    The name of the replicator.

    + */ + inline bool ReplicatorNameHasBeenSet() const { return m_replicatorNameHasBeenSet; } + + /** + *

    The name of the replicator.

    + */ + inline void SetReplicatorName(const Aws::String& value) { m_replicatorNameHasBeenSet = true; m_replicatorName = value; } + + /** + *

    The name of the replicator.

    + */ + inline void SetReplicatorName(Aws::String&& value) { m_replicatorNameHasBeenSet = true; m_replicatorName = std::move(value); } + + /** + *

    The name of the replicator.

    + */ + inline void SetReplicatorName(const char* value) { m_replicatorNameHasBeenSet = true; m_replicatorName.assign(value); } + + /** + *

    The name of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;} + + /** + *

    The name of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;} + + /** + *

    The name of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;} + + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline const Aws::String& GetReplicatorResourceArn() const{ return m_replicatorResourceArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline bool ReplicatorResourceArnHasBeenSet() const { return m_replicatorResourceArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline void SetReplicatorResourceArn(const Aws::String& value) { m_replicatorResourceArnHasBeenSet = true; m_replicatorResourceArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline void SetReplicatorResourceArn(Aws::String&& value) { m_replicatorResourceArnHasBeenSet = true; m_replicatorResourceArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline void SetReplicatorResourceArn(const char* value) { m_replicatorResourceArnHasBeenSet = true; m_replicatorResourceArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline ReplicatorSummary& WithReplicatorResourceArn(const Aws::String& value) { SetReplicatorResourceArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline ReplicatorSummary& WithReplicatorResourceArn(Aws::String&& value) { SetReplicatorResourceArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator resource in the region where + * the replicator was created.

    + */ + inline ReplicatorSummary& WithReplicatorResourceArn(const char* value) { SetReplicatorResourceArn(value); return *this;} + + + /** + *

    State of the replicator.

    + */ + inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; } + + /** + *

    State of the replicator.

    + */ + inline bool ReplicatorStateHasBeenSet() const { return m_replicatorStateHasBeenSet; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorStateHasBeenSet = true; m_replicatorState = value; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorStateHasBeenSet = true; m_replicatorState = std::move(value); } + + /** + *

    State of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorState(const ReplicatorState& value) { SetReplicatorState(value); return *this;} + + /** + *

    State of the replicator.

    + */ + inline ReplicatorSummary& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(std::move(value)); return *this;} + + private: + + Aws::Utils::DateTime m_creationTime; + bool m_creationTimeHasBeenSet = false; + + Aws::String m_currentVersion; + bool m_currentVersionHasBeenSet = false; + + bool m_isReplicatorReference; + bool m_isReplicatorReferenceHasBeenSet = false; + + Aws::Vector m_kafkaClustersSummary; + bool m_kafkaClustersSummaryHasBeenSet = false; + + Aws::Vector m_replicationInfoSummaryList; + bool m_replicationInfoSummaryListHasBeenSet = false; + + Aws::String m_replicatorArn; + bool m_replicatorArnHasBeenSet = false; + + Aws::String m_replicatorName; + bool m_replicatorNameHasBeenSet = false; + + Aws::String m_replicatorResourceArn; + bool m_replicatorResourceArnHasBeenSet = false; + + ReplicatorState m_replicatorState; + bool m_replicatorStateHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TargetCompressionType.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TargetCompressionType.h new file mode 100644 index 00000000000..3f30423f958 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TargetCompressionType.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + enum class TargetCompressionType + { + NOT_SET, + NONE, + GZIP, + SNAPPY, + LZ4, + ZSTD + }; + +namespace TargetCompressionTypeMapper +{ +AWS_KAFKA_API TargetCompressionType GetTargetCompressionTypeForName(const Aws::String& name); + +AWS_KAFKA_API Aws::String GetNameForTargetCompressionType(TargetCompressionType value); +} // namespace TargetCompressionTypeMapper +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h new file mode 100644 index 00000000000..a7f89c1563d --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplication.h @@ -0,0 +1,232 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Details about topic replication.

    See Also:

    AWS + * API Reference

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

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline bool GetCopyAccessControlListsForTopics() const{ return m_copyAccessControlListsForTopics; } + + /** + *

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline bool CopyAccessControlListsForTopicsHasBeenSet() const { return m_copyAccessControlListsForTopicsHasBeenSet; } + + /** + *

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline void SetCopyAccessControlListsForTopics(bool value) { m_copyAccessControlListsForTopicsHasBeenSet = true; m_copyAccessControlListsForTopics = value; } + + /** + *

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline TopicReplication& WithCopyAccessControlListsForTopics(bool value) { SetCopyAccessControlListsForTopics(value); return *this;} + + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline bool GetCopyTopicConfigurations() const{ return m_copyTopicConfigurations; } + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline bool CopyTopicConfigurationsHasBeenSet() const { return m_copyTopicConfigurationsHasBeenSet; } + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline void SetCopyTopicConfigurations(bool value) { m_copyTopicConfigurationsHasBeenSet = true; m_copyTopicConfigurations = value; } + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline TopicReplication& WithCopyTopicConfigurations(bool value) { SetCopyTopicConfigurations(value); return *this;} + + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline bool GetDetectAndCopyNewTopics() const{ return m_detectAndCopyNewTopics; } + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline bool DetectAndCopyNewTopicsHasBeenSet() const { return m_detectAndCopyNewTopicsHasBeenSet; } + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline void SetDetectAndCopyNewTopics(bool value) { m_detectAndCopyNewTopicsHasBeenSet = true; m_detectAndCopyNewTopics = value; } + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline TopicReplication& WithDetectAndCopyNewTopics(bool value) { SetDetectAndCopyNewTopics(value); return *this;} + + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline const Aws::Vector& GetTopicsToExclude() const{ return m_topicsToExclude; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline bool TopicsToExcludeHasBeenSet() const { return m_topicsToExcludeHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline void SetTopicsToExclude(const Aws::Vector& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude = value; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline void SetTopicsToExclude(Aws::Vector&& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude = std::move(value); } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplication& WithTopicsToExclude(const Aws::Vector& value) { SetTopicsToExclude(value); return *this;} + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplication& WithTopicsToExclude(Aws::Vector&& value) { SetTopicsToExclude(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplication& AddTopicsToExclude(const Aws::String& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplication& AddTopicsToExclude(Aws::String&& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplication& AddTopicsToExclude(const char* value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude.push_back(value); return *this; } + + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline const Aws::Vector& GetTopicsToReplicate() const{ return m_topicsToReplicate; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline bool TopicsToReplicateHasBeenSet() const { return m_topicsToReplicateHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline void SetTopicsToReplicate(const Aws::Vector& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate = value; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline void SetTopicsToReplicate(Aws::Vector&& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate = std::move(value); } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplication& WithTopicsToReplicate(const Aws::Vector& value) { SetTopicsToReplicate(value); return *this;} + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplication& WithTopicsToReplicate(Aws::Vector&& value) { SetTopicsToReplicate(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplication& AddTopicsToReplicate(const Aws::String& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplication& AddTopicsToReplicate(Aws::String&& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplication& AddTopicsToReplicate(const char* value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate.push_back(value); return *this; } + + private: + + bool m_copyAccessControlListsForTopics; + bool m_copyAccessControlListsForTopicsHasBeenSet = false; + + bool m_copyTopicConfigurations; + bool m_copyTopicConfigurationsHasBeenSet = false; + + bool m_detectAndCopyNewTopics; + bool m_detectAndCopyNewTopicsHasBeenSet = false; + + Aws::Vector m_topicsToExclude; + bool m_topicsToExcludeHasBeenSet = false; + + Aws::Vector m_topicsToReplicate; + bool m_topicsToReplicateHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplicationUpdate.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplicationUpdate.h new file mode 100644 index 00000000000..edbf6d06786 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/TopicReplicationUpdate.h @@ -0,0 +1,233 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + + /** + *

    Details for updating the topic replication of a replicator.

    See + * Also:

    AWS + * API Reference

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

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline bool GetCopyAccessControlListsForTopics() const{ return m_copyAccessControlListsForTopics; } + + /** + *

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline bool CopyAccessControlListsForTopicsHasBeenSet() const { return m_copyAccessControlListsForTopicsHasBeenSet; } + + /** + *

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline void SetCopyAccessControlListsForTopics(bool value) { m_copyAccessControlListsForTopicsHasBeenSet = true; m_copyAccessControlListsForTopics = value; } + + /** + *

    Whether to periodically configure remote topic ACLs to match their + * corresponding upstream topics.

    + */ + inline TopicReplicationUpdate& WithCopyAccessControlListsForTopics(bool value) { SetCopyAccessControlListsForTopics(value); return *this;} + + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline bool GetCopyTopicConfigurations() const{ return m_copyTopicConfigurations; } + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline bool CopyTopicConfigurationsHasBeenSet() const { return m_copyTopicConfigurationsHasBeenSet; } + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline void SetCopyTopicConfigurations(bool value) { m_copyTopicConfigurationsHasBeenSet = true; m_copyTopicConfigurations = value; } + + /** + *

    Whether to periodically configure remote topics to match their corresponding + * upstream topics.

    + */ + inline TopicReplicationUpdate& WithCopyTopicConfigurations(bool value) { SetCopyTopicConfigurations(value); return *this;} + + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline bool GetDetectAndCopyNewTopics() const{ return m_detectAndCopyNewTopics; } + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline bool DetectAndCopyNewTopicsHasBeenSet() const { return m_detectAndCopyNewTopicsHasBeenSet; } + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline void SetDetectAndCopyNewTopics(bool value) { m_detectAndCopyNewTopicsHasBeenSet = true; m_detectAndCopyNewTopics = value; } + + /** + *

    Whether to periodically check for new topics and partitions.

    + */ + inline TopicReplicationUpdate& WithDetectAndCopyNewTopics(bool value) { SetDetectAndCopyNewTopics(value); return *this;} + + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline const Aws::Vector& GetTopicsToExclude() const{ return m_topicsToExclude; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline bool TopicsToExcludeHasBeenSet() const { return m_topicsToExcludeHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline void SetTopicsToExclude(const Aws::Vector& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude = value; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline void SetTopicsToExclude(Aws::Vector&& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude = std::move(value); } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplicationUpdate& WithTopicsToExclude(const Aws::Vector& value) { SetTopicsToExclude(value); return *this;} + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplicationUpdate& WithTopicsToExclude(Aws::Vector&& value) { SetTopicsToExclude(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplicationUpdate& AddTopicsToExclude(const Aws::String& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplicationUpdate& AddTopicsToExclude(Aws::String&& value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the topics that should not be + * replicated.

    + */ + inline TopicReplicationUpdate& AddTopicsToExclude(const char* value) { m_topicsToExcludeHasBeenSet = true; m_topicsToExclude.push_back(value); return *this; } + + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline const Aws::Vector& GetTopicsToReplicate() const{ return m_topicsToReplicate; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline bool TopicsToReplicateHasBeenSet() const { return m_topicsToReplicateHasBeenSet; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline void SetTopicsToReplicate(const Aws::Vector& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate = value; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline void SetTopicsToReplicate(Aws::Vector&& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate = std::move(value); } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplicationUpdate& WithTopicsToReplicate(const Aws::Vector& value) { SetTopicsToReplicate(value); return *this;} + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplicationUpdate& WithTopicsToReplicate(Aws::Vector&& value) { SetTopicsToReplicate(std::move(value)); return *this;} + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplicationUpdate& AddTopicsToReplicate(const Aws::String& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate.push_back(value); return *this; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplicationUpdate& AddTopicsToReplicate(Aws::String&& value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate.push_back(std::move(value)); return *this; } + + /** + *

    List of regular expression patterns indicating the topics to copy.

    + */ + inline TopicReplicationUpdate& AddTopicsToReplicate(const char* value) { m_topicsToReplicateHasBeenSet = true; m_topicsToReplicate.push_back(value); return *this; } + + private: + + bool m_copyAccessControlListsForTopics; + bool m_copyAccessControlListsForTopicsHasBeenSet = false; + + bool m_copyTopicConfigurations; + bool m_copyTopicConfigurationsHasBeenSet = false; + + bool m_detectAndCopyNewTopics; + bool m_detectAndCopyNewTopicsHasBeenSet = false; + + Aws::Vector m_topicsToExclude; + bool m_topicsToExcludeHasBeenSet = false; + + Aws::Vector m_topicsToReplicate; + bool m_topicsToReplicateHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoRequest.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoRequest.h new file mode 100644 index 00000000000..49c154b1723 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoRequest.h @@ -0,0 +1,289 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + + /** + *

    Update information relating to replication between a given source and target + * Kafka cluster.

    See Also:

    AWS + * API Reference

    + */ + class UpdateReplicationInfoRequest : public KafkaRequest + { + public: + AWS_KAFKA_API UpdateReplicationInfoRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateReplicationInfo"; } + + AWS_KAFKA_API Aws::String SerializePayload() const override; + + + /** + *

    Updated consumer group replication information.

    + */ + inline const ConsumerGroupReplicationUpdate& GetConsumerGroupReplication() const{ return m_consumerGroupReplication; } + + /** + *

    Updated consumer group replication information.

    + */ + inline bool ConsumerGroupReplicationHasBeenSet() const { return m_consumerGroupReplicationHasBeenSet; } + + /** + *

    Updated consumer group replication information.

    + */ + inline void SetConsumerGroupReplication(const ConsumerGroupReplicationUpdate& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = value; } + + /** + *

    Updated consumer group replication information.

    + */ + inline void SetConsumerGroupReplication(ConsumerGroupReplicationUpdate&& value) { m_consumerGroupReplicationHasBeenSet = true; m_consumerGroupReplication = std::move(value); } + + /** + *

    Updated consumer group replication information.

    + */ + inline UpdateReplicationInfoRequest& WithConsumerGroupReplication(const ConsumerGroupReplicationUpdate& value) { SetConsumerGroupReplication(value); return *this;} + + /** + *

    Updated consumer group replication information.

    + */ + inline UpdateReplicationInfoRequest& WithConsumerGroupReplication(ConsumerGroupReplicationUpdate&& value) { SetConsumerGroupReplication(std::move(value)); return *this;} + + + /** + *

    Current replicator version.

    + */ + inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; } + + /** + *

    Current replicator version.

    + */ + inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; } + + /** + *

    Current replicator version.

    + */ + inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; } + + /** + *

    Current replicator version.

    + */ + inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); } + + /** + *

    Current replicator version.

    + */ + inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); } + + /** + *

    Current replicator version.

    + */ + inline UpdateReplicationInfoRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;} + + /** + *

    Current replicator version.

    + */ + inline UpdateReplicationInfoRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;} + + /** + *

    Current replicator version.

    + */ + inline UpdateReplicationInfoRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;} + + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline bool ReplicatorArnHasBeenSet() const { return m_replicatorArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArnHasBeenSet = true; m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArnHasBeenSet = true; m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline UpdateReplicationInfoRequest& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline UpdateReplicationInfoRequest& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator to be updated.

    + */ + inline UpdateReplicationInfoRequest& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline const Aws::String& GetSourceKafkaClusterArn() const{ return m_sourceKafkaClusterArn; } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline bool SourceKafkaClusterArnHasBeenSet() const { return m_sourceKafkaClusterArnHasBeenSet; } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterArn(const Aws::String& value) { m_sourceKafkaClusterArnHasBeenSet = true; m_sourceKafkaClusterArn = value; } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterArn(Aws::String&& value) { m_sourceKafkaClusterArnHasBeenSet = true; m_sourceKafkaClusterArn = std::move(value); } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline void SetSourceKafkaClusterArn(const char* value) { m_sourceKafkaClusterArnHasBeenSet = true; m_sourceKafkaClusterArn.assign(value); } + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline UpdateReplicationInfoRequest& WithSourceKafkaClusterArn(const Aws::String& value) { SetSourceKafkaClusterArn(value); return *this;} + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline UpdateReplicationInfoRequest& WithSourceKafkaClusterArn(Aws::String&& value) { SetSourceKafkaClusterArn(std::move(value)); return *this;} + + /** + *

    The ARN of the source Kafka cluster.

    + */ + inline UpdateReplicationInfoRequest& WithSourceKafkaClusterArn(const char* value) { SetSourceKafkaClusterArn(value); return *this;} + + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline const Aws::String& GetTargetKafkaClusterArn() const{ return m_targetKafkaClusterArn; } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline bool TargetKafkaClusterArnHasBeenSet() const { return m_targetKafkaClusterArnHasBeenSet; } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterArn(const Aws::String& value) { m_targetKafkaClusterArnHasBeenSet = true; m_targetKafkaClusterArn = value; } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterArn(Aws::String&& value) { m_targetKafkaClusterArnHasBeenSet = true; m_targetKafkaClusterArn = std::move(value); } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline void SetTargetKafkaClusterArn(const char* value) { m_targetKafkaClusterArnHasBeenSet = true; m_targetKafkaClusterArn.assign(value); } + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline UpdateReplicationInfoRequest& WithTargetKafkaClusterArn(const Aws::String& value) { SetTargetKafkaClusterArn(value); return *this;} + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline UpdateReplicationInfoRequest& WithTargetKafkaClusterArn(Aws::String&& value) { SetTargetKafkaClusterArn(std::move(value)); return *this;} + + /** + *

    The ARN of the target Kafka cluster.

    + */ + inline UpdateReplicationInfoRequest& WithTargetKafkaClusterArn(const char* value) { SetTargetKafkaClusterArn(value); return *this;} + + + /** + *

    Updated topic replication information.

    + */ + inline const TopicReplicationUpdate& GetTopicReplication() const{ return m_topicReplication; } + + /** + *

    Updated topic replication information.

    + */ + inline bool TopicReplicationHasBeenSet() const { return m_topicReplicationHasBeenSet; } + + /** + *

    Updated topic replication information.

    + */ + inline void SetTopicReplication(const TopicReplicationUpdate& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = value; } + + /** + *

    Updated topic replication information.

    + */ + inline void SetTopicReplication(TopicReplicationUpdate&& value) { m_topicReplicationHasBeenSet = true; m_topicReplication = std::move(value); } + + /** + *

    Updated topic replication information.

    + */ + inline UpdateReplicationInfoRequest& WithTopicReplication(const TopicReplicationUpdate& value) { SetTopicReplication(value); return *this;} + + /** + *

    Updated topic replication information.

    + */ + inline UpdateReplicationInfoRequest& WithTopicReplication(TopicReplicationUpdate&& value) { SetTopicReplication(std::move(value)); return *this;} + + private: + + ConsumerGroupReplicationUpdate m_consumerGroupReplication; + bool m_consumerGroupReplicationHasBeenSet = false; + + Aws::String m_currentVersion; + bool m_currentVersionHasBeenSet = false; + + Aws::String m_replicatorArn; + bool m_replicatorArnHasBeenSet = false; + + Aws::String m_sourceKafkaClusterArn; + bool m_sourceKafkaClusterArnHasBeenSet = false; + + Aws::String m_targetKafkaClusterArn; + bool m_targetKafkaClusterArnHasBeenSet = false; + + TopicReplicationUpdate m_topicReplication; + bool m_topicReplicationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoResult.h b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoResult.h new file mode 100644 index 00000000000..07c4007c024 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/include/aws/kafka/model/UpdateReplicationInfoResult.h @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Kafka +{ +namespace Model +{ + class UpdateReplicationInfoResult + { + public: + AWS_KAFKA_API UpdateReplicationInfoResult(); + AWS_KAFKA_API UpdateReplicationInfoResult(const Aws::AmazonWebServiceResult& result); + AWS_KAFKA_API UpdateReplicationInfoResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline void SetReplicatorArn(const char* value) { m_replicatorArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline UpdateReplicationInfoResult& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline UpdateReplicationInfoResult& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the replicator.

    + */ + inline UpdateReplicationInfoResult& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;} + + + /** + *

    State of the replicator.

    + */ + inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorState = value; } + + /** + *

    State of the replicator.

    + */ + inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorState = std::move(value); } + + /** + *

    State of the replicator.

    + */ + inline UpdateReplicationInfoResult& WithReplicatorState(const ReplicatorState& value) { SetReplicatorState(value); return *this;} + + /** + *

    State of the replicator.

    + */ + inline UpdateReplicationInfoResult& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(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 UpdateReplicationInfoResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline UpdateReplicationInfoResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline UpdateReplicationInfoResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_replicatorArn; + + ReplicatorState m_replicatorState; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/KafkaClient.cpp b/generated/src/aws-cpp-sdk-kafka/source/KafkaClient.cpp index 4342d6f2627..db7e16f7135 100644 --- a/generated/src/aws-cpp-sdk-kafka/source/KafkaClient.cpp +++ b/generated/src/aws-cpp-sdk-kafka/source/KafkaClient.cpp @@ -25,10 +25,12 @@ #include #include #include +#include #include #include #include #include +#include #include #include #include @@ -36,6 +38,7 @@ #include #include #include +#include #include #include #include @@ -49,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -66,6 +70,7 @@ #include #include #include +#include #include #include @@ -316,6 +321,33 @@ CreateConfigurationOutcome KafkaClient::CreateConfiguration(const CreateConfigur {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateReplicatorOutcome KafkaClient::CreateReplicator(const CreateReplicatorRequest& request) const +{ + AWS_OPERATION_GUARD(CreateReplicator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateReplicator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateReplicator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateReplicator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".CreateReplicator", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> CreateReplicatorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateReplicator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/replication/v1/replicators"); + return CreateReplicatorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateVpcConnectionOutcome KafkaClient::CreateVpcConnection(const CreateVpcConnectionRequest& request) const { AWS_OPERATION_GUARD(CreateVpcConnection); @@ -443,6 +475,39 @@ DeleteConfigurationOutcome KafkaClient::DeleteConfiguration(const DeleteConfigur {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteReplicatorOutcome KafkaClient::DeleteReplicator(const DeleteReplicatorRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteReplicator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteReplicator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ReplicatorArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DeleteReplicator", "Required field: ReplicatorArn, is not set"); + return DeleteReplicatorOutcome(Aws::Client::AWSError(KafkaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ReplicatorArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteReplicator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteReplicator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DeleteReplicator", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteReplicatorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteReplicator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/replication/v1/replicators/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetReplicatorArn()); + return DeleteReplicatorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DeleteVpcConnectionOutcome KafkaClient::DeleteVpcConnection(const DeleteVpcConnectionRequest& request) const { AWS_OPERATION_GUARD(DeleteVpcConnection); @@ -681,6 +746,39 @@ DescribeConfigurationRevisionOutcome KafkaClient::DescribeConfigurationRevision( {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeReplicatorOutcome KafkaClient::DescribeReplicator(const DescribeReplicatorRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeReplicator); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeReplicator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ReplicatorArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DescribeReplicator", "Required field: ReplicatorArn, is not set"); + return DescribeReplicatorOutcome(Aws::Client::AWSError(KafkaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ReplicatorArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeReplicator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeReplicator, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DescribeReplicator", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> DescribeReplicatorOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeReplicator, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/replication/v1/replicators/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetReplicatorArn()); + return DescribeReplicatorOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeVpcConnectionOutcome KafkaClient::DescribeVpcConnection(const DescribeVpcConnectionRequest& request) const { AWS_OPERATION_GUARD(DescribeVpcConnection); @@ -1087,6 +1185,33 @@ ListNodesOutcome KafkaClient::ListNodes(const ListNodesRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListReplicatorsOutcome KafkaClient::ListReplicators(const ListReplicatorsRequest& request) const +{ + AWS_OPERATION_GUARD(ListReplicators); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListReplicators, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListReplicators, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListReplicators, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListReplicators", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListReplicatorsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListReplicators, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/replication/v1/replicators"); + return ListReplicatorsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListScramSecretsOutcome KafkaClient::ListScramSecrets(const ListScramSecretsRequest& request) const { AWS_OPERATION_GUARD(ListScramSecrets); @@ -1659,6 +1784,40 @@ UpdateMonitoringOutcome KafkaClient::UpdateMonitoring(const UpdateMonitoringRequ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateReplicationInfoOutcome KafkaClient::UpdateReplicationInfo(const UpdateReplicationInfoRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateReplicationInfo); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateReplicationInfo, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ReplicatorArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateReplicationInfo", "Required field: ReplicatorArn, is not set"); + return UpdateReplicationInfoOutcome(Aws::Client::AWSError(KafkaErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ReplicatorArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateReplicationInfo, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateReplicationInfo, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateReplicationInfo", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateReplicationInfoOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateReplicationInfo, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/replication/v1/replicators/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetReplicatorArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/replication-info"); + return UpdateReplicationInfoOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateSecurityOutcome KafkaClient::UpdateSecurity(const UpdateSecurityRequest& request) const { AWS_OPERATION_GUARD(UpdateSecurity); diff --git a/generated/src/aws-cpp-sdk-kafka/source/KafkaEndpointRules.cpp b/generated/src/aws-cpp-sdk-kafka/source/KafkaEndpointRules.cpp index 1d5e95cabe8..f2567f78d95 100644 --- a/generated/src/aws-cpp-sdk-kafka/source/KafkaEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-kafka/source/KafkaEndpointRules.cpp @@ -51,115 +51,115 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', 'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', '"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', -'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','a','f','k', -'a','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', -'n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','a','f','k','a','-','f','i','p','s', +'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', +'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', +'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u', +'a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ', +'t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s', +'u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e', +'"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', +'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', +'e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', +'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', +':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"', +'}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s','-','u','s','-','g','o','v', +'"',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h', +'t','t','p','s',':','/','/','k','a','f','k','a','.','{','R','e','g','i','o','n','}','.','a','m','a', +'z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', +'p','s',':','/','/','k','a','f','k','a','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.', +'{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i', 'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', 'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', -'"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r', -'r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ', -'a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', -'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o', -'n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r', -'"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', -':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', -'{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{', -'"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"', -'s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"', -':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l', -'s','"',',','"','a','r','g','v','"',':','[','"','a','w','s','-','u','s','-','g','o','v','"',',','{', -'"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"', -'n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u', -'r','l','"',':','"','h','t','t','p','s',':','/','/','k','a','f','k','a','.','{','R','e','g','i','o', -'n','}','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r', -'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', -'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ', +'i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i', +'t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P', +'S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e', +'"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', +'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"', +':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p', +'o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e', +'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','a', +'f','k','a','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e', +'s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"', +',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', +'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', +',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c', +'k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', +'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D', +'u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t', 'i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l', -'"',':','"','h','t','t','p','s',':','/','/','k','a','f','k','a','-','f','i','p','s','.','{','R','e', -'g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n', -'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', -',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', -'d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l', -'e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e', -'s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', -'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', -'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', -'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', -'S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p', -'s',':','/','/','k','a','f','k','a','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', -'t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u', -'f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h', -'e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o', -'i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', -'"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a', -'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d', -'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k', -'"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n', -'d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', -'u','r','l','"',':','"','h','t','t','p','s',':','/','/','k','a','f','k','a','.','{','R','e','g','i', -'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S', -'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', -'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', -'o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'"',':','"','h','t','t','p','s',':','/','/','k','a','f','k','a','.','{','R','e','g','i','o','n','}', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f', +'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', +'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p', +'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', '[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i', 'g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"', ',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/AmazonMskCluster.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/AmazonMskCluster.cpp new file mode 100644 index 00000000000..01b7c1cf644 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/AmazonMskCluster.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +AmazonMskCluster::AmazonMskCluster() : + m_mskClusterArnHasBeenSet(false) +{ +} + +AmazonMskCluster::AmazonMskCluster(JsonView jsonValue) : + m_mskClusterArnHasBeenSet(false) +{ + *this = jsonValue; +} + +AmazonMskCluster& AmazonMskCluster::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("mskClusterArn")) + { + m_mskClusterArn = jsonValue.GetString("mskClusterArn"); + + m_mskClusterArnHasBeenSet = true; + } + + return *this; +} + +JsonValue AmazonMskCluster::Jsonize() const +{ + JsonValue payload; + + if(m_mskClusterArnHasBeenSet) + { + payload.WithString("mskClusterArn", m_mskClusterArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplication.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplication.cpp new file mode 100644 index 00000000000..991a6a93b2c --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplication.cpp @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ConsumerGroupReplication::ConsumerGroupReplication() : + m_consumerGroupsToExcludeHasBeenSet(false), + m_consumerGroupsToReplicateHasBeenSet(false), + m_detectAndCopyNewConsumerGroups(false), + m_detectAndCopyNewConsumerGroupsHasBeenSet(false), + m_synchroniseConsumerGroupOffsets(false), + m_synchroniseConsumerGroupOffsetsHasBeenSet(false) +{ +} + +ConsumerGroupReplication::ConsumerGroupReplication(JsonView jsonValue) : + m_consumerGroupsToExcludeHasBeenSet(false), + m_consumerGroupsToReplicateHasBeenSet(false), + m_detectAndCopyNewConsumerGroups(false), + m_detectAndCopyNewConsumerGroupsHasBeenSet(false), + m_synchroniseConsumerGroupOffsets(false), + m_synchroniseConsumerGroupOffsetsHasBeenSet(false) +{ + *this = jsonValue; +} + +ConsumerGroupReplication& ConsumerGroupReplication::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("consumerGroupsToExclude")) + { + Aws::Utils::Array consumerGroupsToExcludeJsonList = jsonValue.GetArray("consumerGroupsToExclude"); + for(unsigned consumerGroupsToExcludeIndex = 0; consumerGroupsToExcludeIndex < consumerGroupsToExcludeJsonList.GetLength(); ++consumerGroupsToExcludeIndex) + { + m_consumerGroupsToExclude.push_back(consumerGroupsToExcludeJsonList[consumerGroupsToExcludeIndex].AsString()); + } + m_consumerGroupsToExcludeHasBeenSet = true; + } + + if(jsonValue.ValueExists("consumerGroupsToReplicate")) + { + Aws::Utils::Array consumerGroupsToReplicateJsonList = jsonValue.GetArray("consumerGroupsToReplicate"); + for(unsigned consumerGroupsToReplicateIndex = 0; consumerGroupsToReplicateIndex < consumerGroupsToReplicateJsonList.GetLength(); ++consumerGroupsToReplicateIndex) + { + m_consumerGroupsToReplicate.push_back(consumerGroupsToReplicateJsonList[consumerGroupsToReplicateIndex].AsString()); + } + m_consumerGroupsToReplicateHasBeenSet = true; + } + + if(jsonValue.ValueExists("detectAndCopyNewConsumerGroups")) + { + m_detectAndCopyNewConsumerGroups = jsonValue.GetBool("detectAndCopyNewConsumerGroups"); + + m_detectAndCopyNewConsumerGroupsHasBeenSet = true; + } + + if(jsonValue.ValueExists("synchroniseConsumerGroupOffsets")) + { + m_synchroniseConsumerGroupOffsets = jsonValue.GetBool("synchroniseConsumerGroupOffsets"); + + m_synchroniseConsumerGroupOffsetsHasBeenSet = true; + } + + return *this; +} + +JsonValue ConsumerGroupReplication::Jsonize() const +{ + JsonValue payload; + + if(m_consumerGroupsToExcludeHasBeenSet) + { + Aws::Utils::Array consumerGroupsToExcludeJsonList(m_consumerGroupsToExclude.size()); + for(unsigned consumerGroupsToExcludeIndex = 0; consumerGroupsToExcludeIndex < consumerGroupsToExcludeJsonList.GetLength(); ++consumerGroupsToExcludeIndex) + { + consumerGroupsToExcludeJsonList[consumerGroupsToExcludeIndex].AsString(m_consumerGroupsToExclude[consumerGroupsToExcludeIndex]); + } + payload.WithArray("consumerGroupsToExclude", std::move(consumerGroupsToExcludeJsonList)); + + } + + if(m_consumerGroupsToReplicateHasBeenSet) + { + Aws::Utils::Array consumerGroupsToReplicateJsonList(m_consumerGroupsToReplicate.size()); + for(unsigned consumerGroupsToReplicateIndex = 0; consumerGroupsToReplicateIndex < consumerGroupsToReplicateJsonList.GetLength(); ++consumerGroupsToReplicateIndex) + { + consumerGroupsToReplicateJsonList[consumerGroupsToReplicateIndex].AsString(m_consumerGroupsToReplicate[consumerGroupsToReplicateIndex]); + } + payload.WithArray("consumerGroupsToReplicate", std::move(consumerGroupsToReplicateJsonList)); + + } + + if(m_detectAndCopyNewConsumerGroupsHasBeenSet) + { + payload.WithBool("detectAndCopyNewConsumerGroups", m_detectAndCopyNewConsumerGroups); + + } + + if(m_synchroniseConsumerGroupOffsetsHasBeenSet) + { + payload.WithBool("synchroniseConsumerGroupOffsets", m_synchroniseConsumerGroupOffsets); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplicationUpdate.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplicationUpdate.cpp new file mode 100644 index 00000000000..92da2841bc7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ConsumerGroupReplicationUpdate.cpp @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ConsumerGroupReplicationUpdate::ConsumerGroupReplicationUpdate() : + m_consumerGroupsToExcludeHasBeenSet(false), + m_consumerGroupsToReplicateHasBeenSet(false), + m_detectAndCopyNewConsumerGroups(false), + m_detectAndCopyNewConsumerGroupsHasBeenSet(false), + m_synchroniseConsumerGroupOffsets(false), + m_synchroniseConsumerGroupOffsetsHasBeenSet(false) +{ +} + +ConsumerGroupReplicationUpdate::ConsumerGroupReplicationUpdate(JsonView jsonValue) : + m_consumerGroupsToExcludeHasBeenSet(false), + m_consumerGroupsToReplicateHasBeenSet(false), + m_detectAndCopyNewConsumerGroups(false), + m_detectAndCopyNewConsumerGroupsHasBeenSet(false), + m_synchroniseConsumerGroupOffsets(false), + m_synchroniseConsumerGroupOffsetsHasBeenSet(false) +{ + *this = jsonValue; +} + +ConsumerGroupReplicationUpdate& ConsumerGroupReplicationUpdate::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("consumerGroupsToExclude")) + { + Aws::Utils::Array consumerGroupsToExcludeJsonList = jsonValue.GetArray("consumerGroupsToExclude"); + for(unsigned consumerGroupsToExcludeIndex = 0; consumerGroupsToExcludeIndex < consumerGroupsToExcludeJsonList.GetLength(); ++consumerGroupsToExcludeIndex) + { + m_consumerGroupsToExclude.push_back(consumerGroupsToExcludeJsonList[consumerGroupsToExcludeIndex].AsString()); + } + m_consumerGroupsToExcludeHasBeenSet = true; + } + + if(jsonValue.ValueExists("consumerGroupsToReplicate")) + { + Aws::Utils::Array consumerGroupsToReplicateJsonList = jsonValue.GetArray("consumerGroupsToReplicate"); + for(unsigned consumerGroupsToReplicateIndex = 0; consumerGroupsToReplicateIndex < consumerGroupsToReplicateJsonList.GetLength(); ++consumerGroupsToReplicateIndex) + { + m_consumerGroupsToReplicate.push_back(consumerGroupsToReplicateJsonList[consumerGroupsToReplicateIndex].AsString()); + } + m_consumerGroupsToReplicateHasBeenSet = true; + } + + if(jsonValue.ValueExists("detectAndCopyNewConsumerGroups")) + { + m_detectAndCopyNewConsumerGroups = jsonValue.GetBool("detectAndCopyNewConsumerGroups"); + + m_detectAndCopyNewConsumerGroupsHasBeenSet = true; + } + + if(jsonValue.ValueExists("synchroniseConsumerGroupOffsets")) + { + m_synchroniseConsumerGroupOffsets = jsonValue.GetBool("synchroniseConsumerGroupOffsets"); + + m_synchroniseConsumerGroupOffsetsHasBeenSet = true; + } + + return *this; +} + +JsonValue ConsumerGroupReplicationUpdate::Jsonize() const +{ + JsonValue payload; + + if(m_consumerGroupsToExcludeHasBeenSet) + { + Aws::Utils::Array consumerGroupsToExcludeJsonList(m_consumerGroupsToExclude.size()); + for(unsigned consumerGroupsToExcludeIndex = 0; consumerGroupsToExcludeIndex < consumerGroupsToExcludeJsonList.GetLength(); ++consumerGroupsToExcludeIndex) + { + consumerGroupsToExcludeJsonList[consumerGroupsToExcludeIndex].AsString(m_consumerGroupsToExclude[consumerGroupsToExcludeIndex]); + } + payload.WithArray("consumerGroupsToExclude", std::move(consumerGroupsToExcludeJsonList)); + + } + + if(m_consumerGroupsToReplicateHasBeenSet) + { + Aws::Utils::Array consumerGroupsToReplicateJsonList(m_consumerGroupsToReplicate.size()); + for(unsigned consumerGroupsToReplicateIndex = 0; consumerGroupsToReplicateIndex < consumerGroupsToReplicateJsonList.GetLength(); ++consumerGroupsToReplicateIndex) + { + consumerGroupsToReplicateJsonList[consumerGroupsToReplicateIndex].AsString(m_consumerGroupsToReplicate[consumerGroupsToReplicateIndex]); + } + payload.WithArray("consumerGroupsToReplicate", std::move(consumerGroupsToReplicateJsonList)); + + } + + if(m_detectAndCopyNewConsumerGroupsHasBeenSet) + { + payload.WithBool("detectAndCopyNewConsumerGroups", m_detectAndCopyNewConsumerGroups); + + } + + if(m_synchroniseConsumerGroupOffsetsHasBeenSet) + { + payload.WithBool("synchroniseConsumerGroupOffsets", m_synchroniseConsumerGroupOffsets); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorRequest.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorRequest.cpp new file mode 100644 index 00000000000..9b22e1ef817 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorRequest.cpp @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +CreateReplicatorRequest::CreateReplicatorRequest() : + m_descriptionHasBeenSet(false), + m_kafkaClustersHasBeenSet(false), + m_replicationInfoListHasBeenSet(false), + m_replicatorNameHasBeenSet(false), + m_serviceExecutionRoleArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String CreateReplicatorRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_descriptionHasBeenSet) + { + payload.WithString("description", m_description); + + } + + if(m_kafkaClustersHasBeenSet) + { + Aws::Utils::Array kafkaClustersJsonList(m_kafkaClusters.size()); + for(unsigned kafkaClustersIndex = 0; kafkaClustersIndex < kafkaClustersJsonList.GetLength(); ++kafkaClustersIndex) + { + kafkaClustersJsonList[kafkaClustersIndex].AsObject(m_kafkaClusters[kafkaClustersIndex].Jsonize()); + } + payload.WithArray("kafkaClusters", std::move(kafkaClustersJsonList)); + + } + + if(m_replicationInfoListHasBeenSet) + { + Aws::Utils::Array replicationInfoListJsonList(m_replicationInfoList.size()); + for(unsigned replicationInfoListIndex = 0; replicationInfoListIndex < replicationInfoListJsonList.GetLength(); ++replicationInfoListIndex) + { + replicationInfoListJsonList[replicationInfoListIndex].AsObject(m_replicationInfoList[replicationInfoListIndex].Jsonize()); + } + payload.WithArray("replicationInfoList", std::move(replicationInfoListJsonList)); + + } + + if(m_replicatorNameHasBeenSet) + { + payload.WithString("replicatorName", m_replicatorName); + + } + + if(m_serviceExecutionRoleArnHasBeenSet) + { + payload.WithString("serviceExecutionRoleArn", m_serviceExecutionRoleArn); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorResult.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorResult.cpp new file mode 100644 index 00000000000..c381710f889 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/CreateReplicatorResult.cpp @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +CreateReplicatorResult::CreateReplicatorResult() : + m_replicatorState(ReplicatorState::NOT_SET) +{ +} + +CreateReplicatorResult::CreateReplicatorResult(const Aws::AmazonWebServiceResult& result) : + m_replicatorState(ReplicatorState::NOT_SET) +{ + *this = result; +} + +CreateReplicatorResult& CreateReplicatorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("replicatorArn")) + { + m_replicatorArn = jsonValue.GetString("replicatorArn"); + + } + + if(jsonValue.ValueExists("replicatorName")) + { + m_replicatorName = jsonValue.GetString("replicatorName"); + + } + + if(jsonValue.ValueExists("replicatorState")) + { + m_replicatorState = ReplicatorStateMapper::GetReplicatorStateForName(jsonValue.GetString("replicatorState")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorRequest.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorRequest.cpp new file mode 100644 index 00000000000..ac4c4855deb --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +DeleteReplicatorRequest::DeleteReplicatorRequest() : + m_currentVersionHasBeenSet(false), + m_replicatorArnHasBeenSet(false) +{ +} + +Aws::String DeleteReplicatorRequest::SerializePayload() const +{ + return {}; +} + +void DeleteReplicatorRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_currentVersionHasBeenSet) + { + ss << m_currentVersion; + uri.AddQueryStringParameter("currentVersion", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorResult.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorResult.cpp new file mode 100644 index 00000000000..78f2e70bb14 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/DeleteReplicatorResult.cpp @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DeleteReplicatorResult::DeleteReplicatorResult() : + m_replicatorState(ReplicatorState::NOT_SET) +{ +} + +DeleteReplicatorResult::DeleteReplicatorResult(const Aws::AmazonWebServiceResult& result) : + m_replicatorState(ReplicatorState::NOT_SET) +{ + *this = result; +} + +DeleteReplicatorResult& DeleteReplicatorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("replicatorArn")) + { + m_replicatorArn = jsonValue.GetString("replicatorArn"); + + } + + if(jsonValue.ValueExists("replicatorState")) + { + m_replicatorState = ReplicatorStateMapper::GetReplicatorStateForName(jsonValue.GetString("replicatorState")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorRequest.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorRequest.cpp new file mode 100644 index 00000000000..4ea54dc0190 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +DescribeReplicatorRequest::DescribeReplicatorRequest() : + m_replicatorArnHasBeenSet(false) +{ +} + +Aws::String DescribeReplicatorRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorResult.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorResult.cpp new file mode 100644 index 00000000000..3a024ecafcb --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/DescribeReplicatorResult.cpp @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DescribeReplicatorResult::DescribeReplicatorResult() : + m_isReplicatorReference(false), + m_replicatorState(ReplicatorState::NOT_SET) +{ +} + +DescribeReplicatorResult::DescribeReplicatorResult(const Aws::AmazonWebServiceResult& result) : + m_isReplicatorReference(false), + m_replicatorState(ReplicatorState::NOT_SET) +{ + *this = result; +} + +DescribeReplicatorResult& DescribeReplicatorResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("creationTime")) + { + m_creationTime = jsonValue.GetString("creationTime"); + + } + + if(jsonValue.ValueExists("currentVersion")) + { + m_currentVersion = jsonValue.GetString("currentVersion"); + + } + + if(jsonValue.ValueExists("isReplicatorReference")) + { + m_isReplicatorReference = jsonValue.GetBool("isReplicatorReference"); + + } + + if(jsonValue.ValueExists("kafkaClusters")) + { + Aws::Utils::Array kafkaClustersJsonList = jsonValue.GetArray("kafkaClusters"); + for(unsigned kafkaClustersIndex = 0; kafkaClustersIndex < kafkaClustersJsonList.GetLength(); ++kafkaClustersIndex) + { + m_kafkaClusters.push_back(kafkaClustersJsonList[kafkaClustersIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("replicationInfoList")) + { + Aws::Utils::Array replicationInfoListJsonList = jsonValue.GetArray("replicationInfoList"); + for(unsigned replicationInfoListIndex = 0; replicationInfoListIndex < replicationInfoListJsonList.GetLength(); ++replicationInfoListIndex) + { + m_replicationInfoList.push_back(replicationInfoListJsonList[replicationInfoListIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("replicatorArn")) + { + m_replicatorArn = jsonValue.GetString("replicatorArn"); + + } + + if(jsonValue.ValueExists("replicatorDescription")) + { + m_replicatorDescription = jsonValue.GetString("replicatorDescription"); + + } + + if(jsonValue.ValueExists("replicatorName")) + { + m_replicatorName = jsonValue.GetString("replicatorName"); + + } + + if(jsonValue.ValueExists("replicatorResourceArn")) + { + m_replicatorResourceArn = jsonValue.GetString("replicatorResourceArn"); + + } + + if(jsonValue.ValueExists("replicatorState")) + { + m_replicatorState = ReplicatorStateMapper::GetReplicatorStateForName(jsonValue.GetString("replicatorState")); + + } + + if(jsonValue.ValueExists("serviceExecutionRoleArn")) + { + m_serviceExecutionRoleArn = jsonValue.GetString("serviceExecutionRoleArn"); + + } + + if(jsonValue.ValueExists("stateInfo")) + { + m_stateInfo = jsonValue.GetObject("stateInfo"); + + } + + if(jsonValue.ValueExists("tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/KafkaCluster.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaCluster.cpp new file mode 100644 index 00000000000..6aff4c84fcd --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaCluster.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +KafkaCluster::KafkaCluster() : + m_amazonMskClusterHasBeenSet(false), + m_vpcConfigHasBeenSet(false) +{ +} + +KafkaCluster::KafkaCluster(JsonView jsonValue) : + m_amazonMskClusterHasBeenSet(false), + m_vpcConfigHasBeenSet(false) +{ + *this = jsonValue; +} + +KafkaCluster& KafkaCluster::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("amazonMskCluster")) + { + m_amazonMskCluster = jsonValue.GetObject("amazonMskCluster"); + + m_amazonMskClusterHasBeenSet = true; + } + + if(jsonValue.ValueExists("vpcConfig")) + { + m_vpcConfig = jsonValue.GetObject("vpcConfig"); + + m_vpcConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue KafkaCluster::Jsonize() const +{ + JsonValue payload; + + if(m_amazonMskClusterHasBeenSet) + { + payload.WithObject("amazonMskCluster", m_amazonMskCluster.Jsonize()); + + } + + if(m_vpcConfigHasBeenSet) + { + payload.WithObject("vpcConfig", m_vpcConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterClientVpcConfig.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterClientVpcConfig.cpp new file mode 100644 index 00000000000..597f51c7bd3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterClientVpcConfig.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +KafkaClusterClientVpcConfig::KafkaClusterClientVpcConfig() : + m_securityGroupIdsHasBeenSet(false), + m_subnetIdsHasBeenSet(false) +{ +} + +KafkaClusterClientVpcConfig::KafkaClusterClientVpcConfig(JsonView jsonValue) : + m_securityGroupIdsHasBeenSet(false), + m_subnetIdsHasBeenSet(false) +{ + *this = jsonValue; +} + +KafkaClusterClientVpcConfig& KafkaClusterClientVpcConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("securityGroupIds")) + { + Aws::Utils::Array securityGroupIdsJsonList = jsonValue.GetArray("securityGroupIds"); + for(unsigned securityGroupIdsIndex = 0; securityGroupIdsIndex < securityGroupIdsJsonList.GetLength(); ++securityGroupIdsIndex) + { + m_securityGroupIds.push_back(securityGroupIdsJsonList[securityGroupIdsIndex].AsString()); + } + m_securityGroupIdsHasBeenSet = true; + } + + if(jsonValue.ValueExists("subnetIds")) + { + Aws::Utils::Array subnetIdsJsonList = jsonValue.GetArray("subnetIds"); + for(unsigned subnetIdsIndex = 0; subnetIdsIndex < subnetIdsJsonList.GetLength(); ++subnetIdsIndex) + { + m_subnetIds.push_back(subnetIdsJsonList[subnetIdsIndex].AsString()); + } + m_subnetIdsHasBeenSet = true; + } + + return *this; +} + +JsonValue KafkaClusterClientVpcConfig::Jsonize() const +{ + JsonValue payload; + + if(m_securityGroupIdsHasBeenSet) + { + Aws::Utils::Array securityGroupIdsJsonList(m_securityGroupIds.size()); + for(unsigned securityGroupIdsIndex = 0; securityGroupIdsIndex < securityGroupIdsJsonList.GetLength(); ++securityGroupIdsIndex) + { + securityGroupIdsJsonList[securityGroupIdsIndex].AsString(m_securityGroupIds[securityGroupIdsIndex]); + } + payload.WithArray("securityGroupIds", std::move(securityGroupIdsJsonList)); + + } + + if(m_subnetIdsHasBeenSet) + { + Aws::Utils::Array subnetIdsJsonList(m_subnetIds.size()); + for(unsigned subnetIdsIndex = 0; subnetIdsIndex < subnetIdsJsonList.GetLength(); ++subnetIdsIndex) + { + subnetIdsJsonList[subnetIdsIndex].AsString(m_subnetIds[subnetIdsIndex]); + } + payload.WithArray("subnetIds", std::move(subnetIdsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterDescription.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterDescription.cpp new file mode 100644 index 00000000000..36a8069fb08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterDescription.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +KafkaClusterDescription::KafkaClusterDescription() : + m_amazonMskClusterHasBeenSet(false), + m_kafkaClusterAliasHasBeenSet(false), + m_vpcConfigHasBeenSet(false) +{ +} + +KafkaClusterDescription::KafkaClusterDescription(JsonView jsonValue) : + m_amazonMskClusterHasBeenSet(false), + m_kafkaClusterAliasHasBeenSet(false), + m_vpcConfigHasBeenSet(false) +{ + *this = jsonValue; +} + +KafkaClusterDescription& KafkaClusterDescription::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("amazonMskCluster")) + { + m_amazonMskCluster = jsonValue.GetObject("amazonMskCluster"); + + m_amazonMskClusterHasBeenSet = true; + } + + if(jsonValue.ValueExists("kafkaClusterAlias")) + { + m_kafkaClusterAlias = jsonValue.GetString("kafkaClusterAlias"); + + m_kafkaClusterAliasHasBeenSet = true; + } + + if(jsonValue.ValueExists("vpcConfig")) + { + m_vpcConfig = jsonValue.GetObject("vpcConfig"); + + m_vpcConfigHasBeenSet = true; + } + + return *this; +} + +JsonValue KafkaClusterDescription::Jsonize() const +{ + JsonValue payload; + + if(m_amazonMskClusterHasBeenSet) + { + payload.WithObject("amazonMskCluster", m_amazonMskCluster.Jsonize()); + + } + + if(m_kafkaClusterAliasHasBeenSet) + { + payload.WithString("kafkaClusterAlias", m_kafkaClusterAlias); + + } + + if(m_vpcConfigHasBeenSet) + { + payload.WithObject("vpcConfig", m_vpcConfig.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterSummary.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterSummary.cpp new file mode 100644 index 00000000000..677ba8fb996 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/KafkaClusterSummary.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +KafkaClusterSummary::KafkaClusterSummary() : + m_amazonMskClusterHasBeenSet(false), + m_kafkaClusterAliasHasBeenSet(false) +{ +} + +KafkaClusterSummary::KafkaClusterSummary(JsonView jsonValue) : + m_amazonMskClusterHasBeenSet(false), + m_kafkaClusterAliasHasBeenSet(false) +{ + *this = jsonValue; +} + +KafkaClusterSummary& KafkaClusterSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("amazonMskCluster")) + { + m_amazonMskCluster = jsonValue.GetObject("amazonMskCluster"); + + m_amazonMskClusterHasBeenSet = true; + } + + if(jsonValue.ValueExists("kafkaClusterAlias")) + { + m_kafkaClusterAlias = jsonValue.GetString("kafkaClusterAlias"); + + m_kafkaClusterAliasHasBeenSet = true; + } + + return *this; +} + +JsonValue KafkaClusterSummary::Jsonize() const +{ + JsonValue payload; + + if(m_amazonMskClusterHasBeenSet) + { + payload.WithObject("amazonMskCluster", m_amazonMskCluster.Jsonize()); + + } + + if(m_kafkaClusterAliasHasBeenSet) + { + payload.WithString("kafkaClusterAlias", m_kafkaClusterAlias); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsRequest.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsRequest.cpp new file mode 100644 index 00000000000..67629caed64 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsRequest.cpp @@ -0,0 +1,58 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListReplicatorsRequest::ListReplicatorsRequest() : + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_replicatorNameFilterHasBeenSet(false) +{ +} + +Aws::String ListReplicatorsRequest::SerializePayload() const +{ + return {}; +} + +void ListReplicatorsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_replicatorNameFilterHasBeenSet) + { + ss << m_replicatorNameFilter; + uri.AddQueryStringParameter("replicatorNameFilter", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsResult.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsResult.cpp new file mode 100644 index 00000000000..6dc2133014c --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ListReplicatorsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListReplicatorsResult::ListReplicatorsResult() +{ +} + +ListReplicatorsResult::ListReplicatorsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListReplicatorsResult& ListReplicatorsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("nextToken")) + { + m_nextToken = jsonValue.GetString("nextToken"); + + } + + if(jsonValue.ValueExists("replicators")) + { + Aws::Utils::Array replicatorsJsonList = jsonValue.GetArray("replicators"); + for(unsigned replicatorsIndex = 0; replicatorsIndex < replicatorsJsonList.GetLength(); ++replicatorsIndex) + { + m_replicators.push_back(replicatorsJsonList[replicatorsIndex].AsObject()); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfo.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfo.cpp new file mode 100644 index 00000000000..2042f99f90d --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfo.cpp @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ReplicationInfo::ReplicationInfo() : + m_consumerGroupReplicationHasBeenSet(false), + m_sourceKafkaClusterArnHasBeenSet(false), + m_targetCompressionType(TargetCompressionType::NOT_SET), + m_targetCompressionTypeHasBeenSet(false), + m_targetKafkaClusterArnHasBeenSet(false), + m_topicReplicationHasBeenSet(false) +{ +} + +ReplicationInfo::ReplicationInfo(JsonView jsonValue) : + m_consumerGroupReplicationHasBeenSet(false), + m_sourceKafkaClusterArnHasBeenSet(false), + m_targetCompressionType(TargetCompressionType::NOT_SET), + m_targetCompressionTypeHasBeenSet(false), + m_targetKafkaClusterArnHasBeenSet(false), + m_topicReplicationHasBeenSet(false) +{ + *this = jsonValue; +} + +ReplicationInfo& ReplicationInfo::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("consumerGroupReplication")) + { + m_consumerGroupReplication = jsonValue.GetObject("consumerGroupReplication"); + + m_consumerGroupReplicationHasBeenSet = true; + } + + if(jsonValue.ValueExists("sourceKafkaClusterArn")) + { + m_sourceKafkaClusterArn = jsonValue.GetString("sourceKafkaClusterArn"); + + m_sourceKafkaClusterArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetCompressionType")) + { + m_targetCompressionType = TargetCompressionTypeMapper::GetTargetCompressionTypeForName(jsonValue.GetString("targetCompressionType")); + + m_targetCompressionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetKafkaClusterArn")) + { + m_targetKafkaClusterArn = jsonValue.GetString("targetKafkaClusterArn"); + + m_targetKafkaClusterArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("topicReplication")) + { + m_topicReplication = jsonValue.GetObject("topicReplication"); + + m_topicReplicationHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationInfo::Jsonize() const +{ + JsonValue payload; + + if(m_consumerGroupReplicationHasBeenSet) + { + payload.WithObject("consumerGroupReplication", m_consumerGroupReplication.Jsonize()); + + } + + if(m_sourceKafkaClusterArnHasBeenSet) + { + payload.WithString("sourceKafkaClusterArn", m_sourceKafkaClusterArn); + + } + + if(m_targetCompressionTypeHasBeenSet) + { + payload.WithString("targetCompressionType", TargetCompressionTypeMapper::GetNameForTargetCompressionType(m_targetCompressionType)); + } + + if(m_targetKafkaClusterArnHasBeenSet) + { + payload.WithString("targetKafkaClusterArn", m_targetKafkaClusterArn); + + } + + if(m_topicReplicationHasBeenSet) + { + payload.WithObject("topicReplication", m_topicReplication.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoDescription.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoDescription.cpp new file mode 100644 index 00000000000..56c9f76b200 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoDescription.cpp @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ReplicationInfoDescription::ReplicationInfoDescription() : + m_consumerGroupReplicationHasBeenSet(false), + m_sourceKafkaClusterAliasHasBeenSet(false), + m_targetCompressionType(TargetCompressionType::NOT_SET), + m_targetCompressionTypeHasBeenSet(false), + m_targetKafkaClusterAliasHasBeenSet(false), + m_topicReplicationHasBeenSet(false) +{ +} + +ReplicationInfoDescription::ReplicationInfoDescription(JsonView jsonValue) : + m_consumerGroupReplicationHasBeenSet(false), + m_sourceKafkaClusterAliasHasBeenSet(false), + m_targetCompressionType(TargetCompressionType::NOT_SET), + m_targetCompressionTypeHasBeenSet(false), + m_targetKafkaClusterAliasHasBeenSet(false), + m_topicReplicationHasBeenSet(false) +{ + *this = jsonValue; +} + +ReplicationInfoDescription& ReplicationInfoDescription::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("consumerGroupReplication")) + { + m_consumerGroupReplication = jsonValue.GetObject("consumerGroupReplication"); + + m_consumerGroupReplicationHasBeenSet = true; + } + + if(jsonValue.ValueExists("sourceKafkaClusterAlias")) + { + m_sourceKafkaClusterAlias = jsonValue.GetString("sourceKafkaClusterAlias"); + + m_sourceKafkaClusterAliasHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetCompressionType")) + { + m_targetCompressionType = TargetCompressionTypeMapper::GetTargetCompressionTypeForName(jsonValue.GetString("targetCompressionType")); + + m_targetCompressionTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetKafkaClusterAlias")) + { + m_targetKafkaClusterAlias = jsonValue.GetString("targetKafkaClusterAlias"); + + m_targetKafkaClusterAliasHasBeenSet = true; + } + + if(jsonValue.ValueExists("topicReplication")) + { + m_topicReplication = jsonValue.GetObject("topicReplication"); + + m_topicReplicationHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationInfoDescription::Jsonize() const +{ + JsonValue payload; + + if(m_consumerGroupReplicationHasBeenSet) + { + payload.WithObject("consumerGroupReplication", m_consumerGroupReplication.Jsonize()); + + } + + if(m_sourceKafkaClusterAliasHasBeenSet) + { + payload.WithString("sourceKafkaClusterAlias", m_sourceKafkaClusterAlias); + + } + + if(m_targetCompressionTypeHasBeenSet) + { + payload.WithString("targetCompressionType", TargetCompressionTypeMapper::GetNameForTargetCompressionType(m_targetCompressionType)); + } + + if(m_targetKafkaClusterAliasHasBeenSet) + { + payload.WithString("targetKafkaClusterAlias", m_targetKafkaClusterAlias); + + } + + if(m_topicReplicationHasBeenSet) + { + payload.WithObject("topicReplication", m_topicReplication.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoSummary.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoSummary.cpp new file mode 100644 index 00000000000..84c229720fe --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationInfoSummary.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ReplicationInfoSummary::ReplicationInfoSummary() : + m_sourceKafkaClusterAliasHasBeenSet(false), + m_targetKafkaClusterAliasHasBeenSet(false) +{ +} + +ReplicationInfoSummary::ReplicationInfoSummary(JsonView jsonValue) : + m_sourceKafkaClusterAliasHasBeenSet(false), + m_targetKafkaClusterAliasHasBeenSet(false) +{ + *this = jsonValue; +} + +ReplicationInfoSummary& ReplicationInfoSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("sourceKafkaClusterAlias")) + { + m_sourceKafkaClusterAlias = jsonValue.GetString("sourceKafkaClusterAlias"); + + m_sourceKafkaClusterAliasHasBeenSet = true; + } + + if(jsonValue.ValueExists("targetKafkaClusterAlias")) + { + m_targetKafkaClusterAlias = jsonValue.GetString("targetKafkaClusterAlias"); + + m_targetKafkaClusterAliasHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationInfoSummary::Jsonize() const +{ + JsonValue payload; + + if(m_sourceKafkaClusterAliasHasBeenSet) + { + payload.WithString("sourceKafkaClusterAlias", m_sourceKafkaClusterAlias); + + } + + if(m_targetKafkaClusterAliasHasBeenSet) + { + payload.WithString("targetKafkaClusterAlias", m_targetKafkaClusterAlias); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationStateInfo.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationStateInfo.cpp new file mode 100644 index 00000000000..397b26ee561 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicationStateInfo.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ReplicationStateInfo::ReplicationStateInfo() : + m_codeHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +ReplicationStateInfo::ReplicationStateInfo(JsonView jsonValue) : + m_codeHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +ReplicationStateInfo& ReplicationStateInfo::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("code")) + { + m_code = jsonValue.GetString("code"); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicationStateInfo::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("code", m_code); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorState.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorState.cpp new file mode 100644 index 00000000000..8395f967f57 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorState.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Kafka + { + namespace Model + { + namespace ReplicatorStateMapper + { + + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int CREATING_HASH = HashingUtils::HashString("CREATING"); + static const int UPDATING_HASH = HashingUtils::HashString("UPDATING"); + static const int DELETING_HASH = HashingUtils::HashString("DELETING"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + + + ReplicatorState GetReplicatorStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == RUNNING_HASH) + { + return ReplicatorState::RUNNING; + } + else if (hashCode == CREATING_HASH) + { + return ReplicatorState::CREATING; + } + else if (hashCode == UPDATING_HASH) + { + return ReplicatorState::UPDATING; + } + else if (hashCode == DELETING_HASH) + { + return ReplicatorState::DELETING; + } + else if (hashCode == FAILED_HASH) + { + return ReplicatorState::FAILED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ReplicatorState::NOT_SET; + } + + Aws::String GetNameForReplicatorState(ReplicatorState enumValue) + { + switch(enumValue) + { + case ReplicatorState::NOT_SET: + return {}; + case ReplicatorState::RUNNING: + return "RUNNING"; + case ReplicatorState::CREATING: + return "CREATING"; + case ReplicatorState::UPDATING: + return "UPDATING"; + case ReplicatorState::DELETING: + return "DELETING"; + case ReplicatorState::FAILED: + return "FAILED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ReplicatorStateMapper + } // namespace Model + } // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorSummary.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorSummary.cpp new file mode 100644 index 00000000000..e4fde81d6a7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/ReplicatorSummary.cpp @@ -0,0 +1,197 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +ReplicatorSummary::ReplicatorSummary() : + m_creationTimeHasBeenSet(false), + m_currentVersionHasBeenSet(false), + m_isReplicatorReference(false), + m_isReplicatorReferenceHasBeenSet(false), + m_kafkaClustersSummaryHasBeenSet(false), + m_replicationInfoSummaryListHasBeenSet(false), + m_replicatorArnHasBeenSet(false), + m_replicatorNameHasBeenSet(false), + m_replicatorResourceArnHasBeenSet(false), + m_replicatorState(ReplicatorState::NOT_SET), + m_replicatorStateHasBeenSet(false) +{ +} + +ReplicatorSummary::ReplicatorSummary(JsonView jsonValue) : + m_creationTimeHasBeenSet(false), + m_currentVersionHasBeenSet(false), + m_isReplicatorReference(false), + m_isReplicatorReferenceHasBeenSet(false), + m_kafkaClustersSummaryHasBeenSet(false), + m_replicationInfoSummaryListHasBeenSet(false), + m_replicatorArnHasBeenSet(false), + m_replicatorNameHasBeenSet(false), + m_replicatorResourceArnHasBeenSet(false), + m_replicatorState(ReplicatorState::NOT_SET), + m_replicatorStateHasBeenSet(false) +{ + *this = jsonValue; +} + +ReplicatorSummary& ReplicatorSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("creationTime")) + { + m_creationTime = jsonValue.GetString("creationTime"); + + m_creationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("currentVersion")) + { + m_currentVersion = jsonValue.GetString("currentVersion"); + + m_currentVersionHasBeenSet = true; + } + + if(jsonValue.ValueExists("isReplicatorReference")) + { + m_isReplicatorReference = jsonValue.GetBool("isReplicatorReference"); + + m_isReplicatorReferenceHasBeenSet = true; + } + + if(jsonValue.ValueExists("kafkaClustersSummary")) + { + Aws::Utils::Array kafkaClustersSummaryJsonList = jsonValue.GetArray("kafkaClustersSummary"); + for(unsigned kafkaClustersSummaryIndex = 0; kafkaClustersSummaryIndex < kafkaClustersSummaryJsonList.GetLength(); ++kafkaClustersSummaryIndex) + { + m_kafkaClustersSummary.push_back(kafkaClustersSummaryJsonList[kafkaClustersSummaryIndex].AsObject()); + } + m_kafkaClustersSummaryHasBeenSet = true; + } + + if(jsonValue.ValueExists("replicationInfoSummaryList")) + { + Aws::Utils::Array replicationInfoSummaryListJsonList = jsonValue.GetArray("replicationInfoSummaryList"); + for(unsigned replicationInfoSummaryListIndex = 0; replicationInfoSummaryListIndex < replicationInfoSummaryListJsonList.GetLength(); ++replicationInfoSummaryListIndex) + { + m_replicationInfoSummaryList.push_back(replicationInfoSummaryListJsonList[replicationInfoSummaryListIndex].AsObject()); + } + m_replicationInfoSummaryListHasBeenSet = true; + } + + if(jsonValue.ValueExists("replicatorArn")) + { + m_replicatorArn = jsonValue.GetString("replicatorArn"); + + m_replicatorArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("replicatorName")) + { + m_replicatorName = jsonValue.GetString("replicatorName"); + + m_replicatorNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("replicatorResourceArn")) + { + m_replicatorResourceArn = jsonValue.GetString("replicatorResourceArn"); + + m_replicatorResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("replicatorState")) + { + m_replicatorState = ReplicatorStateMapper::GetReplicatorStateForName(jsonValue.GetString("replicatorState")); + + m_replicatorStateHasBeenSet = true; + } + + return *this; +} + +JsonValue ReplicatorSummary::Jsonize() const +{ + JsonValue payload; + + if(m_creationTimeHasBeenSet) + { + payload.WithString("creationTime", m_creationTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + + if(m_currentVersionHasBeenSet) + { + payload.WithString("currentVersion", m_currentVersion); + + } + + if(m_isReplicatorReferenceHasBeenSet) + { + payload.WithBool("isReplicatorReference", m_isReplicatorReference); + + } + + if(m_kafkaClustersSummaryHasBeenSet) + { + Aws::Utils::Array kafkaClustersSummaryJsonList(m_kafkaClustersSummary.size()); + for(unsigned kafkaClustersSummaryIndex = 0; kafkaClustersSummaryIndex < kafkaClustersSummaryJsonList.GetLength(); ++kafkaClustersSummaryIndex) + { + kafkaClustersSummaryJsonList[kafkaClustersSummaryIndex].AsObject(m_kafkaClustersSummary[kafkaClustersSummaryIndex].Jsonize()); + } + payload.WithArray("kafkaClustersSummary", std::move(kafkaClustersSummaryJsonList)); + + } + + if(m_replicationInfoSummaryListHasBeenSet) + { + Aws::Utils::Array replicationInfoSummaryListJsonList(m_replicationInfoSummaryList.size()); + for(unsigned replicationInfoSummaryListIndex = 0; replicationInfoSummaryListIndex < replicationInfoSummaryListJsonList.GetLength(); ++replicationInfoSummaryListIndex) + { + replicationInfoSummaryListJsonList[replicationInfoSummaryListIndex].AsObject(m_replicationInfoSummaryList[replicationInfoSummaryListIndex].Jsonize()); + } + payload.WithArray("replicationInfoSummaryList", std::move(replicationInfoSummaryListJsonList)); + + } + + if(m_replicatorArnHasBeenSet) + { + payload.WithString("replicatorArn", m_replicatorArn); + + } + + if(m_replicatorNameHasBeenSet) + { + payload.WithString("replicatorName", m_replicatorName); + + } + + if(m_replicatorResourceArnHasBeenSet) + { + payload.WithString("replicatorResourceArn", m_replicatorResourceArn); + + } + + if(m_replicatorStateHasBeenSet) + { + payload.WithString("replicatorState", ReplicatorStateMapper::GetNameForReplicatorState(m_replicatorState)); + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/TargetCompressionType.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/TargetCompressionType.cpp new file mode 100644 index 00000000000..3cd6787de8f --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/TargetCompressionType.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Kafka + { + namespace Model + { + namespace TargetCompressionTypeMapper + { + + static const int NONE_HASH = HashingUtils::HashString("NONE"); + static const int GZIP_HASH = HashingUtils::HashString("GZIP"); + static const int SNAPPY_HASH = HashingUtils::HashString("SNAPPY"); + static const int LZ4_HASH = HashingUtils::HashString("LZ4"); + static const int ZSTD_HASH = HashingUtils::HashString("ZSTD"); + + + TargetCompressionType GetTargetCompressionTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == NONE_HASH) + { + return TargetCompressionType::NONE; + } + else if (hashCode == GZIP_HASH) + { + return TargetCompressionType::GZIP; + } + else if (hashCode == SNAPPY_HASH) + { + return TargetCompressionType::SNAPPY; + } + else if (hashCode == LZ4_HASH) + { + return TargetCompressionType::LZ4; + } + else if (hashCode == ZSTD_HASH) + { + return TargetCompressionType::ZSTD; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TargetCompressionType::NOT_SET; + } + + Aws::String GetNameForTargetCompressionType(TargetCompressionType enumValue) + { + switch(enumValue) + { + case TargetCompressionType::NOT_SET: + return {}; + case TargetCompressionType::NONE: + return "NONE"; + case TargetCompressionType::GZIP: + return "GZIP"; + case TargetCompressionType::SNAPPY: + return "SNAPPY"; + case TargetCompressionType::LZ4: + return "LZ4"; + case TargetCompressionType::ZSTD: + return "ZSTD"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TargetCompressionTypeMapper + } // namespace Model + } // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp new file mode 100644 index 00000000000..85e889e9177 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplication.cpp @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +TopicReplication::TopicReplication() : + m_copyAccessControlListsForTopics(false), + m_copyAccessControlListsForTopicsHasBeenSet(false), + m_copyTopicConfigurations(false), + m_copyTopicConfigurationsHasBeenSet(false), + m_detectAndCopyNewTopics(false), + m_detectAndCopyNewTopicsHasBeenSet(false), + m_topicsToExcludeHasBeenSet(false), + m_topicsToReplicateHasBeenSet(false) +{ +} + +TopicReplication::TopicReplication(JsonView jsonValue) : + m_copyAccessControlListsForTopics(false), + m_copyAccessControlListsForTopicsHasBeenSet(false), + m_copyTopicConfigurations(false), + m_copyTopicConfigurationsHasBeenSet(false), + m_detectAndCopyNewTopics(false), + m_detectAndCopyNewTopicsHasBeenSet(false), + m_topicsToExcludeHasBeenSet(false), + m_topicsToReplicateHasBeenSet(false) +{ + *this = jsonValue; +} + +TopicReplication& TopicReplication::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("copyAccessControlListsForTopics")) + { + m_copyAccessControlListsForTopics = jsonValue.GetBool("copyAccessControlListsForTopics"); + + m_copyAccessControlListsForTopicsHasBeenSet = true; + } + + if(jsonValue.ValueExists("copyTopicConfigurations")) + { + m_copyTopicConfigurations = jsonValue.GetBool("copyTopicConfigurations"); + + m_copyTopicConfigurationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("detectAndCopyNewTopics")) + { + m_detectAndCopyNewTopics = jsonValue.GetBool("detectAndCopyNewTopics"); + + m_detectAndCopyNewTopicsHasBeenSet = true; + } + + if(jsonValue.ValueExists("topicsToExclude")) + { + Aws::Utils::Array topicsToExcludeJsonList = jsonValue.GetArray("topicsToExclude"); + for(unsigned topicsToExcludeIndex = 0; topicsToExcludeIndex < topicsToExcludeJsonList.GetLength(); ++topicsToExcludeIndex) + { + m_topicsToExclude.push_back(topicsToExcludeJsonList[topicsToExcludeIndex].AsString()); + } + m_topicsToExcludeHasBeenSet = true; + } + + if(jsonValue.ValueExists("topicsToReplicate")) + { + Aws::Utils::Array topicsToReplicateJsonList = jsonValue.GetArray("topicsToReplicate"); + for(unsigned topicsToReplicateIndex = 0; topicsToReplicateIndex < topicsToReplicateJsonList.GetLength(); ++topicsToReplicateIndex) + { + m_topicsToReplicate.push_back(topicsToReplicateJsonList[topicsToReplicateIndex].AsString()); + } + m_topicsToReplicateHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicReplication::Jsonize() const +{ + JsonValue payload; + + if(m_copyAccessControlListsForTopicsHasBeenSet) + { + payload.WithBool("copyAccessControlListsForTopics", m_copyAccessControlListsForTopics); + + } + + if(m_copyTopicConfigurationsHasBeenSet) + { + payload.WithBool("copyTopicConfigurations", m_copyTopicConfigurations); + + } + + if(m_detectAndCopyNewTopicsHasBeenSet) + { + payload.WithBool("detectAndCopyNewTopics", m_detectAndCopyNewTopics); + + } + + if(m_topicsToExcludeHasBeenSet) + { + Aws::Utils::Array topicsToExcludeJsonList(m_topicsToExclude.size()); + for(unsigned topicsToExcludeIndex = 0; topicsToExcludeIndex < topicsToExcludeJsonList.GetLength(); ++topicsToExcludeIndex) + { + topicsToExcludeJsonList[topicsToExcludeIndex].AsString(m_topicsToExclude[topicsToExcludeIndex]); + } + payload.WithArray("topicsToExclude", std::move(topicsToExcludeJsonList)); + + } + + if(m_topicsToReplicateHasBeenSet) + { + Aws::Utils::Array topicsToReplicateJsonList(m_topicsToReplicate.size()); + for(unsigned topicsToReplicateIndex = 0; topicsToReplicateIndex < topicsToReplicateJsonList.GetLength(); ++topicsToReplicateIndex) + { + topicsToReplicateJsonList[topicsToReplicateIndex].AsString(m_topicsToReplicate[topicsToReplicateIndex]); + } + payload.WithArray("topicsToReplicate", std::move(topicsToReplicateJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplicationUpdate.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplicationUpdate.cpp new file mode 100644 index 00000000000..6248eed128c --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/TopicReplicationUpdate.cpp @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Kafka +{ +namespace Model +{ + +TopicReplicationUpdate::TopicReplicationUpdate() : + m_copyAccessControlListsForTopics(false), + m_copyAccessControlListsForTopicsHasBeenSet(false), + m_copyTopicConfigurations(false), + m_copyTopicConfigurationsHasBeenSet(false), + m_detectAndCopyNewTopics(false), + m_detectAndCopyNewTopicsHasBeenSet(false), + m_topicsToExcludeHasBeenSet(false), + m_topicsToReplicateHasBeenSet(false) +{ +} + +TopicReplicationUpdate::TopicReplicationUpdate(JsonView jsonValue) : + m_copyAccessControlListsForTopics(false), + m_copyAccessControlListsForTopicsHasBeenSet(false), + m_copyTopicConfigurations(false), + m_copyTopicConfigurationsHasBeenSet(false), + m_detectAndCopyNewTopics(false), + m_detectAndCopyNewTopicsHasBeenSet(false), + m_topicsToExcludeHasBeenSet(false), + m_topicsToReplicateHasBeenSet(false) +{ + *this = jsonValue; +} + +TopicReplicationUpdate& TopicReplicationUpdate::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("copyAccessControlListsForTopics")) + { + m_copyAccessControlListsForTopics = jsonValue.GetBool("copyAccessControlListsForTopics"); + + m_copyAccessControlListsForTopicsHasBeenSet = true; + } + + if(jsonValue.ValueExists("copyTopicConfigurations")) + { + m_copyTopicConfigurations = jsonValue.GetBool("copyTopicConfigurations"); + + m_copyTopicConfigurationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("detectAndCopyNewTopics")) + { + m_detectAndCopyNewTopics = jsonValue.GetBool("detectAndCopyNewTopics"); + + m_detectAndCopyNewTopicsHasBeenSet = true; + } + + if(jsonValue.ValueExists("topicsToExclude")) + { + Aws::Utils::Array topicsToExcludeJsonList = jsonValue.GetArray("topicsToExclude"); + for(unsigned topicsToExcludeIndex = 0; topicsToExcludeIndex < topicsToExcludeJsonList.GetLength(); ++topicsToExcludeIndex) + { + m_topicsToExclude.push_back(topicsToExcludeJsonList[topicsToExcludeIndex].AsString()); + } + m_topicsToExcludeHasBeenSet = true; + } + + if(jsonValue.ValueExists("topicsToReplicate")) + { + Aws::Utils::Array topicsToReplicateJsonList = jsonValue.GetArray("topicsToReplicate"); + for(unsigned topicsToReplicateIndex = 0; topicsToReplicateIndex < topicsToReplicateJsonList.GetLength(); ++topicsToReplicateIndex) + { + m_topicsToReplicate.push_back(topicsToReplicateJsonList[topicsToReplicateIndex].AsString()); + } + m_topicsToReplicateHasBeenSet = true; + } + + return *this; +} + +JsonValue TopicReplicationUpdate::Jsonize() const +{ + JsonValue payload; + + if(m_copyAccessControlListsForTopicsHasBeenSet) + { + payload.WithBool("copyAccessControlListsForTopics", m_copyAccessControlListsForTopics); + + } + + if(m_copyTopicConfigurationsHasBeenSet) + { + payload.WithBool("copyTopicConfigurations", m_copyTopicConfigurations); + + } + + if(m_detectAndCopyNewTopicsHasBeenSet) + { + payload.WithBool("detectAndCopyNewTopics", m_detectAndCopyNewTopics); + + } + + if(m_topicsToExcludeHasBeenSet) + { + Aws::Utils::Array topicsToExcludeJsonList(m_topicsToExclude.size()); + for(unsigned topicsToExcludeIndex = 0; topicsToExcludeIndex < topicsToExcludeJsonList.GetLength(); ++topicsToExcludeIndex) + { + topicsToExcludeJsonList[topicsToExcludeIndex].AsString(m_topicsToExclude[topicsToExcludeIndex]); + } + payload.WithArray("topicsToExclude", std::move(topicsToExcludeJsonList)); + + } + + if(m_topicsToReplicateHasBeenSet) + { + Aws::Utils::Array topicsToReplicateJsonList(m_topicsToReplicate.size()); + for(unsigned topicsToReplicateIndex = 0; topicsToReplicateIndex < topicsToReplicateJsonList.GetLength(); ++topicsToReplicateIndex) + { + topicsToReplicateJsonList[topicsToReplicateIndex].AsString(m_topicsToReplicate[topicsToReplicateIndex]); + } + payload.WithArray("topicsToReplicate", std::move(topicsToReplicateJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Kafka +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoRequest.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoRequest.cpp new file mode 100644 index 00000000000..383a261c1cb --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateReplicationInfoRequest::UpdateReplicationInfoRequest() : + m_consumerGroupReplicationHasBeenSet(false), + m_currentVersionHasBeenSet(false), + m_replicatorArnHasBeenSet(false), + m_sourceKafkaClusterArnHasBeenSet(false), + m_targetKafkaClusterArnHasBeenSet(false), + m_topicReplicationHasBeenSet(false) +{ +} + +Aws::String UpdateReplicationInfoRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_consumerGroupReplicationHasBeenSet) + { + payload.WithObject("consumerGroupReplication", m_consumerGroupReplication.Jsonize()); + + } + + if(m_currentVersionHasBeenSet) + { + payload.WithString("currentVersion", m_currentVersion); + + } + + if(m_sourceKafkaClusterArnHasBeenSet) + { + payload.WithString("sourceKafkaClusterArn", m_sourceKafkaClusterArn); + + } + + if(m_targetKafkaClusterArnHasBeenSet) + { + payload.WithString("targetKafkaClusterArn", m_targetKafkaClusterArn); + + } + + if(m_topicReplicationHasBeenSet) + { + payload.WithObject("topicReplication", m_topicReplication.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoResult.cpp b/generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoResult.cpp new file mode 100644 index 00000000000..00e13fb8c37 --- /dev/null +++ b/generated/src/aws-cpp-sdk-kafka/source/model/UpdateReplicationInfoResult.cpp @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Kafka::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateReplicationInfoResult::UpdateReplicationInfoResult() : + m_replicatorState(ReplicatorState::NOT_SET) +{ +} + +UpdateReplicationInfoResult::UpdateReplicationInfoResult(const Aws::AmazonWebServiceResult& result) : + m_replicatorState(ReplicatorState::NOT_SET) +{ + *this = result; +} + +UpdateReplicationInfoResult& UpdateReplicationInfoResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("replicatorArn")) + { + m_replicatorArn = jsonValue.GetString("replicatorArn"); + + } + + if(jsonValue.ValueExists("replicatorState")) + { + m_replicatorState = ReplicatorStateMapper::GetReplicatorStateForName(jsonValue.GetString("replicatorState")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/Route53RecoveryClusterClient.h b/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/Route53RecoveryClusterClient.h index 2f5ac88f662..77723197557 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/Route53RecoveryClusterClient.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/Route53RecoveryClusterClient.h @@ -23,14 +23,14 @@ namespace Route53RecoveryCluster * Routing controls are simple on/off switches hosted on a highly available cluster * in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints * against which you can run API calls to get or update the state of routing - * controls. To implement failover, you set one routing control On and another one - * Off, to reroute traffic from one Availability Zone or Amazon Web Services Region - * to another.

    Be aware that you must specify a Regional endpoint for a - * cluster when you work with API cluster operations to get or update routing - * control states in Route 53 ARC. In addition, you must specify the US West - * (Oregon) Region for Route 53 ARC API calls. For example, use the parameter - * --region us-west-2 with AWS CLI commands. For more information, see - *

    Be aware that you must specify a Regional + * endpoint for a cluster when you work with API cluster operations to get or + * update routing control states in Route 53 ARC. In addition, you must specify + * the US West (Oregon) Region for Route 53 ARC API calls. For example, use the + * parameter --region us-west-2 with AWS CLI commands. For more + * information, see * Get and update routing control states using the API in the Amazon Route 53 * Application Recovery Controller Developer Guide.

    This API guide includes @@ -121,10 +121,10 @@ namespace Route53RecoveryCluster /** *

    Get the state for a routing control. A routing control is a simple on/off * switch that you can use to route traffic to cells. When a routing control state - * is On, traffic flows to a cell. When the state is Off, traffic does not flow. - *

    Before you can create a routing control, you must first create a - * cluster, and then host the control in a control panel on the cluster. For more - * information, see

    Before you can create a routing control, you must first + * create a cluster, and then host the control in a control panel on the cluster. + * For more information, see * Create routing control structures in the Amazon Route 53 Application * Recovery Controller Developer Guide. You access one of the endpoints for the @@ -173,10 +173,10 @@ namespace Route53RecoveryCluster * panel ARN, this call lists the routing controls in the control panel. Otherwise, * it lists all the routing controls in the cluster.

    A routing control is a * simple on/off switch in Route 53 ARC that you can use to route traffic to cells. - * When a routing control state is On, traffic flows to a cell. When the state is - * Off, traffic does not flow.

    Before you can create a routing control, you - * must first create a cluster, and then host the control in a control panel on the - * cluster. For more information, see

    Before you can create a + * routing control, you must first create a cluster, and then host the control in a + * control panel on the cluster. For more information, see * Create routing control structures in the Amazon Route 53 Application * Recovery Controller Developer Guide. You access one of the endpoints for the @@ -216,8 +216,8 @@ namespace Route53RecoveryCluster /** *

    Set the state of the routing control to reroute traffic. You can set the - * value to be On or Off. When the state is On, traffic flows to a cell. When the - * state is Off, traffic does not flow.

    With Route 53 ARC, you can add + * value to ON or OFF. When the state is ON, traffic flows to a cell. When the + * state is OFF, traffic does not flow.

    With Route 53 ARC, you can add * safety rules for routing controls, which are safeguards for routing control * state updates that help prevent unexpected outcomes, like fail open traffic * routing. However, there are scenarios when you might want to bypass the routing @@ -268,7 +268,7 @@ namespace Route53RecoveryCluster /** *

    Set multiple routing control states. You can set the value for each state to - * be On or Off. When the state is On, traffic flows to a cell. When it's Off, + * be ON or OFF. When the state is ON, traffic flows to a cell. When it's OFF, * traffic does not flow.

    With Route 53 ARC, you can add safety rules for * routing controls, which are safeguards for routing control state updates that * help prevent unexpected outcomes, like fail open traffic routing. However, there diff --git a/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/RoutingControl.h b/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/RoutingControl.h index c687b03bdfa..1511acb2bf0 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/RoutingControl.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/RoutingControl.h @@ -26,8 +26,9 @@ namespace Model /** *

    A routing control, which is a simple on/off switch that you can use to route - * traffic to cells. When a routing control state is On, traffic flows to a cell. - * When the state is Off, traffic does not flow.

    See Also:

    See + * Also:

    AWS * API Reference

    */ @@ -90,42 +91,50 @@ namespace Model /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline const Aws::String& GetControlPanelName() const{ return m_controlPanelName; } /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline bool ControlPanelNameHasBeenSet() const { return m_controlPanelNameHasBeenSet; } /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline void SetControlPanelName(const Aws::String& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = value; } /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline void SetControlPanelName(Aws::String&& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = std::move(value); } /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline void SetControlPanelName(const char* value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName.assign(value); } /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline RoutingControl& WithControlPanelName(const Aws::String& value) { SetControlPanelName(value); return *this;} /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline RoutingControl& WithControlPanelName(Aws::String&& value) { SetControlPanelName(std::move(value)); return *this;} /** - *

    The name of the control panel where the routing control is located.

    + *

    The name of the control panel where the routing control is located. Only + * ASCII characters are supported for control panel names.

    */ inline RoutingControl& WithControlPanelName(const char* value) { SetControlPanelName(value); return *this;} @@ -213,41 +222,88 @@ namespace Model /** - *

    The current state of the routing control. When a routing control state is On, - * traffic flows to a cell. When the state is Off, traffic does not flow.

    + *

    The current state of the routing control. When a routing control state is set + * to ON, traffic flows to a cell. When the state is set to OFF, traffic does not + * flow.

    */ inline const RoutingControlState& GetRoutingControlState() const{ return m_routingControlState; } /** - *

    The current state of the routing control. When a routing control state is On, - * traffic flows to a cell. When the state is Off, traffic does not flow.

    + *

    The current state of the routing control. When a routing control state is set + * to ON, traffic flows to a cell. When the state is set to OFF, traffic does not + * flow.

    */ inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; } /** - *

    The current state of the routing control. When a routing control state is On, - * traffic flows to a cell. When the state is Off, traffic does not flow.

    + *

    The current state of the routing control. When a routing control state is set + * to ON, traffic flows to a cell. When the state is set to OFF, traffic does not + * flow.

    */ inline void SetRoutingControlState(const RoutingControlState& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; } /** - *

    The current state of the routing control. When a routing control state is On, - * traffic flows to a cell. When the state is Off, traffic does not flow.

    + *

    The current state of the routing control. When a routing control state is set + * to ON, traffic flows to a cell. When the state is set to OFF, traffic does not + * flow.

    */ inline void SetRoutingControlState(RoutingControlState&& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = std::move(value); } /** - *

    The current state of the routing control. When a routing control state is On, - * traffic flows to a cell. When the state is Off, traffic does not flow.

    + *

    The current state of the routing control. When a routing control state is set + * to ON, traffic flows to a cell. When the state is set to OFF, traffic does not + * flow.

    */ inline RoutingControl& WithRoutingControlState(const RoutingControlState& value) { SetRoutingControlState(value); return *this;} /** - *

    The current state of the routing control. When a routing control state is On, - * traffic flows to a cell. When the state is Off, traffic does not flow.

    + *

    The current state of the routing control. When a routing control state is set + * to ON, traffic flows to a cell. When the state is set to OFF, traffic does not + * flow.

    */ inline RoutingControl& WithRoutingControlState(RoutingControlState&& value) { SetRoutingControlState(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline RoutingControl& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline RoutingControl& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline RoutingControl& WithOwner(const char* value) { SetOwner(value); return *this;} + private: Aws::String m_controlPanelArn; @@ -264,6 +320,9 @@ namespace Model RoutingControlState m_routingControlState; bool m_routingControlStateHasBeenSet = false; + + Aws::String m_owner; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/UpdateRoutingControlStateRequest.h b/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/UpdateRoutingControlStateRequest.h index cd8073647f3..38049dc369d 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/UpdateRoutingControlStateRequest.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-cluster/include/aws/route53-recovery-cluster/model/UpdateRoutingControlStateRequest.h @@ -86,32 +86,32 @@ namespace Model /** - *

    The state of the routing control. You can set the value to be On or Off.

    + *

    The state of the routing control. You can set the value to ON or OFF.

    */ inline const RoutingControlState& GetRoutingControlState() const{ return m_routingControlState; } /** - *

    The state of the routing control. You can set the value to be On or Off.

    + *

    The state of the routing control. You can set the value to ON or OFF.

    */ inline bool RoutingControlStateHasBeenSet() const { return m_routingControlStateHasBeenSet; } /** - *

    The state of the routing control. You can set the value to be On or Off.

    + *

    The state of the routing control. You can set the value to ON or OFF.

    */ inline void SetRoutingControlState(const RoutingControlState& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = value; } /** - *

    The state of the routing control. You can set the value to be On or Off.

    + *

    The state of the routing control. You can set the value to ON or OFF.

    */ inline void SetRoutingControlState(RoutingControlState&& value) { m_routingControlStateHasBeenSet = true; m_routingControlState = std::move(value); } /** - *

    The state of the routing control. You can set the value to be On or Off.

    + *

    The state of the routing control. You can set the value to ON or OFF.

    */ inline UpdateRoutingControlStateRequest& WithRoutingControlState(const RoutingControlState& value) { SetRoutingControlState(value); return *this;} /** - *

    The state of the routing control. You can set the value to be On or Off.

    + *

    The state of the routing control. You can set the value to ON or OFF.

    */ inline UpdateRoutingControlStateRequest& WithRoutingControlState(RoutingControlState&& value) { SetRoutingControlState(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/Route53RecoveryClusterEndpointRules.cpp b/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/Route53RecoveryClusterEndpointRules.cpp index 905a80e7a7b..8dbadb5b908 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/Route53RecoveryClusterEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/Route53RecoveryClusterEndpointRules.cpp @@ -51,109 +51,109 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', 'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', '"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e', +'c','o','v','e','r','y','-','c','l','u','s','t','e','r','-','f','i','p','s','.','{','R','e','g','i', +'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l', +'S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', +'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', +'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c', +'k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p', +'a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t', +' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r', +'o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', 'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t', -'e','5','3','-','r','e','c','o','v','e','r','y','-','c','l','u','s','t','e','r','-','f','i','p','s', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"', -'F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n', -'a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', -' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ', -'b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', -'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', -'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', -'t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', -'p','s',':','/','/','r','o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c','l','u', -'s','t','e','r','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', -'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"', -'F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ', -'p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r', -'t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',', -'"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', -':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3','-', -'r','e','c','o','v','e','r','y','-','c','l','u','s','t','e','r','.','{','R','e','g','i','o','n','}', -'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a', -'c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s', -'"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"', -':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k', -' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t', -'i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u', -'a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', -'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t', -'e','5','3','-','r','e','c','o','v','e','r','y','-','c','l','u','s','t','e','r','.','{','R','e','g', -'i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s', -'S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',', -'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', -'p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n', +'"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p', +'p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l', +'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r', +'o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c','l','u','s','t','e','r','-','f', +'i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e', +'s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', +'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', +'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', +'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', +'t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c', +'k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l', +'"',':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e','c','o','v','e', +'r','y','-','c','l','u','s','t','e','r','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S', +'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D', +'u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t', +'h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u', +'p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', +'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3', +'-','r','e','c','o','v','e','r','y','-','c','l','u','s','t','e','r','.','{','R','e','g','i','o','n', +'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', ':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f', 'i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n', '"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/model/RoutingControl.cpp b/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/model/RoutingControl.cpp index 329e23d63c5..3a017be170e 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/model/RoutingControl.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-cluster/source/model/RoutingControl.cpp @@ -24,7 +24,8 @@ RoutingControl::RoutingControl() : m_routingControlArnHasBeenSet(false), m_routingControlNameHasBeenSet(false), m_routingControlState(RoutingControlState::NOT_SET), - m_routingControlStateHasBeenSet(false) + m_routingControlStateHasBeenSet(false), + m_ownerHasBeenSet(false) { } @@ -34,7 +35,8 @@ RoutingControl::RoutingControl(JsonView jsonValue) : m_routingControlArnHasBeenSet(false), m_routingControlNameHasBeenSet(false), m_routingControlState(RoutingControlState::NOT_SET), - m_routingControlStateHasBeenSet(false) + m_routingControlStateHasBeenSet(false), + m_ownerHasBeenSet(false) { *this = jsonValue; } @@ -76,6 +78,13 @@ RoutingControl& RoutingControl::operator =(JsonView jsonValue) m_routingControlStateHasBeenSet = true; } + if(jsonValue.ValueExists("Owner")) + { + m_owner = jsonValue.GetString("Owner"); + + m_ownerHasBeenSet = true; + } + return *this; } @@ -112,6 +121,12 @@ JsonValue RoutingControl::Jsonize() const payload.WithString("RoutingControlState", RoutingControlStateMapper::GetNameForRoutingControlState(m_routingControlState)); } + if(m_ownerHasBeenSet) + { + payload.WithString("Owner", m_owner); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/Route53RecoveryControlConfigClient.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/Route53RecoveryControlConfigClient.h index 2d9d3c4a867..57ad7198171 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/Route53RecoveryControlConfigClient.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/Route53RecoveryControlConfigClient.h @@ -413,6 +413,32 @@ namespace Route53RecoveryControlConfig return SubmitAsync(&Route53RecoveryControlConfigClient::DescribeSafetyRule, request, handler, context); } + /** + *

    Get information about the resource policy for a cluster.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::GetResourcePolicyOutcome GetResourcePolicy(const Model::GetResourcePolicyRequest& request) const; + + /** + * A Callable wrapper for GetResourcePolicy that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetResourcePolicyOutcomeCallable GetResourcePolicyCallable(const GetResourcePolicyRequestT& request) const + { + return SubmitCallable(&Route53RecoveryControlConfigClient::GetResourcePolicy, request); + } + + /** + * An Async wrapper for GetResourcePolicy that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetResourcePolicyAsync(const GetResourcePolicyRequestT& request, const GetResourcePolicyResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&Route53RecoveryControlConfigClient::GetResourcePolicy, request, handler, context); + } + /** *

    Returns an array of all Amazon Route 53 health checks associated with a * specific routing control.

    See Also:

    #include #include +#include #include #include #include @@ -93,6 +94,7 @@ namespace Aws class DescribeControlPanelRequest; class DescribeRoutingControlRequest; class DescribeSafetyRuleRequest; + class GetResourcePolicyRequest; class ListAssociatedRoute53HealthChecksRequest; class ListClustersRequest; class ListControlPanelsRequest; @@ -119,6 +121,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeControlPanelOutcome; typedef Aws::Utils::Outcome DescribeRoutingControlOutcome; typedef Aws::Utils::Outcome DescribeSafetyRuleOutcome; + typedef Aws::Utils::Outcome GetResourcePolicyOutcome; typedef Aws::Utils::Outcome ListAssociatedRoute53HealthChecksOutcome; typedef Aws::Utils::Outcome ListClustersOutcome; typedef Aws::Utils::Outcome ListControlPanelsOutcome; @@ -145,6 +148,7 @@ namespace Aws typedef std::future DescribeControlPanelOutcomeCallable; typedef std::future DescribeRoutingControlOutcomeCallable; typedef std::future DescribeSafetyRuleOutcomeCallable; + typedef std::future GetResourcePolicyOutcomeCallable; typedef std::future ListAssociatedRoute53HealthChecksOutcomeCallable; typedef std::future ListClustersOutcomeCallable; typedef std::future ListControlPanelsOutcomeCallable; @@ -174,6 +178,7 @@ namespace Aws typedef std::function&) > DescribeControlPanelResponseReceivedHandler; typedef std::function&) > DescribeRoutingControlResponseReceivedHandler; typedef std::function&) > DescribeSafetyRuleResponseReceivedHandler; + typedef std::function&) > GetResourcePolicyResponseReceivedHandler; typedef std::function&) > ListAssociatedRoute53HealthChecksResponseReceivedHandler; typedef std::function&) > ListClustersResponseReceivedHandler; typedef std::function&) > ListControlPanelsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/AssertionRule.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/AssertionRule.h index f37df70fe7f..c2d7f7acb56 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/AssertionRule.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/AssertionRule.h @@ -375,6 +375,47 @@ namespace Model */ inline AssertionRule& WithWaitPeriodMs(int value) { SetWaitPeriodMs(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline AssertionRule& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline AssertionRule& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the assertion rule owner.

    + */ + inline AssertionRule& WithOwner(const char* value) { SetOwner(value); return *this;} + private: Aws::Vector m_assertedControls; @@ -397,6 +438,9 @@ namespace Model int m_waitPeriodMs; bool m_waitPeriodMsHasBeenSet = false; + + Aws::String m_owner; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/Cluster.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/Cluster.h index a8c91f7d4d7..1d634c91d1e 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/Cluster.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/Cluster.h @@ -226,6 +226,47 @@ namespace Model */ inline Cluster& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline Cluster& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline Cluster& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the cluster owner.

    + */ + inline Cluster& WithOwner(const char* value) { SetOwner(value); return *this;} + private: Aws::String m_clusterArn; @@ -239,6 +280,9 @@ namespace Model Status m_status; bool m_statusHasBeenSet = false; + + Aws::String m_owner; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/ControlPanel.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/ControlPanel.h index 3502c9140bf..8fdbc488ac6 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/ControlPanel.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/ControlPanel.h @@ -272,6 +272,47 @@ namespace Model */ inline ControlPanel& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline ControlPanel& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline ControlPanel& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the control panel owner.

    + */ + inline ControlPanel& WithOwner(const char* value) { SetOwner(value); return *this;} + private: Aws::String m_clusterArn; @@ -291,6 +332,9 @@ namespace Model Status m_status; bool m_statusHasBeenSet = false; + + Aws::String m_owner; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GatingRule.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GatingRule.h index a828a8d6e5a..57a718cbdd0 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GatingRule.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GatingRule.h @@ -451,6 +451,47 @@ namespace Model */ inline GatingRule& WithWaitPeriodMs(int value) { SetWaitPeriodMs(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline GatingRule& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline GatingRule& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the gating rule owner.

    + */ + inline GatingRule& WithOwner(const char* value) { SetOwner(value); return *this;} + private: Aws::String m_controlPanelArn; @@ -476,6 +517,9 @@ namespace Model int m_waitPeriodMs; bool m_waitPeriodMsHasBeenSet = false; + + Aws::String m_owner; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyRequest.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyRequest.h new file mode 100644 index 00000000000..6a739552a5c --- /dev/null +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Route53RecoveryControlConfig +{ +namespace Model +{ + + /** + */ + class GetResourcePolicyRequest : public Route53RecoveryControlConfigRequest + { + public: + AWS_ROUTE53RECOVERYCONTROLCONFIG_API GetResourcePolicyRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetResourcePolicy"; } + + AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override; + + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline GetResourcePolicyRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline GetResourcePolicyRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + + /** + *

    The Amazon Resource Name (ARN) of the resource.

    + */ + inline GetResourcePolicyRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Route53RecoveryControlConfig +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyResult.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyResult.h new file mode 100644 index 00000000000..51e09631c95 --- /dev/null +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/GetResourcePolicyResult.h @@ -0,0 +1,101 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Route53RecoveryControlConfig +{ +namespace Model +{ + class GetResourcePolicyResult + { + public: + AWS_ROUTE53RECOVERYCONTROLCONFIG_API GetResourcePolicyResult(); + AWS_ROUTE53RECOVERYCONTROLCONFIG_API GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result); + AWS_ROUTE53RECOVERYCONTROLCONFIG_API GetResourcePolicyResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    The resource policy.

    + */ + inline const Aws::String& GetPolicy() const{ return m_policy; } + + /** + *

    The resource policy.

    + */ + inline void SetPolicy(const Aws::String& value) { m_policy = value; } + + /** + *

    The resource policy.

    + */ + inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); } + + /** + *

    The resource policy.

    + */ + inline void SetPolicy(const char* value) { m_policy.assign(value); } + + /** + *

    The resource policy.

    + */ + inline GetResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;} + + /** + *

    The resource policy.

    + */ + inline GetResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;} + + /** + *

    The resource policy.

    + */ + inline GetResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;} + + + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + + + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + + + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + + + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + + + inline GetResourcePolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline GetResourcePolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline GetResourcePolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_policy; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Route53RecoveryControlConfig +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/RoutingControl.h b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/RoutingControl.h index e4385123b2d..24767b8e1df 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/RoutingControl.h +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/include/aws/route53-recovery-control-config/model/RoutingControl.h @@ -207,6 +207,47 @@ namespace Model */ inline RoutingControl& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline const Aws::String& GetOwner() const{ return m_owner; } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline RoutingControl& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline RoutingControl& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services account ID of the routing control owner.

    + */ + inline RoutingControl& WithOwner(const char* value) { SetOwner(value); return *this;} + private: Aws::String m_controlPanelArn; @@ -220,6 +261,9 @@ namespace Model Status m_status; bool m_statusHasBeenSet = false; + + Aws::String m_owner; + bool m_ownerHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigClient.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigClient.cpp index f584ee5dbeb..58592ee60aa 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigClient.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigClient.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include @@ -549,6 +550,39 @@ DescribeSafetyRuleOutcome Route53RecoveryControlConfigClient::DescribeSafetyRule {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetResourcePolicyOutcome Route53RecoveryControlConfigClient::GetResourcePolicy(const GetResourcePolicyRequest& request) const +{ + AWS_OPERATION_GUARD(GetResourcePolicy); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetResourcePolicy", "Required field: ResourceArn, is not set"); + return GetResourcePolicyOutcome(Aws::Client::AWSError(Route53RecoveryControlConfigErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetResourcePolicy, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetResourcePolicy", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetResourcePolicyOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetResourcePolicy, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/resourcePolicy/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return GetResourcePolicyOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListAssociatedRoute53HealthChecksOutcome Route53RecoveryControlConfigClient::ListAssociatedRoute53HealthChecks(const ListAssociatedRoute53HealthChecksRequest& request) const { AWS_OPERATION_GUARD(ListAssociatedRoute53HealthChecks); diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigEndpointRules.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigEndpointRules.cpp index a52c6486745..e9809aaeb97 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/Route53RecoveryControlConfigEndpointRules.cpp @@ -51,123 +51,123 @@ static constexpr RulesBlobT RulesBlob = {{ ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', -'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', -'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', -'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', -'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':', +'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', +'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', +'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', +'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', +'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', +'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', +'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', +' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', +'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', +'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', +'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', +'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', +'a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F', +'I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e', 'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', '"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', -'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', -'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', -'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', -'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R', +'e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t', +'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l', +'S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o', 'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', -'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', -'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', -':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', -'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', -'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', -'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', -'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', -'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', -'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', -'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', -'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t', -'e','5','3','-','r','e','c','o','v','e','r','y','-','c','o','n','t','r','o','l','-','c','o','n','f', -'i','g','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f', -'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', -'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', -'t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', -'r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k', -' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a', -'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', -'o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', -'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', -'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', -'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', -'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e','c','o','v', -'e','r','y','-','c','o','n','t','r','o','l','-','c','o','n','f','i','g','-','f','i','p','s','.','{', -'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', -'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', -'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', -'e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a', -'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d', -'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y', -'p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l', -'S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t', -'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', -'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', -'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +'"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e', +'c','o','v','e','r','y','-','c','o','n','t','r','o','l','-','c','o','n','f','i','g','-','f','i','p', +'s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"', +'p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D', +'u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t', +' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ', +'s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', +':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']', +'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', ':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', 't','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c','o', -'n','t','r','o','l','-','c','o','n','f','i','g','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', -'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', -',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', -'d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ', -'e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', -'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t', -'a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n', -'g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'R','e','g','i','o','n','"','}',',','"','a','w','s','-','g','l','o','b','a','l','"',']','}',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','r','o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c','o','n','t','r','o', -'l','-','c','o','n','f','i','g','.','u','s','-','w','e','s','t','-','2','.','a','m','a','z','o','n', -'a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a', -'u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g', -'v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','r','o','u','t','e','5', -'3','-','r','e','c','o','v','e','r','y','-','c','o','n','t','r','o','l','-','c','o','n','f','i','g', -'"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','w','e','s', -'t','-','2','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', -'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i', -'o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"', -':','"','h','t','t','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e','c','o','v','e','r', -'y','-','c','o','n','t','r','o','l','-','c','o','n','f','i','g','.','{','R','e','g','i','o','n','}', -'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f', -'i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a', -'d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n', -'t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'n','t','r','o','l','-','c','o','n','f','i','g','-','f','i','p','s','.','{','R','e','g','i','o','n', +'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P', +'S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r', +'t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F', +'I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a', +'c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', +'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', +'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', +'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'r','o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c','o','n','t','r','o','l','-', +'c','o','n','f','i','g','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i', +'x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', +'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', +'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S', +'t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ', +'p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r', +'t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n', +'d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q', +'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g', +'i','o','n','"','}',',','"','a','w','s','-','g','l','o','b','a','l','"',']','}',']',',','"','e','n', +'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','r', +'o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c','o','n','t','r','o','l','-','c', +'o','n','f','i','g','.','u','s','-','w','e','s','t','-','2','.','a','m','a','z','o','n','a','w','s', +'.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h', +'S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"', +',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','r','o','u','t','e','5','3','-','r', +'e','c','o','v','e','r','y','-','c','o','n','t','r','o','l','-','c','o','n','f','i','g','"',',','"', +'s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','w','e','s','t','-','2', +'"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"', +':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h', +'t','t','p','s',':','/','/','r','o','u','t','e','5','3','-','r','e','c','o','v','e','r','y','-','c', +'o','n','t','r','o','l','-','c','o','n','f','i','g','.','{','R','e','g','i','o','n','}','.','{','P', +'a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}', +'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', +'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':', +'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', '"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r', 'a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t', 'y','p','e','"',':','"','e','r','r','o','r','"','}',']','}','\0' diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/AssertionRule.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/AssertionRule.cpp index 136615bbffa..7ec1f05b95c 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/AssertionRule.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/AssertionRule.cpp @@ -27,7 +27,8 @@ AssertionRule::AssertionRule() : m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_waitPeriodMs(0), - m_waitPeriodMsHasBeenSet(false) + m_waitPeriodMsHasBeenSet(false), + m_ownerHasBeenSet(false) { } @@ -40,7 +41,8 @@ AssertionRule::AssertionRule(JsonView jsonValue) : m_status(Status::NOT_SET), m_statusHasBeenSet(false), m_waitPeriodMs(0), - m_waitPeriodMsHasBeenSet(false) + m_waitPeriodMsHasBeenSet(false), + m_ownerHasBeenSet(false) { *this = jsonValue; } @@ -99,6 +101,13 @@ AssertionRule& AssertionRule::operator =(JsonView jsonValue) m_waitPeriodMsHasBeenSet = true; } + if(jsonValue.ValueExists("Owner")) + { + m_owner = jsonValue.GetString("Owner"); + + m_ownerHasBeenSet = true; + } + return *this; } @@ -152,6 +161,12 @@ JsonValue AssertionRule::Jsonize() const } + if(m_ownerHasBeenSet) + { + payload.WithString("Owner", m_owner); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/Cluster.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/Cluster.cpp index 5320d9f49a6..45a59885640 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/Cluster.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/Cluster.cpp @@ -23,7 +23,8 @@ Cluster::Cluster() : m_clusterEndpointsHasBeenSet(false), m_nameHasBeenSet(false), m_status(Status::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_ownerHasBeenSet(false) { } @@ -32,7 +33,8 @@ Cluster::Cluster(JsonView jsonValue) : m_clusterEndpointsHasBeenSet(false), m_nameHasBeenSet(false), m_status(Status::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_ownerHasBeenSet(false) { *this = jsonValue; } @@ -70,6 +72,13 @@ Cluster& Cluster::operator =(JsonView jsonValue) m_statusHasBeenSet = true; } + if(jsonValue.ValueExists("Owner")) + { + m_owner = jsonValue.GetString("Owner"); + + m_ownerHasBeenSet = true; + } + return *this; } @@ -105,6 +114,12 @@ JsonValue Cluster::Jsonize() const payload.WithString("Status", StatusMapper::GetNameForStatus(m_status)); } + if(m_ownerHasBeenSet) + { + payload.WithString("Owner", m_owner); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/ControlPanel.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/ControlPanel.cpp index ba1ee926094..714336b8a5b 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/ControlPanel.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/ControlPanel.cpp @@ -27,7 +27,8 @@ ControlPanel::ControlPanel() : m_routingControlCount(0), m_routingControlCountHasBeenSet(false), m_status(Status::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_ownerHasBeenSet(false) { } @@ -40,7 +41,8 @@ ControlPanel::ControlPanel(JsonView jsonValue) : m_routingControlCount(0), m_routingControlCountHasBeenSet(false), m_status(Status::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_ownerHasBeenSet(false) { *this = jsonValue; } @@ -89,6 +91,13 @@ ControlPanel& ControlPanel::operator =(JsonView jsonValue) m_statusHasBeenSet = true; } + if(jsonValue.ValueExists("Owner")) + { + m_owner = jsonValue.GetString("Owner"); + + m_ownerHasBeenSet = true; + } + return *this; } @@ -131,6 +140,12 @@ JsonValue ControlPanel::Jsonize() const payload.WithString("Status", StatusMapper::GetNameForStatus(m_status)); } + if(m_ownerHasBeenSet) + { + payload.WithString("Owner", m_owner); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRule.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRule.cpp index 6df729f5871..e08b3683d95 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRule.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GatingRule.cpp @@ -28,7 +28,8 @@ GatingRule::GatingRule() : m_statusHasBeenSet(false), m_targetControlsHasBeenSet(false), m_waitPeriodMs(0), - m_waitPeriodMsHasBeenSet(false) + m_waitPeriodMsHasBeenSet(false), + m_ownerHasBeenSet(false) { } @@ -42,7 +43,8 @@ GatingRule::GatingRule(JsonView jsonValue) : m_statusHasBeenSet(false), m_targetControlsHasBeenSet(false), m_waitPeriodMs(0), - m_waitPeriodMsHasBeenSet(false) + m_waitPeriodMsHasBeenSet(false), + m_ownerHasBeenSet(false) { *this = jsonValue; } @@ -111,6 +113,13 @@ GatingRule& GatingRule::operator =(JsonView jsonValue) m_waitPeriodMsHasBeenSet = true; } + if(jsonValue.ValueExists("Owner")) + { + m_owner = jsonValue.GetString("Owner"); + + m_ownerHasBeenSet = true; + } + return *this; } @@ -175,6 +184,12 @@ JsonValue GatingRule::Jsonize() const } + if(m_ownerHasBeenSet) + { + payload.WithString("Owner", m_owner); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyRequest.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyRequest.cpp new file mode 100644 index 00000000000..cf15eae8a77 --- /dev/null +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Route53RecoveryControlConfig::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetResourcePolicyRequest::GetResourcePolicyRequest() : + m_resourceArnHasBeenSet(false) +{ +} + +Aws::String GetResourcePolicyRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyResult.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyResult.cpp new file mode 100644 index 00000000000..c6e1604212d --- /dev/null +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/GetResourcePolicyResult.cpp @@ -0,0 +1,48 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Route53RecoveryControlConfig::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetResourcePolicyResult::GetResourcePolicyResult() +{ +} + +GetResourcePolicyResult::GetResourcePolicyResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +GetResourcePolicyResult& GetResourcePolicyResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Policy")) + { + m_policy = jsonValue.GetString("Policy"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/RoutingControl.cpp b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/RoutingControl.cpp index d416850f3b3..16a7cb4928f 100644 --- a/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/RoutingControl.cpp +++ b/generated/src/aws-cpp-sdk-route53-recovery-control-config/source/model/RoutingControl.cpp @@ -23,7 +23,8 @@ RoutingControl::RoutingControl() : m_nameHasBeenSet(false), m_routingControlArnHasBeenSet(false), m_status(Status::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_ownerHasBeenSet(false) { } @@ -32,7 +33,8 @@ RoutingControl::RoutingControl(JsonView jsonValue) : m_nameHasBeenSet(false), m_routingControlArnHasBeenSet(false), m_status(Status::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_ownerHasBeenSet(false) { *this = jsonValue; } @@ -67,6 +69,13 @@ RoutingControl& RoutingControl::operator =(JsonView jsonValue) m_statusHasBeenSet = true; } + if(jsonValue.ValueExists("Owner")) + { + m_owner = jsonValue.GetString("Owner"); + + m_ownerHasBeenSet = true; + } + return *this; } @@ -97,6 +106,12 @@ JsonValue RoutingControl::Jsonize() const payload.WithString("Status", StatusMapper::GetNameForStatus(m_status)); } + if(m_ownerHasBeenSet) + { + payload.WithString("Owner", m_owner); + + } + return payload; } diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 68a8686092d..3434d165f78 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.180" +#define AWS_SDK_VERSION_STRING "1.11.181" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 180 +#define AWS_SDK_VERSION_PATCH 181 diff --git a/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json b/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json index 47c7455521a..4f838609253 100644 --- a/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json +++ b/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json @@ -513,7 +513,7 @@ {"shape":"StageNotRetryableException"}, {"shape":"NotLatestPipelineExecutionException"} ], - "documentation":"

    Resumes the pipeline execution by retrying the last failed actions in a stage. You can retry a stage immediately if any of the actions in the stage fail. When you retry, all actions that are still in progress continue working, and failed actions are triggered again.

    " + "documentation":"

    You can retry a stage that has failed without having to run a pipeline again from the beginning. You do this by either retrying the failed actions in a stage or by retrying all actions in the stage starting from the first action in the stage. When you retry the failed actions in a stage, all actions that are still in progress continue working, and failed actions are triggered again. When you retry a failed stage from the first action in the stage, the stage cannot have any actions in progress. Before a stage can be retried, it must either have all actions failed or some actions failed and some succeeded.

    " }, "StartPipelineExecution":{ "name":"StartPipelineExecution", @@ -3470,7 +3470,7 @@ }, "retryMode":{ "shape":"StageRetryMode", - "documentation":"

    The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.

    " + "documentation":"

    The scope of the retry attempt.

    " } }, "documentation":"

    Represents the input of a RetryStageExecution action.

    " @@ -3680,7 +3680,10 @@ }, "StageRetryMode":{ "type":"string", - "enum":["FAILED_ACTIONS"] + "enum":[ + "FAILED_ACTIONS", + "ALL_ACTIONS" + ] }, "StageState":{ "type":"structure", diff --git a/tools/code-generation/api-descriptions/discovery-2015-11-01.normal.json b/tools/code-generation/api-descriptions/discovery-2015-11-01.normal.json index f09804e8487..6df2190adbf 100644 --- a/tools/code-generation/api-descriptions/discovery-2015-11-01.normal.json +++ b/tools/code-generation/api-descriptions/discovery-2015-11-01.normal.json @@ -750,7 +750,7 @@ "members":{ "message":{"shape":"Message"} }, - "documentation":"

    ", + "documentation":"

    Conflict error.

    ", "exception":true }, "ContinuousExportDescription":{ @@ -1688,7 +1688,7 @@ "ImportTaskIdentifier":{ "type":"string", "max":200, - "pattern":"\\S*" + "pattern":"^import-task-[a-fA-F0-9]{32}$" }, "ImportTaskList":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json b/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json index 32440d8683f..4ab8e6235d2 100644 --- a/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json +++ b/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json @@ -1392,7 +1392,7 @@ "members":{ "namespace":{ "shape":"String", - "documentation":"

    The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).

    If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this Amazon Web Services Region.

    If you enter a new name, a Cloud Map namespace will be created. Amazon ECS creates a Cloud Map namespace with the \"API calls\" method of instance discovery only. This instance discovery method is the \"HTTP\" namespace type in the Command Line Interface. Other types of instance discovery aren't used by Service Connect.

    If you update the service with an empty string \"\" for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in Cloud Map and must be deleted separately.

    For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.

    " + "documentation":"

    The namespace name or full Amazon Resource Name (ARN) of the Cloud Map namespace that's used when you create a service and don't specify a Service Connect configuration. The namespace name can include up to 1024 characters. The name is case-sensitive. The name can't include hyphens (-), tilde (~), greater than (>), less than (<), or slash (/).

    If you enter an existing namespace name or ARN, then that namespace will be used. Any namespace type is supported. The namespace must be in this account and this Amazon Web Services Region.

    If you enter a new name, a Cloud Map namespace will be created. Amazon ECS creates a Cloud Map namespace with the \"API calls\" method of instance discovery only. This instance discovery method is the \"HTTP\" namespace type in the Command Line Interface. Other types of instance discovery aren't used by Service Connect.

    If you update the cluster with an empty string \"\" for the namespace name, the cluster configuration for Service Connect is removed. Note that the namespace will remain in Cloud Map and must be deleted separately.

    For more information about Cloud Map, see Working with Services in the Cloud Map Developer Guide.

    " } }, "documentation":"

    Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter.

    Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.

    " @@ -2953,7 +2953,7 @@ "documentation":"

    The file type to use. The only supported value is s3.

    " } }, - "documentation":"

    A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored. For more information about the environment variable file syntax, see Declare default environment variables in file.

    If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see Specifying environment variables in the Amazon Elastic Container Service Developer Guide.

    You must use the following platforms for the Fargate launch type:

    • Linux platform version 1.4.0 or later.

    • Windows platform version 1.0.0 or later.

    " + "documentation":"

    A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored.

    If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see Specifying environment variables in the Amazon Elastic Container Service Developer Guide.

    You must use the following platforms for the Fargate launch type:

    • Linux platform version 1.4.0 or later.

    • Windows platform version 1.0.0 or later.

    Consider the following when using the Fargate launch type:

    • The file is handled like a native Docker env-file.

    • There is no support for shell escape handling.

    • The container entry point interperts the VARIABLE values.

    " }, "EnvironmentFileType":{ "type":"string", @@ -3235,7 +3235,7 @@ "documentation":"

    The optional grace period to provide containers time to bootstrap before failed health checks count towards the maximum number of retries. You can specify between 0 and 300 seconds. By default, the startPeriod is off.

    If a health check succeeds within the startPeriod, then the container is considered healthy and any subsequent failures count toward the maximum number of retries.

    " } }, - "documentation":"

    An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run.

    The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

    You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

    The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.

    The following describes the possible healthStatus values for a container:

    • HEALTHY-The container health check has passed successfully.

    • UNHEALTHY-The container health check has failed.

    • UNKNOWN-The container health check is being evaluated or there's no container health check defined.

    The following describes the possible healthStatus values for a task. The container health check status of non-essential containers don't have an effect on the health status of a task.

    • HEALTHY-All essential containers within the task have passed their health checks.

    • UNHEALTHY-One or more essential containers have failed their health check.

    • UNKNOWN-The essential containers within the task are still having their health checks evaluated, there are only nonessential containers with health checks defined, or there are no container health checks defined.

    If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

    The following are notes about container health check support:

    • When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports the container as UNHEALTHY.

    • The health check statuses are the \"last heard from\" response from the Amazon ECS agent. There are no assumptions made about the status of the container health checks.

    • Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent.

    • Container health checks are supported for Fargate tasks if you're using platform version 1.1.0 or greater. For more information, see Fargate platform versions.

    • Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.

    " + "documentation":"

    An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run.

    The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

    You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

    The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.

    The following describes the possible healthStatus values for a container:

    • HEALTHY-The container health check has passed successfully.

    • UNHEALTHY-The container health check has failed.

    • UNKNOWN-The container health check is being evaluated, there's no container health check defined, or Amazon ECS doesn't have the health status of the container.

    The following describes the possible healthStatus values based on the container health checker status of essential containers in the task with the following priority order (high to low):

    • UNHEALTHY-One or more essential containers have failed their health check.

    • UNKNOWN-Any essential container running within the task is in an UNKNOWN state and no other essential containers have an UNHEALTHY state.

    • HEALTHY-All essential containers within the task have passed their health checks.

    Consider the following task health example with 2 containers.

    • If Container1 is UNHEALTHY and Container2 is UNKNOWN, the task health is UNHEALTHY.

    • If Container1 is UNHEALTHY and Container2 is HEALTHY, the task health is UNHEALTHY.

    • If Container1 is HEALTHY and Container2 is UNKNOWN, the task health is UNKNOWN.

    • If Container1 is HEALTHY and Container2 is HEALTHY, the task health is HEALTHY.

    Consider the following task health example with 3 containers.

    • If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 is UNKNOWN, the task health is UNHEALTHY.

    • If Container1 is UNHEALTHY and Container2 is UNKNOWN, and Container3 is HEALTHY, the task health is UNHEALTHY.

    • If Container1 is UNHEALTHY and Container2 is HEALTHY, and Container3 is HEALTHY, the task health is UNHEALTHY.

    • If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is HEALTHY, the task health is UNKNOWN.

    • If Container1 is HEALTHY and Container2 is UNKNOWN, and Container3 is UNKNOWN, the task health is UNKNOWN.

    • If Container1 is HEALTHY and Container2 is HEALTHY, and Container3 is HEALTHY, the task health is HEALTHY.

    If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

    The following are notes about container health check support:

    • When the Amazon ECS agent cannot connect to the Amazon ECS service, the service reports the container as UNHEALTHY.

    • The health check statuses are the \"last heard from\" response from the Amazon ECS agent. There are no assumptions made about the status of the container health checks.

    • Container health checks require version 1.17.0 or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent.

    • Container health checks are supported for Fargate tasks if you're using platform version 1.1.0 or greater. For more information, see Fargate platform versions.

    • Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.

    " }, "HealthStatus":{ "type":"string", @@ -4049,7 +4049,7 @@ }, "containerPortRange":{ "shape":"String", - "documentation":"

    The port number range on the container that's bound to the dynamically mapped host port range.

    The following rules apply when you specify a containerPortRange:

    • You must use either the bridge network mode or the awsvpc network mode.

    • This parameter is available for both the EC2 and Fargate launch types.

    • This parameter is available for both the Linux and Windows operating systems.

    • The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ecs-init package

    • You can specify a maximum of 100 port ranges per container.

    • You do not specify a hostPortRange. The value of the hostPortRange is set as follows:

      • For containers in a task with the awsvpc network mode, the hostPort is set to the same value as the containerPort. This is a static mapping strategy.

      • For containers in a task with the bridge network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports.

    • The containerPortRange valid values are between 1 and 65535.

    • A port can only be included in one port mapping per container.

    • You cannot specify overlapping port ranges.

    • The first port in the range must be less than last port in the range.

    • Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports.

      For more information, see Issue #11185 on the Github website.

      For information about how to turn off the docker-proxy in the Docker daemon config file, see Docker daemon in the Amazon ECS Developer Guide.

    You can call DescribeTasks to view the hostPortRange which are the host ports that are bound to the container ports.

    " + "documentation":"

    The port number range on the container that's bound to the dynamically mapped host port range.

    The following rules apply when you specify a containerPortRange:

    • You must use either the bridge network mode or the awsvpc network mode.

    • This parameter is available for both the EC2 and Fargate launch types.

    • This parameter is available for both the Linux and Windows operating systems.

    • The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ecs-init package

    • You can specify a maximum of 100 port ranges per container.

    • You do not specify a hostPortRange. The value of the hostPortRange is set as follows:

      • For containers in a task with the awsvpc network mode, the hostPortRange is set to the same value as the containerPortRange. This is a static mapping strategy.

      • For containers in a task with the bridge network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports.

    • The containerPortRange valid values are between 1 and 65535.

    • A port can only be included in one port mapping per container.

    • You cannot specify overlapping port ranges.

    • The first port in the range must be less than last port in the range.

    • Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports.

      For more information, see Issue #11185 on the Github website.

      For information about how to turn off the docker-proxy in the Docker daemon config file, see Docker daemon in the Amazon ECS Developer Guide.

    You can call DescribeTasks to view the hostPortRange which are the host ports that are bound to the container ports.

    " }, "hostPortRange":{ "shape":"String", @@ -4246,7 +4246,7 @@ }, "containerPortRange":{ "shape":"String", - "documentation":"

    The port number range on the container that's bound to the dynamically mapped host port range.

    The following rules apply when you specify a containerPortRange:

    • You must use either the bridge network mode or the awsvpc network mode.

    • This parameter is available for both the EC2 and Fargate launch types.

    • This parameter is available for both the Linux and Windows operating systems.

    • The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ecs-init package

    • You can specify a maximum of 100 port ranges per container.

    • You do not specify a hostPortRange. The value of the hostPortRange is set as follows:

      • For containers in a task with the awsvpc network mode, the hostPort is set to the same value as the containerPort. This is a static mapping strategy.

      • For containers in a task with the bridge network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports.

    • The containerPortRange valid values are between 1 and 65535.

    • A port can only be included in one port mapping per container.

    • You cannot specify overlapping port ranges.

    • The first port in the range must be less than last port in the range.

    • Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports.

      For more information, see Issue #11185 on the Github website.

      For information about how to turn off the docker-proxy in the Docker daemon config file, see Docker daemon in the Amazon ECS Developer Guide.

    You can call DescribeTasks to view the hostPortRange which are the host ports that are bound to the container ports.

    " + "documentation":"

    The port number range on the container that's bound to the dynamically mapped host port range.

    The following rules apply when you specify a containerPortRange:

    • You must use either the bridge network mode or the awsvpc network mode.

    • This parameter is available for both the EC2 and Fargate launch types.

    • This parameter is available for both the Linux and Windows operating systems.

    • The container instance must have at least version 1.67.0 of the container agent and at least version 1.67.0-1 of the ecs-init package

    • You can specify a maximum of 100 port ranges per container.

    • You do not specify a hostPortRange. The value of the hostPortRange is set as follows:

      • For containers in a task with the awsvpc network mode, the hostPortRange is set to the same value as the containerPortRange. This is a static mapping strategy.

      • For containers in a task with the bridge network mode, the Amazon ECS agent finds open host ports from the default ephemeral range and passes it to docker to bind them to the container ports.

    • The containerPortRange valid values are between 1 and 65535.

    • A port can only be included in one port mapping per container.

    • You cannot specify overlapping port ranges.

    • The first port in the range must be less than last port in the range.

    • Docker recommends that you turn off the docker-proxy in the Docker daemon config file when you have a large number of ports.

      For more information, see Issue #11185 on the Github website.

      For information about how to turn off the docker-proxy in the Docker daemon config file, see Docker daemon in the Amazon ECS Developer Guide.

    You can call DescribeTasks to view the hostPortRange which are the host ports that are bound to the container ports.

    " } }, "documentation":"

    Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition.

    If you use containers in a task with the awsvpc or host network mode, specify the exposed ports using containerPort. The hostPort can be left blank or it must be the same value as the containerPort.

    Most fields of this parameter (containerPort, hostPort, protocol) maps to PortBindings in the Create a container section of the Docker Remote API and the --publish option to docker run . If the network mode of a task definition is set to host, host ports must either be undefined or match the container port in the port mapping.

    You can't expose the same container port for multiple protocols. If you attempt this, an error is returned.

    After a task reaches the RUNNING status, manual and automatic host and container port assignments are visible in the networkBindings section of DescribeTasks API responses.

    " diff --git a/tools/code-generation/api-descriptions/guardduty-2017-11-28.normal.json b/tools/code-generation/api-descriptions/guardduty-2017-11-28.normal.json index eaf260f47c9..319287e331f 100644 --- a/tools/code-generation/api-descriptions/guardduty-2017-11-28.normal.json +++ b/tools/code-generation/api-descriptions/guardduty-2017-11-28.normal.json @@ -3116,6 +3116,11 @@ "shape":"Boolean", "documentation":"

    Indicates whether the targeted port is blocked.

    ", "locationName":"blocked" + }, + "DomainWithSuffix":{ + "shape":"String", + "documentation":"

    The second and top level domain involved in the activity that prompted GuardDuty to generate this finding.

    ", + "locationName":"domainWithSuffix" } }, "documentation":"

    Contains information about the DNS_REQUEST action described in this finding.

    " @@ -5010,7 +5015,7 @@ }, "FindingCriteria":{ "shape":"FindingCriteria", - "documentation":"

    Represents the criteria used for querying findings. Valid values include:

    • JSON field name

    • accountId

    • region

    • confidence

    • id

    • resource.accessKeyDetails.accessKeyId

    • resource.accessKeyDetails.principalId

    • resource.accessKeyDetails.userName

    • resource.accessKeyDetails.userType

    • resource.instanceDetails.iamInstanceProfile.id

    • resource.instanceDetails.imageId

    • resource.instanceDetails.instanceId

    • resource.instanceDetails.networkInterfaces.ipv6Addresses

    • resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress

    • resource.instanceDetails.networkInterfaces.publicDnsName

    • resource.instanceDetails.networkInterfaces.publicIp

    • resource.instanceDetails.networkInterfaces.securityGroups.groupId

    • resource.instanceDetails.networkInterfaces.securityGroups.groupName

    • resource.instanceDetails.networkInterfaces.subnetId

    • resource.instanceDetails.networkInterfaces.vpcId

    • resource.instanceDetails.tags.key

    • resource.instanceDetails.tags.value

    • resource.resourceType

    • service.action.actionType

    • service.action.awsApiCallAction.api

    • service.action.awsApiCallAction.callerType

    • service.action.awsApiCallAction.remoteIpDetails.city.cityName

    • service.action.awsApiCallAction.remoteIpDetails.country.countryName

    • service.action.awsApiCallAction.remoteIpDetails.ipAddressV4

    • service.action.awsApiCallAction.remoteIpDetails.organization.asn

    • service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

    • service.action.awsApiCallAction.serviceName

    • service.action.dnsRequestAction.domain

    • service.action.networkConnectionAction.blocked

    • service.action.networkConnectionAction.connectionDirection

    • service.action.networkConnectionAction.localPortDetails.port

    • service.action.networkConnectionAction.protocol

    • service.action.networkConnectionAction.remoteIpDetails.country.countryName

    • service.action.networkConnectionAction.remoteIpDetails.ipAddressV4

    • service.action.networkConnectionAction.remoteIpDetails.organization.asn

    • service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg

    • service.action.networkConnectionAction.remotePortDetails.port

    • service.additionalInfo.threatListName

    • service.archived

      When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed.

    • service.resourceRole

    • severity

    • type

    • updatedAt

      Type: Timestamp in Unix Epoch millisecond format: 1486685375000

    ", + "documentation":"

    Represents the criteria used for querying findings. Valid values include:

    • JSON field name

    • accountId

    • region

    • confidence

    • id

    • resource.accessKeyDetails.accessKeyId

    • resource.accessKeyDetails.principalId

    • resource.accessKeyDetails.userName

    • resource.accessKeyDetails.userType

    • resource.instanceDetails.iamInstanceProfile.id

    • resource.instanceDetails.imageId

    • resource.instanceDetails.instanceId

    • resource.instanceDetails.networkInterfaces.ipv6Addresses

    • resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress

    • resource.instanceDetails.networkInterfaces.publicDnsName

    • resource.instanceDetails.networkInterfaces.publicIp

    • resource.instanceDetails.networkInterfaces.securityGroups.groupId

    • resource.instanceDetails.networkInterfaces.securityGroups.groupName

    • resource.instanceDetails.networkInterfaces.subnetId

    • resource.instanceDetails.networkInterfaces.vpcId

    • resource.instanceDetails.tags.key

    • resource.instanceDetails.tags.value

    • resource.resourceType

    • service.action.actionType

    • service.action.awsApiCallAction.api

    • service.action.awsApiCallAction.callerType

    • service.action.awsApiCallAction.remoteIpDetails.city.cityName

    • service.action.awsApiCallAction.remoteIpDetails.country.countryName

    • service.action.awsApiCallAction.remoteIpDetails.ipAddressV4

    • service.action.awsApiCallAction.remoteIpDetails.organization.asn

    • service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg

    • service.action.awsApiCallAction.serviceName

    • service.action.dnsRequestAction.domain

    • service.action.dnsRequestAction.domainWithSuffix

    • service.action.networkConnectionAction.blocked

    • service.action.networkConnectionAction.connectionDirection

    • service.action.networkConnectionAction.localPortDetails.port

    • service.action.networkConnectionAction.protocol

    • service.action.networkConnectionAction.remoteIpDetails.country.countryName

    • service.action.networkConnectionAction.remoteIpDetails.ipAddressV4

    • service.action.networkConnectionAction.remoteIpDetails.organization.asn

    • service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg

    • service.action.networkConnectionAction.remotePortDetails.port

    • service.additionalInfo.threatListName

    • service.archived

      When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed.

    • service.resourceRole

    • severity

    • type

    • updatedAt

      Type: Timestamp in Unix Epoch millisecond format: 1486685375000

    ", "locationName":"findingCriteria" }, "SortCriteria":{ diff --git a/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json b/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json index 41b7fe32811..df44659296e 100644 --- a/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json +++ b/tools/code-generation/api-descriptions/kafka-2018-11-14.normal.json @@ -186,6 +186,56 @@ ], "documentation": "\n

    Creates a new MSK configuration.

    \n " }, + "CreateReplicator": { + "name": "CreateReplicator", + "http": { + "method": "POST", + "requestUri": "/replication/v1/replicators", + "responseCode": 200 + }, + "input": { + "shape": "CreateReplicatorRequest" + }, + "output": { + "shape": "CreateReplicatorResponse", + "documentation": "

    HTTP Status Code 200: OK.

    " + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

    HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "UnauthorizedException", + "documentation": "

    HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

    " + }, + { + "shape": "InternalServerErrorException", + "documentation": "

    HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

    " + }, + { + "shape": "ForbiddenException", + "documentation": "

    HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

    " + }, + { + "shape": "NotFoundException", + "documentation": "

    HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "

    HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

    " + }, + { + "shape": "TooManyRequestsException", + "documentation": "

    HTTP Status Code 429: Limit exceeded. Resource limit reached.

    " + }, + { + "shape": "ConflictException", + "documentation": "

    HTTP Status Code 409: Conflict. This replicator name already exists. Retry your request with another name.

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

    Creates the replicator.

    " + }, "CreateVpcConnection": { "name": "CreateVpcConnection", "http": { @@ -330,6 +380,51 @@ ], "documentation": "\n

    Deletes an MSK Configuration.

    \n " }, + "DeleteReplicator": { + "name": "DeleteReplicator", + "http": { + "method": "DELETE", + "requestUri": "/replication/v1/replicators/{replicatorArn}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteReplicatorRequest" + }, + "output": { + "shape": "DeleteReplicatorResponse", + "documentation": "HTTP Status Code 200: OK." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

    HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

    " + }, { + "shape": "UnauthorizedException", + "documentation": "

    HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

    " + }, + { + "shape": "InternalServerErrorException", + "documentation": "

    HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

    " + }, + { + "shape": "ForbiddenException", + "documentation": "

    HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

    " + }, + { + "shape": "NotFoundException", + "documentation": "

    HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "

    HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

    " + }, + { + "shape": "TooManyRequestsException", + "documentation": "

    HTTP Status Code 429: Limit exceeded. Resource limit reached.

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

    Deletes a replicator.

    " + }, "DeleteVpcConnection": { "name": "DeleteVpcConnection", "http": { @@ -600,6 +695,52 @@ ], "documentation": "\n

    Returns a description of this revision of the configuration.

    \n " }, + "DescribeReplicator": { + "name": "DescribeReplicator", + "http": { + "method": "GET", + "requestUri": "/replication/v1/replicators/{replicatorArn}", + "responseCode": 200 + }, + "input": { + "shape": "DescribeReplicatorRequest" + }, + "output": { + "shape": "DescribeReplicatorResponse", + "documentation": "

    HTTP Status Code 200: OK." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

    HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "UnauthorizedException", + "documentation": "

    HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

    " + }, + { + "shape": "InternalServerErrorException", + "documentation": "

    HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

    " + }, + { + "shape": "ForbiddenException", + "documentation": "

    HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

    " + }, + { + "shape": "NotFoundException", + "documentation": "

    HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "

    HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

    " + }, + { + "shape": "TooManyRequestsException", + "documentation": "

    HTTP Status Code 429: Limit exceeded. Resource limit reached.

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

    Describes a replicator.

    " + }, "DescribeVpcConnection": { "name": "DescribeVpcConnection", "http": { @@ -1086,6 +1227,52 @@ ], "documentation": "\n

    Returns a list of the broker nodes in the cluster.

    \n " }, + "ListReplicators": { + "name": "ListReplicators", + "http": { + "method": "GET", + "requestUri": "/replication/v1/replicators", + "responseCode": 200 + }, + "input": { + "shape": "ListReplicatorsRequest" + }, + "output": { + "shape": "ListReplicatorsResponse", + "documentation": "HTTP Status Code 200: OK." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

    HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "UnauthorizedException", + "documentation": "

    HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

    " + }, + { + "shape": "InternalServerErrorException", + "documentation": "

    HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

    " + }, + { + "shape": "ForbiddenException", + "documentation": "

    HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

    " + }, + { + "shape": "NotFoundException", + "documentation": "

    HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "

    HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

    " + }, + { + "shape": "TooManyRequestsException", + "documentation": "

    HTTP Status Code 429: Limit exceeded. Resource limit reached.

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

    Lists the replicators.

    " + }, "ListScramSecrets" : { "name" : "ListScramSecrets", "http" : { @@ -1722,6 +1909,52 @@ } ], "documentation" : "\n

    Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.

    \n " }, + "UpdateReplicationInfo": { + "name": "UpdateReplicationInfo", + "http": { + "method": "PUT", + "requestUri": "/replication/v1/replicators/{replicatorArn}/replication-info", + "responseCode": 200 + }, + "input": { + "shape": "UpdateReplicationInfoRequest" + }, + "output": { + "shape": "UpdateReplicationInfoResponse", + "documentation": "HTTP Status Code 200: OK." + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

    HTTP Status Code 400: Bad request due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "UnauthorizedException", + "documentation": "

    HTTP Status Code 401: Unauthorized request. The provided credentials couldn't be validated.

    " + }, + { + "shape": "InternalServerErrorException", + "documentation": "

    HTTP Status Code 500: Unexpected internal server error. Retrying your request might resolve the issue.

    " + }, + { + "shape": "ForbiddenException", + "documentation": "

    HTTP Status Code 403: Access forbidden. Correct your credentials and then retry your request.

    " + }, + { + "shape": "NotFoundException", + "documentation": "

    HTTP Status Code 404: Resource not found due to incorrect input. Correct your request and then retry it.

    " + }, + { + "shape": "ServiceUnavailableException", + "documentation": "

    HTTP Status Code 503: Service Unavailable. Retrying your request in some time might resolve the issue.

    " + }, + { + "shape": "TooManyRequestsException", + "documentation": "

    HTTP Status Code 429: Limit exceeded. Resource limit reached.

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

    Updates replication info of a replicator.

    " + }, "UpdateSecurity" : { "name" : "UpdateSecurity", "http" : { @@ -1799,6 +2032,18 @@ } }, "shapes": { + "AmazonMskCluster": { + "type": "structure", + "members": { + "MskClusterArn": { + "shape": "__string", + "locationName": "mskClusterArn", + "documentation": "

    The Amazon Resource Name (ARN) of an Amazon MSK cluster.

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

    Details of an Amazon MSK Cluster.

    ", + "required": ["MskClusterArn"] + }, "BatchAssociateScramSecretRequest" : { "type" : "structure", "members" : { @@ -2763,6 +3008,60 @@ }, "documentation": "\n

    Information about the broker access configuration.

    \n " }, + "ConsumerGroupReplication": { + "type": "structure", + "members": { + "ConsumerGroupsToExclude": { + "shape": "__listOf__stringMax256", + "locationName": "consumerGroupsToExclude", + "documentation": "

    List of regular expression patterns indicating the consumer groups that should not be replicated.

    " + }, + "ConsumerGroupsToReplicate": { + "shape": "__listOf__stringMax256", + "locationName": "consumerGroupsToReplicate", + "documentation": "

    List of regular expression patterns indicating the consumer groups to copy.

    " + }, + "DetectAndCopyNewConsumerGroups": { + "shape": "__boolean", + "locationName": "detectAndCopyNewConsumerGroups", + "documentation": "

    Enables synchronization of consumer groups to target cluster.

    " + }, + "SynchroniseConsumerGroupOffsets": { + "shape": "__boolean", + "locationName": "synchroniseConsumerGroupOffsets", + "documentation": "

    Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.

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

    Details about consumer group replication.

    ", + "required": ["ConsumerGroupsToReplicate"] + }, + "ConsumerGroupReplicationUpdate": { + "type": "structure", + "members": { + "ConsumerGroupsToExclude": { + "shape": "__listOf__stringMax256", + "locationName": "consumerGroupsToExclude", + "documentation": "

    List of regular expression patterns indicating the consumer groups that should not be replicated.

    " + }, + "ConsumerGroupsToReplicate": { + "shape": "__listOf__stringMax256", + "locationName": "consumerGroupsToReplicate", + "documentation": "

    List of regular expression patterns indicating the consumer groups to copy.

    " + }, + "DetectAndCopyNewConsumerGroups": { + "shape": "__boolean", + "locationName": "detectAndCopyNewConsumerGroups", + "documentation": "

    Enables synchronization of consumer groups to target cluster.

    " + }, + "SynchroniseConsumerGroupOffsets": { + "shape": "__boolean", + "locationName": "synchroniseConsumerGroupOffsets", + "documentation": "

    Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.

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

    Details about consumer group replication.

    ", + "required": ["ConsumerGroupsToReplicate", "ConsumerGroupsToExclude", "SynchroniseConsumerGroupOffsets", "DetectAndCopyNewConsumerGroups"] + }, "CreateClusterV2Request": { "type": "structure", "members": { @@ -2965,6 +3264,63 @@ } } }, + "CreateReplicatorRequest": { + "type": "structure", + "members": { + "Description": { + "shape": "__stringMax1024", + "locationName": "description", + "documentation": "

    A summary description of the replicator.

    " + }, + "KafkaClusters": { + "shape": "__listOfKafkaCluster", + "locationName": "kafkaClusters", + "documentation": "

    Kafka Clusters to use in setting up sources / targets for replication.

    " + }, + "ReplicationInfoList": { + "shape": "__listOfReplicationInfo", + "locationName": "replicationInfoList", + "documentation": "

    A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.

    " + }, + "ReplicatorName": { + "shape": "__stringMin1Max128Pattern09AZaZ09AZaZ0", + "locationName": "replicatorName", + "documentation": "

    The name of the replicator. Alpha-numeric characters with '-' are allowed.

    " + }, + "ServiceExecutionRoleArn": { + "shape": "__string", + "locationName": "serviceExecutionRoleArn", + "documentation": "

    The ARN of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)

    " + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags", + "documentation": "

    List of tags to attach to created Replicator.

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

    Creates a replicator using the specified configuration.

    ", + "required": ["ServiceExecutionRoleArn", "ReplicatorName", "ReplicationInfoList", "KafkaClusters"] + }, + "CreateReplicatorResponse": { + "type": "structure", + "members": { + "ReplicatorArn": { + "shape": "__string", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator.

    " + }, + "ReplicatorName": { + "shape": "__string", + "locationName": "replicatorName", + "documentation": "

    Name of the replicator provided by the customer.

    " + }, + "ReplicatorState": { + "shape": "ReplicatorState", + "locationName": "replicatorState", + "documentation": "

    State of the replicator.

    " + } + } + }, "CreateVpcConnectionRequest": { "type": "structure", "members": { @@ -3270,6 +3626,39 @@ } } }, + "DeleteReplicatorRequest": { + "type": "structure", + "members": { + "CurrentVersion": { + "shape": "__string", + "location": "querystring", + "locationName": "currentVersion", + "documentation": "

    The current version of the replicator.

    " + }, + "ReplicatorArn": { + "shape": "__string", + "location": "uri", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator to be deleted.

    " + } + }, + "required": ["ReplicatorArn"] + }, + "DeleteReplicatorResponse": { + "type": "structure", + "members": { + "ReplicatorArn": { + "shape": "__string", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator.

    " + }, + "ReplicatorState": { + "shape": "ReplicatorState", + "locationName": "replicatorState", + "documentation": "

    The state of the replicator.

    " + } + } + }, "DeleteVpcConnectionRequest": { "type": "structure", "members": { @@ -3512,6 +3901,88 @@ "Arn" ] }, + "DescribeReplicatorRequest": { + "type": "structure", + "members": { + "ReplicatorArn": { + "shape": "__string", + "location": "uri", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator to be described.

    " + } + }, + "required": ["ReplicatorArn"] + }, + "DescribeReplicatorResponse": { + "type": "structure", + "members": { + "CreationTime": { + "shape": "__timestampIso8601", + "locationName": "creationTime", + "documentation": "

    The time when the replicator was created.

    " + }, + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "

    The current version number of the replicator.

    " + }, + "IsReplicatorReference": { + "shape": "__boolean", + "locationName": "isReplicatorReference", + "documentation": "

    Whether this resource is a replicator reference.

    " + }, + "KafkaClusters": { + "shape": "__listOfKafkaClusterDescription", + "locationName": "kafkaClusters", + "documentation": "

    Kafka Clusters used in setting up sources / targets for replication.

    " + }, + "ReplicationInfoList": { + "shape": "__listOfReplicationInfoDescription", + "locationName": "replicationInfoList", + "documentation": "

    A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.

    " + }, + "ReplicatorArn": { + "shape": "__string", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator.

    " + }, + "ReplicatorDescription": { + "shape": "__string", + "locationName": "replicatorDescription", + "documentation": "

    The description of the replicator.

    " + }, + "ReplicatorName": { + "shape": "__string", + "locationName": "replicatorName", + "documentation": "

    The name of the replicator.

    " + }, + "ReplicatorResourceArn": { + "shape": "__string", + "locationName": "replicatorResourceArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.

    " + }, + "ReplicatorState": { + "shape": "ReplicatorState", + "locationName": "replicatorState", + "documentation": "

    State of the replicator.

    " + }, + "ServiceExecutionRoleArn": { + "shape": "__string", + "locationName": "serviceExecutionRoleArn", + "documentation": "

    The Amazon Resource Name (ARN) of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)

    " + }, + "StateInfo": { + "shape": "ReplicationStateInfo", + "locationName": "stateInfo", + "documentation": "

    Details about the state of the replicator.

    " + }, + "Tags": { + "shape": "__mapOf__string", + "locationName": "tags", + "documentation": "

    List of tags attached to the Replicator.

    " + } + } + }, "DescribeVpcConnectionResponse": { "type": "structure", "members": { @@ -3876,6 +4347,77 @@ "httpStatusCode": 500 } }, + "KafkaCluster": { + "type": "structure", + "members": { + "AmazonMskCluster": { + "shape": "AmazonMskCluster", + "locationName": "amazonMskCluster", + "documentation": "

    Details of an Amazon MSK Cluster.

    " + }, + "VpcConfig": { + "shape": "KafkaClusterClientVpcConfig", + "locationName": "vpcConfig", + "documentation": "

    Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.

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

    Information about Kafka Cluster to be used as source / target for replication.

    ", + "required": ["VpcConfig", "AmazonMskCluster"] + }, + "KafkaClusterClientVpcConfig" : { + "type" : "structure", + "members" : { + "SecurityGroupIds" : { + "shape" : "__listOf__string", + "locationName" : "securityGroupIds", + "documentation" : "

    The security groups to attach to the ENIs for the broker nodes.

    " + }, + "SubnetIds" : { + "shape" : "__listOf__string", + "locationName" : "subnetIds", + "documentation" : "

    The list of subnets in the client VPC to connect to.

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

    Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.

    ", + "required" : [ "SubnetIds" ] + }, + "KafkaClusterDescription": { + "type": "structure", + "members": { + "AmazonMskCluster": { + "shape": "AmazonMskCluster", + "locationName": "amazonMskCluster", + "documentation": "

    Details of an Amazon MSK Cluster.

    " + }, + "KafkaClusterAlias": { + "shape": "__string", + "locationName": "kafkaClusterAlias", + "documentation": "

    The alias of the Kafka cluster. Used to prefix names of replicated topics.

    " + }, + "VpcConfig": { + "shape": "KafkaClusterClientVpcConfig", + "locationName": "vpcConfig", + "documentation": "

    Details of an Amazon VPC which has network connectivity to the Apache Kafka cluster.

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

    Information about Kafka Cluster used as source / target for replication.

    " + }, + "KafkaClusterSummary": { + "type": "structure", + "members": { + "AmazonMskCluster": { + "shape": "AmazonMskCluster", + "locationName": "amazonMskCluster", + "documentation": "

    Details of an Amazon MSK Cluster.

    " + }, + "KafkaClusterAlias": { + "shape": "__string", + "locationName": "kafkaClusterAlias", + "documentation": "

    The alias of the Kafka cluster. Used to prefix names of replicated topics.

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

    Summarized information about Kafka Cluster used as source / target for replication.

    " + }, "KafkaVersion": { "type": "structure", "members": { @@ -4202,6 +4744,44 @@ } } }, + "ListReplicatorsRequest": { + "type": "structure", + "members": { + "MaxResults": { + "shape": "MaxResults", + "location": "querystring", + "locationName": "maxResults", + "documentation": "

    The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

    " + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "nextToken", + "documentation": "

    If the response of ListReplicators is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListReplicators.

    " + }, + "ReplicatorNameFilter": { + "shape": "__string", + "location": "querystring", + "locationName": "replicatorNameFilter", + "documentation": "

    Returns replicators starting with given name.

    " + } + } + }, + "ListReplicatorsResponse": { + "type": "structure", + "members": { + "NextToken": { + "shape": "__string", + "locationName": "nextToken", + "documentation": "

    If the response of ListReplicators is truncated, it returns a NextToken in the response. This NextToken should be sent in the subsequent request to ListReplicators.

    " + }, + "Replicators": { + "shape": "__listOfReplicatorSummary", + "locationName": "replicators", + "documentation": "

    List containing information of each of the replicators in the account.

    " + } + } + }, "ListScramSecretsRequest" : { "type" : "structure", "members" : { @@ -4807,6 +5387,157 @@ "httpStatusCode": 404 } }, + "ReplicationInfo": { + "type": "structure", + "members": { + "ConsumerGroupReplication": { + "shape": "ConsumerGroupReplication", + "locationName": "consumerGroupReplication", + "documentation": "

    Configuration relating to consumer group replication.

    " + }, + "SourceKafkaClusterArn": { + "shape": "__string", + "locationName": "sourceKafkaClusterArn", + "documentation": "

    The ARN of the source Kafka cluster.

    " + }, + "TargetCompressionType": { + "shape": "TargetCompressionType", + "locationName": "targetCompressionType", + "documentation": "

    The compression type to use when producing records to target cluster.

    " + }, + "TargetKafkaClusterArn": { + "shape": "__string", + "locationName": "targetKafkaClusterArn", + "documentation": "

    The ARN of the target Kafka cluster.

    " + }, + "TopicReplication": { + "shape": "TopicReplication", + "locationName": "topicReplication", + "documentation": "

    Configuration relating to topic replication.

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

    Specifies configuration for replication between a source and target Kafka cluster.

    ", + "required": ["TargetCompressionType", "TopicReplication", "ConsumerGroupReplication", "SourceKafkaClusterArn", "TargetKafkaClusterArn"] + }, + "ReplicationInfoDescription": { + "type": "structure", + "members": { + "ConsumerGroupReplication": { + "shape": "ConsumerGroupReplication", + "locationName": "consumerGroupReplication", + "documentation": "

    Configuration relating to consumer group replication.

    " + }, + "SourceKafkaClusterAlias": { + "shape": "__string", + "locationName": "sourceKafkaClusterAlias", + "documentation": "

    The alias of the source Kafka cluster.

    " + }, + "TargetCompressionType": { + "shape": "TargetCompressionType", + "locationName": "targetCompressionType", + "documentation": "

    The compression type to use when producing records to target cluster.

    " + }, + "TargetKafkaClusterAlias": { + "shape": "__string", + "locationName": "targetKafkaClusterAlias", + "documentation": "

    The alias of the target Kafka cluster.

    " + }, + "TopicReplication": { + "shape": "TopicReplication", + "locationName": "topicReplication", + "documentation": "

    Configuration relating to topic replication.

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

    Specifies configuration for replication between a source and target Kafka cluster (sourceKafkaClusterAlias -> targetKafkaClusterAlias)

    " + }, + "ReplicationInfoSummary": { + "type": "structure", + "members": { + "SourceKafkaClusterAlias": { + "shape": "__string", + "locationName": "sourceKafkaClusterAlias", + "documentation": "

    The alias of the source Kafka cluster.

    " + }, + "TargetKafkaClusterAlias": { + "shape": "__string", + "locationName": "targetKafkaClusterAlias", + "documentation": "

    The alias of the target Kafka cluster.

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

    Summarized information of replication between clusters.

    " + }, + "ReplicationStateInfo" : { + "type" : "structure", + "members" : { + "Code" : { + "shape" : "__string", + "locationName" : "code", + "documentation" : "Code that describes the current state of the replicator." + }, + "Message" : { + "shape" : "__string", + "locationName" : "message", + "documentation" : "Message that describes the state of the replicator." + } + }, + "documentation" : "Details about the state of a replicator" + }, + "ReplicatorState": { + "type": "string", + "documentation": "

    The state of a replicator.

    ", + "enum": ["RUNNING", "CREATING", "UPDATING", "DELETING", "FAILED"] + }, + "ReplicatorSummary": { + "type": "structure", + "members": { + "CreationTime": { + "shape": "__timestampIso8601", + "locationName": "creationTime", + "documentation": "

    The time the replicator was created.

    " + }, + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "

    The current version of the replicator.

    " + }, + "IsReplicatorReference": { + "shape": "__boolean", + "locationName": "isReplicatorReference", + "documentation": "

    Whether this resource is a replicator reference.

    " + }, + "KafkaClustersSummary": { + "shape": "__listOfKafkaClusterSummary", + "locationName": "kafkaClustersSummary", + "documentation": "

    Kafka Clusters used in setting up sources / targets for replication.

    " + }, + "ReplicationInfoSummaryList": { + "shape": "__listOfReplicationInfoSummary", + "locationName": "replicationInfoSummaryList", + "documentation": "

    A list of summarized information of replications between clusters.

    " + }, + "ReplicatorArn": { + "shape": "__string", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator.

    " + }, + "ReplicatorName": { + "shape": "__string", + "locationName": "replicatorName", + "documentation": "

    The name of the replicator.

    " + }, + "ReplicatorResourceArn": { + "shape": "__string", + "locationName": "replicatorResourceArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.

    " + }, + "ReplicatorState": { + "shape": "ReplicatorState", + "locationName": "replicatorState", + "documentation": "

    State of the replicator.

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

    Information about a replicator.

    " + }, "ServiceUnavailableException": { "type": "structure", "members": { @@ -4876,6 +5607,11 @@ "Tags" ] }, + "TargetCompressionType": { + "type": "string", + "documentation": "

    The type of compression to use producing records to the target cluster.

    ", + "enum": ["NONE", "GZIP", "SNAPPY", "LZ4", "ZSTD"] + }, "Tls": { "type": "structure", "members": { @@ -4923,6 +5659,70 @@ "httpStatusCode": 429 } }, + "TopicReplication": { + "type": "structure", + "members": { + "CopyAccessControlListsForTopics": { + "shape": "__boolean", + "locationName": "copyAccessControlListsForTopics", + "documentation": "

    Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.

    " + }, + "CopyTopicConfigurations": { + "shape": "__boolean", + "locationName": "copyTopicConfigurations", + "documentation": "

    Whether to periodically configure remote topics to match their corresponding upstream topics.

    " + }, + "DetectAndCopyNewTopics": { + "shape": "__boolean", + "locationName": "detectAndCopyNewTopics", + "documentation": "

    Whether to periodically check for new topics and partitions.

    " + }, + "TopicsToExclude": { + "shape": "__listOf__stringMax249", + "locationName": "topicsToExclude", + "documentation": "

    List of regular expression patterns indicating the topics that should not be replicated.

    " + }, + "TopicsToReplicate": { + "shape": "__listOf__stringMax249", + "locationName": "topicsToReplicate", + "documentation": "

    List of regular expression patterns indicating the topics to copy.

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

    Details about topic replication.

    ", + "required": ["TopicsToReplicate"] + }, + "TopicReplicationUpdate": { + "type": "structure", + "members": { + "CopyAccessControlListsForTopics": { + "shape": "__boolean", + "locationName": "copyAccessControlListsForTopics", + "documentation": "

    Whether to periodically configure remote topic ACLs to match their corresponding upstream topics.

    " + }, + "CopyTopicConfigurations": { + "shape": "__boolean", + "locationName": "copyTopicConfigurations", + "documentation": "

    Whether to periodically configure remote topics to match their corresponding upstream topics.

    " + }, + "DetectAndCopyNewTopics": { + "shape": "__boolean", + "locationName": "detectAndCopyNewTopics", + "documentation": "

    Whether to periodically check for new topics and partitions.

    " + }, + "TopicsToExclude": { + "shape": "__listOf__stringMax249", + "locationName": "topicsToExclude", + "documentation": "

    List of regular expression patterns indicating the topics that should not be replicated.

    " + }, + "TopicsToReplicate": { + "shape": "__listOf__stringMax249", + "locationName": "topicsToReplicate", + "documentation": "

    List of regular expression patterns indicating the topics to copy.

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

    Details for updating the topic replication of a replicator.

    ", + "required": ["TopicsToReplicate", "TopicsToExclude", "CopyTopicConfigurations", "DetectAndCopyNewTopics", "CopyAccessControlListsForTopics"] + }, "Unauthenticated" : { "type" : "structure", "members" : { @@ -5248,6 +6048,59 @@ } } }, + "UpdateReplicationInfoRequest": { + "type": "structure", + "members": { + "ConsumerGroupReplication": { + "shape": "ConsumerGroupReplicationUpdate", + "locationName": "consumerGroupReplication", + "documentation": "

    Updated consumer group replication information.

    " + }, + "CurrentVersion": { + "shape": "__string", + "locationName": "currentVersion", + "documentation": "

    Current replicator version.

    " + }, + "ReplicatorArn": { + "shape": "__string", + "location": "uri", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator to be updated.

    " + }, + "SourceKafkaClusterArn": { + "shape": "__string", + "locationName": "sourceKafkaClusterArn", + "documentation": "

    The ARN of the source Kafka cluster.

    " + }, + "TargetKafkaClusterArn": { + "shape": "__string", + "locationName": "targetKafkaClusterArn", + "documentation": "

    The ARN of the target Kafka cluster.

    " + }, + "TopicReplication": { + "shape": "TopicReplicationUpdate", + "locationName": "topicReplication", + "documentation": "

    Updated topic replication information.

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

    Update information relating to replication between a given source and target Kafka cluster.

    ", + "required": ["ReplicatorArn", "SourceKafkaClusterArn", "CurrentVersion", "TargetKafkaClusterArn"] + }, + "UpdateReplicationInfoResponse": { + "type": "structure", + "members": { + "ReplicatorArn": { + "shape": "__string", + "locationName": "replicatorArn", + "documentation": "

    The Amazon Resource Name (ARN) of the replicator.

    " + }, + "ReplicatorState": { + "shape": "ReplicatorState", + "locationName": "replicatorState", + "documentation": "

    State of the replicator.

    " + } + } + }, "UpdateSecurityRequest" : { "type" : "structure", "members" : { @@ -5636,6 +6489,24 @@ "shape": "KafkaVersion" } }, + "__listOfKafkaCluster": { + "type": "list", + "member": { + "shape": "KafkaCluster" + } + }, + "__listOfKafkaClusterDescription": { + "type": "list", + "member": { + "shape": "KafkaClusterDescription" + } + }, + "__listOfKafkaClusterSummary": { + "type": "list", + "member": { + "shape": "KafkaClusterSummary" + } + }, "__listOfNodeInfo": { "type": "list", "member": { @@ -5648,6 +6519,30 @@ "shape": "ClientVpcConnection" } }, + "__listOfReplicationInfo": { + "type": "list", + "member": { + "shape": "ReplicationInfo" + } + }, + "__listOfReplicationInfoDescription": { + "type": "list", + "member": { + "shape": "ReplicationInfoDescription" + } + }, + "__listOfReplicationInfoSummary": { + "type": "list", + "member": { + "shape": "ReplicationInfoSummary" + } + }, + "__listOfReplicatorSummary": { + "type": "list", + "member": { + "shape": "ReplicatorSummary" + } + }, "__listOfVpcConnection": { "type": "list", "member": { @@ -5678,9 +6573,33 @@ "shape": "__string" } }, + "__listOf__stringMax249": { + "type": "list", + "member": { + "shape": "__stringMax249" + } + }, + "__listOf__stringMax256": { + "type": "list", + "member": { + "shape": "__stringMax256" + } + }, "__string": { "type": "string" }, + "__stringMax1024": { + "type": "string", + "max": 1024 + }, + "__stringMax249": { + "type": "string", + "max": 249 + }, + "__stringMax256": { + "type": "string", + "max": 256 + }, "__stringMin1Max128": { "type": "string", "min": 1, @@ -5696,9 +6615,19 @@ "min": 5, "max": 32 }, + "__stringMin1Max128Pattern09AZaZ09AZaZ0": { + "type": "string", + "min": 1, + "max": 128, + "pattern": "^[0-9A-Za-z][0-9A-Za-z-]{0,}$" + }, "__timestampIso8601": { "type": "timestamp", "timestampFormat": "iso8601" + }, + "__timestampUnix": { + "type": "timestamp", + "timestampFormat": "unixTimestamp" } }, "documentation": "\n

    The operations for managing an Amazon MSK cluster.

    \n " diff --git a/tools/code-generation/api-descriptions/route53-recovery-cluster-2019-12-02.normal.json b/tools/code-generation/api-descriptions/route53-recovery-cluster-2019-12-02.normal.json index d3315b6b380..93803ee4b4b 100644 --- a/tools/code-generation/api-descriptions/route53-recovery-cluster-2019-12-02.normal.json +++ b/tools/code-generation/api-descriptions/route53-recovery-cluster-2019-12-02.normal.json @@ -29,7 +29,7 @@ {"shape":"ThrottlingException"}, {"shape":"EndpointTemporarilyUnavailableException"} ], - "documentation":"

    Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

    Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application.

    You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.

    To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

    Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide:

    " + "documentation":"

    Get the state for a routing control. A routing control is a simple on/off switch that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.

    Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application.

    You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.

    To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

    Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide:

    " }, "ListRoutingControls":{ "name":"ListRoutingControls", @@ -47,7 +47,7 @@ {"shape":"ThrottlingException"}, {"shape":"EndpointTemporarilyUnavailableException"} ], - "documentation":"

    List routing control names and Amazon Resource Names (ARNs), as well as the routing control state for each routing control, along with the control panel name and control panel ARN for the routing controls. If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists all the routing controls in the cluster.

    A routing control is a simple on/off switch in Route 53 ARC that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

    Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application.

    You must specify Regional endpoints when you work with API cluster operations to use this API operation to list routing controls in Route 53 ARC.

    Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide:

    " + "documentation":"

    List routing control names and Amazon Resource Names (ARNs), as well as the routing control state for each routing control, along with the control panel name and control panel ARN for the routing controls. If you specify a control panel ARN, this call lists the routing controls in the control panel. Otherwise, it lists all the routing controls in the cluster.

    A routing control is a simple on/off switch in Route 53 ARC that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.

    Before you can create a routing control, you must first create a cluster, and then host the control in a control panel on the cluster. For more information, see Create routing control structures in the Amazon Route 53 Application Recovery Controller Developer Guide. You access one of the endpoints for the cluster to get or update the routing control state to redirect traffic for your application.

    You must specify Regional endpoints when you work with API cluster operations to use this API operation to list routing controls in Route 53 ARC.

    Learn more about working with routing controls in the following topics in the Amazon Route 53 Application Recovery Controller Developer Guide:

    " }, "UpdateRoutingControlState":{ "name":"UpdateRoutingControlState", @@ -66,7 +66,7 @@ {"shape":"EndpointTemporarilyUnavailableException"}, {"shape":"ConflictException"} ], - "documentation":"

    Set the state of the routing control to reroute traffic. You can set the value to be On or Off. When the state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

    With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application.

    The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

    You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.

    To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

    " + "documentation":"

    Set the state of the routing control to reroute traffic. You can set the value to ON or OFF. When the state is ON, traffic flows to a cell. When the state is OFF, traffic does not flow.

    With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application.

    The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

    You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.

    To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

    " }, "UpdateRoutingControlStates":{ "name":"UpdateRoutingControlStates", @@ -86,7 +86,7 @@ {"shape":"ConflictException"}, {"shape":"ServiceLimitExceededException"} ], - "documentation":"

    Set multiple routing control states. You can set the value for each state to be On or Off. When the state is On, traffic flows to a cell. When it's Off, traffic does not flow.

    With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application.

    The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

    You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.

    To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

    " + "documentation":"

    Set multiple routing control states. You can set the value for each state to be ON or OFF. When the state is ON, traffic flows to a cell. When it's OFF, traffic does not flow.

    With Route 53 ARC, you can add safety rules for routing controls, which are safeguards for routing control state updates that help prevent unexpected outcomes, like fail open traffic routing. However, there are scenarios when you might want to bypass the routing control safeguards that are enforced with safety rules that you've configured. For example, you might want to fail over quickly for disaster recovery, and one or more safety rules might be unexpectedly preventing you from updating a routing control state to reroute traffic. In a \"break glass\" scenario like this, you can override one or more safety rules to change a routing control state and fail over your application.

    The SafetyRulesToOverride property enables you override one or more safety rules and update routing control states. For more information, see Override safety rules to reroute traffic in the Amazon Route 53 Application Recovery Controller Developer Guide.

    You must specify Regional endpoints when you work with API cluster operations to get or update routing control states in Route 53 ARC.

    To see a code example for getting a routing control state, including accessing Regional cluster endpoints in sequence, see API examples in the Amazon Route 53 Application Recovery Controller Developer Guide.

    " } }, "shapes":{ @@ -226,6 +226,12 @@ "type":"integer", "min":1 }, + "Owner":{ + "type":"string", + "max":1024, + "min":12, + "pattern":"^\\S+$" + }, "PageToken":{ "type":"string", "max":8096, @@ -266,7 +272,7 @@ }, "ControlPanelName":{ "shape":"ControlPanelName", - "documentation":"

    The name of the control panel where the routing control is located.

    " + "documentation":"

    The name of the control panel where the routing control is located. Only ASCII characters are supported for control panel names.

    " }, "RoutingControlArn":{ "shape":"Arn", @@ -278,10 +284,14 @@ }, "RoutingControlState":{ "shape":"RoutingControlState", - "documentation":"

    The current state of the routing control. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

    " + "documentation":"

    The current state of the routing control. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.

    " + }, + "Owner":{ + "shape":"Owner", + "documentation":"

    The Amazon Web Services account ID of the routing control owner.

    " } }, - "documentation":"

    A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is On, traffic flows to a cell. When the state is Off, traffic does not flow.

    " + "documentation":"

    A routing control, which is a simple on/off switch that you can use to route traffic to cells. When a routing control state is set to ON, traffic flows to a cell. When the state is set to OFF, traffic does not flow.

    " }, "RoutingControlName":{ "type":"string", @@ -375,7 +385,7 @@ }, "RoutingControlState":{ "shape":"RoutingControlState", - "documentation":"

    The state of the routing control. You can set the value to be On or Off.

    " + "documentation":"

    The state of the routing control. You can set the value to ON or OFF.

    " }, "SafetyRulesToOverride":{ "shape":"Arns", @@ -452,5 +462,5 @@ ] } }, - "documentation":"

    Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

    With Route 53 ARC, you can use routing control with extreme reliability to recover applications by rerouting traffic across Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you can run API calls to get or update the state of routing controls. To implement failover, you set one routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region to another.

    Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations to get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region for Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands. For more information, see Get and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

    This API guide includes information about the API operations for how to get and update routing control states in Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control panels, and routing controls) using the recovery cluster configuration API.

    For more information about working with routing control in Route 53 ARC, see the following:

    " + "documentation":"

    Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

    With Route 53 ARC, you can use routing control with extreme reliability to recover applications by rerouting traffic across Availability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted on a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you can run API calls to get or update the state of routing controls. To implement failover, you set one routing control to ON and another one to OFF, to reroute traffic from one Availability Zone or Amazon Web Services Region to another.

    Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations to get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region for Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands. For more information, see Get and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

    This API guide includes information about the API operations for how to get and update routing control states in Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control panels, and routing controls) using the recovery cluster configuration API.

    For more information about working with routing control in Route 53 ARC, see the following:

    " } diff --git a/tools/code-generation/api-descriptions/route53-recovery-control-config-2020-11-02.normal.json b/tools/code-generation/api-descriptions/route53-recovery-control-config-2020-11-02.normal.json index 49d5321a536..f3d51c1c23a 100644 --- a/tools/code-generation/api-descriptions/route53-recovery-control-config-2020-11-02.normal.json +++ b/tools/code-generation/api-descriptions/route53-recovery-control-config-2020-11-02.normal.json @@ -483,6 +483,32 @@ ], "documentation": "

    Returns information about a safety rule.

    " }, + "GetResourcePolicy": { + "name": "GetResourcePolicy", + "http": { + "method": "GET", + "requestUri": "/resourcePolicy/{ResourceArn}", + "responseCode": 200 + }, + "input": { + "shape": "GetResourcePolicyRequest" + }, + "output": { + "shape": "GetResourcePolicyResponse", + "documentation": "

    200 response - Success.

    " + }, + "errors": [ + { + "shape": "ResourceNotFoundException", + "documentation": "

    404 response - MalformedQueryString. The query string contains a syntax error or resource not found.

    " + }, + { + "shape": "InternalServerException", + "documentation": "

    500 response - InternalServiceError. Temporary service error. Retry the request.

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

    Get information about the resource policy for a cluster.

    " + }, "ListAssociatedRoute53HealthChecks": { "name": "ListAssociatedRoute53HealthChecks", "http": { @@ -918,6 +944,10 @@ "WaitPeriodMs": { "shape": "__integer", "documentation": "

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

    " + }, + "Owner": { + "shape": "__stringMin12Max12PatternD12", + "documentation": "

    The Amazon Web Services account ID of the assertion rule owner.

    " } }, "documentation": "

    An assertion rule enforces that, when you change a routing control state, that the criteria that you set in the rule configuration is met. Otherwise, the change to the routing control is not accepted. For example, the criteria might be that at least one routing control state is On after the transaction so that traffic continues to flow to at least one cell for the application. This ensures that you avoid a fail-open scenario.

    ", @@ -972,6 +1002,10 @@ "Status": { "shape": "Status", "documentation": "

    Deployment status of a resource. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

    " + }, + "Owner": { + "shape": "__stringMin12Max12PatternD12", + "documentation": "

    The Amazon Web Services account ID of the cluster owner.

    " } }, "documentation": "

    A set of five redundant Regional endpoints against which you can execute API calls to update or get the state of routing controls. You can host multiple control panels and routing controls on one cluster.

    " @@ -1033,6 +1067,10 @@ "Status": { "shape": "Status", "documentation": "

    The deployment status of control panel. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

    " + }, + "Owner": { + "shape": "__stringMin12Max12PatternD12", + "documentation": "

    The Amazon Web Services account ID of the control panel owner.

    " } }, "documentation": "

    A control panel represents a group of routing controls that can be changed together in a single transaction.

    " @@ -1378,6 +1416,10 @@ "WaitPeriodMs": { "shape": "__integer", "documentation": "

    An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

    " + }, + "Owner": { + "shape": "__stringMin12Max12PatternD12", + "documentation": "

    The Amazon Web Services account ID of the gating rule owner.

    " } }, "documentation": "

    A gating rule verifies that a gating routing control or set of gating routing controls, evaluates as true, based on a rule configuration that you specify, which allows a set of routing control state changes to complete.

    For example, if you specify one gating routing control and you set the Type in the rule configuration to OR, that indicates that you must set the gating routing control to On for the rule to evaluate as true; that is, for the gating control \"switch\" to be \"On\". When you do that, then you can update the routing control states for the target routing controls that you specify in the gating rule.

    ", @@ -1415,6 +1457,29 @@ "Name" ] }, + "GetResourcePolicyRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "ResourceArn", + "documentation": "

    The Amazon Resource Name (ARN) of the resource.

    " + } + }, + "required": [ + "ResourceArn" + ] + }, + "GetResourcePolicyResponse": { + "type": "structure", + "members": { + "Policy": { + "shape": "__policy", + "documentation": "

    The resource policy.

    " + } + } + }, "InternalServerException": { "type": "structure", "members": { @@ -1749,6 +1814,10 @@ "Status": { "shape": "Status", "documentation": "

    The deployment status of a routing control. Status can be one of the following: PENDING, DEPLOYED, PENDING_DELETION.

    " + }, + "Owner": { + "shape": "__stringMin12Max12PatternD12", + "documentation": "

    The Amazon Web Services account ID of the routing control owner.

    " } }, "documentation": "

    A routing control has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control traffic routing.

    " @@ -2072,6 +2141,12 @@ "max": 256, "pattern": "^\\S+$" }, + "__stringMin12Max12PatternD12": { + "type": "string", + "min": 12, + "max": 12, + "pattern": "^\\d{12}$" + }, "__stringMin1Max128PatternAZaZ09": { "type": "string", "min": 1, @@ -2102,6 +2177,12 @@ "max": 8096, "pattern": "[\\S]*" }, + "__policy": { + "type": "string", + "min": 2, + "max": 10240, + "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007E\\u00A1-\\u00FF]+" + }, "__timestampIso8601": { "type": "timestamp", "timestampFormat": "iso8601" diff --git a/tools/code-generation/endpoints/codepipeline-2015-07-09.endpoint-rule-set.json b/tools/code-generation/endpoints/codepipeline-2015-07-09.endpoint-rule-set.json index 0a96c803acc..b4ab7f1e168 100644 --- a/tools/code-generation/endpoints/codepipeline-2015-07-09.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/codepipeline-2015-07-09.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/discovery-2015-11-01.endpoint-rule-set.json b/tools/code-generation/endpoints/discovery-2015-11-01.endpoint-rule-set.json index 825e814d7fa..a0af28bdd34 100644 --- a/tools/code-generation/endpoints/discovery-2015-11-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/discovery-2015-11-01.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/ecs-2014-11-13.endpoint-rule-set.json b/tools/code-generation/endpoints/ecs-2014-11-13.endpoint-rule-set.json index 57a28815f47..463f1cfee2e 100644 --- a/tools/code-generation/endpoints/ecs-2014-11-13.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/ecs-2014-11-13.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/guardduty-2017-11-28.endpoint-rule-set.json b/tools/code-generation/endpoints/guardduty-2017-11-28.endpoint-rule-set.json index 0742b358787..19c0c9651fb 100644 --- a/tools/code-generation/endpoints/guardduty-2017-11-28.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/guardduty-2017-11-28.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/kafka-2018-11-14.endpoint-rule-set.json b/tools/code-generation/endpoints/kafka-2018-11-14.endpoint-rule-set.json index 2ff3e3e03a4..45039a0f5b4 100644 --- a/tools/code-generation/endpoints/kafka-2018-11-14.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/kafka-2018-11-14.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/route53-recovery-cluster-2019-12-02.endpoint-rule-set.json b/tools/code-generation/endpoints/route53-recovery-cluster-2019-12-02.endpoint-rule-set.json index d5b17b67464..9435139fc0c 100644 --- a/tools/code-generation/endpoints/route53-recovery-cluster-2019-12-02.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/route53-recovery-cluster-2019-12-02.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/tools/code-generation/endpoints/route53-recovery-control-config-2020-11-02.endpoint-rule-set.json b/tools/code-generation/endpoints/route53-recovery-control-config-2020-11-02.endpoint-rule-set.json index 6d8889a0920..1f41aff34b9 100644 --- a/tools/code-generation/endpoints/route53-recovery-control-config-2020-11-02.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/route53-recovery-control-config-2020-11-02.endpoint-rule-set.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -328,9 +326,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [],