From b50433a9965cb84ea3e3cb89832771f500feef47 Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Thu, 4 Apr 2024 18:19:21 +0000 Subject: [PATCH] Adds GroupConfiguration field to Identity Source API's Adding support for X12 5010 HIPAA EDI version and associated transaction sets. Amazon EC2 G6 instances powered by NVIDIA L4 Tensor Core GPUs can be used for a wide range of graphics-intensive and machine learning use cases. Gr6 instances also feature NVIDIA L4 GPUs and can be used for graphics workloads with higher memory requirements. This release adds support for integration with EKS AccessEntry APIs to enable automatic Cluster Access for EMR on EKS. Feature: New schemaStatusDetails field to the existing Schema object that displays a status on Schema API responses to show whether a schema is queryable or not. New BatchGetSchemaAnalysisRule API to retrieve multiple schemaAnalysisRules using a single API call. API update to include an SRT ingest endpoint and passphrase for all channels. --- VERSION | 2 +- .../aws/b2bi/model/X12TransactionSet.h | 25 +- .../include/aws/b2bi/model/X12Version.h | 3 +- .../source/model/X12TransactionSet.cpp | 161 +++++++++++++ .../source/model/X12Version.cpp | 7 + .../include/aws/cleanrooms/CleanRoomsClient.h | 25 ++ .../cleanrooms/CleanRoomsServiceClientModel.h | 5 + .../aws/cleanrooms/model/AnalysisRuleCustom.h | 63 ++--- .../model/BatchGetSchemaAnalysisRuleError.h | 212 ++++++++++++++++ .../model/BatchGetSchemaAnalysisRuleRequest.h | 137 +++++++++++ .../model/BatchGetSchemaAnalysisRuleResult.h | 149 ++++++++++++ .../cleanrooms/model/BatchGetSchemaRequest.h | 18 +- .../aws/cleanrooms/model/ScalarFunctions.h | 23 +- .../include/aws/cleanrooms/model/Schema.h | 53 ++++ .../model/SchemaAnalysisRuleRequest.h | 126 ++++++++++ .../cleanrooms/model/SchemaConfiguration.h | 30 +++ .../aws/cleanrooms/model/SchemaStatus.h | 31 +++ .../aws/cleanrooms/model/SchemaStatusDetail.h | 207 ++++++++++++++++ .../aws/cleanrooms/model/SchemaStatusReason.h | 124 ++++++++++ .../cleanrooms/model/SchemaStatusReasonCode.h | 33 +++ .../source/CleanRoomsClient.cpp | 35 +++ .../model/BatchGetSchemaAnalysisRuleError.cpp | 105 ++++++++ .../BatchGetSchemaAnalysisRuleRequest.cpp | 41 ++++ .../BatchGetSchemaAnalysisRuleResult.cpp | 60 +++++ .../source/model/ScalarFunctions.cpp | 135 ++++++++--- .../source/model/Schema.cpp | 27 ++- .../model/SchemaAnalysisRuleRequest.cpp | 75 ++++++ .../source/model/SchemaConfiguration.cpp | 65 +++++ .../source/model/SchemaStatus.cpp | 72 ++++++ .../source/model/SchemaStatusDetail.cpp | 122 ++++++++++ .../source/model/SchemaStatusReason.cpp | 75 ++++++ .../source/model/SchemaStatusReasonCode.cpp | 86 +++++++ .../include/aws/ec2/model/InstanceType.h | 12 +- .../source/model/InstanceType.cpp | 90 +++++++ .../aws/emr-containers/EMRContainersClient.h | 8 +- .../aws/emr-containers/EMRContainersErrors.h | 3 +- .../model/ListVirtualClustersRequest.h | 32 +++ .../source/EMRContainersErrors.cpp | 5 + .../model/ListVirtualClustersRequest.cpp | 11 +- .../include/aws/ivs/IVSClient.h | 54 ++--- .../include/aws/ivs/model/Channel.h | 41 ++++ .../aws/ivs/model/CreateChannelRequest.h | 8 +- .../include/aws/ivs/model/Srt.h | 149 ++++++++++++ .../aws/ivs/model/UpdateChannelRequest.h | 8 +- .../aws-cpp-sdk-ivs/source/model/Channel.cpp | 15 ++ .../src/aws-cpp-sdk-ivs/source/model/Srt.cpp | 74 ++++++ .../model/BatchIsAuthorizedInputItem.h | 48 ++-- .../model/BatchIsAuthorizedOutputItem.h | 48 ++-- .../model/CognitoGroupConfiguration.h | 101 ++++++++ .../model/CognitoGroupConfigurationDetail.h | 101 ++++++++ .../model/CognitoGroupConfigurationItem.h | 101 ++++++++ .../model/CognitoUserPoolConfiguration.h | 44 +++- .../CognitoUserPoolConfigurationDetail.h | 44 +++- .../model/CognitoUserPoolConfigurationItem.h | 44 +++- .../verifiedpermissions/model/Configuration.h | 25 +- .../model/ConfigurationDetail.h | 48 ++-- .../model/ConfigurationItem.h | 48 ++-- .../model/IsAuthorizedWithTokenResult.h | 29 +++ .../model/UpdateCognitoGroupConfiguration.h | 97 ++++++++ .../UpdateCognitoUserPoolConfiguration.h | 41 ++++ .../model/CognitoGroupConfiguration.cpp | 59 +++++ .../model/CognitoGroupConfigurationDetail.cpp | 59 +++++ .../model/CognitoGroupConfigurationItem.cpp | 59 +++++ .../model/CognitoUserPoolConfiguration.cpp | 19 +- .../CognitoUserPoolConfigurationDetail.cpp | 19 +- .../CognitoUserPoolConfigurationItem.cpp | 19 +- .../model/IsAuthorizedWithTokenResult.cpp | 6 + .../model/UpdateCognitoGroupConfiguration.cpp | 59 +++++ .../UpdateCognitoUserPoolConfiguration.cpp | 19 +- .../include/aws/core/VersionConfig.h | 4 +- .../b2bi-2022-06-23.normal.json | 28 ++- .../cleanrooms-2022-02-17.normal.json | 227 +++++++++++++++++- .../ec2-2016-11-15.normal.json | 12 +- .../emr-containers-2020-10-01.normal.json | 21 +- .../ivs-2020-07-14.normal.json | 29 ++- ...verifiedpermissions-2021-12-01.normal.json | 91 ++++++- 76 files changed, 4135 insertions(+), 256 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleError.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleRequest.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleResult.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaAnalysisRuleRequest.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatus.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusDetail.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReason.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReasonCode.h create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleError.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleResult.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaAnalysisRuleRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusDetail.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReason.cpp create mode 100644 generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReasonCode.cpp create mode 100644 generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Srt.h create mode 100644 generated/src/aws-cpp-sdk-ivs/source/model/Srt.cpp create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationDetail.h create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationItem.h create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoGroupConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationDetail.cpp create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationItem.cpp create mode 100644 generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoGroupConfiguration.cpp diff --git a/VERSION b/VERSION index 8511bd816c2..d2bc1d0df76 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.300 \ No newline at end of file +1.11.301 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12TransactionSet.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12TransactionSet.h index 4acd0debb78..f665cf6f064 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12TransactionSet.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12TransactionSet.h @@ -67,7 +67,30 @@ namespace Model X12_945, X12_990, X12_997, - X12_999 + X12_999, + X12_270_X279, + X12_271_X279, + X12_275_X210, + X12_275_X211, + X12_276_X212, + X12_277_X212, + X12_277_X214, + X12_277_X364, + X12_278_X217, + X12_820_X218, + X12_820_X306, + X12_824_X186, + X12_834_X220, + X12_834_X307, + X12_834_X318, + X12_835_X221, + X12_837_X222, + X12_837_X223, + X12_837_X224, + X12_837_X291, + X12_837_X292, + X12_837_X298, + X12_999_X231 }; namespace X12TransactionSetMapper diff --git a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12Version.h b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12Version.h index 4a85e2ff114..000b3a78543 100644 --- a/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12Version.h +++ b/generated/src/aws-cpp-sdk-b2bi/include/aws/b2bi/model/X12Version.h @@ -18,7 +18,8 @@ namespace Model NOT_SET, VERSION_4010, VERSION_4030, - VERSION_5010 + VERSION_5010, + VERSION_5010_HIPAA }; namespace X12VersionMapper diff --git a/generated/src/aws-cpp-sdk-b2bi/source/model/X12TransactionSet.cpp b/generated/src/aws-cpp-sdk-b2bi/source/model/X12TransactionSet.cpp index 6d407711ac8..f6443b66f78 100644 --- a/generated/src/aws-cpp-sdk-b2bi/source/model/X12TransactionSet.cpp +++ b/generated/src/aws-cpp-sdk-b2bi/source/model/X12TransactionSet.cpp @@ -72,6 +72,29 @@ namespace Aws static const int X12_990_HASH = HashingUtils::HashString("X12_990"); static const int X12_997_HASH = HashingUtils::HashString("X12_997"); static const int X12_999_HASH = HashingUtils::HashString("X12_999"); + static const int X12_270_X279_HASH = HashingUtils::HashString("X12_270_X279"); + static const int X12_271_X279_HASH = HashingUtils::HashString("X12_271_X279"); + static const int X12_275_X210_HASH = HashingUtils::HashString("X12_275_X210"); + static const int X12_275_X211_HASH = HashingUtils::HashString("X12_275_X211"); + static const int X12_276_X212_HASH = HashingUtils::HashString("X12_276_X212"); + static const int X12_277_X212_HASH = HashingUtils::HashString("X12_277_X212"); + static const int X12_277_X214_HASH = HashingUtils::HashString("X12_277_X214"); + static const int X12_277_X364_HASH = HashingUtils::HashString("X12_277_X364"); + static const int X12_278_X217_HASH = HashingUtils::HashString("X12_278_X217"); + static const int X12_820_X218_HASH = HashingUtils::HashString("X12_820_X218"); + static const int X12_820_X306_HASH = HashingUtils::HashString("X12_820_X306"); + static const int X12_824_X186_HASH = HashingUtils::HashString("X12_824_X186"); + static const int X12_834_X220_HASH = HashingUtils::HashString("X12_834_X220"); + static const int X12_834_X307_HASH = HashingUtils::HashString("X12_834_X307"); + static const int X12_834_X318_HASH = HashingUtils::HashString("X12_834_X318"); + static const int X12_835_X221_HASH = HashingUtils::HashString("X12_835_X221"); + static const int X12_837_X222_HASH = HashingUtils::HashString("X12_837_X222"); + static const int X12_837_X223_HASH = HashingUtils::HashString("X12_837_X223"); + static const int X12_837_X224_HASH = HashingUtils::HashString("X12_837_X224"); + static const int X12_837_X291_HASH = HashingUtils::HashString("X12_837_X291"); + static const int X12_837_X292_HASH = HashingUtils::HashString("X12_837_X292"); + static const int X12_837_X298_HASH = HashingUtils::HashString("X12_837_X298"); + static const int X12_999_X231_HASH = HashingUtils::HashString("X12_999_X231"); X12TransactionSet GetX12TransactionSetForName(const Aws::String& name) @@ -285,6 +308,98 @@ namespace Aws { return X12TransactionSet::X12_999; } + else if (hashCode == X12_270_X279_HASH) + { + return X12TransactionSet::X12_270_X279; + } + else if (hashCode == X12_271_X279_HASH) + { + return X12TransactionSet::X12_271_X279; + } + else if (hashCode == X12_275_X210_HASH) + { + return X12TransactionSet::X12_275_X210; + } + else if (hashCode == X12_275_X211_HASH) + { + return X12TransactionSet::X12_275_X211; + } + else if (hashCode == X12_276_X212_HASH) + { + return X12TransactionSet::X12_276_X212; + } + else if (hashCode == X12_277_X212_HASH) + { + return X12TransactionSet::X12_277_X212; + } + else if (hashCode == X12_277_X214_HASH) + { + return X12TransactionSet::X12_277_X214; + } + else if (hashCode == X12_277_X364_HASH) + { + return X12TransactionSet::X12_277_X364; + } + else if (hashCode == X12_278_X217_HASH) + { + return X12TransactionSet::X12_278_X217; + } + else if (hashCode == X12_820_X218_HASH) + { + return X12TransactionSet::X12_820_X218; + } + else if (hashCode == X12_820_X306_HASH) + { + return X12TransactionSet::X12_820_X306; + } + else if (hashCode == X12_824_X186_HASH) + { + return X12TransactionSet::X12_824_X186; + } + else if (hashCode == X12_834_X220_HASH) + { + return X12TransactionSet::X12_834_X220; + } + else if (hashCode == X12_834_X307_HASH) + { + return X12TransactionSet::X12_834_X307; + } + else if (hashCode == X12_834_X318_HASH) + { + return X12TransactionSet::X12_834_X318; + } + else if (hashCode == X12_835_X221_HASH) + { + return X12TransactionSet::X12_835_X221; + } + else if (hashCode == X12_837_X222_HASH) + { + return X12TransactionSet::X12_837_X222; + } + else if (hashCode == X12_837_X223_HASH) + { + return X12TransactionSet::X12_837_X223; + } + else if (hashCode == X12_837_X224_HASH) + { + return X12TransactionSet::X12_837_X224; + } + else if (hashCode == X12_837_X291_HASH) + { + return X12TransactionSet::X12_837_X291; + } + else if (hashCode == X12_837_X292_HASH) + { + return X12TransactionSet::X12_837_X292; + } + else if (hashCode == X12_837_X298_HASH) + { + return X12TransactionSet::X12_837_X298; + } + else if (hashCode == X12_999_X231_HASH) + { + return X12TransactionSet::X12_999_X231; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -405,6 +520,52 @@ namespace Aws return "X12_997"; case X12TransactionSet::X12_999: return "X12_999"; + case X12TransactionSet::X12_270_X279: + return "X12_270_X279"; + case X12TransactionSet::X12_271_X279: + return "X12_271_X279"; + case X12TransactionSet::X12_275_X210: + return "X12_275_X210"; + case X12TransactionSet::X12_275_X211: + return "X12_275_X211"; + case X12TransactionSet::X12_276_X212: + return "X12_276_X212"; + case X12TransactionSet::X12_277_X212: + return "X12_277_X212"; + case X12TransactionSet::X12_277_X214: + return "X12_277_X214"; + case X12TransactionSet::X12_277_X364: + return "X12_277_X364"; + case X12TransactionSet::X12_278_X217: + return "X12_278_X217"; + case X12TransactionSet::X12_820_X218: + return "X12_820_X218"; + case X12TransactionSet::X12_820_X306: + return "X12_820_X306"; + case X12TransactionSet::X12_824_X186: + return "X12_824_X186"; + case X12TransactionSet::X12_834_X220: + return "X12_834_X220"; + case X12TransactionSet::X12_834_X307: + return "X12_834_X307"; + case X12TransactionSet::X12_834_X318: + return "X12_834_X318"; + case X12TransactionSet::X12_835_X221: + return "X12_835_X221"; + case X12TransactionSet::X12_837_X222: + return "X12_837_X222"; + case X12TransactionSet::X12_837_X223: + return "X12_837_X223"; + case X12TransactionSet::X12_837_X224: + return "X12_837_X224"; + case X12TransactionSet::X12_837_X291: + return "X12_837_X291"; + case X12TransactionSet::X12_837_X292: + return "X12_837_X292"; + case X12TransactionSet::X12_837_X298: + return "X12_837_X298"; + case X12TransactionSet::X12_999_X231: + return "X12_999_X231"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-b2bi/source/model/X12Version.cpp b/generated/src/aws-cpp-sdk-b2bi/source/model/X12Version.cpp index 7d6e5010c46..d772b013c30 100644 --- a/generated/src/aws-cpp-sdk-b2bi/source/model/X12Version.cpp +++ b/generated/src/aws-cpp-sdk-b2bi/source/model/X12Version.cpp @@ -23,6 +23,7 @@ namespace Aws static const int VERSION_4010_HASH = HashingUtils::HashString("VERSION_4010"); static const int VERSION_4030_HASH = HashingUtils::HashString("VERSION_4030"); static const int VERSION_5010_HASH = HashingUtils::HashString("VERSION_5010"); + static const int VERSION_5010_HIPAA_HASH = HashingUtils::HashString("VERSION_5010_HIPAA"); X12Version GetX12VersionForName(const Aws::String& name) @@ -40,6 +41,10 @@ namespace Aws { return X12Version::VERSION_5010; } + else if (hashCode == VERSION_5010_HIPAA_HASH) + { + return X12Version::VERSION_5010_HIPAA; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -62,6 +67,8 @@ namespace Aws return "VERSION_4030"; case X12Version::VERSION_5010: return "VERSION_5010"; + case X12Version::VERSION_5010_HIPAA: + return "VERSION_5010_HIPAA"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsClient.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsClient.h index 105b6063053..a793f701967 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsClient.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsClient.h @@ -139,6 +139,31 @@ namespace CleanRooms return SubmitAsync(&CleanRoomsClient::BatchGetSchema, request, handler, context); } + /** + *

Retrieves multiple analysis rule schemas.

See Also:

AWS + * API Reference

+ */ + virtual Model::BatchGetSchemaAnalysisRuleOutcome BatchGetSchemaAnalysisRule(const Model::BatchGetSchemaAnalysisRuleRequest& request) const; + + /** + * A Callable wrapper for BatchGetSchemaAnalysisRule that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::BatchGetSchemaAnalysisRuleOutcomeCallable BatchGetSchemaAnalysisRuleCallable(const BatchGetSchemaAnalysisRuleRequestT& request) const + { + return SubmitCallable(&CleanRoomsClient::BatchGetSchemaAnalysisRule, request); + } + + /** + * An Async wrapper for BatchGetSchemaAnalysisRule that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void BatchGetSchemaAnalysisRuleAsync(const BatchGetSchemaAnalysisRuleRequestT& request, const BatchGetSchemaAnalysisRuleResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&CleanRoomsClient::BatchGetSchemaAnalysisRule, request, handler, context); + } + /** *

Creates a new analysis template.

See Also:

AWS diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsServiceClientModel.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsServiceClientModel.h index 52eb082f9dc..940781e80aa 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/CleanRoomsServiceClientModel.h @@ -20,6 +20,7 @@ /* Service model headers required in CleanRoomsClient header */ #include #include +#include #include #include #include @@ -122,6 +123,7 @@ namespace Aws /* Service model forward declarations required in CleanRoomsClient header */ class BatchGetCollaborationAnalysisTemplateRequest; class BatchGetSchemaRequest; + class BatchGetSchemaAnalysisRuleRequest; class CreateAnalysisTemplateRequest; class CreateCollaborationRequest; class CreateConfiguredAudienceModelAssociationRequest; @@ -187,6 +189,7 @@ namespace Aws /* Service model Outcome class definitions */ typedef Aws::Utils::Outcome BatchGetCollaborationAnalysisTemplateOutcome; typedef Aws::Utils::Outcome BatchGetSchemaOutcome; + typedef Aws::Utils::Outcome BatchGetSchemaAnalysisRuleOutcome; typedef Aws::Utils::Outcome CreateAnalysisTemplateOutcome; typedef Aws::Utils::Outcome CreateCollaborationOutcome; typedef Aws::Utils::Outcome CreateConfiguredAudienceModelAssociationOutcome; @@ -252,6 +255,7 @@ namespace Aws /* Service model Outcome callable definitions */ typedef std::future BatchGetCollaborationAnalysisTemplateOutcomeCallable; typedef std::future BatchGetSchemaOutcomeCallable; + typedef std::future BatchGetSchemaAnalysisRuleOutcomeCallable; typedef std::future CreateAnalysisTemplateOutcomeCallable; typedef std::future CreateCollaborationOutcomeCallable; typedef std::future CreateConfiguredAudienceModelAssociationOutcomeCallable; @@ -320,6 +324,7 @@ namespace Aws /* Service model async handlers definitions */ typedef std::function&) > BatchGetCollaborationAnalysisTemplateResponseReceivedHandler; typedef std::function&) > BatchGetSchemaResponseReceivedHandler; + typedef std::function&) > BatchGetSchemaAnalysisRuleResponseReceivedHandler; typedef std::function&) > CreateAnalysisTemplateResponseReceivedHandler; typedef std::function&) > CreateCollaborationResponseReceivedHandler; typedef std::function&) > CreateConfiguredAudienceModelAssociationResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/AnalysisRuleCustom.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/AnalysisRuleCustom.h index 0df83db9ec8..3d3412428d6 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/AnalysisRuleCustom.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/AnalysisRuleCustom.h @@ -42,110 +42,119 @@ namespace Model /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline const Aws::Vector& GetAllowedAnalyses() const{ return m_allowedAnalyses; } /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline bool AllowedAnalysesHasBeenSet() const { return m_allowedAnalysesHasBeenSet; } /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline void SetAllowedAnalyses(const Aws::Vector& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses = value; } /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline void SetAllowedAnalyses(Aws::Vector&& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses = std::move(value); } /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline AnalysisRuleCustom& WithAllowedAnalyses(const Aws::Vector& value) { SetAllowedAnalyses(value); return *this;} /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline AnalysisRuleCustom& WithAllowedAnalyses(Aws::Vector&& value) { SetAllowedAnalyses(std::move(value)); return *this;} /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline AnalysisRuleCustom& AddAllowedAnalyses(const Aws::String& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses.push_back(value); return *this; } /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline AnalysisRuleCustom& AddAllowedAnalyses(Aws::String&& value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses.push_back(std::move(value)); return *this; } /** - *

The analysis templates that are allowed by the custom analysis rule.

+ *

The ARN of the analysis templates that are allowed by the custom analysis + * rule.

*/ inline AnalysisRuleCustom& AddAllowedAnalyses(const char* value) { m_allowedAnalysesHasBeenSet = true; m_allowedAnalyses.push_back(value); return *this; } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline const Aws::Vector& GetAllowedAnalysisProviders() const{ return m_allowedAnalysisProviders; } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline bool AllowedAnalysisProvidersHasBeenSet() const { return m_allowedAnalysisProvidersHasBeenSet; } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline void SetAllowedAnalysisProviders(const Aws::Vector& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders = value; } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline void SetAllowedAnalysisProviders(Aws::Vector&& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders = std::move(value); } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline AnalysisRuleCustom& WithAllowedAnalysisProviders(const Aws::Vector& value) { SetAllowedAnalysisProviders(value); return *this;} /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline AnalysisRuleCustom& WithAllowedAnalysisProviders(Aws::Vector&& value) { SetAllowedAnalysisProviders(std::move(value)); return *this;} /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline AnalysisRuleCustom& AddAllowedAnalysisProviders(const Aws::String& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders.push_back(value); return *this; } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline AnalysisRuleCustom& AddAllowedAnalysisProviders(Aws::String&& value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders.push_back(std::move(value)); return *this; } /** - *

The Amazon Web Services accounts that are allowed to query by the custom - * analysis rule. Required when allowedAnalyses is + *

The IDs of the Amazon Web Services accounts that are allowed to query by the + * custom analysis rule. Required when allowedAnalyses is * ANY_QUERY.

*/ inline AnalysisRuleCustom& AddAllowedAnalysisProviders(const char* value) { m_allowedAnalysisProvidersHasBeenSet = true; m_allowedAnalysisProviders.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleError.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleError.h new file mode 100644 index 00000000000..73f301f1907 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleError.h @@ -0,0 +1,212 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + + /** + *

An error that describes why a schema could not be fetched.

See + * Also:

AWS + * API Reference

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

An error name for the error.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

An error name for the error.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

An error name for the error.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

An error name for the error.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

An error name for the error.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

An error name for the error.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

An error name for the error.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

An error name for the error.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The analysis rule type.

+ */ + inline const AnalysisRuleType& GetType() const{ return m_type; } + + /** + *

The analysis rule type.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The analysis rule type.

+ */ + inline void SetType(const AnalysisRuleType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The analysis rule type.

+ */ + inline void SetType(AnalysisRuleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The analysis rule type.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithType(const AnalysisRuleType& value) { SetType(value); return *this;} + + /** + *

The analysis rule type.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithType(AnalysisRuleType&& value) { SetType(std::move(value)); return *this;} + + + /** + *

An error code for the error.

+ */ + inline const Aws::String& GetCode() const{ return m_code; } + + /** + *

An error code for the error.

+ */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + *

An error code for the error.

+ */ + inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + *

An error code for the error.

+ */ + inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + *

An error code for the error.

+ */ + inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); } + + /** + *

An error code for the error.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithCode(const Aws::String& value) { SetCode(value); return *this;} + + /** + *

An error code for the error.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;} + + /** + *

An error code for the error.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithCode(const char* value) { SetCode(value); return *this;} + + + /** + *

A description of why the call failed.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

A description of why the call failed.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

A description of why the call failed.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

A description of why the call failed.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

A description of why the call failed.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

A description of why the call failed.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

A description of why the call failed.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

A description of why the call failed.

+ */ + inline BatchGetSchemaAnalysisRuleError& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + AnalysisRuleType m_type; + bool m_typeHasBeenSet = false; + + Aws::String m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleRequest.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleRequest.h new file mode 100644 index 00000000000..94d7f43ee84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleRequest.h @@ -0,0 +1,137 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + + /** + */ + class BatchGetSchemaAnalysisRuleRequest : public CleanRoomsRequest + { + public: + AWS_CLEANROOMS_API BatchGetSchemaAnalysisRuleRequest(); + + // 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 "BatchGetSchemaAnalysisRule"; } + + AWS_CLEANROOMS_API Aws::String SerializePayload() const override; + + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline const Aws::String& GetCollaborationIdentifier() const{ return m_collaborationIdentifier; } + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; } + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline void SetCollaborationIdentifier(const Aws::String& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = value; } + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline void SetCollaborationIdentifier(Aws::String&& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = std::move(value); } + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline void SetCollaborationIdentifier(const char* value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier.assign(value); } + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& WithCollaborationIdentifier(const Aws::String& value) { SetCollaborationIdentifier(value); return *this;} + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& WithCollaborationIdentifier(Aws::String&& value) { SetCollaborationIdentifier(std::move(value)); return *this;} + + /** + *

The unique identifier of the collaboration that contains the schema analysis + * rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& WithCollaborationIdentifier(const char* value) { SetCollaborationIdentifier(value); return *this;} + + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline const Aws::Vector& GetSchemaAnalysisRuleRequests() const{ return m_schemaAnalysisRuleRequests; } + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline bool SchemaAnalysisRuleRequestsHasBeenSet() const { return m_schemaAnalysisRuleRequestsHasBeenSet; } + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline void SetSchemaAnalysisRuleRequests(const Aws::Vector& value) { m_schemaAnalysisRuleRequestsHasBeenSet = true; m_schemaAnalysisRuleRequests = value; } + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline void SetSchemaAnalysisRuleRequests(Aws::Vector&& value) { m_schemaAnalysisRuleRequestsHasBeenSet = true; m_schemaAnalysisRuleRequests = std::move(value); } + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& WithSchemaAnalysisRuleRequests(const Aws::Vector& value) { SetSchemaAnalysisRuleRequests(value); return *this;} + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& WithSchemaAnalysisRuleRequests(Aws::Vector&& value) { SetSchemaAnalysisRuleRequests(std::move(value)); return *this;} + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& AddSchemaAnalysisRuleRequests(const SchemaAnalysisRuleRequest& value) { m_schemaAnalysisRuleRequestsHasBeenSet = true; m_schemaAnalysisRuleRequests.push_back(value); return *this; } + + /** + *

The information that's necessary to retrieve a schema analysis rule.

+ */ + inline BatchGetSchemaAnalysisRuleRequest& AddSchemaAnalysisRuleRequests(SchemaAnalysisRuleRequest&& value) { m_schemaAnalysisRuleRequestsHasBeenSet = true; m_schemaAnalysisRuleRequests.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_collaborationIdentifier; + bool m_collaborationIdentifierHasBeenSet = false; + + Aws::Vector m_schemaAnalysisRuleRequests; + bool m_schemaAnalysisRuleRequestsHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleResult.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleResult.h new file mode 100644 index 00000000000..4bade2e0238 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaAnalysisRuleResult.h @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace CleanRooms +{ +namespace Model +{ + class BatchGetSchemaAnalysisRuleResult + { + public: + AWS_CLEANROOMS_API BatchGetSchemaAnalysisRuleResult(); + AWS_CLEANROOMS_API BatchGetSchemaAnalysisRuleResult(const Aws::AmazonWebServiceResult& result); + AWS_CLEANROOMS_API BatchGetSchemaAnalysisRuleResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

The retrieved list of analysis rules.

+ */ + inline const Aws::Vector& GetAnalysisRules() const{ return m_analysisRules; } + + /** + *

The retrieved list of analysis rules.

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

The retrieved list of analysis rules.

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

The retrieved list of analysis rules.

+ */ + inline BatchGetSchemaAnalysisRuleResult& WithAnalysisRules(const Aws::Vector& value) { SetAnalysisRules(value); return *this;} + + /** + *

The retrieved list of analysis rules.

+ */ + inline BatchGetSchemaAnalysisRuleResult& WithAnalysisRules(Aws::Vector&& value) { SetAnalysisRules(std::move(value)); return *this;} + + /** + *

The retrieved list of analysis rules.

+ */ + inline BatchGetSchemaAnalysisRuleResult& AddAnalysisRules(const AnalysisRule& value) { m_analysisRules.push_back(value); return *this; } + + /** + *

The retrieved list of analysis rules.

+ */ + inline BatchGetSchemaAnalysisRuleResult& AddAnalysisRules(AnalysisRule&& value) { m_analysisRules.push_back(std::move(value)); return *this; } + + + /** + *

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

+ */ + inline const Aws::Vector& GetErrors() const{ return m_errors; } + + /** + *

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

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

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

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

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

+ */ + inline BatchGetSchemaAnalysisRuleResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} + + /** + *

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

+ */ + inline BatchGetSchemaAnalysisRuleResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} + + /** + *

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

+ */ + inline BatchGetSchemaAnalysisRuleResult& AddErrors(const BatchGetSchemaAnalysisRuleError& value) { m_errors.push_back(value); return *this; } + + /** + *

Error reasons for schemas that could not be retrieved. One error is returned + * for every schema that could not be retrieved.

+ */ + inline BatchGetSchemaAnalysisRuleResult& AddErrors(BatchGetSchemaAnalysisRuleError&& value) { m_errors.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 BatchGetSchemaAnalysisRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline BatchGetSchemaAnalysisRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline BatchGetSchemaAnalysisRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::Vector m_analysisRules; + + Aws::Vector m_errors; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaRequest.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaRequest.h index 0cba42927ab..e0117fc74ae 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaRequest.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/BatchGetSchemaRequest.h @@ -83,47 +83,47 @@ namespace Model /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline const Aws::Vector& GetNames() const{ return m_names; } /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline void SetNames(const Aws::Vector& value) { m_namesHasBeenSet = true; m_names = value; } /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline void SetNames(Aws::Vector&& value) { m_namesHasBeenSet = true; m_names = std::move(value); } /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline BatchGetSchemaRequest& WithNames(const Aws::Vector& value) { SetNames(value); return *this;} /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline BatchGetSchemaRequest& WithNames(Aws::Vector&& value) { SetNames(std::move(value)); return *this;} /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline BatchGetSchemaRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline BatchGetSchemaRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** - *

The names for the schema objects to retrieve.>

+ *

The names for the schema objects to retrieve.

*/ inline BatchGetSchemaRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/ScalarFunctions.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/ScalarFunctions.h index 4cb49c6e2ac..83d4ebc0657 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/ScalarFunctions.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/ScalarFunctions.h @@ -16,19 +16,30 @@ namespace Model enum class ScalarFunctions { NOT_SET, - TRUNC, ABS, + CAST, CEILING, + COALESCE, + CONVERT, + CURRENT_DATE, + DATEADD, + EXTRACT, FLOOR, + GETDATE, LN, LOG, - ROUND, - SQRT, - CAST, LOWER, + ROUND, RTRIM, - UPPER, - COALESCE + SQRT, + SUBSTRING, + TO_CHAR, + TO_DATE, + TO_NUMBER, + TO_TIMESTAMP, + TRIM, + TRUNC, + UPPER }; namespace ScalarFunctionsMapper diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Schema.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Schema.h index c1b638e14da..cedd754b580 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Schema.h +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/Schema.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -524,6 +525,55 @@ namespace Model */ inline Schema& WithType(SchemaType&& value) { SetType(std::move(value)); return *this;} + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline const Aws::Vector& GetSchemaStatusDetails() const{ return m_schemaStatusDetails; } + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline bool SchemaStatusDetailsHasBeenSet() const { return m_schemaStatusDetailsHasBeenSet; } + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline void SetSchemaStatusDetails(const Aws::Vector& value) { m_schemaStatusDetailsHasBeenSet = true; m_schemaStatusDetails = value; } + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline void SetSchemaStatusDetails(Aws::Vector&& value) { m_schemaStatusDetailsHasBeenSet = true; m_schemaStatusDetails = std::move(value); } + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline Schema& WithSchemaStatusDetails(const Aws::Vector& value) { SetSchemaStatusDetails(value); return *this;} + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline Schema& WithSchemaStatusDetails(Aws::Vector&& value) { SetSchemaStatusDetails(std::move(value)); return *this;} + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline Schema& AddSchemaStatusDetails(const SchemaStatusDetail& value) { m_schemaStatusDetailsHasBeenSet = true; m_schemaStatusDetails.push_back(value); return *this; } + + /** + *

Details about the status of the schema. Currently, only one entry is + * present.

+ */ + inline Schema& AddSchemaStatusDetails(SchemaStatusDetail&& value) { m_schemaStatusDetailsHasBeenSet = true; m_schemaStatusDetails.push_back(std::move(value)); return *this; } + private: Aws::Vector m_columns; @@ -561,6 +611,9 @@ namespace Model SchemaType m_type; bool m_typeHasBeenSet = false; + + Aws::Vector m_schemaStatusDetails; + bool m_schemaStatusDetailsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaAnalysisRuleRequest.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaAnalysisRuleRequest.h new file mode 100644 index 00000000000..a46450c828d --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaAnalysisRuleRequest.h @@ -0,0 +1,126 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + + /** + *

Defines the information that's necessary to retrieve an analysis rule schema. + * Schema analysis rules are uniquely identified by a combination of the schema name + * and the analysis rule type for a given collaboration.

See Also:

+ * AWS + * API Reference

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

The name of the analysis rule schema that you are requesting.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline SchemaAnalysisRuleRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline SchemaAnalysisRuleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *

The name of the analysis rule schema that you are requesting.

+ */ + inline SchemaAnalysisRuleRequest& WithName(const char* value) { SetName(value); return *this;} + + + /** + *

The type of analysis rule schema that you are requesting.

+ */ + inline const AnalysisRuleType& GetType() const{ return m_type; } + + /** + *

The type of analysis rule schema that you are requesting.

+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *

The type of analysis rule schema that you are requesting.

+ */ + inline void SetType(const AnalysisRuleType& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *

The type of analysis rule schema that you are requesting.

+ */ + inline void SetType(AnalysisRuleType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *

The type of analysis rule schema that you are requesting.

+ */ + inline SchemaAnalysisRuleRequest& WithType(const AnalysisRuleType& value) { SetType(value); return *this;} + + /** + *

The type of analysis rule schema that you are requesting.

+ */ + inline SchemaAnalysisRuleRequest& WithType(AnalysisRuleType&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + AnalysisRuleType m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaConfiguration.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaConfiguration.h new file mode 100644 index 00000000000..21b7c7f5155 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaConfiguration.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + enum class SchemaConfiguration + { + NOT_SET, + DIFFERENTIAL_PRIVACY + }; + +namespace SchemaConfigurationMapper +{ +AWS_CLEANROOMS_API SchemaConfiguration GetSchemaConfigurationForName(const Aws::String& name); + +AWS_CLEANROOMS_API Aws::String GetNameForSchemaConfiguration(SchemaConfiguration value); +} // namespace SchemaConfigurationMapper +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatus.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatus.h new file mode 100644 index 00000000000..383f50cdcfb --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatus.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + enum class SchemaStatus + { + NOT_SET, + READY, + NOT_READY + }; + +namespace SchemaStatusMapper +{ +AWS_CLEANROOMS_API SchemaStatus GetSchemaStatusForName(const Aws::String& name); + +AWS_CLEANROOMS_API Aws::String GetNameForSchemaStatus(SchemaStatus value); +} // namespace SchemaStatusMapper +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusDetail.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusDetail.h new file mode 100644 index 00000000000..c2b65dbe70e --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusDetail.h @@ -0,0 +1,207 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace CleanRooms +{ +namespace Model +{ + + /** + *

Information about the schema status.

A status of READY + * means that based on the schema analysis rule, queries of the given analysis rule + * type are properly configured to run queries on this schema.

See + * Also:

AWS + * API Reference

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

The status of the schema.

+ */ + inline const SchemaStatus& GetStatus() const{ return m_status; } + + /** + *

The status of the schema.

+ */ + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + + /** + *

The status of the schema.

+ */ + inline void SetStatus(const SchemaStatus& value) { m_statusHasBeenSet = true; m_status = value; } + + /** + *

The status of the schema.

+ */ + inline void SetStatus(SchemaStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + + /** + *

The status of the schema.

+ */ + inline SchemaStatusDetail& WithStatus(const SchemaStatus& value) { SetStatus(value); return *this;} + + /** + *

The status of the schema.

+ */ + inline SchemaStatusDetail& WithStatus(SchemaStatus&& value) { SetStatus(std::move(value)); return *this;} + + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline const Aws::Vector& GetReasons() const{ return m_reasons; } + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline bool ReasonsHasBeenSet() const { return m_reasonsHasBeenSet; } + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline void SetReasons(const Aws::Vector& value) { m_reasonsHasBeenSet = true; m_reasons = value; } + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline void SetReasons(Aws::Vector&& value) { m_reasonsHasBeenSet = true; m_reasons = std::move(value); } + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline SchemaStatusDetail& WithReasons(const Aws::Vector& value) { SetReasons(value); return *this;} + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline SchemaStatusDetail& WithReasons(Aws::Vector&& value) { SetReasons(std::move(value)); return *this;} + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline SchemaStatusDetail& AddReasons(const SchemaStatusReason& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(value); return *this; } + + /** + *

The reasons why the schema status is set to its current state.

+ */ + inline SchemaStatusDetail& AddReasons(SchemaStatusReason&& value) { m_reasonsHasBeenSet = true; m_reasons.push_back(std::move(value)); return *this; } + + + /** + *

The analysis rule type for which the schema status has been evaluated.

+ */ + inline const AnalysisRuleType& GetAnalysisRuleType() const{ return m_analysisRuleType; } + + /** + *

The analysis rule type for which the schema status has been evaluated.

+ */ + inline bool AnalysisRuleTypeHasBeenSet() const { return m_analysisRuleTypeHasBeenSet; } + + /** + *

The analysis rule type for which the schema status has been evaluated.

+ */ + inline void SetAnalysisRuleType(const AnalysisRuleType& value) { m_analysisRuleTypeHasBeenSet = true; m_analysisRuleType = value; } + + /** + *

The analysis rule type for which the schema status has been evaluated.

+ */ + inline void SetAnalysisRuleType(AnalysisRuleType&& value) { m_analysisRuleTypeHasBeenSet = true; m_analysisRuleType = std::move(value); } + + /** + *

The analysis rule type for which the schema status has been evaluated.

+ */ + inline SchemaStatusDetail& WithAnalysisRuleType(const AnalysisRuleType& value) { SetAnalysisRuleType(value); return *this;} + + /** + *

The analysis rule type for which the schema status has been evaluated.

+ */ + inline SchemaStatusDetail& WithAnalysisRuleType(AnalysisRuleType&& value) { SetAnalysisRuleType(std::move(value)); return *this;} + + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline const Aws::Vector& GetConfigurations() const{ return m_configurations; } + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline bool ConfigurationsHasBeenSet() const { return m_configurationsHasBeenSet; } + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline void SetConfigurations(const Aws::Vector& value) { m_configurationsHasBeenSet = true; m_configurations = value; } + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline void SetConfigurations(Aws::Vector&& value) { m_configurationsHasBeenSet = true; m_configurations = std::move(value); } + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline SchemaStatusDetail& WithConfigurations(const Aws::Vector& value) { SetConfigurations(value); return *this;} + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline SchemaStatusDetail& WithConfigurations(Aws::Vector&& value) { SetConfigurations(std::move(value)); return *this;} + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline SchemaStatusDetail& AddConfigurations(const SchemaConfiguration& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(value); return *this; } + + /** + *

The configuration details of the schema analysis rule for the given type.

+ */ + inline SchemaStatusDetail& AddConfigurations(SchemaConfiguration&& value) { m_configurationsHasBeenSet = true; m_configurations.push_back(std::move(value)); return *this; } + + private: + + SchemaStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Vector m_reasons; + bool m_reasonsHasBeenSet = false; + + AnalysisRuleType m_analysisRuleType; + bool m_analysisRuleTypeHasBeenSet = false; + + Aws::Vector m_configurations; + bool m_configurationsHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReason.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReason.h new file mode 100644 index 00000000000..4da4018b304 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReason.h @@ -0,0 +1,124 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace CleanRooms +{ +namespace Model +{ + + /** + *

A reason why the schema status is set to its current value.

See + * Also:

AWS + * API Reference

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

The schema status reason code.

+ */ + inline const SchemaStatusReasonCode& GetCode() const{ return m_code; } + + /** + *

The schema status reason code.

+ */ + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + + /** + *

The schema status reason code.

+ */ + inline void SetCode(const SchemaStatusReasonCode& value) { m_codeHasBeenSet = true; m_code = value; } + + /** + *

The schema status reason code.

+ */ + inline void SetCode(SchemaStatusReasonCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + + /** + *

The schema status reason code.

+ */ + inline SchemaStatusReason& WithCode(const SchemaStatusReasonCode& value) { SetCode(value); return *this;} + + /** + *

The schema status reason code.

+ */ + inline SchemaStatusReason& WithCode(SchemaStatusReasonCode&& value) { SetCode(std::move(value)); return *this;} + + + /** + *

An explanation of the schema status reason code.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + + /** + *

An explanation of the schema status reason code.

+ */ + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + + /** + *

An explanation of the schema status reason code.

+ */ + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + + /** + *

An explanation of the schema status reason code.

+ */ + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + + /** + *

An explanation of the schema status reason code.

+ */ + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + + /** + *

An explanation of the schema status reason code.

+ */ + inline SchemaStatusReason& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + + /** + *

An explanation of the schema status reason code.

+ */ + inline SchemaStatusReason& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + + /** + *

An explanation of the schema status reason code.

+ */ + inline SchemaStatusReason& WithMessage(const char* value) { SetMessage(value); return *this;} + + private: + + SchemaStatusReasonCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + }; + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReasonCode.h b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReasonCode.h new file mode 100644 index 00000000000..97b1478212b --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/include/aws/cleanrooms/model/SchemaStatusReasonCode.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + enum class SchemaStatusReasonCode + { + NOT_SET, + ANALYSIS_RULE_MISSING, + ANALYSIS_TEMPLATES_NOT_CONFIGURED, + ANALYSIS_PROVIDERS_NOT_CONFIGURED, + DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED + }; + +namespace SchemaStatusReasonCodeMapper +{ +AWS_CLEANROOMS_API SchemaStatusReasonCode GetSchemaStatusReasonCodeForName(const Aws::String& name); + +AWS_CLEANROOMS_API Aws::String GetNameForSchemaStatusReasonCode(SchemaStatusReasonCode value); +} // namespace SchemaStatusReasonCodeMapper +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsClient.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsClient.cpp index 38675c8e440..e0366bc8010 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsClient.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/CleanRoomsClient.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -292,6 +293,40 @@ BatchGetSchemaOutcome CleanRoomsClient::BatchGetSchema(const BatchGetSchemaReque {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +BatchGetSchemaAnalysisRuleOutcome CleanRoomsClient::BatchGetSchemaAnalysisRule(const BatchGetSchemaAnalysisRuleRequest& request) const +{ + AWS_OPERATION_GUARD(BatchGetSchemaAnalysisRule); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, BatchGetSchemaAnalysisRule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.CollaborationIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("BatchGetSchemaAnalysisRule", "Required field: CollaborationIdentifier, is not set"); + return BatchGetSchemaAnalysisRuleOutcome(Aws::Client::AWSError(CleanRoomsErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [CollaborationIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, BatchGetSchemaAnalysisRule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, BatchGetSchemaAnalysisRule, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".BatchGetSchemaAnalysisRule", + {{ 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( + [&]()-> BatchGetSchemaAnalysisRuleOutcome { + 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, BatchGetSchemaAnalysisRule, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/collaborations/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetCollaborationIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/batch-schema-analysis-rule"); + return BatchGetSchemaAnalysisRuleOutcome(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()}}); +} + CreateAnalysisTemplateOutcome CleanRoomsClient::CreateAnalysisTemplate(const CreateAnalysisTemplateRequest& request) const { AWS_OPERATION_GUARD(CreateAnalysisTemplate); diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleError.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleError.cpp new file mode 100644 index 00000000000..54b945e5532 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleError.cpp @@ -0,0 +1,105 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + +BatchGetSchemaAnalysisRuleError::BatchGetSchemaAnalysisRuleError() : + m_nameHasBeenSet(false), + m_type(AnalysisRuleType::NOT_SET), + m_typeHasBeenSet(false), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +BatchGetSchemaAnalysisRuleError::BatchGetSchemaAnalysisRuleError(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_type(AnalysisRuleType::NOT_SET), + m_typeHasBeenSet(false), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +BatchGetSchemaAnalysisRuleError& BatchGetSchemaAnalysisRuleError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = AnalysisRuleTypeMapper::GetAnalysisRuleTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + 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 BatchGetSchemaAnalysisRuleError::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", AnalysisRuleTypeMapper::GetNameForAnalysisRuleType(m_type)); + } + + if(m_codeHasBeenSet) + { + payload.WithString("code", m_code); + + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleRequest.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleRequest.cpp new file mode 100644 index 00000000000..a87ddbefcc2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleRequest.cpp @@ -0,0 +1,41 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::CleanRooms::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +BatchGetSchemaAnalysisRuleRequest::BatchGetSchemaAnalysisRuleRequest() : + m_collaborationIdentifierHasBeenSet(false), + m_schemaAnalysisRuleRequestsHasBeenSet(false) +{ +} + +Aws::String BatchGetSchemaAnalysisRuleRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_schemaAnalysisRuleRequestsHasBeenSet) + { + Aws::Utils::Array schemaAnalysisRuleRequestsJsonList(m_schemaAnalysisRuleRequests.size()); + for(unsigned schemaAnalysisRuleRequestsIndex = 0; schemaAnalysisRuleRequestsIndex < schemaAnalysisRuleRequestsJsonList.GetLength(); ++schemaAnalysisRuleRequestsIndex) + { + schemaAnalysisRuleRequestsJsonList[schemaAnalysisRuleRequestsIndex].AsObject(m_schemaAnalysisRuleRequests[schemaAnalysisRuleRequestsIndex].Jsonize()); + } + payload.WithArray("schemaAnalysisRuleRequests", std::move(schemaAnalysisRuleRequestsJsonList)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleResult.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleResult.cpp new file mode 100644 index 00000000000..df693bdd747 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/BatchGetSchemaAnalysisRuleResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::CleanRooms::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +BatchGetSchemaAnalysisRuleResult::BatchGetSchemaAnalysisRuleResult() +{ +} + +BatchGetSchemaAnalysisRuleResult::BatchGetSchemaAnalysisRuleResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +BatchGetSchemaAnalysisRuleResult& BatchGetSchemaAnalysisRuleResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("analysisRules")) + { + Aws::Utils::Array analysisRulesJsonList = jsonValue.GetArray("analysisRules"); + for(unsigned analysisRulesIndex = 0; analysisRulesIndex < analysisRulesJsonList.GetLength(); ++analysisRulesIndex) + { + m_analysisRules.push_back(analysisRulesJsonList[analysisRulesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("errors")) + { + Aws::Utils::Array errorsJsonList = jsonValue.GetArray("errors"); + for(unsigned errorsIndex = 0; errorsIndex < errorsJsonList.GetLength(); ++errorsIndex) + { + m_errors.push_back(errorsJsonList[errorsIndex].AsObject()); + } + } + + + 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-cleanrooms/source/model/ScalarFunctions.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/ScalarFunctions.cpp index b74ea9ddbe3..092ba360365 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/ScalarFunctions.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/ScalarFunctions.cpp @@ -20,40 +20,75 @@ namespace Aws namespace ScalarFunctionsMapper { - static const int TRUNC_HASH = HashingUtils::HashString("TRUNC"); static const int ABS_HASH = HashingUtils::HashString("ABS"); + static const int CAST_HASH = HashingUtils::HashString("CAST"); static const int CEILING_HASH = HashingUtils::HashString("CEILING"); + static const int COALESCE_HASH = HashingUtils::HashString("COALESCE"); + static const int CONVERT_HASH = HashingUtils::HashString("CONVERT"); + static const int CURRENT_DATE_HASH = HashingUtils::HashString("CURRENT_DATE"); + static const int DATEADD_HASH = HashingUtils::HashString("DATEADD"); + static const int EXTRACT_HASH = HashingUtils::HashString("EXTRACT"); static const int FLOOR_HASH = HashingUtils::HashString("FLOOR"); + static const int GETDATE_HASH = HashingUtils::HashString("GETDATE"); static const int LN_HASH = HashingUtils::HashString("LN"); static const int LOG_HASH = HashingUtils::HashString("LOG"); - static const int ROUND_HASH = HashingUtils::HashString("ROUND"); - static const int SQRT_HASH = HashingUtils::HashString("SQRT"); - static const int CAST_HASH = HashingUtils::HashString("CAST"); static const int LOWER_HASH = HashingUtils::HashString("LOWER"); + static const int ROUND_HASH = HashingUtils::HashString("ROUND"); static const int RTRIM_HASH = HashingUtils::HashString("RTRIM"); + static const int SQRT_HASH = HashingUtils::HashString("SQRT"); + static const int SUBSTRING_HASH = HashingUtils::HashString("SUBSTRING"); + static const int TO_CHAR_HASH = HashingUtils::HashString("TO_CHAR"); + static const int TO_DATE_HASH = HashingUtils::HashString("TO_DATE"); + static const int TO_NUMBER_HASH = HashingUtils::HashString("TO_NUMBER"); + static const int TO_TIMESTAMP_HASH = HashingUtils::HashString("TO_TIMESTAMP"); + static const int TRIM_HASH = HashingUtils::HashString("TRIM"); + static const int TRUNC_HASH = HashingUtils::HashString("TRUNC"); static const int UPPER_HASH = HashingUtils::HashString("UPPER"); - static const int COALESCE_HASH = HashingUtils::HashString("COALESCE"); ScalarFunctions GetScalarFunctionsForName(const Aws::String& name) { int hashCode = HashingUtils::HashString(name.c_str()); - if (hashCode == TRUNC_HASH) + if (hashCode == ABS_HASH) { - return ScalarFunctions::TRUNC; + return ScalarFunctions::ABS; } - else if (hashCode == ABS_HASH) + else if (hashCode == CAST_HASH) { - return ScalarFunctions::ABS; + return ScalarFunctions::CAST; } else if (hashCode == CEILING_HASH) { return ScalarFunctions::CEILING; } + else if (hashCode == COALESCE_HASH) + { + return ScalarFunctions::COALESCE; + } + else if (hashCode == CONVERT_HASH) + { + return ScalarFunctions::CONVERT; + } + else if (hashCode == CURRENT_DATE_HASH) + { + return ScalarFunctions::CURRENT_DATE; + } + else if (hashCode == DATEADD_HASH) + { + return ScalarFunctions::DATEADD; + } + else if (hashCode == EXTRACT_HASH) + { + return ScalarFunctions::EXTRACT; + } else if (hashCode == FLOOR_HASH) { return ScalarFunctions::FLOOR; } + else if (hashCode == GETDATE_HASH) + { + return ScalarFunctions::GETDATE; + } else if (hashCode == LN_HASH) { return ScalarFunctions::LN; @@ -62,33 +97,53 @@ namespace Aws { return ScalarFunctions::LOG; } + else if (hashCode == LOWER_HASH) + { + return ScalarFunctions::LOWER; + } else if (hashCode == ROUND_HASH) { return ScalarFunctions::ROUND; } + else if (hashCode == RTRIM_HASH) + { + return ScalarFunctions::RTRIM; + } else if (hashCode == SQRT_HASH) { return ScalarFunctions::SQRT; } - else if (hashCode == CAST_HASH) + else if (hashCode == SUBSTRING_HASH) { - return ScalarFunctions::CAST; + return ScalarFunctions::SUBSTRING; } - else if (hashCode == LOWER_HASH) + else if (hashCode == TO_CHAR_HASH) { - return ScalarFunctions::LOWER; + return ScalarFunctions::TO_CHAR; } - else if (hashCode == RTRIM_HASH) + else if (hashCode == TO_DATE_HASH) { - return ScalarFunctions::RTRIM; + return ScalarFunctions::TO_DATE; } - else if (hashCode == UPPER_HASH) + else if (hashCode == TO_NUMBER_HASH) { - return ScalarFunctions::UPPER; + return ScalarFunctions::TO_NUMBER; } - else if (hashCode == COALESCE_HASH) + else if (hashCode == TO_TIMESTAMP_HASH) { - return ScalarFunctions::COALESCE; + return ScalarFunctions::TO_TIMESTAMP; + } + else if (hashCode == TRIM_HASH) + { + return ScalarFunctions::TRIM; + } + else if (hashCode == TRUNC_HASH) + { + return ScalarFunctions::TRUNC; + } + else if (hashCode == UPPER_HASH) + { + return ScalarFunctions::UPPER; } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) @@ -106,32 +161,54 @@ namespace Aws { case ScalarFunctions::NOT_SET: return {}; - case ScalarFunctions::TRUNC: - return "TRUNC"; case ScalarFunctions::ABS: return "ABS"; + case ScalarFunctions::CAST: + return "CAST"; case ScalarFunctions::CEILING: return "CEILING"; + case ScalarFunctions::COALESCE: + return "COALESCE"; + case ScalarFunctions::CONVERT: + return "CONVERT"; + case ScalarFunctions::CURRENT_DATE: + return "CURRENT_DATE"; + case ScalarFunctions::DATEADD: + return "DATEADD"; + case ScalarFunctions::EXTRACT: + return "EXTRACT"; case ScalarFunctions::FLOOR: return "FLOOR"; + case ScalarFunctions::GETDATE: + return "GETDATE"; case ScalarFunctions::LN: return "LN"; case ScalarFunctions::LOG: return "LOG"; - case ScalarFunctions::ROUND: - return "ROUND"; - case ScalarFunctions::SQRT: - return "SQRT"; - case ScalarFunctions::CAST: - return "CAST"; case ScalarFunctions::LOWER: return "LOWER"; + case ScalarFunctions::ROUND: + return "ROUND"; case ScalarFunctions::RTRIM: return "RTRIM"; + case ScalarFunctions::SQRT: + return "SQRT"; + case ScalarFunctions::SUBSTRING: + return "SUBSTRING"; + case ScalarFunctions::TO_CHAR: + return "TO_CHAR"; + case ScalarFunctions::TO_DATE: + return "TO_DATE"; + case ScalarFunctions::TO_NUMBER: + return "TO_NUMBER"; + case ScalarFunctions::TO_TIMESTAMP: + return "TO_TIMESTAMP"; + case ScalarFunctions::TRIM: + return "TRIM"; + case ScalarFunctions::TRUNC: + return "TRUNC"; case ScalarFunctions::UPPER: return "UPPER"; - case ScalarFunctions::COALESCE: - return "COALESCE"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/Schema.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/Schema.cpp index a0fcfb55188..1848c7cfe0e 100644 --- a/generated/src/aws-cpp-sdk-cleanrooms/source/model/Schema.cpp +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/Schema.cpp @@ -32,7 +32,8 @@ Schema::Schema() : m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false), m_type(SchemaType::NOT_SET), - m_typeHasBeenSet(false) + m_typeHasBeenSet(false), + m_schemaStatusDetailsHasBeenSet(false) { } @@ -50,7 +51,8 @@ Schema::Schema(JsonView jsonValue) : m_createTimeHasBeenSet(false), m_updateTimeHasBeenSet(false), m_type(SchemaType::NOT_SET), - m_typeHasBeenSet(false) + m_typeHasBeenSet(false), + m_schemaStatusDetailsHasBeenSet(false) { *this = jsonValue; } @@ -150,6 +152,16 @@ Schema& Schema::operator =(JsonView jsonValue) m_typeHasBeenSet = true; } + if(jsonValue.ValueExists("schemaStatusDetails")) + { + Aws::Utils::Array schemaStatusDetailsJsonList = jsonValue.GetArray("schemaStatusDetails"); + for(unsigned schemaStatusDetailsIndex = 0; schemaStatusDetailsIndex < schemaStatusDetailsJsonList.GetLength(); ++schemaStatusDetailsIndex) + { + m_schemaStatusDetails.push_back(schemaStatusDetailsJsonList[schemaStatusDetailsIndex].AsObject()); + } + m_schemaStatusDetailsHasBeenSet = true; + } + return *this; } @@ -240,6 +252,17 @@ JsonValue Schema::Jsonize() const payload.WithString("type", SchemaTypeMapper::GetNameForSchemaType(m_type)); } + if(m_schemaStatusDetailsHasBeenSet) + { + Aws::Utils::Array schemaStatusDetailsJsonList(m_schemaStatusDetails.size()); + for(unsigned schemaStatusDetailsIndex = 0; schemaStatusDetailsIndex < schemaStatusDetailsJsonList.GetLength(); ++schemaStatusDetailsIndex) + { + schemaStatusDetailsJsonList[schemaStatusDetailsIndex].AsObject(m_schemaStatusDetails[schemaStatusDetailsIndex].Jsonize()); + } + payload.WithArray("schemaStatusDetails", std::move(schemaStatusDetailsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaAnalysisRuleRequest.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaAnalysisRuleRequest.cpp new file mode 100644 index 00000000000..caa975a7691 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaAnalysisRuleRequest.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + +SchemaAnalysisRuleRequest::SchemaAnalysisRuleRequest() : + m_nameHasBeenSet(false), + m_type(AnalysisRuleType::NOT_SET), + m_typeHasBeenSet(false) +{ +} + +SchemaAnalysisRuleRequest::SchemaAnalysisRuleRequest(JsonView jsonValue) : + m_nameHasBeenSet(false), + m_type(AnalysisRuleType::NOT_SET), + m_typeHasBeenSet(false) +{ + *this = jsonValue; +} + +SchemaAnalysisRuleRequest& SchemaAnalysisRuleRequest::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("name")) + { + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("type")) + { + m_type = AnalysisRuleTypeMapper::GetAnalysisRuleTypeForName(jsonValue.GetString("type")); + + m_typeHasBeenSet = true; + } + + return *this; +} + +JsonValue SchemaAnalysisRuleRequest::Jsonize() const +{ + JsonValue payload; + + if(m_nameHasBeenSet) + { + payload.WithString("name", m_name); + + } + + if(m_typeHasBeenSet) + { + payload.WithString("type", AnalysisRuleTypeMapper::GetNameForAnalysisRuleType(m_type)); + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaConfiguration.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaConfiguration.cpp new file mode 100644 index 00000000000..66c1a74abb1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaConfiguration.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace CleanRooms + { + namespace Model + { + namespace SchemaConfigurationMapper + { + + static const int DIFFERENTIAL_PRIVACY_HASH = HashingUtils::HashString("DIFFERENTIAL_PRIVACY"); + + + SchemaConfiguration GetSchemaConfigurationForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == DIFFERENTIAL_PRIVACY_HASH) + { + return SchemaConfiguration::DIFFERENTIAL_PRIVACY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SchemaConfiguration::NOT_SET; + } + + Aws::String GetNameForSchemaConfiguration(SchemaConfiguration enumValue) + { + switch(enumValue) + { + case SchemaConfiguration::NOT_SET: + return {}; + case SchemaConfiguration::DIFFERENTIAL_PRIVACY: + return "DIFFERENTIAL_PRIVACY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SchemaConfigurationMapper + } // namespace Model + } // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatus.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatus.cpp new file mode 100644 index 00000000000..e428fc44921 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatus.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace CleanRooms + { + namespace Model + { + namespace SchemaStatusMapper + { + + static const int READY_HASH = HashingUtils::HashString("READY"); + static const int NOT_READY_HASH = HashingUtils::HashString("NOT_READY"); + + + SchemaStatus GetSchemaStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == READY_HASH) + { + return SchemaStatus::READY; + } + else if (hashCode == NOT_READY_HASH) + { + return SchemaStatus::NOT_READY; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SchemaStatus::NOT_SET; + } + + Aws::String GetNameForSchemaStatus(SchemaStatus enumValue) + { + switch(enumValue) + { + case SchemaStatus::NOT_SET: + return {}; + case SchemaStatus::READY: + return "READY"; + case SchemaStatus::NOT_READY: + return "NOT_READY"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SchemaStatusMapper + } // namespace Model + } // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusDetail.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusDetail.cpp new file mode 100644 index 00000000000..df8cea42f80 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusDetail.cpp @@ -0,0 +1,122 @@ +/** + * 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 CleanRooms +{ +namespace Model +{ + +SchemaStatusDetail::SchemaStatusDetail() : + m_status(SchemaStatus::NOT_SET), + m_statusHasBeenSet(false), + m_reasonsHasBeenSet(false), + m_analysisRuleType(AnalysisRuleType::NOT_SET), + m_analysisRuleTypeHasBeenSet(false), + m_configurationsHasBeenSet(false) +{ +} + +SchemaStatusDetail::SchemaStatusDetail(JsonView jsonValue) : + m_status(SchemaStatus::NOT_SET), + m_statusHasBeenSet(false), + m_reasonsHasBeenSet(false), + m_analysisRuleType(AnalysisRuleType::NOT_SET), + m_analysisRuleTypeHasBeenSet(false), + m_configurationsHasBeenSet(false) +{ + *this = jsonValue; +} + +SchemaStatusDetail& SchemaStatusDetail::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("status")) + { + m_status = SchemaStatusMapper::GetSchemaStatusForName(jsonValue.GetString("status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("reasons")) + { + Aws::Utils::Array reasonsJsonList = jsonValue.GetArray("reasons"); + for(unsigned reasonsIndex = 0; reasonsIndex < reasonsJsonList.GetLength(); ++reasonsIndex) + { + m_reasons.push_back(reasonsJsonList[reasonsIndex].AsObject()); + } + m_reasonsHasBeenSet = true; + } + + if(jsonValue.ValueExists("analysisRuleType")) + { + m_analysisRuleType = AnalysisRuleTypeMapper::GetAnalysisRuleTypeForName(jsonValue.GetString("analysisRuleType")); + + m_analysisRuleTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("configurations")) + { + Aws::Utils::Array configurationsJsonList = jsonValue.GetArray("configurations"); + for(unsigned configurationsIndex = 0; configurationsIndex < configurationsJsonList.GetLength(); ++configurationsIndex) + { + m_configurations.push_back(SchemaConfigurationMapper::GetSchemaConfigurationForName(configurationsJsonList[configurationsIndex].AsString())); + } + m_configurationsHasBeenSet = true; + } + + return *this; +} + +JsonValue SchemaStatusDetail::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("status", SchemaStatusMapper::GetNameForSchemaStatus(m_status)); + } + + if(m_reasonsHasBeenSet) + { + Aws::Utils::Array reasonsJsonList(m_reasons.size()); + for(unsigned reasonsIndex = 0; reasonsIndex < reasonsJsonList.GetLength(); ++reasonsIndex) + { + reasonsJsonList[reasonsIndex].AsObject(m_reasons[reasonsIndex].Jsonize()); + } + payload.WithArray("reasons", std::move(reasonsJsonList)); + + } + + if(m_analysisRuleTypeHasBeenSet) + { + payload.WithString("analysisRuleType", AnalysisRuleTypeMapper::GetNameForAnalysisRuleType(m_analysisRuleType)); + } + + if(m_configurationsHasBeenSet) + { + Aws::Utils::Array configurationsJsonList(m_configurations.size()); + for(unsigned configurationsIndex = 0; configurationsIndex < configurationsJsonList.GetLength(); ++configurationsIndex) + { + configurationsJsonList[configurationsIndex].AsString(SchemaConfigurationMapper::GetNameForSchemaConfiguration(m_configurations[configurationsIndex])); + } + payload.WithArray("configurations", std::move(configurationsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReason.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReason.cpp new file mode 100644 index 00000000000..fb595717339 --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReason.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace CleanRooms +{ +namespace Model +{ + +SchemaStatusReason::SchemaStatusReason() : + m_code(SchemaStatusReasonCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false) +{ +} + +SchemaStatusReason::SchemaStatusReason(JsonView jsonValue) : + m_code(SchemaStatusReasonCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false) +{ + *this = jsonValue; +} + +SchemaStatusReason& SchemaStatusReason::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("code")) + { + m_code = SchemaStatusReasonCodeMapper::GetSchemaStatusReasonCodeForName(jsonValue.GetString("code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue SchemaStatusReason::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("code", SchemaStatusReasonCodeMapper::GetNameForSchemaStatusReasonCode(m_code)); + } + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReasonCode.cpp b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReasonCode.cpp new file mode 100644 index 00000000000..007f7b6e59b --- /dev/null +++ b/generated/src/aws-cpp-sdk-cleanrooms/source/model/SchemaStatusReasonCode.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace CleanRooms + { + namespace Model + { + namespace SchemaStatusReasonCodeMapper + { + + static const int ANALYSIS_RULE_MISSING_HASH = HashingUtils::HashString("ANALYSIS_RULE_MISSING"); + static const int ANALYSIS_TEMPLATES_NOT_CONFIGURED_HASH = HashingUtils::HashString("ANALYSIS_TEMPLATES_NOT_CONFIGURED"); + static const int ANALYSIS_PROVIDERS_NOT_CONFIGURED_HASH = HashingUtils::HashString("ANALYSIS_PROVIDERS_NOT_CONFIGURED"); + static const int DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED_HASH = HashingUtils::HashString("DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED"); + + + SchemaStatusReasonCode GetSchemaStatusReasonCodeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ANALYSIS_RULE_MISSING_HASH) + { + return SchemaStatusReasonCode::ANALYSIS_RULE_MISSING; + } + else if (hashCode == ANALYSIS_TEMPLATES_NOT_CONFIGURED_HASH) + { + return SchemaStatusReasonCode::ANALYSIS_TEMPLATES_NOT_CONFIGURED; + } + else if (hashCode == ANALYSIS_PROVIDERS_NOT_CONFIGURED_HASH) + { + return SchemaStatusReasonCode::ANALYSIS_PROVIDERS_NOT_CONFIGURED; + } + else if (hashCode == DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED_HASH) + { + return SchemaStatusReasonCode::DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SchemaStatusReasonCode::NOT_SET; + } + + Aws::String GetNameForSchemaStatusReasonCode(SchemaStatusReasonCode enumValue) + { + switch(enumValue) + { + case SchemaStatusReasonCode::NOT_SET: + return {}; + case SchemaStatusReasonCode::ANALYSIS_RULE_MISSING: + return "ANALYSIS_RULE_MISSING"; + case SchemaStatusReasonCode::ANALYSIS_TEMPLATES_NOT_CONFIGURED: + return "ANALYSIS_TEMPLATES_NOT_CONFIGURED"; + case SchemaStatusReasonCode::ANALYSIS_PROVIDERS_NOT_CONFIGURED: + return "ANALYSIS_PROVIDERS_NOT_CONFIGURED"; + case SchemaStatusReasonCode::DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: + return "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SchemaStatusReasonCodeMapper + } // namespace Model + } // namespace CleanRooms +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h index e4b88716926..88ebd13abd0 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h @@ -801,7 +801,17 @@ namespace Model r7iz_metal_32xl, c7gd_metal, m7gd_metal, - r7gd_metal + r7gd_metal, + g6_xlarge, + g6_2xlarge, + g6_4xlarge, + g6_8xlarge, + g6_12xlarge, + g6_16xlarge, + g6_24xlarge, + g6_48xlarge, + gr6_4xlarge, + gr6_8xlarge }; namespace InstanceTypeMapper diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp index 2a603b54246..96f9bc93002 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp @@ -806,6 +806,16 @@ namespace Aws static const int c7gd_metal_HASH = HashingUtils::HashString("c7gd.metal"); static const int m7gd_metal_HASH = HashingUtils::HashString("m7gd.metal"); static const int r7gd_metal_HASH = HashingUtils::HashString("r7gd.metal"); + static const int g6_xlarge_HASH = HashingUtils::HashString("g6.xlarge"); + static const int g6_2xlarge_HASH = HashingUtils::HashString("g6.2xlarge"); + static const int g6_4xlarge_HASH = HashingUtils::HashString("g6.4xlarge"); + static const int g6_8xlarge_HASH = HashingUtils::HashString("g6.8xlarge"); + static const int g6_12xlarge_HASH = HashingUtils::HashString("g6.12xlarge"); + static const int g6_16xlarge_HASH = HashingUtils::HashString("g6.16xlarge"); + static const int g6_24xlarge_HASH = HashingUtils::HashString("g6.24xlarge"); + static const int g6_48xlarge_HASH = HashingUtils::HashString("g6.48xlarge"); + static const int gr6_4xlarge_HASH = HashingUtils::HashString("gr6.4xlarge"); + static const int gr6_8xlarge_HASH = HashingUtils::HashString("gr6.8xlarge"); /* The if-else chains in this file are converted into a jump table by the compiler, @@ -4768,6 +4778,56 @@ namespace Aws enumValue = InstanceType::r7gd_metal; return true; } + else if (hashCode == g6_xlarge_HASH) + { + enumValue = InstanceType::g6_xlarge; + return true; + } + else if (hashCode == g6_2xlarge_HASH) + { + enumValue = InstanceType::g6_2xlarge; + return true; + } + else if (hashCode == g6_4xlarge_HASH) + { + enumValue = InstanceType::g6_4xlarge; + return true; + } + else if (hashCode == g6_8xlarge_HASH) + { + enumValue = InstanceType::g6_8xlarge; + return true; + } + else if (hashCode == g6_12xlarge_HASH) + { + enumValue = InstanceType::g6_12xlarge; + return true; + } + else if (hashCode == g6_16xlarge_HASH) + { + enumValue = InstanceType::g6_16xlarge; + return true; + } + else if (hashCode == g6_24xlarge_HASH) + { + enumValue = InstanceType::g6_24xlarge; + return true; + } + else if (hashCode == g6_48xlarge_HASH) + { + enumValue = InstanceType::g6_48xlarge; + return true; + } + else if (hashCode == gr6_4xlarge_HASH) + { + enumValue = InstanceType::gr6_4xlarge; + return true; + } + else if (hashCode == gr6_8xlarge_HASH) + { + enumValue = InstanceType::gr6_8xlarge; + return true; + } return false; } @@ -7181,6 +7241,36 @@ namespace Aws case InstanceType::r7gd_metal: value = "r7gd.metal"; return true; + case InstanceType::g6_xlarge: + value = "g6.xlarge"; + return true; + case InstanceType::g6_2xlarge: + value = "g6.2xlarge"; + return true; + case InstanceType::g6_4xlarge: + value = "g6.4xlarge"; + return true; + case InstanceType::g6_8xlarge: + value = "g6.8xlarge"; + return true; + case InstanceType::g6_12xlarge: + value = "g6.12xlarge"; + return true; + case InstanceType::g6_16xlarge: + value = "g6.16xlarge"; + return true; + case InstanceType::g6_24xlarge: + value = "g6.24xlarge"; + return true; + case InstanceType::g6_48xlarge: + value = "g6.48xlarge"; + return true; + case InstanceType::gr6_4xlarge: + value = "gr6.4xlarge"; + return true; + case InstanceType::gr6_8xlarge: + value = "gr6.8xlarge"; + return true; default: return false; } diff --git a/generated/src/aws-cpp-sdk-emr-containers/include/aws/emr-containers/EMRContainersClient.h b/generated/src/aws-cpp-sdk-emr-containers/include/aws/emr-containers/EMRContainersClient.h index f6c066ce7bb..36b66d8db69 100644 --- a/generated/src/aws-cpp-sdk-emr-containers/include/aws/emr-containers/EMRContainersClient.h +++ b/generated/src/aws-cpp-sdk-emr-containers/include/aws/emr-containers/EMRContainersClient.h @@ -23,10 +23,10 @@ namespace EMRContainers * open-source applications. For more information about Amazon EMR on EKS concepts * and tasks, see What - * is shared id="EMR-EKS"/>.

Amazon EMR containers is the API - * name for Amazon EMR on EKS. The emr-containers prefix is used in - * the following scenarios:

RecordingConfiguration Endpoints

- *

Recording Configuration Endpoints + *

  • CreateRecordingConfiguration — Creates a new recording * configuration, used to enable recording to Amazon S3.

  • * GetRecordingConfiguration — Gets the recording-configuration metadata for * the specified ARN.

  • ListRecordingConfigurations — Gets @@ -164,7 +160,7 @@ namespace IVS * specified channel. At most 5 requests per second per channel are allowed, each * with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we * recommend batching your data into a single PutMetadata call.) At most 155 - * requests per second per account are allowed.

StreamKey + * requests per second per account are allowed.

Stream Key * Endpoints

  • CreateStreamKey — Creates a stream key, * used to initiate a stream, for the specified channel ARN.

  • * GetStreamKey — Gets stream key information for the specified ARN.

    diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h index cb73f06cec2..3efea3db6b5 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Channel.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -473,6 +474,43 @@ namespace Model inline Channel& WithRecordingConfigurationArn(const char* value) { SetRecordingConfigurationArn(value); return *this;} + /** + *

    Specifies the endpoint and optional passphrase for streaming with the SRT + * protocol.

    + */ + inline const Srt& GetSrt() const{ return m_srt; } + + /** + *

    Specifies the endpoint and optional passphrase for streaming with the SRT + * protocol.

    + */ + inline bool SrtHasBeenSet() const { return m_srtHasBeenSet; } + + /** + *

    Specifies the endpoint and optional passphrase for streaming with the SRT + * protocol.

    + */ + inline void SetSrt(const Srt& value) { m_srtHasBeenSet = true; m_srt = value; } + + /** + *

    Specifies the endpoint and optional passphrase for streaming with the SRT + * protocol.

    + */ + inline void SetSrt(Srt&& value) { m_srtHasBeenSet = true; m_srt = std::move(value); } + + /** + *

    Specifies the endpoint and optional passphrase for streaming with the SRT + * protocol.

    + */ + inline Channel& WithSrt(const Srt& value) { SetSrt(value); return *this;} + + /** + *

    Specifies the endpoint and optional passphrase for streaming with the SRT + * protocol.

    + */ + inline Channel& WithSrt(Srt&& value) { SetSrt(std::move(value)); return *this;} + + /** *

    Tags attached to the resource. Array of 1-50 maps, each of the form * string:string (key:value). See m_tags; bool m_tagsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h index 1429c721120..7cebacc238b 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/CreateChannelRequest.h @@ -62,25 +62,25 @@ namespace Model /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline bool GetInsecureIngest() const{ return m_insecureIngest; } /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline CreateChannelRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Srt.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Srt.h new file mode 100644 index 00000000000..a98a9171338 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/Srt.h @@ -0,0 +1,149 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace IVS +{ +namespace Model +{ + + /** + *

    Specifies information needed to stream using the SRT protocol.

    See + * Also:

    AWS API + * Reference

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

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline const Aws::String& GetEndpoint() const{ return m_endpoint; } + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; } + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); } + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline Srt& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;} + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline Srt& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;} + + /** + *

    The endpoint to be used when streaming with IVS using the SRT protocol.

    + */ + inline Srt& WithEndpoint(const char* value) { SetEndpoint(value); return *this;} + + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline const Aws::String& GetPassphrase() const{ return m_passphrase; } + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline bool PassphraseHasBeenSet() const { return m_passphraseHasBeenSet; } + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline void SetPassphrase(const Aws::String& value) { m_passphraseHasBeenSet = true; m_passphrase = value; } + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline void SetPassphrase(Aws::String&& value) { m_passphraseHasBeenSet = true; m_passphrase = std::move(value); } + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline void SetPassphrase(const char* value) { m_passphraseHasBeenSet = true; m_passphrase.assign(value); } + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline Srt& WithPassphrase(const Aws::String& value) { SetPassphrase(value); return *this;} + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline Srt& WithPassphrase(Aws::String&& value) { SetPassphrase(std::move(value)); return *this;} + + /** + *

    Auto-generated passphrase to enable encryption. This field is applicable only + * if the end user has not enabled the insecureIngest option + * for the channel.

    + */ + inline Srt& WithPassphrase(const char* value) { SetPassphrase(value); return *this;} + + private: + + Aws::String m_endpoint; + bool m_endpointHasBeenSet = false; + + Aws::String m_passphrase; + bool m_passphraseHasBeenSet = false; + }; + +} // namespace Model +} // namespace IVS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h index 723d4f01904..aa2d3ae5df1 100644 --- a/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h +++ b/generated/src/aws-cpp-sdk-ivs/include/aws/ivs/model/UpdateChannelRequest.h @@ -98,25 +98,25 @@ namespace Model /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline bool GetInsecureIngest() const{ return m_insecureIngest; } /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline bool InsecureIngestHasBeenSet() const { return m_insecureIngestHasBeenSet; } /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline void SetInsecureIngest(bool value) { m_insecureIngestHasBeenSet = true; m_insecureIngest = value; } /** - *

    Whether the channel allows insecure RTMP ingest. Default: + *

    Whether the channel allows insecure RTMP and SRT ingest. Default: * false.

    */ inline UpdateChannelRequest& WithInsecureIngest(bool value) { SetInsecureIngest(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp index e77aded0b97..92cbe565373 100644 --- a/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp +++ b/generated/src/aws-cpp-sdk-ivs/source/model/Channel.cpp @@ -33,6 +33,7 @@ Channel::Channel() : m_preset(TranscodePreset::NOT_SET), m_presetHasBeenSet(false), m_recordingConfigurationArnHasBeenSet(false), + m_srtHasBeenSet(false), m_tagsHasBeenSet(false), m_type(ChannelType::NOT_SET), m_typeHasBeenSet(false) @@ -54,6 +55,7 @@ Channel::Channel(JsonView jsonValue) : m_preset(TranscodePreset::NOT_SET), m_presetHasBeenSet(false), m_recordingConfigurationArnHasBeenSet(false), + m_srtHasBeenSet(false), m_tagsHasBeenSet(false), m_type(ChannelType::NOT_SET), m_typeHasBeenSet(false) @@ -133,6 +135,13 @@ Channel& Channel::operator =(JsonView jsonValue) m_recordingConfigurationArnHasBeenSet = true; } + if(jsonValue.ValueExists("srt")) + { + m_srt = jsonValue.GetObject("srt"); + + m_srtHasBeenSet = true; + } + if(jsonValue.ValueExists("tags")) { Aws::Map tagsJsonMap = jsonValue.GetObject("tags").GetAllObjects(); @@ -215,6 +224,12 @@ JsonValue Channel::Jsonize() const } + if(m_srtHasBeenSet) + { + payload.WithObject("srt", m_srt.Jsonize()); + + } + if(m_tagsHasBeenSet) { JsonValue tagsJsonMap; diff --git a/generated/src/aws-cpp-sdk-ivs/source/model/Srt.cpp b/generated/src/aws-cpp-sdk-ivs/source/model/Srt.cpp new file mode 100644 index 00000000000..4e49732b8dc --- /dev/null +++ b/generated/src/aws-cpp-sdk-ivs/source/model/Srt.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 IVS +{ +namespace Model +{ + +Srt::Srt() : + m_endpointHasBeenSet(false), + m_passphraseHasBeenSet(false) +{ +} + +Srt::Srt(JsonView jsonValue) : + m_endpointHasBeenSet(false), + m_passphraseHasBeenSet(false) +{ + *this = jsonValue; +} + +Srt& Srt::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("endpoint")) + { + m_endpoint = jsonValue.GetString("endpoint"); + + m_endpointHasBeenSet = true; + } + + if(jsonValue.ValueExists("passphrase")) + { + m_passphrase = jsonValue.GetString("passphrase"); + + m_passphraseHasBeenSet = true; + } + + return *this; +} + +JsonValue Srt::Jsonize() const +{ + JsonValue payload; + + if(m_endpointHasBeenSet) + { + payload.WithString("endpoint", m_endpoint); + + } + + if(m_passphraseHasBeenSet) + { + payload.WithString("passphrase", m_passphrase); + + } + + return payload; +} + +} // namespace Model +} // namespace IVS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedInputItem.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedInputItem.h index 8b9e0918f05..b7b995473cf 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedInputItem.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedInputItem.h @@ -78,75 +78,75 @@ namespace Model /** - *

    Specifies the requested action to be authorized. For example, is the - * principal authorized to perform this action on the resource?

    + *

    Specifies the requested action to be authorized. For example, + * PhotoFlash::ReadPhoto.

    */ inline const ActionIdentifier& GetAction() const{ return m_action; } /** - *

    Specifies the requested action to be authorized. For example, is the - * principal authorized to perform this action on the resource?

    + *

    Specifies the requested action to be authorized. For example, + * PhotoFlash::ReadPhoto.

    */ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** - *

    Specifies the requested action to be authorized. For example, is the - * principal authorized to perform this action on the resource?

    + *

    Specifies the requested action to be authorized. For example, + * PhotoFlash::ReadPhoto.

    */ inline void SetAction(const ActionIdentifier& value) { m_actionHasBeenSet = true; m_action = value; } /** - *

    Specifies the requested action to be authorized. For example, is the - * principal authorized to perform this action on the resource?

    + *

    Specifies the requested action to be authorized. For example, + * PhotoFlash::ReadPhoto.

    */ inline void SetAction(ActionIdentifier&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** - *

    Specifies the requested action to be authorized. For example, is the - * principal authorized to perform this action on the resource?

    + *

    Specifies the requested action to be authorized. For example, + * PhotoFlash::ReadPhoto.

    */ inline BatchIsAuthorizedInputItem& WithAction(const ActionIdentifier& value) { SetAction(value); return *this;} /** - *

    Specifies the requested action to be authorized. For example, is the - * principal authorized to perform this action on the resource?

    + *

    Specifies the requested action to be authorized. For example, + * PhotoFlash::ReadPhoto.

    */ inline BatchIsAuthorizedInputItem& WithAction(ActionIdentifier&& value) { SetAction(std::move(value)); return *this;} /** - *

    Specifies the resource for which the authorization decision is to be - * made.

    + *

    Specifies the resource that you want an authorization decision for. For + * example, PhotoFlash::Photo.

    */ inline const EntityIdentifier& GetResource() const{ return m_resource; } /** - *

    Specifies the resource for which the authorization decision is to be - * made.

    + *

    Specifies the resource that you want an authorization decision for. For + * example, PhotoFlash::Photo.

    */ inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; } /** - *

    Specifies the resource for which the authorization decision is to be - * made.

    + *

    Specifies the resource that you want an authorization decision for. For + * example, PhotoFlash::Photo.

    */ inline void SetResource(const EntityIdentifier& value) { m_resourceHasBeenSet = true; m_resource = value; } /** - *

    Specifies the resource for which the authorization decision is to be - * made.

    + *

    Specifies the resource that you want an authorization decision for. For + * example, PhotoFlash::Photo.

    */ inline void SetResource(EntityIdentifier&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); } /** - *

    Specifies the resource for which the authorization decision is to be - * made.

    + *

    Specifies the resource that you want an authorization decision for. For + * example, PhotoFlash::Photo.

    */ inline BatchIsAuthorizedInputItem& WithResource(const EntityIdentifier& value) { SetResource(value); return *this;} /** - *

    Specifies the resource for which the authorization decision is to be - * made.

    + *

    Specifies the resource that you want an authorization decision for. For + * example, PhotoFlash::Photo.

    */ inline BatchIsAuthorizedInputItem& WithResource(EntityIdentifier&& value) { SetResource(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedOutputItem.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedOutputItem.h index efb1c4b91fa..c3cacb6272e 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedOutputItem.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/BatchIsAuthorizedOutputItem.h @@ -193,58 +193,58 @@ namespace Model /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; } /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline void SetErrors(const Aws::Vector& value) { m_errorsHasBeenSet = true; m_errors = value; } /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline void SetErrors(Aws::Vector&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); } /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline BatchIsAuthorizedOutputItem& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline BatchIsAuthorizedOutputItem& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline BatchIsAuthorizedOutputItem& AddErrors(const EvaluationErrorItem& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; } /** - *

    Errors that occurred while making an authorization decision, for example, a - * policy references an Entity or entity Attribute that does not exist in the - * slice.

    + *

    Errors that occurred while making an authorization decision. For example, a + * policy might reference an entity or attribute that doesn't exist in the + * request.

    */ inline BatchIsAuthorizedOutputItem& AddErrors(EvaluationErrorItem&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfiguration.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfiguration.h new file mode 100644 index 00000000000..83d961c2fc9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfiguration.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 +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace VerifiedPermissions +{ +namespace Model +{ + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    This data type is part of a CognitoUserPoolConfiguration + * structure and is a request parameter in CreateIdentitySource.

    See + * Also:

    AWS + * API Reference

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

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline const Aws::String& GetGroupEntityType() const{ return m_groupEntityType; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline bool GroupEntityTypeHasBeenSet() const { return m_groupEntityTypeHasBeenSet; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const Aws::String& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = value; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(Aws::String&& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = std::move(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const char* value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType.assign(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfiguration& WithGroupEntityType(const Aws::String& value) { SetGroupEntityType(value); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfiguration& WithGroupEntityType(Aws::String&& value) { SetGroupEntityType(std::move(value)); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfiguration& WithGroupEntityType(const char* value) { SetGroupEntityType(value); return *this;} + + private: + + Aws::String m_groupEntityType; + bool m_groupEntityTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationDetail.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationDetail.h new file mode 100644 index 00000000000..43403c3d431 --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationDetail.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 +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace VerifiedPermissions +{ +namespace Model +{ + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    This data type is part of an CognitoUserPoolConfigurationDetail + * structure and is a response parameter to GetIdentitySource.

    See + * Also:

    AWS + * API Reference

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

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline const Aws::String& GetGroupEntityType() const{ return m_groupEntityType; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline bool GroupEntityTypeHasBeenSet() const { return m_groupEntityTypeHasBeenSet; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const Aws::String& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = value; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(Aws::String&& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = std::move(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const char* value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType.assign(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfigurationDetail& WithGroupEntityType(const Aws::String& value) { SetGroupEntityType(value); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfigurationDetail& WithGroupEntityType(Aws::String&& value) { SetGroupEntityType(std::move(value)); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfigurationDetail& WithGroupEntityType(const char* value) { SetGroupEntityType(value); return *this;} + + private: + + Aws::String m_groupEntityType; + bool m_groupEntityTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationItem.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationItem.h new file mode 100644 index 00000000000..3605241ea1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoGroupConfigurationItem.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 +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace VerifiedPermissions +{ +namespace Model +{ + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    This data type is part of an CognitoUserPoolConfigurationItem + * structure and is a response parameter to ListIdentitySources.

    See + * Also:

    AWS + * API Reference

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

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline const Aws::String& GetGroupEntityType() const{ return m_groupEntityType; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline bool GroupEntityTypeHasBeenSet() const { return m_groupEntityTypeHasBeenSet; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const Aws::String& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = value; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(Aws::String&& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = std::move(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const char* value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType.assign(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfigurationItem& WithGroupEntityType(const Aws::String& value) { SetGroupEntityType(value); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfigurationItem& WithGroupEntityType(Aws::String&& value) { SetGroupEntityType(std::move(value)); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline CognitoGroupConfigurationItem& WithGroupEntityType(const char* value) { SetGroupEntityType(value); return *this;} + + private: + + Aws::String m_groupEntityType; + bool m_groupEntityTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfiguration.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfiguration.h index 96c15f2595e..74072857b25 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfiguration.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfiguration.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -32,7 +33,8 @@ namespace Model * structure that is used as a parameter to CreateIdentitySource.

    *

    Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}

    See Also:

    See Also:

    AWS * API Reference

    */ @@ -189,6 +191,43 @@ namespace Model */ inline CognitoUserPoolConfiguration& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline const CognitoGroupConfiguration& GetGroupConfiguration() const{ return m_groupConfiguration; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline void SetGroupConfiguration(const CognitoGroupConfiguration& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline void SetGroupConfiguration(CognitoGroupConfiguration&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline CognitoUserPoolConfiguration& WithGroupConfiguration(const CognitoGroupConfiguration& value) { SetGroupConfiguration(value); return *this;} + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline CognitoUserPoolConfiguration& WithGroupConfiguration(CognitoGroupConfiguration&& value) { SetGroupConfiguration(std::move(value)); return *this;} + private: Aws::String m_userPoolArn; @@ -196,6 +235,9 @@ namespace Model Aws::Vector m_clientIds; bool m_clientIdsHasBeenSet = false; + + CognitoGroupConfiguration m_groupConfiguration; + bool m_groupConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationDetail.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationDetail.h index 36091634ca9..f8764ba0842 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationDetail.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationDetail.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -32,7 +33,8 @@ namespace Model * structure that is part of the response to GetIdentitySource.

    *

    Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}

    See Also:

    See Also:

    AWS * API Reference

    */ @@ -254,6 +256,43 @@ namespace Model */ inline CognitoUserPoolConfigurationDetail& WithIssuer(const char* value) { SetIssuer(value); return *this;} + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline const CognitoGroupConfigurationDetail& GetGroupConfiguration() const{ return m_groupConfiguration; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline void SetGroupConfiguration(const CognitoGroupConfigurationDetail& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline void SetGroupConfiguration(CognitoGroupConfigurationDetail&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline CognitoUserPoolConfigurationDetail& WithGroupConfiguration(const CognitoGroupConfigurationDetail& value) { SetGroupConfiguration(value); return *this;} + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline CognitoUserPoolConfigurationDetail& WithGroupConfiguration(CognitoGroupConfigurationDetail&& value) { SetGroupConfiguration(std::move(value)); return *this;} + private: Aws::String m_userPoolArn; @@ -264,6 +303,9 @@ namespace Model Aws::String m_issuer; bool m_issuerHasBeenSet = false; + + CognitoGroupConfigurationDetail m_groupConfiguration; + bool m_groupConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationItem.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationItem.h index 8819afa4ce0..5a7f9a09dcc 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationItem.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/CognitoUserPoolConfigurationItem.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -32,7 +33,8 @@ namespace Model * structure that is part of the response to ListIdentitySources.

    *

    Example:"CognitoUserPoolConfiguration":{"UserPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","ClientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}

    See Also:

    See Also:

    AWS * API Reference

    */ @@ -254,6 +256,43 @@ namespace Model */ inline CognitoUserPoolConfigurationItem& WithIssuer(const char* value) { SetIssuer(value); return *this;} + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline const CognitoGroupConfigurationItem& GetGroupConfiguration() const{ return m_groupConfiguration; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline void SetGroupConfiguration(const CognitoGroupConfigurationItem& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline void SetGroupConfiguration(CognitoGroupConfigurationItem&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); } + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline CognitoUserPoolConfigurationItem& WithGroupConfiguration(const CognitoGroupConfigurationItem& value) { SetGroupConfiguration(value); return *this;} + + /** + *

    The type of entity that a policy store maps to groups from an Amazon Cognito + * user pool identity source.

    + */ + inline CognitoUserPoolConfigurationItem& WithGroupConfiguration(CognitoGroupConfigurationItem&& value) { SetGroupConfiguration(std::move(value)); return *this;} + private: Aws::String m_userPoolArn; @@ -264,6 +303,9 @@ namespace Model Aws::String m_issuer; bool m_issuerHasBeenSet = false; + + CognitoGroupConfigurationItem m_groupConfiguration; + bool m_groupConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/Configuration.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/Configuration.h index 6b228d14f35..0f83b451706 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/Configuration.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/Configuration.h @@ -26,9 +26,10 @@ namespace Model /** *

    Contains configuration information used when creating a new identity * source.

    At this time, the only valid member of this structure is a - * Amazon Cognito user pool configuration.

    You must specify a - * userPoolArn, and optionally, a ClientId.

    - *

    This data type is used as a request parameter for the

    Specifies a + * userPoolArn, a groupConfiguration, and a + * ClientId.

    This data type is used as a request + * parameter for the CreateIdentitySource * operation.

    See Also:

    AWS @@ -51,7 +52,8 @@ namespace Model * Resource Name (ARN) of a Amazon Cognito user pool and one or more * application client IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline const CognitoUserPoolConfiguration& GetCognitoUserPoolConfiguration() const{ return m_cognitoUserPoolConfiguration; } @@ -63,7 +65,8 @@ namespace Model * Resource Name (ARN) of a Amazon Cognito user pool and one or more * application client IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline bool CognitoUserPoolConfigurationHasBeenSet() const { return m_cognitoUserPoolConfigurationHasBeenSet; } @@ -75,7 +78,8 @@ namespace Model * Resource Name (ARN) of a Amazon Cognito user pool and one or more * application client IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline void SetCognitoUserPoolConfiguration(const CognitoUserPoolConfiguration& value) { m_cognitoUserPoolConfigurationHasBeenSet = true; m_cognitoUserPoolConfiguration = value; } @@ -87,7 +91,8 @@ namespace Model * Resource Name (ARN) of a Amazon Cognito user pool and one or more * application client IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline void SetCognitoUserPoolConfiguration(CognitoUserPoolConfiguration&& value) { m_cognitoUserPoolConfigurationHasBeenSet = true; m_cognitoUserPoolConfiguration = std::move(value); } @@ -99,7 +104,8 @@ namespace Model * Resource Name (ARN) of a Amazon Cognito user pool and one or more * application client IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline Configuration& WithCognitoUserPoolConfiguration(const CognitoUserPoolConfiguration& value) { SetCognitoUserPoolConfiguration(value); return *this;} @@ -111,7 +117,8 @@ namespace Model * Resource Name (ARN) of a Amazon Cognito user pool and one or more * application client IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline Configuration& WithCognitoUserPoolConfiguration(CognitoUserPoolConfiguration&& value) { SetCognitoUserPoolConfiguration(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationDetail.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationDetail.h index 24cb2f7fa97..429910cd6c1 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationDetail.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationDetail.h @@ -45,10 +45,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline const CognitoUserPoolConfigurationDetail& GetCognitoUserPoolConfiguration() const{ return m_cognitoUserPoolConfiguration; } @@ -57,10 +59,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline bool CognitoUserPoolConfigurationHasBeenSet() const { return m_cognitoUserPoolConfigurationHasBeenSet; } @@ -69,10 +73,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline void SetCognitoUserPoolConfiguration(const CognitoUserPoolConfigurationDetail& value) { m_cognitoUserPoolConfigurationHasBeenSet = true; m_cognitoUserPoolConfiguration = value; } @@ -81,10 +87,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline void SetCognitoUserPoolConfiguration(CognitoUserPoolConfigurationDetail&& value) { m_cognitoUserPoolConfigurationHasBeenSet = true; m_cognitoUserPoolConfiguration = std::move(value); } @@ -93,10 +101,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline ConfigurationDetail& WithCognitoUserPoolConfiguration(const CognitoUserPoolConfigurationDetail& value) { SetCognitoUserPoolConfiguration(value); return *this;} @@ -105,10 +115,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline ConfigurationDetail& WithCognitoUserPoolConfiguration(CognitoUserPoolConfigurationDetail&& value) { SetCognitoUserPoolConfiguration(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationItem.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationItem.h index 8512a2b76a0..1b219c3e434 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationItem.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/ConfigurationItem.h @@ -45,10 +45,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline const CognitoUserPoolConfigurationItem& GetCognitoUserPoolConfiguration() const{ return m_cognitoUserPoolConfiguration; } @@ -57,10 +59,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline bool CognitoUserPoolConfigurationHasBeenSet() const { return m_cognitoUserPoolConfigurationHasBeenSet; } @@ -69,10 +73,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline void SetCognitoUserPoolConfiguration(const CognitoUserPoolConfigurationItem& value) { m_cognitoUserPoolConfigurationHasBeenSet = true; m_cognitoUserPoolConfiguration = value; } @@ -81,10 +87,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline void SetCognitoUserPoolConfiguration(CognitoUserPoolConfigurationItem&& value) { m_cognitoUserPoolConfigurationHasBeenSet = true; m_cognitoUserPoolConfiguration = std::move(value); } @@ -93,10 +101,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline ConfigurationItem& WithCognitoUserPoolConfiguration(const CognitoUserPoolConfigurationItem& value) { SetCognitoUserPoolConfiguration(value); return *this;} @@ -105,10 +115,12 @@ namespace Model * Permissions can use as a source of authenticated identities as entities. It * specifies the Amazon - * Resource Name (ARN) of a Amazon Cognito user pool and one or more - * application client IDs.

    Example: + * Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity + * that you want to assign to user groups, and one or more application client + * IDs.

    Example: * "configuration":{"cognitoUserPoolConfiguration":{"userPoolArn":"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5","clientIds": - * ["a1b2c3d4e5f6g7h8i9j0kalbmc"]}}

    + * ["a1b2c3d4e5f6g7h8i9j0kalbmc"],"groupConfiguration": {"groupEntityType": + * "MyCorp::Group"}}}

    */ inline ConfigurationItem& WithCognitoUserPoolConfiguration(CognitoUserPoolConfigurationItem&& value) { SetCognitoUserPoolConfiguration(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/IsAuthorizedWithTokenResult.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/IsAuthorizedWithTokenResult.h index 445809df3f9..8e105820fb3 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/IsAuthorizedWithTokenResult.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/IsAuthorizedWithTokenResult.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -188,6 +189,32 @@ namespace Model inline IsAuthorizedWithTokenResult& AddErrors(EvaluationErrorItem&& value) { m_errors.push_back(std::move(value)); return *this; } + /** + *

    The identifier of the principal in the ID or access token.

    + */ + inline const EntityIdentifier& GetPrincipal() const{ return m_principal; } + + /** + *

    The identifier of the principal in the ID or access token.

    + */ + inline void SetPrincipal(const EntityIdentifier& value) { m_principal = value; } + + /** + *

    The identifier of the principal in the ID or access token.

    + */ + inline void SetPrincipal(EntityIdentifier&& value) { m_principal = std::move(value); } + + /** + *

    The identifier of the principal in the ID or access token.

    + */ + inline IsAuthorizedWithTokenResult& WithPrincipal(const EntityIdentifier& value) { SetPrincipal(value); return *this;} + + /** + *

    The identifier of the principal in the ID or access token.

    + */ + inline IsAuthorizedWithTokenResult& WithPrincipal(EntityIdentifier&& value) { SetPrincipal(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -217,6 +244,8 @@ namespace Model Aws::Vector m_errors; + EntityIdentifier m_principal; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoGroupConfiguration.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoGroupConfiguration.h new file mode 100644 index 00000000000..f6265d6cf6d --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoGroupConfiguration.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace VerifiedPermissions +{ +namespace Model +{ + + /** + *

    The user group entities from an Amazon Cognito user pool identity + * source.

    See Also:

    AWS + * API Reference

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

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline const Aws::String& GetGroupEntityType() const{ return m_groupEntityType; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline bool GroupEntityTypeHasBeenSet() const { return m_groupEntityTypeHasBeenSet; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const Aws::String& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = value; } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(Aws::String&& value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType = std::move(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline void SetGroupEntityType(const char* value) { m_groupEntityTypeHasBeenSet = true; m_groupEntityType.assign(value); } + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline UpdateCognitoGroupConfiguration& WithGroupEntityType(const Aws::String& value) { SetGroupEntityType(value); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline UpdateCognitoGroupConfiguration& WithGroupEntityType(Aws::String&& value) { SetGroupEntityType(std::move(value)); return *this;} + + /** + *

    The name of the schema entity type that's mapped to the user pool group. + * Defaults to AWS::CognitoGroup.

    + */ + inline UpdateCognitoGroupConfiguration& WithGroupEntityType(const char* value) { SetGroupEntityType(value); return *this;} + + private: + + Aws::String m_groupEntityType; + bool m_groupEntityTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoUserPoolConfiguration.h b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoUserPoolConfiguration.h index 15be946b87a..045014d1ca5 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoUserPoolConfiguration.h +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/include/aws/verifiedpermissions/model/UpdateCognitoUserPoolConfiguration.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -158,6 +159,43 @@ namespace Model */ inline UpdateCognitoUserPoolConfiguration& AddClientIds(const char* value) { m_clientIdsHasBeenSet = true; m_clientIds.push_back(value); return *this; } + + /** + *

    The configuration of the user groups from an Amazon Cognito user pool + * identity source.

    + */ + inline const UpdateCognitoGroupConfiguration& GetGroupConfiguration() const{ return m_groupConfiguration; } + + /** + *

    The configuration of the user groups from an Amazon Cognito user pool + * identity source.

    + */ + inline bool GroupConfigurationHasBeenSet() const { return m_groupConfigurationHasBeenSet; } + + /** + *

    The configuration of the user groups from an Amazon Cognito user pool + * identity source.

    + */ + inline void SetGroupConfiguration(const UpdateCognitoGroupConfiguration& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = value; } + + /** + *

    The configuration of the user groups from an Amazon Cognito user pool + * identity source.

    + */ + inline void SetGroupConfiguration(UpdateCognitoGroupConfiguration&& value) { m_groupConfigurationHasBeenSet = true; m_groupConfiguration = std::move(value); } + + /** + *

    The configuration of the user groups from an Amazon Cognito user pool + * identity source.

    + */ + inline UpdateCognitoUserPoolConfiguration& WithGroupConfiguration(const UpdateCognitoGroupConfiguration& value) { SetGroupConfiguration(value); return *this;} + + /** + *

    The configuration of the user groups from an Amazon Cognito user pool + * identity source.

    + */ + inline UpdateCognitoUserPoolConfiguration& WithGroupConfiguration(UpdateCognitoGroupConfiguration&& value) { SetGroupConfiguration(std::move(value)); return *this;} + private: Aws::String m_userPoolArn; @@ -165,6 +203,9 @@ namespace Model Aws::Vector m_clientIds; bool m_clientIdsHasBeenSet = false; + + UpdateCognitoGroupConfiguration m_groupConfiguration; + bool m_groupConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfiguration.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfiguration.cpp new file mode 100644 index 00000000000..489cbf083ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfiguration.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 VerifiedPermissions +{ +namespace Model +{ + +CognitoGroupConfiguration::CognitoGroupConfiguration() : + m_groupEntityTypeHasBeenSet(false) +{ +} + +CognitoGroupConfiguration::CognitoGroupConfiguration(JsonView jsonValue) : + m_groupEntityTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +CognitoGroupConfiguration& CognitoGroupConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("groupEntityType")) + { + m_groupEntityType = jsonValue.GetString("groupEntityType"); + + m_groupEntityTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue CognitoGroupConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_groupEntityTypeHasBeenSet) + { + payload.WithString("groupEntityType", m_groupEntityType); + + } + + return payload; +} + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationDetail.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationDetail.cpp new file mode 100644 index 00000000000..3419cf66aa4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationDetail.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 VerifiedPermissions +{ +namespace Model +{ + +CognitoGroupConfigurationDetail::CognitoGroupConfigurationDetail() : + m_groupEntityTypeHasBeenSet(false) +{ +} + +CognitoGroupConfigurationDetail::CognitoGroupConfigurationDetail(JsonView jsonValue) : + m_groupEntityTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +CognitoGroupConfigurationDetail& CognitoGroupConfigurationDetail::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("groupEntityType")) + { + m_groupEntityType = jsonValue.GetString("groupEntityType"); + + m_groupEntityTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue CognitoGroupConfigurationDetail::Jsonize() const +{ + JsonValue payload; + + if(m_groupEntityTypeHasBeenSet) + { + payload.WithString("groupEntityType", m_groupEntityType); + + } + + return payload; +} + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationItem.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationItem.cpp new file mode 100644 index 00000000000..ade046f70e4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoGroupConfigurationItem.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 VerifiedPermissions +{ +namespace Model +{ + +CognitoGroupConfigurationItem::CognitoGroupConfigurationItem() : + m_groupEntityTypeHasBeenSet(false) +{ +} + +CognitoGroupConfigurationItem::CognitoGroupConfigurationItem(JsonView jsonValue) : + m_groupEntityTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +CognitoGroupConfigurationItem& CognitoGroupConfigurationItem::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("groupEntityType")) + { + m_groupEntityType = jsonValue.GetString("groupEntityType"); + + m_groupEntityTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue CognitoGroupConfigurationItem::Jsonize() const +{ + JsonValue payload; + + if(m_groupEntityTypeHasBeenSet) + { + payload.WithString("groupEntityType", m_groupEntityType); + + } + + return payload; +} + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfiguration.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfiguration.cpp index 017e9afccf7..78995fe656b 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfiguration.cpp @@ -20,13 +20,15 @@ namespace Model CognitoUserPoolConfiguration::CognitoUserPoolConfiguration() : m_userPoolArnHasBeenSet(false), - m_clientIdsHasBeenSet(false) + m_clientIdsHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { } CognitoUserPoolConfiguration::CognitoUserPoolConfiguration(JsonView jsonValue) : m_userPoolArnHasBeenSet(false), - m_clientIdsHasBeenSet(false) + m_clientIdsHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -50,6 +52,13 @@ CognitoUserPoolConfiguration& CognitoUserPoolConfiguration::operator =(JsonView m_clientIdsHasBeenSet = true; } + if(jsonValue.ValueExists("groupConfiguration")) + { + m_groupConfiguration = jsonValue.GetObject("groupConfiguration"); + + m_groupConfigurationHasBeenSet = true; + } + return *this; } @@ -74,6 +83,12 @@ JsonValue CognitoUserPoolConfiguration::Jsonize() const } + if(m_groupConfigurationHasBeenSet) + { + payload.WithObject("groupConfiguration", m_groupConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationDetail.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationDetail.cpp index df1010d407e..70b19191186 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationDetail.cpp +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationDetail.cpp @@ -21,14 +21,16 @@ namespace Model CognitoUserPoolConfigurationDetail::CognitoUserPoolConfigurationDetail() : m_userPoolArnHasBeenSet(false), m_clientIdsHasBeenSet(false), - m_issuerHasBeenSet(false) + m_issuerHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { } CognitoUserPoolConfigurationDetail::CognitoUserPoolConfigurationDetail(JsonView jsonValue) : m_userPoolArnHasBeenSet(false), m_clientIdsHasBeenSet(false), - m_issuerHasBeenSet(false) + m_issuerHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -59,6 +61,13 @@ CognitoUserPoolConfigurationDetail& CognitoUserPoolConfigurationDetail::operator m_issuerHasBeenSet = true; } + if(jsonValue.ValueExists("groupConfiguration")) + { + m_groupConfiguration = jsonValue.GetObject("groupConfiguration"); + + m_groupConfigurationHasBeenSet = true; + } + return *this; } @@ -89,6 +98,12 @@ JsonValue CognitoUserPoolConfigurationDetail::Jsonize() const } + if(m_groupConfigurationHasBeenSet) + { + payload.WithObject("groupConfiguration", m_groupConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationItem.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationItem.cpp index 0091c477703..36cb470bbbf 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationItem.cpp +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/CognitoUserPoolConfigurationItem.cpp @@ -21,14 +21,16 @@ namespace Model CognitoUserPoolConfigurationItem::CognitoUserPoolConfigurationItem() : m_userPoolArnHasBeenSet(false), m_clientIdsHasBeenSet(false), - m_issuerHasBeenSet(false) + m_issuerHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { } CognitoUserPoolConfigurationItem::CognitoUserPoolConfigurationItem(JsonView jsonValue) : m_userPoolArnHasBeenSet(false), m_clientIdsHasBeenSet(false), - m_issuerHasBeenSet(false) + m_issuerHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -59,6 +61,13 @@ CognitoUserPoolConfigurationItem& CognitoUserPoolConfigurationItem::operator =(J m_issuerHasBeenSet = true; } + if(jsonValue.ValueExists("groupConfiguration")) + { + m_groupConfiguration = jsonValue.GetObject("groupConfiguration"); + + m_groupConfigurationHasBeenSet = true; + } + return *this; } @@ -89,6 +98,12 @@ JsonValue CognitoUserPoolConfigurationItem::Jsonize() const } + if(m_groupConfigurationHasBeenSet) + { + payload.WithObject("groupConfiguration", m_groupConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/IsAuthorizedWithTokenResult.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/IsAuthorizedWithTokenResult.cpp index 6b7f6ddaa04..b26a352cd3c 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/IsAuthorizedWithTokenResult.cpp +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/IsAuthorizedWithTokenResult.cpp @@ -55,6 +55,12 @@ IsAuthorizedWithTokenResult& IsAuthorizedWithTokenResult::operator =(const Aws:: } } + if(jsonValue.ValueExists("principal")) + { + m_principal = jsonValue.GetObject("principal"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoGroupConfiguration.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoGroupConfiguration.cpp new file mode 100644 index 00000000000..4ccfebc79d8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoGroupConfiguration.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 VerifiedPermissions +{ +namespace Model +{ + +UpdateCognitoGroupConfiguration::UpdateCognitoGroupConfiguration() : + m_groupEntityTypeHasBeenSet(false) +{ +} + +UpdateCognitoGroupConfiguration::UpdateCognitoGroupConfiguration(JsonView jsonValue) : + m_groupEntityTypeHasBeenSet(false) +{ + *this = jsonValue; +} + +UpdateCognitoGroupConfiguration& UpdateCognitoGroupConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("groupEntityType")) + { + m_groupEntityType = jsonValue.GetString("groupEntityType"); + + m_groupEntityTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue UpdateCognitoGroupConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_groupEntityTypeHasBeenSet) + { + payload.WithString("groupEntityType", m_groupEntityType); + + } + + return payload; +} + +} // namespace Model +} // namespace VerifiedPermissions +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoUserPoolConfiguration.cpp b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoUserPoolConfiguration.cpp index 3f9c523a2ec..2355ed05cd2 100644 --- a/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoUserPoolConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-verifiedpermissions/source/model/UpdateCognitoUserPoolConfiguration.cpp @@ -20,13 +20,15 @@ namespace Model UpdateCognitoUserPoolConfiguration::UpdateCognitoUserPoolConfiguration() : m_userPoolArnHasBeenSet(false), - m_clientIdsHasBeenSet(false) + m_clientIdsHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { } UpdateCognitoUserPoolConfiguration::UpdateCognitoUserPoolConfiguration(JsonView jsonValue) : m_userPoolArnHasBeenSet(false), - m_clientIdsHasBeenSet(false) + m_clientIdsHasBeenSet(false), + m_groupConfigurationHasBeenSet(false) { *this = jsonValue; } @@ -50,6 +52,13 @@ UpdateCognitoUserPoolConfiguration& UpdateCognitoUserPoolConfiguration::operator m_clientIdsHasBeenSet = true; } + if(jsonValue.ValueExists("groupConfiguration")) + { + m_groupConfiguration = jsonValue.GetObject("groupConfiguration"); + + m_groupConfigurationHasBeenSet = true; + } + return *this; } @@ -74,6 +83,12 @@ JsonValue UpdateCognitoUserPoolConfiguration::Jsonize() const } + if(m_groupConfigurationHasBeenSet) + { + payload.WithObject("groupConfiguration", m_groupConfiguration.Jsonize()); + + } + return payload; } diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 8c45e9a0c38..f512a69acee 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.300" +#define AWS_SDK_VERSION_STRING "1.11.301" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 300 +#define AWS_SDK_VERSION_PATCH 301 diff --git a/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json b/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json index bfa0a8372e9..288bf8e26fc 100644 --- a/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json +++ b/tools/code-generation/api-descriptions/b2bi-2022-06-23.normal.json @@ -2348,7 +2348,30 @@ "X12_945", "X12_990", "X12_997", - "X12_999" + "X12_999", + "X12_270_X279", + "X12_271_X279", + "X12_275_X210", + "X12_275_X211", + "X12_276_X212", + "X12_277_X212", + "X12_277_X214", + "X12_277_X364", + "X12_278_X217", + "X12_820_X218", + "X12_820_X306", + "X12_824_X186", + "X12_834_X220", + "X12_834_X307", + "X12_834_X318", + "X12_835_X221", + "X12_837_X222", + "X12_837_X223", + "X12_837_X224", + "X12_837_X291", + "X12_837_X292", + "X12_837_X298", + "X12_999_X231" ] }, "X12Version":{ @@ -2356,7 +2379,8 @@ "enum":[ "VERSION_4010", "VERSION_4030", - "VERSION_5010" + "VERSION_5010", + "VERSION_5010_HIPAA" ] } }, diff --git a/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json b/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json index a66b1da60e9..664e75088bb 100644 --- a/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json +++ b/tools/code-generation/api-descriptions/cleanrooms-2022-02-17.normal.json @@ -48,6 +48,24 @@ ], "documentation":"

    Retrieves multiple schemas by their identifiers.

    " }, + "BatchGetSchemaAnalysisRule":{ + "name":"BatchGetSchemaAnalysisRule", + "http":{ + "method":"POST", + "requestUri":"/collaborations/{collaborationIdentifier}/batch-schema-analysis-rule", + "responseCode":200 + }, + "input":{"shape":"BatchGetSchemaAnalysisRuleInput"}, + "output":{"shape":"BatchGetSchemaAnalysisRuleOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ], + "documentation":"

    Retrieves multiple analysis rule schemas.

    " + }, "CreateAnalysisTemplate":{ "name":"CreateAnalysisTemplate", "http":{ @@ -1391,11 +1409,11 @@ "members":{ "allowedAnalyses":{ "shape":"AnalysisRuleCustomAllowedAnalysesList", - "documentation":"

    The analysis templates that are allowed by the custom analysis rule.

    " + "documentation":"

    The ARN of the analysis templates that are allowed by the custom analysis rule.

    " }, "allowedAnalysisProviders":{ "shape":"AnalysisRuleCustomAllowedAnalysisProvidersList", - "documentation":"

    The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when allowedAnalyses is ANY_QUERY.

    " + "documentation":"

    The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when allowedAnalyses is ANY_QUERY.

    " }, "differentialPrivacy":{ "shape":"DifferentialPrivacyConfiguration", @@ -1736,6 +1754,76 @@ } } }, + "BatchGetSchemaAnalysisRuleError":{ + "type":"structure", + "required":[ + "name", + "type", + "code", + "message" + ], + "members":{ + "name":{ + "shape":"TableAlias", + "documentation":"

    An error name for the error.

    " + }, + "type":{ + "shape":"AnalysisRuleType", + "documentation":"

    The analysis rule type.

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

    An error code for the error.

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

    A description of why the call failed.

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

    An error that describes why a schema could not be fetched.

    " + }, + "BatchGetSchemaAnalysisRuleErrorList":{ + "type":"list", + "member":{"shape":"BatchGetSchemaAnalysisRuleError"}, + "max":25, + "min":0 + }, + "BatchGetSchemaAnalysisRuleInput":{ + "type":"structure", + "required":[ + "collaborationIdentifier", + "schemaAnalysisRuleRequests" + ], + "members":{ + "collaborationIdentifier":{ + "shape":"CollaborationIdentifier", + "documentation":"

    The unique identifier of the collaboration that contains the schema analysis rule.

    ", + "location":"uri", + "locationName":"collaborationIdentifier" + }, + "schemaAnalysisRuleRequests":{ + "shape":"SchemaAnalysisRuleRequestList", + "documentation":"

    The information that's necessary to retrieve a schema analysis rule.

    " + } + } + }, + "BatchGetSchemaAnalysisRuleOutput":{ + "type":"structure", + "required":[ + "analysisRules", + "errors" + ], + "members":{ + "analysisRules":{ + "shape":"SchemaAnalysisRuleList", + "documentation":"

    The retrieved list of analysis rules.

    " + }, + "errors":{ + "shape":"BatchGetSchemaAnalysisRuleErrorList", + "documentation":"

    Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.

    " + } + } + }, "BatchGetSchemaError":{ "type":"structure", "required":[ @@ -1780,7 +1868,7 @@ }, "names":{ "shape":"TableAliasList", - "documentation":"

    The names for the schema objects to retrieve.>

    " + "documentation":"

    The names for the schema objects to retrieve.

    " } } }, @@ -5950,19 +6038,30 @@ "ScalarFunctions":{ "type":"string", "enum":[ - "TRUNC", "ABS", + "CAST", "CEILING", + "COALESCE", + "CONVERT", + "CURRENT_DATE", + "DATEADD", + "EXTRACT", "FLOOR", + "GETDATE", "LN", "LOG", - "ROUND", - "SQRT", - "CAST", "LOWER", + "ROUND", "RTRIM", - "UPPER", - "COALESCE" + "SQRT", + "SUBSTRING", + "TO_CHAR", + "TO_DATE", + "TO_NUMBER", + "TO_TIMESTAMP", + "TRIM", + "TRUNC", + "UPPER" ] }, "ScalarFunctionsList":{ @@ -5982,7 +6081,8 @@ "description", "createTime", "updateTime", - "type" + "type", + "schemaStatusDetails" ], "members":{ "columns":{ @@ -6032,16 +6132,123 @@ "type":{ "shape":"SchemaType", "documentation":"

    The type of schema. The only valid value is currently `TABLE`.

    " + }, + "schemaStatusDetails":{ + "shape":"SchemaStatusDetailList", + "documentation":"

    Details about the status of the schema. Currently, only one entry is present.

    " } }, "documentation":"

    A schema is a relation within a collaboration.

    " }, + "SchemaAnalysisRuleList":{ + "type":"list", + "member":{"shape":"AnalysisRule"}, + "max":25, + "min":0 + }, + "SchemaAnalysisRuleRequest":{ + "type":"structure", + "required":[ + "name", + "type" + ], + "members":{ + "name":{ + "shape":"TableAlias", + "documentation":"

    The name of the analysis rule schema that you are requesting.

    " + }, + "type":{ + "shape":"AnalysisRuleType", + "documentation":"

    The type of analysis rule schema that you are requesting.

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

    Defines the information that's necessary to retrieve an analysis rule schema. Schema analysis rules are uniquely identified by a combination of the schema name and the analysis rule type for a given collaboration.

    " + }, + "SchemaAnalysisRuleRequestList":{ + "type":"list", + "member":{"shape":"SchemaAnalysisRuleRequest"}, + "max":25, + "min":1 + }, + "SchemaConfiguration":{ + "type":"string", + "enum":["DIFFERENTIAL_PRIVACY"] + }, + "SchemaConfigurationList":{ + "type":"list", + "member":{"shape":"SchemaConfiguration"} + }, "SchemaList":{ "type":"list", "member":{"shape":"Schema"}, "max":25, "min":0 }, + "SchemaStatus":{ + "type":"string", + "enum":[ + "READY", + "NOT_READY" + ] + }, + "SchemaStatusDetail":{ + "type":"structure", + "required":["status"], + "members":{ + "status":{ + "shape":"SchemaStatus", + "documentation":"

    The status of the schema.

    " + }, + "reasons":{ + "shape":"SchemaStatusReasonList", + "documentation":"

    The reasons why the schema status is set to its current state.

    " + }, + "analysisRuleType":{ + "shape":"AnalysisRuleType", + "documentation":"

    The analysis rule type for which the schema status has been evaluated.

    " + }, + "configurations":{ + "shape":"SchemaConfigurationList", + "documentation":"

    The configuration details of the schema analysis rule for the given type.

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

    Information about the schema status.

    A status of READY means that based on the schema analysis rule, queries of the given analysis rule type are properly configured to run queries on this schema.

    " + }, + "SchemaStatusDetailList":{ + "type":"list", + "member":{"shape":"SchemaStatusDetail"} + }, + "SchemaStatusReason":{ + "type":"structure", + "required":[ + "code", + "message" + ], + "members":{ + "code":{ + "shape":"SchemaStatusReasonCode", + "documentation":"

    The schema status reason code.

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

    An explanation of the schema status reason code.

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

    A reason why the schema status is set to its current value.

    " + }, + "SchemaStatusReasonCode":{ + "type":"string", + "enum":[ + "ANALYSIS_RULE_MISSING", + "ANALYSIS_TEMPLATES_NOT_CONFIGURED", + "ANALYSIS_PROVIDERS_NOT_CONFIGURED", + "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED" + ] + }, + "SchemaStatusReasonList":{ + "type":"list", + "member":{"shape":"SchemaStatusReason"} + }, "SchemaSummary":{ "type":"structure", "required":[ diff --git a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json index 65943e48de4..af7bfce6d4d 100644 --- a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json +++ b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json @@ -36938,7 +36938,17 @@ "r7iz.metal-32xl", "c7gd.metal", "m7gd.metal", - "r7gd.metal" + "r7gd.metal", + "g6.xlarge", + "g6.2xlarge", + "g6.4xlarge", + "g6.8xlarge", + "g6.12xlarge", + "g6.16xlarge", + "g6.24xlarge", + "g6.48xlarge", + "gr6.4xlarge", + "gr6.8xlarge" ] }, "InstanceTypeHypervisor":{ diff --git a/tools/code-generation/api-descriptions/emr-containers-2020-10-01.normal.json b/tools/code-generation/api-descriptions/emr-containers-2020-10-01.normal.json index 218a5426b84..1dadc66505f 100644 --- a/tools/code-generation/api-descriptions/emr-containers-2020-10-01.normal.json +++ b/tools/code-generation/api-descriptions/emr-containers-2020-10-01.normal.json @@ -67,7 +67,8 @@ "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, - {"shape":"InternalServerException"} + {"shape":"InternalServerException"}, + {"shape":"EKSRequestThrottledException"} ], "documentation":"

    Creates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

    " }, @@ -318,6 +319,7 @@ "max":5000, "pattern":"^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)?$" }, + "Boolean":{"type":"boolean"}, "CancelJobRunRequest":{ "type":"structure", "required":[ @@ -856,6 +858,15 @@ } } }, + "EKSRequestThrottledException":{ + "type":"structure", + "members":{ + "message":{"shape":"String1024"} + }, + "documentation":"

    The request exceeded the Amazon EKS API operation limits.

    ", + "error":{"httpStatusCode":429}, + "exception":true + }, "EksInfo":{ "type":"structure", "members":{ @@ -1531,6 +1542,12 @@ "documentation":"

    The token for the next set of virtual clusters to return.

    ", "location":"querystring", "locationName":"nextToken" + }, + "eksAccessEntryIntegrated":{ + "shape":"Boolean", + "documentation":"

    Optional Boolean that specifies whether the operation should return the virtual clusters that have the access entry integration enabled or disabled. If not specified, the operation returns all applicable virtual clusters.

    ", + "location":"querystring", + "locationName":"eksAccessEntryIntegrated" } } }, @@ -2107,5 +2124,5 @@ "member":{"shape":"VirtualCluster"} } }, - "documentation":"

    Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications. For more information about Amazon EMR on EKS concepts and tasks, see What is shared id=\"EMR-EKS\"/>.

    Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers prefix is used in the following scenarios:

    • It is the prefix in the CLI commands for Amazon EMR on EKS. For example, aws emr-containers start-job-run.

    • It is the prefix before IAM policy actions for Amazon EMR on EKS. For example, \"Action\": [ \"emr-containers:StartJobRun\"]. For more information, see Policy actions for Amazon EMR on EKS.

    • It is the prefix used in Amazon EMR on EKS service endpoints. For example, emr-containers.us-east-2.amazonaws.com. For more information, see Amazon EMR on EKSService Endpoints.

    " + "documentation":"

    Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With this deployment option, you can focus on running analytics workloads while Amazon EMR on EKS builds, configures, and manages containers for open-source applications. For more information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on EKS.

    Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers prefix is used in the following scenarios:

    • It is the prefix in the CLI commands for Amazon EMR on EKS. For example, aws emr-containers start-job-run.

    • It is the prefix before IAM policy actions for Amazon EMR on EKS. For example, \"Action\": [ \"emr-containers:StartJobRun\"]. For more information, see Policy actions for Amazon EMR on EKS.

    • It is the prefix used in Amazon EMR on EKS service endpoints. For example, emr-containers.us-east-2.amazonaws.com. For more information, see Amazon EMR on EKSService Endpoints.

    " } diff --git a/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json b/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json index 8787c389406..ced443f1849 100644 --- a/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json +++ b/tools/code-generation/api-descriptions/ivs-2020-07-14.normal.json @@ -820,6 +820,10 @@ "shape":"ChannelRecordingConfigurationArn", "documentation":"

    Recording-configuration ARN. A valid ARN value here both specifies the ARN and enables recording. Default: \"\" (empty string, recording is disabled).

    " }, + "srt":{ + "shape":"Srt", + "documentation":"

    Specifies the endpoint and optional passphrase for streaming with the SRT protocol.

    " + }, "tags":{ "shape":"Tags", "documentation":"

    Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

    " @@ -970,7 +974,7 @@ }, "insecureIngest":{ "shape":"Boolean", - "documentation":"

    Whether the channel allows insecure RTMP ingest. Default: false.

    " + "documentation":"

    Whether the channel allows insecure RTMP and SRT ingest. Default: false.

    " }, "latencyMode":{ "shape":"ChannelLatencyMode", @@ -2047,6 +2051,25 @@ }, "exception":true }, + "Srt":{ + "type":"structure", + "members":{ + "endpoint":{ + "shape":"SrtEndpoint", + "documentation":"

    The endpoint to be used when streaming with IVS using the SRT protocol.

    " + }, + "passphrase":{ + "shape":"SrtPassphrase", + "documentation":"

    Auto-generated passphrase to enable encryption. This field is applicable only if the end user has not enabled the insecureIngest option for the channel.

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

    Specifies information needed to stream using the SRT protocol.

    " + }, + "SrtEndpoint":{"type":"string"}, + "SrtPassphrase":{ + "type":"string", + "sensitive":true + }, "StartViewerSessionRevocationRequest":{ "type":"structure", "required":[ @@ -2520,7 +2543,7 @@ }, "insecureIngest":{ "shape":"Boolean", - "documentation":"

    Whether the channel allows insecure RTMP ingest. Default: false.

    " + "documentation":"

    Whether the channel allows insecure RTMP and SRT ingest. Default: false.

    " }, "latencyMode":{ "shape":"ChannelLatencyMode", @@ -2657,5 +2680,5 @@ "errorCode":{"type":"string"}, "errorMessage":{"type":"string"} }, - "documentation":"

    Introduction

    The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

    The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the Amazon Web Services General Reference.

    All API request parameters and URLs are case sensitive.

    For a summary of notable documentation changes in each release, see Document History.

    Allowed Header Values

    • Accept: application/json

    • Accept-Encoding: gzip, deflate

    • Content-Type: application/json

    Resources

    The following resources contain information about your IVS live stream (see Getting Started with Amazon IVS):

    • Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream. See the Channel endpoints for more information.

    • Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. See the StreamKey endpoints for more information. Treat the stream key like a secret, since it allows anyone to stream to the channel.

    • Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token. See the PlaybackKeyPair endpoints for more information.

    • Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration. See the Recording Configuration endpoints for more information.

    • Playback restriction policy — Restricts playback by countries and/or origin sites. See the Playback Restriction Policy endpoints for more information.

    Tagging

    A tag is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

    Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

    The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.

    At most 50 tags can be applied to a resource.

    Authentication versus Authorization

    Note the differences between these concepts:

    • Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.

    • Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view Amazon IVS private channels. (Private channels are channels that are enabled for \"playback authorization.\")

    Authentication

    All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.

    You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the ivs:PutMetadata permission.

    For more information:

    Amazon Resource Names (ARNs)

    ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.

    Channel Endpoints

    • CreateChannel — Creates a new channel and an associated stream key to start streaming.

    • GetChannel — Gets the channel configuration for the specified channel ARN.

    • BatchGetChannel — Performs GetChannel on multiple ARNs simultaneously.

    • ListChannels — Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 Conflict Exception).

    • UpdateChannel — Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.

    • DeleteChannel — Deletes the specified channel.

    Playback Restriction Policy Endpoints

    Private Channel Endpoints

    For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

    • ImportPlaybackKeyPair — Imports the public portion of a new key pair and returns its arn and fingerprint. The privateKey can then be used to generate viewer authorization tokens, to grant viewers access to private channels (channels enabled for playback authorization).

    • GetPlaybackKeyPair — Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels.

    • ListPlaybackKeyPairs — Gets summary information about playback key pairs.

    • DeletePlaybackKeyPair — Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey.

    • StartViewerSessionRevocation — Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version.

    • BatchStartViewerSessionRevocation — Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs simultaneously.

    RecordingConfiguration Endpoints

    Stream Endpoints

    • GetStream — Gets information about the active (live) stream on a specified channel.

    • GetStreamSession — Gets metadata on a specified stream.

    • ListStreams — Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.

    • ListStreamSessions — Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed.

    • StopStream — Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

    • PutMetadata — Inserts metadata into the active stream of the specified channel. At most 5 requests per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed.

    StreamKey Endpoints

    • CreateStreamKey — Creates a stream key, used to initiate a stream, for the specified channel ARN.

    • GetStreamKey — Gets stream key information for the specified ARN.

    • BatchGetStreamKey — Performs GetStreamKey on multiple ARNs simultaneously.

    • ListStreamKeys — Gets summary information about stream keys for the specified channel.

    • DeleteStreamKey — Deletes the stream key for the specified ARN, so it can no longer be used to stream.

    Amazon Web Services Tags Endpoints

    • TagResource — Adds or updates tags for the Amazon Web Services resource with the specified ARN.

    • UntagResource — Removes tags from the resource with the specified ARN.

    • ListTagsForResource — Gets information about Amazon Web Services tags for the specified ARN.

    " + "documentation":"

    Introduction

    The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.

    The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the Amazon Web Services General Reference.

    All API request parameters and URLs are case sensitive.

    For a summary of notable documentation changes in each release, see Document History.

    Allowed Header Values

    • Accept: application/json

    • Accept-Encoding: gzip, deflate

    • Content-Type: application/json

    Key Concepts

    • Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.

    • Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. Treat the stream key like a secret, since it allows anyone to stream to the channel.

    • Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.

    • Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.

    • Playback restriction policy — Restricts playback by countries and/or origin sites.

    For more information about your IVS live stream, also see Getting Started with IVS Low-Latency Streaming.

    Tagging

    A tag is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature to label a particular video category. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.

    Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).

    The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.

    At most 50 tags can be applied to a resource.

    Authentication versus Authorization

    Note the differences between these concepts:

    • Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.

    • Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view Amazon IVS private channels. (Private channels are channels that are enabled for \"playback authorization.\")

    Authentication

    All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.

    You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the ivs:PutMetadata permission.

    For more information:

    Amazon Resource Names (ARNs)

    ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.

    Channel Endpoints

    • CreateChannel — Creates a new channel and an associated stream key to start streaming.

    • GetChannel — Gets the channel configuration for the specified channel ARN.

    • BatchGetChannel — Performs GetChannel on multiple ARNs simultaneously.

    • ListChannels — Gets summary information about all channels in your account, in the Amazon Web Services region where the API request is processed. This list can be filtered to match a specified name or recording-configuration ARN. Filters are mutually exclusive and cannot be used together. If you try to use both filters, you will get an error (409 Conflict Exception).

    • UpdateChannel — Updates a channel's configuration. This does not affect an ongoing stream of this channel. You must stop and restart the stream for the changes to take effect.

    • DeleteChannel — Deletes the specified channel.

    Playback Restriction Policy Endpoints

    Private Channel Endpoints

    For more information, see Setting Up Private Channels in the Amazon IVS User Guide.

    • ImportPlaybackKeyPair — Imports the public portion of a new key pair and returns its arn and fingerprint. The privateKey can then be used to generate viewer authorization tokens, to grant viewers access to private channels (channels enabled for playback authorization).

    • GetPlaybackKeyPair — Gets a specified playback authorization key pair and returns the arn and fingerprint. The privateKey held by the caller can be used to generate viewer authorization tokens, to grant viewers access to private channels.

    • ListPlaybackKeyPairs — Gets summary information about playback key pairs.

    • DeletePlaybackKeyPair — Deletes a specified authorization key pair. This invalidates future viewer tokens generated using the key pair’s privateKey.

    • StartViewerSessionRevocation — Starts the process of revoking the viewer session associated with a specified channel ARN and viewer ID. Optionally, you can provide a version to revoke viewer sessions less than and including that version.

    • BatchStartViewerSessionRevocation — Performs StartViewerSessionRevocation on multiple channel ARN and viewer ID pairs simultaneously.

    Recording Configuration Endpoints

    Stream Endpoints

    • GetStream — Gets information about the active (live) stream on a specified channel.

    • GetStreamSession — Gets metadata on a specified stream.

    • ListStreams — Gets summary information about live streams in your account, in the Amazon Web Services region where the API request is processed.

    • ListStreamSessions — Gets a summary of current and previous streams for a specified channel in your account, in the AWS region where the API request is processed.

    • StopStream — Disconnects the incoming RTMPS stream for the specified channel. Can be used in conjunction with DeleteStreamKey to prevent further streaming to a channel.

    • PutMetadata — Inserts metadata into the active stream of the specified channel. At most 5 requests per second per channel are allowed, each with a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we recommend batching your data into a single PutMetadata call.) At most 155 requests per second per account are allowed.

    Stream Key Endpoints

    • CreateStreamKey — Creates a stream key, used to initiate a stream, for the specified channel ARN.

    • GetStreamKey — Gets stream key information for the specified ARN.

    • BatchGetStreamKey — Performs GetStreamKey on multiple ARNs simultaneously.

    • ListStreamKeys — Gets summary information about stream keys for the specified channel.

    • DeleteStreamKey — Deletes the stream key for the specified ARN, so it can no longer be used to stream.

    Amazon Web Services Tags Endpoints

    • TagResource — Adds or updates tags for the Amazon Web Services resource with the specified ARN.

    • UntagResource — Removes tags from the resource with the specified ARN.

    • ListTagsForResource — Gets information about Amazon Web Services tags for the specified ARN.

    " } diff --git a/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json b/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json index 10446424d81..180f4b7393d 100644 --- a/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json +++ b/tools/code-generation/api-descriptions/verifiedpermissions-2021-12-01.normal.json @@ -570,11 +570,11 @@ }, "action":{ "shape":"ActionIdentifier", - "documentation":"

    Specifies the requested action to be authorized. For example, is the principal authorized to perform this action on the resource?

    " + "documentation":"

    Specifies the requested action to be authorized. For example, PhotoFlash::ReadPhoto.

    " }, "resource":{ "shape":"EntityIdentifier", - "documentation":"

    Specifies the resource for which the authorization decision is to be made.

    " + "documentation":"

    Specifies the resource that you want an authorization decision for. For example, PhotoFlash::Photo.

    " }, "context":{ "shape":"ContextDefinition", @@ -621,7 +621,7 @@ }, "errors":{ "shape":"EvaluationErrorList", - "documentation":"

    Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity Attribute that does not exist in the slice.

    " + "documentation":"

    Errors that occurred while making an authorization decision. For example, a policy might reference an entity or attribute that doesn't exist in the request.

    " } }, "documentation":"

    The decision, based on policy evaluation, from an individual authorization request in a BatchIsAuthorized API request.

    " @@ -652,6 +652,37 @@ "max":1000, "min":0 }, + "CognitoGroupConfiguration":{ + "type":"structure", + "required":["groupEntityType"], + "members":{ + "groupEntityType":{ + "shape":"GroupEntityType", + "documentation":"

    The name of the schema entity type that's mapped to the user pool group. Defaults to AWS::CognitoGroup.

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

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    This data type is part of a CognitoUserPoolConfiguration structure and is a request parameter in CreateIdentitySource.

    " + }, + "CognitoGroupConfigurationDetail":{ + "type":"structure", + "members":{ + "groupEntityType":{ + "shape":"GroupEntityType", + "documentation":"

    The name of the schema entity type that's mapped to the user pool group. Defaults to AWS::CognitoGroup.

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

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    This data type is part of an CognitoUserPoolConfigurationDetail structure and is a response parameter to GetIdentitySource.

    " + }, + "CognitoGroupConfigurationItem":{ + "type":"structure", + "members":{ + "groupEntityType":{ + "shape":"GroupEntityType", + "documentation":"

    The name of the schema entity type that's mapped to the user pool group. Defaults to AWS::CognitoGroup.

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

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    This data type is part of an CognitoUserPoolConfigurationItem structure and is a response parameter to ListIdentitySources.

    " + }, "CognitoUserPoolConfiguration":{ "type":"structure", "required":["userPoolArn"], @@ -663,9 +694,13 @@ "clientIds":{ "shape":"ClientIds", "documentation":"

    The unique application client IDs that are associated with the specified Amazon Cognito user pool.

    Example: \"ClientIds\": [\"&ExampleCogClientId;\"]

    " + }, + "groupConfiguration":{ + "shape":"CognitoGroupConfiguration", + "documentation":"

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    " } }, - "documentation":"

    The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.

    This data type is used as a field that is part of an Configuration structure that is used as a parameter to CreateIdentitySource.

    Example:\"CognitoUserPoolConfiguration\":{\"UserPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"ClientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"]}

    " + "documentation":"

    The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.

    This data type is used as a field that is part of an Configuration structure that is used as a parameter to CreateIdentitySource.

    Example:\"CognitoUserPoolConfiguration\":{\"UserPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"ClientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"],\"groupConfiguration\": {\"groupEntityType\": \"MyCorp::Group\"}}

    " }, "CognitoUserPoolConfigurationDetail":{ "type":"structure", @@ -686,9 +721,13 @@ "issuer":{ "shape":"Issuer", "documentation":"

    The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.

    Example: \"issuer\": \"https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5\"

    " + }, + "groupConfiguration":{ + "shape":"CognitoGroupConfigurationDetail", + "documentation":"

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    " } }, - "documentation":"

    The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.

    This data type is used as a field that is part of an ConfigurationDetail structure that is part of the response to GetIdentitySource.

    Example:\"CognitoUserPoolConfiguration\":{\"UserPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"ClientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"]}

    " + "documentation":"

    The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.

    This data type is used as a field that is part of an ConfigurationDetail structure that is part of the response to GetIdentitySource.

    Example:\"CognitoUserPoolConfiguration\":{\"UserPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"ClientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"],\"groupConfiguration\": {\"groupEntityType\": \"MyCorp::Group\"}}

    " }, "CognitoUserPoolConfigurationItem":{ "type":"structure", @@ -709,19 +748,23 @@ "issuer":{ "shape":"Issuer", "documentation":"

    The OpenID Connect (OIDC) issuer ID of the Amazon Cognito user pool that contains the identities to be authorized.

    Example: \"issuer\": \"https://cognito-idp.us-east-1.amazonaws.com/us-east-1_1a2b3c4d5\"

    " + }, + "groupConfiguration":{ + "shape":"CognitoGroupConfigurationItem", + "documentation":"

    The type of entity that a policy store maps to groups from an Amazon Cognito user pool identity source.

    " } }, - "documentation":"

    The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.

    This data type is used as a field that is part of the ConfigurationItem structure that is part of the response to ListIdentitySources.

    Example:\"CognitoUserPoolConfiguration\":{\"UserPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"ClientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"]}

    " + "documentation":"

    The configuration for an identity source that represents a connection to an Amazon Cognito user pool used as an identity provider for Verified Permissions.

    This data type is used as a field that is part of the ConfigurationItem structure that is part of the response to ListIdentitySources.

    Example:\"CognitoUserPoolConfiguration\":{\"UserPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"ClientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"],\"groupConfiguration\": {\"groupEntityType\": \"MyCorp::Group\"}}

    " }, "Configuration":{ "type":"structure", "members":{ "cognitoUserPoolConfiguration":{ "shape":"CognitoUserPoolConfiguration", - "documentation":"

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs.

    Example: \"configuration\":{\"cognitoUserPoolConfiguration\":{\"userPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"clientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"]}}

    " + "documentation":"

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs.

    Example: \"configuration\":{\"cognitoUserPoolConfiguration\":{\"userPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"clientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"],\"groupConfiguration\": {\"groupEntityType\": \"MyCorp::Group\"}}}

    " } }, - "documentation":"

    Contains configuration information used when creating a new identity source.

    At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.

    You must specify a userPoolArn, and optionally, a ClientId.

    This data type is used as a request parameter for the CreateIdentitySource operation.

    ", + "documentation":"

    Contains configuration information used when creating a new identity source.

    At this time, the only valid member of this structure is a Amazon Cognito user pool configuration.

    Specifies a userPoolArn, a groupConfiguration, and a ClientId.

    This data type is used as a request parameter for the CreateIdentitySource operation.

    ", "union":true }, "ConfigurationDetail":{ @@ -729,7 +772,7 @@ "members":{ "cognitoUserPoolConfiguration":{ "shape":"CognitoUserPoolConfigurationDetail", - "documentation":"

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs.

    Example: \"configuration\":{\"cognitoUserPoolConfiguration\":{\"userPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"clientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"]}}

    " + "documentation":"

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.

    Example: \"configuration\":{\"cognitoUserPoolConfiguration\":{\"userPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"clientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"],\"groupConfiguration\": {\"groupEntityType\": \"MyCorp::Group\"}}}

    " } }, "documentation":"

    Contains configuration information about an identity source.

    This data type is a response parameter to the GetIdentitySource operation.

    ", @@ -740,7 +783,7 @@ "members":{ "cognitoUserPoolConfiguration":{ "shape":"CognitoUserPoolConfigurationItem", - "documentation":"

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool and one or more application client IDs.

    Example: \"configuration\":{\"cognitoUserPoolConfiguration\":{\"userPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"clientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"]}}

    " + "documentation":"

    Contains configuration details of a Amazon Cognito user pool that Verified Permissions can use as a source of authenticated identities as entities. It specifies the Amazon Resource Name (ARN) of a Amazon Cognito user pool, the policy store entity that you want to assign to user groups, and one or more application client IDs.

    Example: \"configuration\":{\"cognitoUserPoolConfiguration\":{\"userPoolArn\":\"arn:aws:cognito-idp:us-east-1:123456789012:userpool/us-east-1_1a2b3c4d5\",\"clientIds\": [\"a1b2c3d4e5f6g7h8i9j0kalbmc\"],\"groupConfiguration\": {\"groupEntityType\": \"MyCorp::Group\"}}}

    " } }, "documentation":"

    Contains configuration information about an identity source.

    This data type is a response parameter to the ListIdentitySources operation.

    ", @@ -1464,6 +1507,13 @@ } } }, + "GroupEntityType":{ + "type":"string", + "max":200, + "min":1, + "pattern":"([_a-zA-Z][_a-zA-Z0-9]*::)*[_a-zA-Z][_a-zA-Z0-9]*", + "sensitive":true + }, "IdempotencyToken":{ "type":"string", "max":64, @@ -1719,6 +1769,10 @@ "errors":{ "shape":"EvaluationErrorList", "documentation":"

    Errors that occurred while making an authorization decision. For example, a policy references an entity or entity attribute that does not exist in the slice.

    " + }, + "principal":{ + "shape":"EntityIdentifier", + "documentation":"

    The identifier of the principal in the ID or access token.

    " } } }, @@ -1753,7 +1807,6 @@ "ListIdentitySourcesMaxResults":{ "type":"integer", "box":true, - "max":200, "min":1 }, "ListIdentitySourcesOutput":{ @@ -1873,7 +1926,6 @@ "MaxResults":{ "type":"integer", "box":true, - "max":50, "min":1 }, "Namespace":{ @@ -2435,6 +2487,17 @@ "pattern":"[A-Za-z0-9-_=]+.[A-Za-z0-9-_=]+.[A-Za-z0-9-_=]+", "sensitive":true }, + "UpdateCognitoGroupConfiguration":{ + "type":"structure", + "required":["groupEntityType"], + "members":{ + "groupEntityType":{ + "shape":"GroupEntityType", + "documentation":"

    The name of the schema entity type that's mapped to the user pool group. Defaults to AWS::CognitoGroup.

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

    The user group entities from an Amazon Cognito user pool identity source.

    " + }, "UpdateCognitoUserPoolConfiguration":{ "type":"structure", "required":["userPoolArn"], @@ -2446,6 +2509,10 @@ "clientIds":{ "shape":"ClientIds", "documentation":"

    The client ID of an app client that is configured for the specified Amazon Cognito user pool.

    " + }, + "groupConfiguration":{ + "shape":"UpdateCognitoGroupConfiguration", + "documentation":"

    The configuration of the user groups from an Amazon Cognito user pool identity source.

    " } }, "documentation":"

    Contains configuration details of a Amazon Cognito user pool for use with an identity source.

    "