diff --git a/VERSION b/VERSION index 6df11b46d67..326cdcfa252 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.138 \ No newline at end of file +1.11.139 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferClient.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferClient.h index 6167545127a..f08d9999519 100644 --- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferClient.h +++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferClient.h @@ -150,12 +150,15 @@ namespace Transfer } /** - *

Creates the connector, which captures the parameters for an outbound - * connection for the AS2 or SFTP protocol. The connector is required for sending - * files to an externally hosted AS2 or SFTP server. For more details about AS2 - * connectors, see Creates the connector, which captures the parameters for a connection for the + * AS2 or SFTP protocol. For AS2, the connector is required for sending files to an + * externally hosted AS2 server. For SFTP, the connector is required when sending + * files to an SFTP server or receiving files from an SFTP server. For more details + * about connectors, see Create - * AS2 connectors.

You must specify exactly one configuration + * AS2 connectors and Create + * SFTP connectors.

You must specify exactly one configuration * object: either for AS2 (As2Config) or SFTP * (SftpConfig).

See Also:

AWS @@ -1300,7 +1303,7 @@ namespace Transfer * file transfer can be either outbound or inbound. In both cases, you specify the * ConnectorId. Depending on the direction of the transfer, you also * specify the following items:

You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -164,11 +168,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -198,6 +212,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline const Aws::String& GetField() const{ return m_field; } @@ -246,14 +270,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -327,11 +355,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -361,6 +399,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; } @@ -409,14 +457,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -490,11 +542,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -524,6 +586,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline void SetField(const Aws::String& value) { m_fieldHasBeenSet = true; m_field = value; } @@ -572,14 +644,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -653,11 +729,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -687,6 +773,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline void SetField(Aws::String&& value) { m_fieldHasBeenSet = true; m_field = std::move(value); } @@ -735,14 +831,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -816,11 +916,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -850,6 +960,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline void SetField(const char* value) { m_fieldHasBeenSet = true; m_field.assign(value); } @@ -898,14 +1018,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -979,11 +1103,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -1013,6 +1147,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline AdvancedFieldSelector& WithField(const Aws::String& value) { SetField(value); return *this;} @@ -1061,14 +1205,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -1142,11 +1290,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -1176,6 +1334,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline AdvancedFieldSelector& WithField(Aws::String&& value) { SetField(std::move(value)); return *this;} @@ -1224,14 +1392,18 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • You can have only one - * resources.type field per selector. To log data events on more than - * one resource type, add another selector.

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • You can + * have only one resources.type field per selector. To log data events + * on more than one resource type, add another selector.

  • * resources.ARN - You can use any operator with * resources.ARN, but if you use Equals or * NotEquals, the value must exactly match the ARN of a valid resource @@ -1305,11 +1477,21 @@ namespace Model * format:

    • * arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID> *

    When resources.type equals + * AWS::ManagedBlockchain::Network, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:managedblockchain:::networks/<network_name> + *

    When resources.type equals * AWS::ManagedBlockchain::Node, and the operator is set to * Equals or NotEquals, the ARN must be in the following * format:

    • * arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID> *

    When resources.type equals + * AWS::MedicalImaging::Datastore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

    • + * arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID> + *

    When resources.type equals * AWS::SageMaker::ExperimentTrialComponent, and the operator is set * to Equals or NotEquals, the ARN must be in the * following format:

    • @@ -1339,6 +1521,16 @@ namespace Model * Equals or NotEquals, the ARN must be in the following * format:

      • * arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path> + *

      When resources.type equals + * AWS::SSMMessages::ControlChannel, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID> + *

      When resources.type equals + * AWS::VerifiedPermissions::PolicyStore, and the operator is set to + * Equals or NotEquals, the ARN must be in the following + * format:

      • + * arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID> *

    */ inline AdvancedFieldSelector& WithField(const char* value) { SetField(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/CreateEventDataStoreRequest.h b/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/CreateEventDataStoreRequest.h index aa525e573a4..4dd750e383a 100644 --- a/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/CreateEventDataStoreRequest.h +++ b/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/CreateEventDataStoreRequest.h @@ -283,25 +283,61 @@ namespace Model /** *

    The retention period of the event data store, in days. You can set a - * retention period of up to 2557 days, the equivalent of seven years.

    + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you plan to copy trail events to this event data store, we recommend that you + * consider both the age of the events that you want to copy as well as how long + * you want to keep the copied events in your event data store. For example, if you + * copy trail events that are 5 years old and specify a retention period of 7 + * years, the event data store will retain those events for two years.

    */ inline int GetRetentionPeriod() const{ return m_retentionPeriod; } /** *

    The retention period of the event data store, in days. You can set a - * retention period of up to 2557 days, the equivalent of seven years.

    + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you plan to copy trail events to this event data store, we recommend that you + * consider both the age of the events that you want to copy as well as how long + * you want to keep the copied events in your event data store. For example, if you + * copy trail events that are 5 years old and specify a retention period of 7 + * years, the event data store will retain those events for two years.

    */ inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; } /** *

    The retention period of the event data store, in days. You can set a - * retention period of up to 2557 days, the equivalent of seven years.

    + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you plan to copy trail events to this event data store, we recommend that you + * consider both the age of the events that you want to copy as well as how long + * you want to keep the copied events in your event data store. For example, if you + * copy trail events that are 5 years old and specify a retention period of 7 + * years, the event data store will retain those events for two years.

    */ inline void SetRetentionPeriod(int value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; } /** *

    The retention period of the event data store, in days. You can set a - * retention period of up to 2557 days, the equivalent of seven years.

    + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you plan to copy trail events to this event data store, we recommend that you + * consider both the age of the events that you want to copy as well as how long + * you want to keep the copied events in your event data store. For example, if you + * copy trail events that are 5 years old and specify a retention period of 7 + * years, the event data store will retain those events for two years.

    */ inline CreateEventDataStoreRequest& WithRetentionPeriod(int value) { SetRetentionPeriod(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/DataResource.h b/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/DataResource.h index 0bf363e5648..3ec48a57f6b 100644 --- a/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/DataResource.h +++ b/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/DataResource.h @@ -95,12 +95,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline const Aws::String& GetType() const{ return m_type; } @@ -125,12 +129,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } @@ -155,12 +163,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } @@ -185,12 +197,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } @@ -215,12 +231,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } @@ -245,12 +265,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline DataResource& WithType(const Aws::String& value) { SetType(value); return *this;} @@ -275,12 +299,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline DataResource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} @@ -305,12 +333,16 @@ namespace Model * AWS::Glue::Table

  • * AWS::GuardDuty::Detector

  • * AWS::KendraRanking::ExecutionPlan

  • + * AWS::ManagedBlockchain::Network

  • * AWS::ManagedBlockchain::Node

  • + * AWS::MedicalImaging::Datastore

  • * AWS::SageMaker::ExperimentTrialComponent

  • * AWS::SageMaker::FeatureGroup

  • * AWS::S3::AccessPoint

  • * AWS::S3ObjectLambda::AccessPoint

  • - * AWS::S3Outposts::Object

  • + * AWS::S3Outposts::Object

  • + * AWS::SSMMessages::ControlChannel

  • + * AWS::VerifiedPermissions::PolicyStore

  • */ inline DataResource& WithType(const char* value) { SetType(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/UpdateEventDataStoreRequest.h b/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/UpdateEventDataStoreRequest.h index 33b107c38b9..c681929857e 100644 --- a/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/UpdateEventDataStoreRequest.h +++ b/generated/src/aws-cpp-sdk-cloudtrail/include/aws/cloudtrail/model/UpdateEventDataStoreRequest.h @@ -234,22 +234,62 @@ namespace Model /** - *

    The retention period, in days.

    + *

    The retention period of the event data store, in days. You can set a + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you decrease the retention period of an event data store, CloudTrail will remove + * any events with an eventTime older than the new retention period. + * For example, if the previous retention period was 365 days and you decrease it + * to 100 days, CloudTrail will remove events with an eventTime older + * than 100 days.

    */ inline int GetRetentionPeriod() const{ return m_retentionPeriod; } /** - *

    The retention period, in days.

    + *

    The retention period of the event data store, in days. You can set a + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you decrease the retention period of an event data store, CloudTrail will remove + * any events with an eventTime older than the new retention period. + * For example, if the previous retention period was 365 days and you decrease it + * to 100 days, CloudTrail will remove events with an eventTime older + * than 100 days.

    */ inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; } /** - *

    The retention period, in days.

    + *

    The retention period of the event data store, in days. You can set a + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you decrease the retention period of an event data store, CloudTrail will remove + * any events with an eventTime older than the new retention period. + * For example, if the previous retention period was 365 days and you decrease it + * to 100 days, CloudTrail will remove events with an eventTime older + * than 100 days.

    */ inline void SetRetentionPeriod(int value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; } /** - *

    The retention period, in days.

    + *

    The retention period of the event data store, in days. You can set a + * retention period of up to 2557 days, the equivalent of seven years. CloudTrail + * Lake determines whether to retain an event by checking if the + * eventTime of the event is within the specified retention period. + * For example, if you set a retention period of 90 days, CloudTrail will remove + * events when the eventTime is older than 90 days.

    If + * you decrease the retention period of an event data store, CloudTrail will remove + * any events with an eventTime older than the new retention period. + * For example, if the previous retention period was 365 days and you decrease it + * to 100 days, CloudTrail will remove events with an eventTime older + * than 100 days.

    */ inline UpdateEventDataStoreRequest& WithRetentionPeriod(int value) { SetRetentionPeriod(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-cloudtrail/source/CloudTrailEndpointRules.cpp b/generated/src/aws-cpp-sdk-cloudtrail/source/CloudTrailEndpointRules.cpp index fae5e73eb36..2d495a5b1db 100644 --- a/generated/src/aws-cpp-sdk-cloudtrail/source/CloudTrailEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-cloudtrail/source/CloudTrailEndpointRules.cpp @@ -10,8 +10,8 @@ namespace Aws { namespace CloudTrail { -const size_t CloudTrailEndpointRules::RulesBlobStrLen = 4132; -const size_t CloudTrailEndpointRules::RulesBlobSize = 4133; +const size_t CloudTrailEndpointRules::RulesBlobStrLen = 3880; +const size_t CloudTrailEndpointRules::RulesBlobSize = 3881; using RulesBlobT = Aws::Array; static constexpr RulesBlobT RulesBlob = {{ @@ -59,128 +59,118 @@ static constexpr RulesBlobT RulesBlob = {{ 'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', 't','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', 'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', -'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', -'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', -'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', -' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', -'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', -'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', -'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', -'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', -',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', -',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', -'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', -'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', -'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u','d','t','r', -'a','i','l','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t', -'i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f', -'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', -'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', -'n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', -',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t', -'a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s', -' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o', -'r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', -'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u', -'e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r', -'u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', -'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"','t', +'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"', +'e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a', +'t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o', +'m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r', +'t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{', +'"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',',', +'"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}', +',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', +'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', +'o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g', +'n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t', 'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',',','"','u','s', -'-','g','o','v','-','e','a','s','t','-','1','"',']','}',']',',','"','e','n','d','p','o','i','n','t', -'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u','d','t','r', -'a','i','l','.','u','s','-','g','o','v','-','e','a','s','t','-','1','.','a','m','a','z','o','n','a', -'w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', -'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', -'o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', -'n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',',','"','u','s','-','g','o','v', -'-','w','e','s','t','-','1','"',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', -'u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u','d','t','r','a','i','l','.', -'u','s','-','g','o','v','-','w','e','s','t','-','1','.','a','m','a','z','o','n','a','w','s','.','c', -'o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', -'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', -'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', -'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o', -'u','d','t','r','a','i','l','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a', -'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"', -',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s', -'"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']', -'}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', -'o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ', -'t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s', -'u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', -'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t', -'r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l', -'e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"', -':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', -'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', -'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', -'}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u','d','t','r','a','i','l','.','{','R', -'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', -'u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e', +'f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}', +']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', +'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o', +'l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',', +'{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{', +'"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',', +'"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':', +'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', +'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', +'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}', +']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', +':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', +'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u', +'d','t','r','a','i','l','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s', +'S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',', +'"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d', +'p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S', +'t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i', +'s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p', +'o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', +'u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e', +'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':', +'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t', +'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v', +'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R', +'e','g','i','o','n','"','}',',','"','u','s','-','g','o','v','-','e','a','s','t','-','1','"',']','}', +']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p', +'s',':','/','/','c','l','o','u','d','t','r','a','i','l','.','u','s','-','g','o','v','-','e','a','s', +'t','-','1','.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e', +'r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', +'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a', +'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', +'n','"','}',',','"','u','s','-','g','o','v','-','w','e','s','t','-','1','"',']','}',']',',','"','e', +'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', +'c','l','o','u','d','t','r','a','i','l','.','u','s','-','g','o','v','-','w','e','s','t','-','1','.', +'a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e', +'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', +'"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"', +'h','t','t','p','s',':','/','/','c','l','o','u','d','t','r','a','i','l','-','f','i','p','s','.','{', +'R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a', +'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d', +'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y', +'p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l', +'S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', +'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', +'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e', +'e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t', +'t','p','s',':','/','/','c','l','o','u','d','t','r','a','i','l','.','{','R','e','g','i','o','n','}', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a', +'c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s', +'"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"', +':','"','e','n','d','p','o','i','n','t','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k', +' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t', +'i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u', +'a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o', +'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u', +'d','t','r','a','i','l','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o', +'n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', 'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', '"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D', -'u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t', -'h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u', -'p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"', -'e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', -'t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','c','l','o','u','d','t', -'r','a','i','l','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r', -'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', -'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',']','}',',','{','"', 'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I', 'n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s', 's','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':','"','e','r','r','o', -'r','"','}',']','}',']','}','\0' +'r','"','}',']','}','\0' }}; const char* CloudTrailEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h index 9e5232ed0ca..a92c2361f44 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectClient.h @@ -399,6 +399,32 @@ namespace Connect return SubmitAsync(&ConnectClient::AssociateSecurityKey, request, handler, context); } + /** + *

    Associates an agent with a traffic distribution group.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::AssociateTrafficDistributionGroupUserOutcome AssociateTrafficDistributionGroupUser(const Model::AssociateTrafficDistributionGroupUserRequest& request) const; + + /** + * A Callable wrapper for AssociateTrafficDistributionGroupUser that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::AssociateTrafficDistributionGroupUserOutcomeCallable AssociateTrafficDistributionGroupUserCallable(const AssociateTrafficDistributionGroupUserRequestT& request) const + { + return SubmitCallable(&ConnectClient::AssociateTrafficDistributionGroupUser, request); + } + + /** + * An Async wrapper for AssociateTrafficDistributionGroupUser that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void AssociateTrafficDistributionGroupUserAsync(const AssociateTrafficDistributionGroupUserRequestT& request, const AssociateTrafficDistributionGroupUserResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ConnectClient::AssociateTrafficDistributionGroupUser, request, handler, context); + } + /** *

    Claims an available phone number to your Amazon Connect instance or traffic * distribution group. You can call this API only in the same Amazon Web Services @@ -2392,6 +2418,32 @@ namespace Connect return SubmitAsync(&ConnectClient::DisassociateSecurityKey, request, handler, context); } + /** + *

    Disassociates an agent from a traffic distribution group.

    See + * Also:

    AWS + * API Reference

    + */ + virtual Model::DisassociateTrafficDistributionGroupUserOutcome DisassociateTrafficDistributionGroupUser(const Model::DisassociateTrafficDistributionGroupUserRequest& request) const; + + /** + * A Callable wrapper for DisassociateTrafficDistributionGroupUser that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DisassociateTrafficDistributionGroupUserOutcomeCallable DisassociateTrafficDistributionGroupUserCallable(const DisassociateTrafficDistributionGroupUserRequestT& request) const + { + return SubmitCallable(&ConnectClient::DisassociateTrafficDistributionGroupUser, request); + } + + /** + * An Async wrapper for DisassociateTrafficDistributionGroupUser that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DisassociateTrafficDistributionGroupUserAsync(const DisassociateTrafficDistributionGroupUserRequestT& request, const DisassociateTrafficDistributionGroupUserResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ConnectClient::DisassociateTrafficDistributionGroupUser, request, handler, context); + } + /** *

    Dismisses contacts from an agent’s CCP and returns the agent to an available * state, which allows the agent to receive a new routed contact. Contacts can only @@ -3182,7 +3234,11 @@ namespace Connect * phone numbers, see Set * Up Phone Numbers for Your Contact Center in the Amazon Connect - * Administrator Guide.

    See Also:

    .

    • When given an instance ARN, + * ListPhoneNumbersV2 returns only the phone numbers claimed to the + * instance.

    • When given a traffic distribution group ARN + * ListPhoneNumbersV2 returns only the phone numbers claimed to the + * traffic distribution group.

    See Also:

    AWS * API Reference

    */ @@ -3541,6 +3597,31 @@ namespace Connect return SubmitAsync(&ConnectClient::ListTaskTemplates, request, handler, context); } + /** + *

    Lists traffic distribution group users.

    See Also:

    AWS + * API Reference

    + */ + virtual Model::ListTrafficDistributionGroupUsersOutcome ListTrafficDistributionGroupUsers(const Model::ListTrafficDistributionGroupUsersRequest& request) const; + + /** + * A Callable wrapper for ListTrafficDistributionGroupUsers that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTrafficDistributionGroupUsersOutcomeCallable ListTrafficDistributionGroupUsersCallable(const ListTrafficDistributionGroupUsersRequestT& request) const + { + return SubmitCallable(&ConnectClient::ListTrafficDistributionGroupUsers, request); + } + + /** + * An Async wrapper for ListTrafficDistributionGroupUsers that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTrafficDistributionGroupUsersAsync(const ListTrafficDistributionGroupUsersRequestT& request, const ListTrafficDistributionGroupUsersResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ConnectClient::ListTrafficDistributionGroupUsers, request, handler, context); + } + /** *

    Lists traffic distribution groups.

    See Also:

    AWS @@ -5429,7 +5510,12 @@ namespace Connect /** *

    Updates the traffic distribution for a given traffic distribution group.

    - *

    For more information about updating a traffic distribution group, see You can change the SignInConfig only for a default + * TrafficDistributionGroup. If you call + * UpdateTrafficDistribution with a modified SignInConfig + * and a non-default TrafficDistributionGroup, an + * InvalidRequestException is returned.

    For more + * information about updating a traffic distribution group, see Update * telephony traffic distribution across Amazon Web Services Regions in the * Amazon Connect Administrator Guide.

    See Also:

    #include #include +#include #include #include #include @@ -71,6 +72,7 @@ #include #include #include +#include #include #include #include @@ -112,6 +114,7 @@ #include #include #include +#include #include #include #include @@ -209,6 +212,7 @@ namespace Aws class AssociateQueueQuickConnectsRequest; class AssociateRoutingProfileQueuesRequest; class AssociateSecurityKeyRequest; + class AssociateTrafficDistributionGroupUserRequest; class ClaimPhoneNumberRequest; class CreateAgentStatusRequest; class CreateContactFlowRequest; @@ -281,6 +285,7 @@ namespace Aws class DisassociateQueueQuickConnectsRequest; class DisassociateRoutingProfileQueuesRequest; class DisassociateSecurityKeyRequest; + class DisassociateTrafficDistributionGroupUserRequest; class DismissUserContactRequest; class GetContactAttributesRequest; class GetCurrentMetricDataRequest; @@ -322,6 +327,7 @@ namespace Aws class ListSecurityProfilesRequest; class ListTagsForResourceRequest; class ListTaskTemplatesRequest; + class ListTrafficDistributionGroupUsersRequest; class ListTrafficDistributionGroupsRequest; class ListUseCasesRequest; class ListUserHierarchyGroupsRequest; @@ -409,6 +415,7 @@ namespace Aws typedef Aws::Utils::Outcome AssociateQueueQuickConnectsOutcome; typedef Aws::Utils::Outcome AssociateRoutingProfileQueuesOutcome; typedef Aws::Utils::Outcome AssociateSecurityKeyOutcome; + typedef Aws::Utils::Outcome AssociateTrafficDistributionGroupUserOutcome; typedef Aws::Utils::Outcome ClaimPhoneNumberOutcome; typedef Aws::Utils::Outcome CreateAgentStatusOutcome; typedef Aws::Utils::Outcome CreateContactFlowOutcome; @@ -481,6 +488,7 @@ namespace Aws typedef Aws::Utils::Outcome DisassociateQueueQuickConnectsOutcome; typedef Aws::Utils::Outcome DisassociateRoutingProfileQueuesOutcome; typedef Aws::Utils::Outcome DisassociateSecurityKeyOutcome; + typedef Aws::Utils::Outcome DisassociateTrafficDistributionGroupUserOutcome; typedef Aws::Utils::Outcome DismissUserContactOutcome; typedef Aws::Utils::Outcome GetContactAttributesOutcome; typedef Aws::Utils::Outcome GetCurrentMetricDataOutcome; @@ -522,6 +530,7 @@ namespace Aws typedef Aws::Utils::Outcome ListSecurityProfilesOutcome; typedef Aws::Utils::Outcome ListTagsForResourceOutcome; typedef Aws::Utils::Outcome ListTaskTemplatesOutcome; + typedef Aws::Utils::Outcome ListTrafficDistributionGroupUsersOutcome; typedef Aws::Utils::Outcome ListTrafficDistributionGroupsOutcome; typedef Aws::Utils::Outcome ListUseCasesOutcome; typedef Aws::Utils::Outcome ListUserHierarchyGroupsOutcome; @@ -609,6 +618,7 @@ namespace Aws typedef std::future AssociateQueueQuickConnectsOutcomeCallable; typedef std::future AssociateRoutingProfileQueuesOutcomeCallable; typedef std::future AssociateSecurityKeyOutcomeCallable; + typedef std::future AssociateTrafficDistributionGroupUserOutcomeCallable; typedef std::future ClaimPhoneNumberOutcomeCallable; typedef std::future CreateAgentStatusOutcomeCallable; typedef std::future CreateContactFlowOutcomeCallable; @@ -681,6 +691,7 @@ namespace Aws typedef std::future DisassociateQueueQuickConnectsOutcomeCallable; typedef std::future DisassociateRoutingProfileQueuesOutcomeCallable; typedef std::future DisassociateSecurityKeyOutcomeCallable; + typedef std::future DisassociateTrafficDistributionGroupUserOutcomeCallable; typedef std::future DismissUserContactOutcomeCallable; typedef std::future GetContactAttributesOutcomeCallable; typedef std::future GetCurrentMetricDataOutcomeCallable; @@ -722,6 +733,7 @@ namespace Aws typedef std::future ListSecurityProfilesOutcomeCallable; typedef std::future ListTagsForResourceOutcomeCallable; typedef std::future ListTaskTemplatesOutcomeCallable; + typedef std::future ListTrafficDistributionGroupUsersOutcomeCallable; typedef std::future ListTrafficDistributionGroupsOutcomeCallable; typedef std::future ListUseCasesOutcomeCallable; typedef std::future ListUserHierarchyGroupsOutcomeCallable; @@ -812,6 +824,7 @@ namespace Aws typedef std::function&) > AssociateQueueQuickConnectsResponseReceivedHandler; typedef std::function&) > AssociateRoutingProfileQueuesResponseReceivedHandler; typedef std::function&) > AssociateSecurityKeyResponseReceivedHandler; + typedef std::function&) > AssociateTrafficDistributionGroupUserResponseReceivedHandler; typedef std::function&) > ClaimPhoneNumberResponseReceivedHandler; typedef std::function&) > CreateAgentStatusResponseReceivedHandler; typedef std::function&) > CreateContactFlowResponseReceivedHandler; @@ -884,6 +897,7 @@ namespace Aws typedef std::function&) > DisassociateQueueQuickConnectsResponseReceivedHandler; typedef std::function&) > DisassociateRoutingProfileQueuesResponseReceivedHandler; typedef std::function&) > DisassociateSecurityKeyResponseReceivedHandler; + typedef std::function&) > DisassociateTrafficDistributionGroupUserResponseReceivedHandler; typedef std::function&) > DismissUserContactResponseReceivedHandler; typedef std::function&) > GetContactAttributesResponseReceivedHandler; typedef std::function&) > GetCurrentMetricDataResponseReceivedHandler; @@ -925,6 +939,7 @@ namespace Aws typedef std::function&) > ListSecurityProfilesResponseReceivedHandler; typedef std::function&) > ListTagsForResourceResponseReceivedHandler; typedef std::function&) > ListTaskTemplatesResponseReceivedHandler; + typedef std::function&) > ListTrafficDistributionGroupUsersResponseReceivedHandler; typedef std::function&) > ListTrafficDistributionGroupsResponseReceivedHandler; typedef std::function&) > ListUseCasesResponseReceivedHandler; typedef std::function&) > ListUserHierarchyGroupsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentConfig.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentConfig.h new file mode 100644 index 00000000000..0db59dbaebb --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentConfig.h @@ -0,0 +1,90 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + *

    The distribution of agents between the instance and its + * replica(s).

    See Also:

    AWS + * API Reference

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

    Information about traffic distributions.

    + */ + inline const Aws::Vector& GetDistributions() const{ return m_distributions; } + + /** + *

    Information about traffic distributions.

    + */ + inline bool DistributionsHasBeenSet() const { return m_distributionsHasBeenSet; } + + /** + *

    Information about traffic distributions.

    + */ + inline void SetDistributions(const Aws::Vector& value) { m_distributionsHasBeenSet = true; m_distributions = value; } + + /** + *

    Information about traffic distributions.

    + */ + inline void SetDistributions(Aws::Vector&& value) { m_distributionsHasBeenSet = true; m_distributions = std::move(value); } + + /** + *

    Information about traffic distributions.

    + */ + inline AgentConfig& WithDistributions(const Aws::Vector& value) { SetDistributions(value); return *this;} + + /** + *

    Information about traffic distributions.

    + */ + inline AgentConfig& WithDistributions(Aws::Vector&& value) { SetDistributions(std::move(value)); return *this;} + + /** + *

    Information about traffic distributions.

    + */ + inline AgentConfig& AddDistributions(const Distribution& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(value); return *this; } + + /** + *

    Information about traffic distributions.

    + */ + inline AgentConfig& AddDistributions(Distribution&& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_distributions; + bool m_distributionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateTrafficDistributionGroupUserRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateTrafficDistributionGroupUserRequest.h new file mode 100644 index 00000000000..c321b543780 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateTrafficDistributionGroupUserRequest.h @@ -0,0 +1,219 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + */ + class AssociateTrafficDistributionGroupUserRequest : public ConnectRequest + { + public: + AWS_CONNECT_API AssociateTrafficDistributionGroupUserRequest(); + + // 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 "AssociateTrafficDistributionGroupUser"; } + + AWS_CONNECT_API Aws::String SerializePayload() const override; + + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline const Aws::String& GetTrafficDistributionGroupId() const{ return m_trafficDistributionGroupId; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline bool TrafficDistributionGroupIdHasBeenSet() const { return m_trafficDistributionGroupIdHasBeenSet; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(const Aws::String& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = value; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(Aws::String&& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = std::move(value); } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(const char* value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId.assign(value); } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithTrafficDistributionGroupId(const Aws::String& value) { SetTrafficDistributionGroupId(value); return *this;} + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithTrafficDistributionGroupId(Aws::String&& value) { SetTrafficDistributionGroupId(std::move(value)); return *this;} + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithTrafficDistributionGroupId(const char* value) { SetTrafficDistributionGroupId(value); return *this;} + + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *

    The identifier of the user account. This can be the ID or the ARN of the + * user.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;} + + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline AssociateTrafficDistributionGroupUserRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + + private: + + Aws::String m_trafficDistributionGroupId; + bool m_trafficDistributionGroupIdHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateTrafficDistributionGroupUserResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateTrafficDistributionGroupUserResult.h new file mode 100644 index 00000000000..dfad47b47b6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AssociateTrafficDistributionGroupUserResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + class AssociateTrafficDistributionGroupUserResult + { + public: + AWS_CONNECT_API AssociateTrafficDistributionGroupUserResult(); + AWS_CONNECT_API AssociateTrafficDistributionGroupUserResult(const Aws::AmazonWebServiceResult& result); + AWS_CONNECT_API AssociateTrafficDistributionGroupUserResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + 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 AssociateTrafficDistributionGroupUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline AssociateTrafficDistributionGroupUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline AssociateTrafficDistributionGroupUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateRoutingProfileRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateRoutingProfileRequest.h index ba688a7384f..9bbdc31c907 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateRoutingProfileRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CreateRoutingProfileRequest.h @@ -444,43 +444,43 @@ namespace Model /** *

    Whether agents with this routing profile will have their routing order - * calculated based on time since their last inbound contact or longest - * idle time.

    + * calculated based on longest idle time or time since their last inbound + * contact.

    */ inline const AgentAvailabilityTimer& GetAgentAvailabilityTimer() const{ return m_agentAvailabilityTimer; } /** *

    Whether agents with this routing profile will have their routing order - * calculated based on time since their last inbound contact or longest - * idle time.

    + * calculated based on longest idle time or time since their last inbound + * contact.

    */ inline bool AgentAvailabilityTimerHasBeenSet() const { return m_agentAvailabilityTimerHasBeenSet; } /** *

    Whether agents with this routing profile will have their routing order - * calculated based on time since their last inbound contact or longest - * idle time.

    + * calculated based on longest idle time or time since their last inbound + * contact.

    */ inline void SetAgentAvailabilityTimer(const AgentAvailabilityTimer& value) { m_agentAvailabilityTimerHasBeenSet = true; m_agentAvailabilityTimer = value; } /** *

    Whether agents with this routing profile will have their routing order - * calculated based on time since their last inbound contact or longest - * idle time.

    + * calculated based on longest idle time or time since their last inbound + * contact.

    */ inline void SetAgentAvailabilityTimer(AgentAvailabilityTimer&& value) { m_agentAvailabilityTimerHasBeenSet = true; m_agentAvailabilityTimer = std::move(value); } /** *

    Whether agents with this routing profile will have their routing order - * calculated based on time since their last inbound contact or longest - * idle time.

    + * calculated based on longest idle time or time since their last inbound + * contact.

    */ inline CreateRoutingProfileRequest& WithAgentAvailabilityTimer(const AgentAvailabilityTimer& value) { SetAgentAvailabilityTimer(value); return *this;} /** *

    Whether agents with this routing profile will have their routing order - * calculated based on time since their last inbound contact or longest - * idle time.

    + * calculated based on longest idle time or time since their last inbound + * contact.

    */ inline CreateRoutingProfileRequest& WithAgentAvailabilityTimer(AgentAvailabilityTimer&& value) { SetAgentAvailabilityTimer(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DisassociateTrafficDistributionGroupUserRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DisassociateTrafficDistributionGroupUserRequest.h new file mode 100644 index 00000000000..d8d90f950d6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DisassociateTrafficDistributionGroupUserRequest.h @@ -0,0 +1,217 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Connect +{ +namespace Model +{ + + /** + */ + class DisassociateTrafficDistributionGroupUserRequest : public ConnectRequest + { + public: + AWS_CONNECT_API DisassociateTrafficDistributionGroupUserRequest(); + + // 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 "DisassociateTrafficDistributionGroupUser"; } + + AWS_CONNECT_API Aws::String SerializePayload() const override; + + AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline const Aws::String& GetTrafficDistributionGroupId() const{ return m_trafficDistributionGroupId; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline bool TrafficDistributionGroupIdHasBeenSet() const { return m_trafficDistributionGroupIdHasBeenSet; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(const Aws::String& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = value; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(Aws::String&& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = std::move(value); } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(const char* value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId.assign(value); } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithTrafficDistributionGroupId(const Aws::String& value) { SetTrafficDistributionGroupId(value); return *this;} + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithTrafficDistributionGroupId(Aws::String&& value) { SetTrafficDistributionGroupId(std::move(value)); return *this;} + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithTrafficDistributionGroupId(const char* value) { SetTrafficDistributionGroupId(value); return *this;} + + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;} + + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + + /** + *

    The identifier of the Amazon Connect instance. You can find + * the instance ID in the Amazon Resource Name (ARN) of the instance.

    + */ + inline DisassociateTrafficDistributionGroupUserRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} + + private: + + Aws::String m_trafficDistributionGroupId; + bool m_trafficDistributionGroupIdHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DisassociateTrafficDistributionGroupUserResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DisassociateTrafficDistributionGroupUserResult.h new file mode 100644 index 00000000000..4760113f972 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/DisassociateTrafficDistributionGroupUserResult.h @@ -0,0 +1,63 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + class DisassociateTrafficDistributionGroupUserResult + { + public: + AWS_CONNECT_API DisassociateTrafficDistributionGroupUserResult(); + AWS_CONNECT_API DisassociateTrafficDistributionGroupUserResult(const Aws::AmazonWebServiceResult& result); + AWS_CONNECT_API DisassociateTrafficDistributionGroupUserResult& operator=(const Aws::AmazonWebServiceResult& result); + + + + 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 DisassociateTrafficDistributionGroupUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline DisassociateTrafficDistributionGroupUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline DisassociateTrafficDistributionGroupUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetFederationTokenResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetFederationTokenResult.h index f7a4099c3e6..5a7321bf5d1 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetFederationTokenResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetFederationTokenResult.h @@ -132,37 +132,37 @@ namespace Model /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline const Aws::String& GetUserId() const{ return m_userId; } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline void SetUserId(const Aws::String& value) { m_userId = value; } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline void SetUserId(const char* value) { m_userId.assign(value); } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline GetFederationTokenResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline GetFederationTokenResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline GetFederationTokenResult& WithUserId(const char* value) { SetUserId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTrafficDistributionResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTrafficDistributionResult.h index fe198675b9f..d089e26d7a1 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTrafficDistributionResult.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetTrafficDistributionResult.h @@ -7,6 +7,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -152,6 +154,63 @@ namespace Model inline GetTrafficDistributionResult& WithArn(const char* value) { SetArn(value); return *this;} + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline const SignInConfig& GetSignInConfig() const{ return m_signInConfig; } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline void SetSignInConfig(const SignInConfig& value) { m_signInConfig = value; } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline void SetSignInConfig(SignInConfig&& value) { m_signInConfig = std::move(value); } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline GetTrafficDistributionResult& WithSignInConfig(const SignInConfig& value) { SetSignInConfig(value); return *this;} + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline GetTrafficDistributionResult& WithSignInConfig(SignInConfig&& value) { SetSignInConfig(std::move(value)); return *this;} + + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline const AgentConfig& GetAgentConfig() const{ return m_agentConfig; } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline void SetAgentConfig(const AgentConfig& value) { m_agentConfig = value; } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline void SetAgentConfig(AgentConfig&& value) { m_agentConfig = std::move(value); } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline GetTrafficDistributionResult& WithAgentConfig(const AgentConfig& value) { SetAgentConfig(value); return *this;} + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline GetTrafficDistributionResult& WithAgentConfig(AgentConfig&& value) { SetAgentConfig(std::move(value)); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -181,6 +240,10 @@ namespace Model Aws::String m_arn; + SignInConfig m_signInConfig; + + AgentConfig m_agentConfig; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListTrafficDistributionGroupUsersRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListTrafficDistributionGroupUsersRequest.h new file mode 100644 index 00000000000..1688f9c464f --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListTrafficDistributionGroupUsersRequest.h @@ -0,0 +1,189 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Connect +{ +namespace Model +{ + + /** + */ + class ListTrafficDistributionGroupUsersRequest : public ConnectRequest + { + public: + AWS_CONNECT_API ListTrafficDistributionGroupUsersRequest(); + + // 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 "ListTrafficDistributionGroupUsers"; } + + AWS_CONNECT_API Aws::String SerializePayload() const override; + + AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline const Aws::String& GetTrafficDistributionGroupId() const{ return m_trafficDistributionGroupId; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline bool TrafficDistributionGroupIdHasBeenSet() const { return m_trafficDistributionGroupIdHasBeenSet; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(const Aws::String& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = value; } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(Aws::String&& value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId = std::move(value); } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline void SetTrafficDistributionGroupId(const char* value) { m_trafficDistributionGroupIdHasBeenSet = true; m_trafficDistributionGroupId.assign(value); } + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithTrafficDistributionGroupId(const Aws::String& value) { SetTrafficDistributionGroupId(value); return *this;} + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithTrafficDistributionGroupId(Aws::String&& value) { SetTrafficDistributionGroupId(std::move(value)); return *this;} + + /** + *

    The identifier of the traffic distribution group. This can be the ID or the + * ARN if the API is being called in the Region where the traffic distribution + * group was created. The ARN must be provided if the call is from the replicated + * Region.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithTrafficDistributionGroupId(const char* value) { SetTrafficDistributionGroupId(value); return *this;} + + + /** + *

    The maximum number of results to return per page.

    + */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *

    The maximum number of results to return per page.

    + */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *

    The maximum number of results to return per page.

    + */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *

    The maximum number of results to return per page.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

    The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.

    + */ + inline ListTrafficDistributionGroupUsersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + private: + + Aws::String m_trafficDistributionGroupId; + bool m_trafficDistributionGroupIdHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListTrafficDistributionGroupUsersResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListTrafficDistributionGroupUsersResult.h new file mode 100644 index 00000000000..dbed664494a --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListTrafficDistributionGroupUsersResult.h @@ -0,0 +1,148 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + class ListTrafficDistributionGroupUsersResult + { + public: + AWS_CONNECT_API ListTrafficDistributionGroupUsersResult(); + AWS_CONNECT_API ListTrafficDistributionGroupUsersResult(const Aws::AmazonWebServiceResult& result); + AWS_CONNECT_API ListTrafficDistributionGroupUsersResult& operator=(const Aws::AmazonWebServiceResult& result); + + + /** + *

    If there are additional results, this is the token for the next set of + * results.

    + */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + + /** + *

    If there are additional results, this is the token for the next set of + * results.

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

    If there are additional results, this is the token for the next set of + * results.

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

    If there are additional results, this is the token for the next set of + * results.

    + */ + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + + /** + *

    If there are additional results, this is the token for the next set of + * results.

    + */ + inline ListTrafficDistributionGroupUsersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + + /** + *

    If there are additional results, this is the token for the next set of + * results.

    + */ + inline ListTrafficDistributionGroupUsersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + + /** + *

    If there are additional results, this is the token for the next set of + * results.

    + */ + inline ListTrafficDistributionGroupUsersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + + + /** + *

    A list of traffic distribution group users.

    + */ + inline const Aws::Vector& GetTrafficDistributionGroupUserSummaryList() const{ return m_trafficDistributionGroupUserSummaryList; } + + /** + *

    A list of traffic distribution group users.

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

    A list of traffic distribution group users.

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

    A list of traffic distribution group users.

    + */ + inline ListTrafficDistributionGroupUsersResult& WithTrafficDistributionGroupUserSummaryList(const Aws::Vector& value) { SetTrafficDistributionGroupUserSummaryList(value); return *this;} + + /** + *

    A list of traffic distribution group users.

    + */ + inline ListTrafficDistributionGroupUsersResult& WithTrafficDistributionGroupUserSummaryList(Aws::Vector&& value) { SetTrafficDistributionGroupUserSummaryList(std::move(value)); return *this;} + + /** + *

    A list of traffic distribution group users.

    + */ + inline ListTrafficDistributionGroupUsersResult& AddTrafficDistributionGroupUserSummaryList(const TrafficDistributionGroupUserSummary& value) { m_trafficDistributionGroupUserSummaryList.push_back(value); return *this; } + + /** + *

    A list of traffic distribution group users.

    + */ + inline ListTrafficDistributionGroupUsersResult& AddTrafficDistributionGroupUserSummaryList(TrafficDistributionGroupUserSummary&& value) { m_trafficDistributionGroupUserSummaryList.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 ListTrafficDistributionGroupUsersResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + + + inline ListTrafficDistributionGroupUsersResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + + + inline ListTrafficDistributionGroupUsersResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + + private: + + Aws::String m_nextToken; + + Aws::Vector m_trafficDistributionGroupUserSummaryList; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SignInConfig.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SignInConfig.h new file mode 100644 index 00000000000..19925e49b3d --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SignInConfig.h @@ -0,0 +1,90 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    See Also:

    AWS + * API Reference

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

    Information about traffic distributions.

    + */ + inline const Aws::Vector& GetDistributions() const{ return m_distributions; } + + /** + *

    Information about traffic distributions.

    + */ + inline bool DistributionsHasBeenSet() const { return m_distributionsHasBeenSet; } + + /** + *

    Information about traffic distributions.

    + */ + inline void SetDistributions(const Aws::Vector& value) { m_distributionsHasBeenSet = true; m_distributions = value; } + + /** + *

    Information about traffic distributions.

    + */ + inline void SetDistributions(Aws::Vector&& value) { m_distributionsHasBeenSet = true; m_distributions = std::move(value); } + + /** + *

    Information about traffic distributions.

    + */ + inline SignInConfig& WithDistributions(const Aws::Vector& value) { SetDistributions(value); return *this;} + + /** + *

    Information about traffic distributions.

    + */ + inline SignInConfig& WithDistributions(Aws::Vector&& value) { SetDistributions(std::move(value)); return *this;} + + /** + *

    Information about traffic distributions.

    + */ + inline SignInConfig& AddDistributions(const SignInDistribution& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(value); return *this; } + + /** + *

    Information about traffic distributions.

    + */ + inline SignInConfig& AddDistributions(SignInDistribution&& value) { m_distributionsHasBeenSet = true; m_distributions.push_back(std::move(value)); return *this; } + + private: + + Aws::Vector m_distributions; + bool m_distributionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SignInDistribution.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SignInDistribution.h new file mode 100644 index 00000000000..b40d27af1ce --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SignInDistribution.h @@ -0,0 +1,113 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + *

    The distribution of sign in traffic between the instance and its + * replica(s).

    See Also:

    AWS + * API Reference

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

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline const Aws::String& GetRegion() const{ return m_region; } + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline SignInDistribution& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline SignInDistribution& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} + + /** + *

    The Amazon Web Services Region of the sign in distribution.

    + */ + inline SignInDistribution& WithRegion(const char* value) { SetRegion(value); return *this;} + + + /** + *

    Whether sign in distribution is enabled.

    + */ + inline bool GetEnabled() const{ return m_enabled; } + + /** + *

    Whether sign in distribution is enabled.

    + */ + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + + /** + *

    Whether sign in distribution is enabled.

    + */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + + /** + *

    Whether sign in distribution is enabled.

    + */ + inline SignInDistribution& WithEnabled(bool value) { SetEnabled(value); return *this;} + + private: + + Aws::String m_region; + bool m_regionHasBeenSet = false; + + bool m_enabled; + bool m_enabledHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroup.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroup.h index 295b0f6baef..4eeddfab991 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroup.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroup.h @@ -485,6 +485,59 @@ namespace Model */ inline TrafficDistributionGroup& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + *

    You can change the SignInConfig only for a default + * TrafficDistributionGroup. If you call + * UpdateTrafficDistribution with a modified SignInConfig + * and a non-default TrafficDistributionGroup, an + * InvalidRequestException is returned.

    + */ + inline bool GetIsDefault() const{ return m_isDefault; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + *

    You can change the SignInConfig only for a default + * TrafficDistributionGroup. If you call + * UpdateTrafficDistribution with a modified SignInConfig + * and a non-default TrafficDistributionGroup, an + * InvalidRequestException is returned.

    + */ + inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + *

    You can change the SignInConfig only for a default + * TrafficDistributionGroup. If you call + * UpdateTrafficDistribution with a modified SignInConfig + * and a non-default TrafficDistributionGroup, an + * InvalidRequestException is returned.

    + */ + inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + *

    You can change the SignInConfig only for a default + * TrafficDistributionGroup. If you call + * UpdateTrafficDistribution with a modified SignInConfig + * and a non-default TrafficDistributionGroup, an + * InvalidRequestException is returned.

    + */ + inline TrafficDistributionGroup& WithIsDefault(bool value) { SetIsDefault(value); return *this;} + private: Aws::String m_id; @@ -507,6 +560,9 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + bool m_isDefault; + bool m_isDefaultHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupSummary.h index 2f4896dd330..95f780a4a68 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupSummary.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupSummary.h @@ -364,6 +364,39 @@ namespace Model */ inline TrafficDistributionGroupSummary& WithStatus(TrafficDistributionGroupStatus&& value) { SetStatus(std::move(value)); return *this;} + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + */ + inline bool GetIsDefault() const{ return m_isDefault; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + */ + inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + */ + inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } + + /** + *

    Whether this is the default traffic distribution group created during + * instance replication. The default traffic distribution group cannot be deleted + * by the DeleteTrafficDistributionGroup API. The default traffic + * distribution group is deleted as part of the process for deleting a replica.

    + */ + inline TrafficDistributionGroupSummary& WithIsDefault(bool value) { SetIsDefault(value); return *this;} + private: Aws::String m_id; @@ -380,6 +413,9 @@ namespace Model TrafficDistributionGroupStatus m_status; bool m_statusHasBeenSet = false; + + bool m_isDefault; + bool m_isDefaultHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupUserSummary.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupUserSummary.h new file mode 100644 index 00000000000..457f21014b3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TrafficDistributionGroupUserSummary.h @@ -0,0 +1,89 @@ +/** + * 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 Connect +{ +namespace Model +{ + + /** + *

    Summary information about a traffic distribution group user.

    See + * Also:

    AWS + * API Reference

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

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline const Aws::String& GetUserId() const{ return m_userId; } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline TrafficDistributionGroupUserSummary& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline TrafficDistributionGroupUserSummary& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + + /** + *

    The identifier for the user. This can be the ID or the ARN of the user.

    + */ + inline TrafficDistributionGroupUserSummary& WithUserId(const char* value) { SetUserId(value); return *this;} + + private: + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TransferContactRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TransferContactRequest.h index d5b7b9206b6..0b221eceffd 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TransferContactRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TransferContactRequest.h @@ -173,42 +173,42 @@ namespace Model /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline const Aws::String& GetUserId() const{ return m_userId; } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline TransferContactRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline TransferContactRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} /** - *

    The identifier for the user.

    + *

    The identifier for the user. This can be the ID or the ARN of the user.

    */ inline TransferContactRequest& WithUserId(const char* value) { SetUserId(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTrafficDistributionRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTrafficDistributionRequest.h index 21868b44a19..b7ad6cdc219 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTrafficDistributionRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UpdateTrafficDistributionRequest.h @@ -8,6 +8,8 @@ #include #include #include +#include +#include #include namespace Aws @@ -128,6 +130,74 @@ namespace Model */ inline UpdateTrafficDistributionRequest& WithTelephonyConfig(TelephonyConfig&& value) { SetTelephonyConfig(std::move(value)); return *this;} + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline const SignInConfig& GetSignInConfig() const{ return m_signInConfig; } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline bool SignInConfigHasBeenSet() const { return m_signInConfigHasBeenSet; } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline void SetSignInConfig(const SignInConfig& value) { m_signInConfigHasBeenSet = true; m_signInConfig = value; } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline void SetSignInConfig(SignInConfig&& value) { m_signInConfigHasBeenSet = true; m_signInConfig = std::move(value); } + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline UpdateTrafficDistributionRequest& WithSignInConfig(const SignInConfig& value) { SetSignInConfig(value); return *this;} + + /** + *

    The distribution of allowing signing in to the instance and its + * replica(s).

    + */ + inline UpdateTrafficDistributionRequest& WithSignInConfig(SignInConfig&& value) { SetSignInConfig(std::move(value)); return *this;} + + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline const AgentConfig& GetAgentConfig() const{ return m_agentConfig; } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline bool AgentConfigHasBeenSet() const { return m_agentConfigHasBeenSet; } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline void SetAgentConfig(const AgentConfig& value) { m_agentConfigHasBeenSet = true; m_agentConfig = value; } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline void SetAgentConfig(AgentConfig&& value) { m_agentConfigHasBeenSet = true; m_agentConfig = std::move(value); } + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline UpdateTrafficDistributionRequest& WithAgentConfig(const AgentConfig& value) { SetAgentConfig(value); return *this;} + + /** + *

    The distribution of agents between the instance and its replica(s).

    + */ + inline UpdateTrafficDistributionRequest& WithAgentConfig(AgentConfig&& value) { SetAgentConfig(std::move(value)); return *this;} + private: Aws::String m_id; @@ -135,6 +205,12 @@ namespace Model TelephonyConfig m_telephonyConfig; bool m_telephonyConfigHasBeenSet = false; + + SignInConfig m_signInConfig; + bool m_signInConfigHasBeenSet = false; + + AgentConfig m_agentConfig; + bool m_agentConfigHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-connect/source/ConnectClient.cpp b/generated/src/aws-cpp-sdk-connect/source/ConnectClient.cpp index dfa8558d5f3..72d09ebc107 100644 --- a/generated/src/aws-cpp-sdk-connect/source/ConnectClient.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/ConnectClient.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -104,6 +105,7 @@ #include #include #include +#include #include #include #include @@ -145,6 +147,7 @@ #include #include #include +#include #include #include #include @@ -748,6 +751,40 @@ AssociateSecurityKeyOutcome ConnectClient::AssociateSecurityKey(const AssociateS {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +AssociateTrafficDistributionGroupUserOutcome ConnectClient::AssociateTrafficDistributionGroupUser(const AssociateTrafficDistributionGroupUserRequest& request) const +{ + AWS_OPERATION_GUARD(AssociateTrafficDistributionGroupUser); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TrafficDistributionGroupIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("AssociateTrafficDistributionGroupUser", "Required field: TrafficDistributionGroupId, is not set"); + return AssociateTrafficDistributionGroupUserOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrafficDistributionGroupId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, AssociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociateTrafficDistributionGroupUser", + {{ 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( + [&]()-> AssociateTrafficDistributionGroupUserOutcome { + 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, AssociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/traffic-distribution-group/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTrafficDistributionGroupId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/user"); + return AssociateTrafficDistributionGroupUserOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ClaimPhoneNumberOutcome ConnectClient::ClaimPhoneNumber(const ClaimPhoneNumberRequest& request) const { AWS_OPERATION_GUARD(ClaimPhoneNumber); @@ -3407,6 +3444,50 @@ DisassociateSecurityKeyOutcome ConnectClient::DisassociateSecurityKey(const Disa {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DisassociateTrafficDistributionGroupUserOutcome ConnectClient::DisassociateTrafficDistributionGroupUser(const DisassociateTrafficDistributionGroupUserRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateTrafficDistributionGroupUser); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TrafficDistributionGroupIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateTrafficDistributionGroupUser", "Required field: TrafficDistributionGroupId, is not set"); + return DisassociateTrafficDistributionGroupUserOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrafficDistributionGroupId]", false)); + } + if (!request.UserIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateTrafficDistributionGroupUser", "Required field: UserId, is not set"); + return DisassociateTrafficDistributionGroupUserOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [UserId]", false)); + } + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("DisassociateTrafficDistributionGroupUser", "Required field: InstanceId, is not set"); + return DisassociateTrafficDistributionGroupUserOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DisassociateTrafficDistributionGroupUser", + {{ 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( + [&]()-> DisassociateTrafficDistributionGroupUserOutcome { + 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, DisassociateTrafficDistributionGroupUser, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/traffic-distribution-group/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTrafficDistributionGroupId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/user"); + return DisassociateTrafficDistributionGroupUserOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DismissUserContactOutcome ConnectClient::DismissUserContact(const DismissUserContactRequest& request) const { AWS_OPERATION_GUARD(DismissUserContact); @@ -4831,6 +4912,40 @@ ListTaskTemplatesOutcome ConnectClient::ListTaskTemplates(const ListTaskTemplate {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListTrafficDistributionGroupUsersOutcome ConnectClient::ListTrafficDistributionGroupUsers(const ListTrafficDistributionGroupUsersRequest& request) const +{ + AWS_OPERATION_GUARD(ListTrafficDistributionGroupUsers); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTrafficDistributionGroupUsers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.TrafficDistributionGroupIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTrafficDistributionGroupUsers", "Required field: TrafficDistributionGroupId, is not set"); + return ListTrafficDistributionGroupUsersOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TrafficDistributionGroupId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTrafficDistributionGroupUsers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTrafficDistributionGroupUsers, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTrafficDistributionGroupUsers", + {{ 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( + [&]()-> ListTrafficDistributionGroupUsersOutcome { + 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, ListTrafficDistributionGroupUsers, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/traffic-distribution-group/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetTrafficDistributionGroupId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/user"); + return ListTrafficDistributionGroupUsersOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListTrafficDistributionGroupsOutcome ConnectClient::ListTrafficDistributionGroups(const ListTrafficDistributionGroupsRequest& request) const { AWS_OPERATION_GUARD(ListTrafficDistributionGroups); diff --git a/generated/src/aws-cpp-sdk-connect/source/model/AgentConfig.cpp b/generated/src/aws-cpp-sdk-connect/source/model/AgentConfig.cpp new file mode 100644 index 00000000000..0832d8d29d2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/AgentConfig.cpp @@ -0,0 +1,67 @@ +/** + * 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 Connect +{ +namespace Model +{ + +AgentConfig::AgentConfig() : + m_distributionsHasBeenSet(false) +{ +} + +AgentConfig::AgentConfig(JsonView jsonValue) : + m_distributionsHasBeenSet(false) +{ + *this = jsonValue; +} + +AgentConfig& AgentConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Distributions")) + { + Aws::Utils::Array distributionsJsonList = jsonValue.GetArray("Distributions"); + for(unsigned distributionsIndex = 0; distributionsIndex < distributionsJsonList.GetLength(); ++distributionsIndex) + { + m_distributions.push_back(distributionsJsonList[distributionsIndex].AsObject()); + } + m_distributionsHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentConfig::Jsonize() const +{ + JsonValue payload; + + if(m_distributionsHasBeenSet) + { + Aws::Utils::Array distributionsJsonList(m_distributions.size()); + for(unsigned distributionsIndex = 0; distributionsIndex < distributionsJsonList.GetLength(); ++distributionsIndex) + { + distributionsJsonList[distributionsIndex].AsObject(m_distributions[distributionsIndex].Jsonize()); + } + payload.WithArray("Distributions", std::move(distributionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/AssociateTrafficDistributionGroupUserRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/AssociateTrafficDistributionGroupUserRequest.cpp new file mode 100644 index 00000000000..c2e7853bcd7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/AssociateTrafficDistributionGroupUserRequest.cpp @@ -0,0 +1,43 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +AssociateTrafficDistributionGroupUserRequest::AssociateTrafficDistributionGroupUserRequest() : + m_trafficDistributionGroupIdHasBeenSet(false), + m_userIdHasBeenSet(false), + m_instanceIdHasBeenSet(false) +{ +} + +Aws::String AssociateTrafficDistributionGroupUserRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_userIdHasBeenSet) + { + payload.WithString("UserId", m_userId); + + } + + if(m_instanceIdHasBeenSet) + { + payload.WithString("InstanceId", m_instanceId); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-connect/source/model/AssociateTrafficDistributionGroupUserResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/AssociateTrafficDistributionGroupUserResult.cpp new file mode 100644 index 00000000000..2cbba1103aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/AssociateTrafficDistributionGroupUserResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +AssociateTrafficDistributionGroupUserResult::AssociateTrafficDistributionGroupUserResult() +{ +} + +AssociateTrafficDistributionGroupUserResult::AssociateTrafficDistributionGroupUserResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +AssociateTrafficDistributionGroupUserResult& AssociateTrafficDistributionGroupUserResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + 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-connect/source/model/DisassociateTrafficDistributionGroupUserRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/DisassociateTrafficDistributionGroupUserRequest.cpp new file mode 100644 index 00000000000..780bd0b9699 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/DisassociateTrafficDistributionGroupUserRequest.cpp @@ -0,0 +1,50 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +DisassociateTrafficDistributionGroupUserRequest::DisassociateTrafficDistributionGroupUserRequest() : + m_trafficDistributionGroupIdHasBeenSet(false), + m_userIdHasBeenSet(false), + m_instanceIdHasBeenSet(false) +{ +} + +Aws::String DisassociateTrafficDistributionGroupUserRequest::SerializePayload() const +{ + return {}; +} + +void DisassociateTrafficDistributionGroupUserRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_userIdHasBeenSet) + { + ss << m_userId; + uri.AddQueryStringParameter("UserId", ss.str()); + ss.str(""); + } + + if(m_instanceIdHasBeenSet) + { + ss << m_instanceId; + uri.AddQueryStringParameter("InstanceId", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-connect/source/model/DisassociateTrafficDistributionGroupUserResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/DisassociateTrafficDistributionGroupUserResult.cpp new file mode 100644 index 00000000000..19e86c74a9e --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/DisassociateTrafficDistributionGroupUserResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +DisassociateTrafficDistributionGroupUserResult::DisassociateTrafficDistributionGroupUserResult() +{ +} + +DisassociateTrafficDistributionGroupUserResult::DisassociateTrafficDistributionGroupUserResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DisassociateTrafficDistributionGroupUserResult& DisassociateTrafficDistributionGroupUserResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + 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-connect/source/model/GetTrafficDistributionResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/GetTrafficDistributionResult.cpp index e0486539a62..b6fa78c0a18 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/GetTrafficDistributionResult.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/GetTrafficDistributionResult.cpp @@ -47,6 +47,18 @@ GetTrafficDistributionResult& GetTrafficDistributionResult::operator =(const Aws } + if(jsonValue.ValueExists("SignInConfig")) + { + m_signInConfig = jsonValue.GetObject("SignInConfig"); + + } + + if(jsonValue.ValueExists("AgentConfig")) + { + m_agentConfig = jsonValue.GetObject("AgentConfig"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ListTrafficDistributionGroupUsersRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ListTrafficDistributionGroupUsersRequest.cpp new file mode 100644 index 00000000000..2a9c0a6a6aa --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/ListTrafficDistributionGroupUsersRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListTrafficDistributionGroupUsersRequest::ListTrafficDistributionGroupUsersRequest() : + m_trafficDistributionGroupIdHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_nextTokenHasBeenSet(false) +{ +} + +Aws::String ListTrafficDistributionGroupUsersRequest::SerializePayload() const +{ + return {}; +} + +void ListTrafficDistributionGroupUsersRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ListTrafficDistributionGroupUsersResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ListTrafficDistributionGroupUsersResult.cpp new file mode 100644 index 00000000000..05cd5faf2d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/ListTrafficDistributionGroupUsersResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTrafficDistributionGroupUsersResult::ListTrafficDistributionGroupUsersResult() +{ +} + +ListTrafficDistributionGroupUsersResult::ListTrafficDistributionGroupUsersResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTrafficDistributionGroupUsersResult& ListTrafficDistributionGroupUsersResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("TrafficDistributionGroupUserSummaryList")) + { + Aws::Utils::Array trafficDistributionGroupUserSummaryListJsonList = jsonValue.GetArray("TrafficDistributionGroupUserSummaryList"); + for(unsigned trafficDistributionGroupUserSummaryListIndex = 0; trafficDistributionGroupUserSummaryListIndex < trafficDistributionGroupUserSummaryListJsonList.GetLength(); ++trafficDistributionGroupUserSummaryListIndex) + { + m_trafficDistributionGroupUserSummaryList.push_back(trafficDistributionGroupUserSummaryListJsonList[trafficDistributionGroupUserSummaryListIndex].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-connect/source/model/SignInConfig.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SignInConfig.cpp new file mode 100644 index 00000000000..ae919e034cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SignInConfig.cpp @@ -0,0 +1,67 @@ +/** + * 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 Connect +{ +namespace Model +{ + +SignInConfig::SignInConfig() : + m_distributionsHasBeenSet(false) +{ +} + +SignInConfig::SignInConfig(JsonView jsonValue) : + m_distributionsHasBeenSet(false) +{ + *this = jsonValue; +} + +SignInConfig& SignInConfig::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Distributions")) + { + Aws::Utils::Array distributionsJsonList = jsonValue.GetArray("Distributions"); + for(unsigned distributionsIndex = 0; distributionsIndex < distributionsJsonList.GetLength(); ++distributionsIndex) + { + m_distributions.push_back(distributionsJsonList[distributionsIndex].AsObject()); + } + m_distributionsHasBeenSet = true; + } + + return *this; +} + +JsonValue SignInConfig::Jsonize() const +{ + JsonValue payload; + + if(m_distributionsHasBeenSet) + { + Aws::Utils::Array distributionsJsonList(m_distributions.size()); + for(unsigned distributionsIndex = 0; distributionsIndex < distributionsJsonList.GetLength(); ++distributionsIndex) + { + distributionsJsonList[distributionsIndex].AsObject(m_distributions[distributionsIndex].Jsonize()); + } + payload.WithArray("Distributions", std::move(distributionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/SignInDistribution.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SignInDistribution.cpp new file mode 100644 index 00000000000..faebfc4eacc --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SignInDistribution.cpp @@ -0,0 +1,76 @@ +/** + * 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 Connect +{ +namespace Model +{ + +SignInDistribution::SignInDistribution() : + m_regionHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false) +{ +} + +SignInDistribution::SignInDistribution(JsonView jsonValue) : + m_regionHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false) +{ + *this = jsonValue; +} + +SignInDistribution& SignInDistribution::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Region")) + { + m_region = jsonValue.GetString("Region"); + + m_regionHasBeenSet = true; + } + + if(jsonValue.ValueExists("Enabled")) + { + m_enabled = jsonValue.GetBool("Enabled"); + + m_enabledHasBeenSet = true; + } + + return *this; +} + +JsonValue SignInDistribution::Jsonize() const +{ + JsonValue payload; + + if(m_regionHasBeenSet) + { + payload.WithString("Region", m_region); + + } + + if(m_enabledHasBeenSet) + { + payload.WithBool("Enabled", m_enabled); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroup.cpp b/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroup.cpp index e3339639dc9..94c870cceb7 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroup.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroup.cpp @@ -26,7 +26,9 @@ TrafficDistributionGroup::TrafficDistributionGroup() : m_instanceArnHasBeenSet(false), m_status(TrafficDistributionGroupStatus::NOT_SET), m_statusHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_isDefault(false), + m_isDefaultHasBeenSet(false) { } @@ -38,7 +40,9 @@ TrafficDistributionGroup::TrafficDistributionGroup(JsonView jsonValue) : m_instanceArnHasBeenSet(false), m_status(TrafficDistributionGroupStatus::NOT_SET), m_statusHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_isDefault(false), + m_isDefaultHasBeenSet(false) { *this = jsonValue; } @@ -97,6 +101,13 @@ TrafficDistributionGroup& TrafficDistributionGroup::operator =(JsonView jsonValu m_tagsHasBeenSet = true; } + if(jsonValue.ValueExists("IsDefault")) + { + m_isDefault = jsonValue.GetBool("IsDefault"); + + m_isDefaultHasBeenSet = true; + } + return *this; } @@ -150,6 +161,12 @@ JsonValue TrafficDistributionGroup::Jsonize() const } + if(m_isDefaultHasBeenSet) + { + payload.WithBool("IsDefault", m_isDefault); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupSummary.cpp b/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupSummary.cpp index 7cd8deaf79a..da8a79721e2 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupSummary.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupSummary.cpp @@ -24,7 +24,9 @@ TrafficDistributionGroupSummary::TrafficDistributionGroupSummary() : m_nameHasBeenSet(false), m_instanceArnHasBeenSet(false), m_status(TrafficDistributionGroupStatus::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_isDefault(false), + m_isDefaultHasBeenSet(false) { } @@ -34,7 +36,9 @@ TrafficDistributionGroupSummary::TrafficDistributionGroupSummary(JsonView jsonVa m_nameHasBeenSet(false), m_instanceArnHasBeenSet(false), m_status(TrafficDistributionGroupStatus::NOT_SET), - m_statusHasBeenSet(false) + m_statusHasBeenSet(false), + m_isDefault(false), + m_isDefaultHasBeenSet(false) { *this = jsonValue; } @@ -76,6 +80,13 @@ TrafficDistributionGroupSummary& TrafficDistributionGroupSummary::operator =(Jso m_statusHasBeenSet = true; } + if(jsonValue.ValueExists("IsDefault")) + { + m_isDefault = jsonValue.GetBool("IsDefault"); + + m_isDefaultHasBeenSet = true; + } + return *this; } @@ -112,6 +123,12 @@ JsonValue TrafficDistributionGroupSummary::Jsonize() const payload.WithString("Status", TrafficDistributionGroupStatusMapper::GetNameForTrafficDistributionGroupStatus(m_status)); } + if(m_isDefaultHasBeenSet) + { + payload.WithBool("IsDefault", m_isDefault); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupUserSummary.cpp b/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupUserSummary.cpp new file mode 100644 index 00000000000..86bfd064d87 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/TrafficDistributionGroupUserSummary.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 Connect +{ +namespace Model +{ + +TrafficDistributionGroupUserSummary::TrafficDistributionGroupUserSummary() : + m_userIdHasBeenSet(false) +{ +} + +TrafficDistributionGroupUserSummary::TrafficDistributionGroupUserSummary(JsonView jsonValue) : + m_userIdHasBeenSet(false) +{ + *this = jsonValue; +} + +TrafficDistributionGroupUserSummary& TrafficDistributionGroupUserSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("UserId")) + { + m_userId = jsonValue.GetString("UserId"); + + m_userIdHasBeenSet = true; + } + + return *this; +} + +JsonValue TrafficDistributionGroupUserSummary::Jsonize() const +{ + JsonValue payload; + + if(m_userIdHasBeenSet) + { + payload.WithString("UserId", m_userId); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/UpdateTrafficDistributionRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/UpdateTrafficDistributionRequest.cpp index ef3dd4a1d60..83be116eaea 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/UpdateTrafficDistributionRequest.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/UpdateTrafficDistributionRequest.cpp @@ -14,7 +14,9 @@ using namespace Aws::Utils; UpdateTrafficDistributionRequest::UpdateTrafficDistributionRequest() : m_idHasBeenSet(false), - m_telephonyConfigHasBeenSet(false) + m_telephonyConfigHasBeenSet(false), + m_signInConfigHasBeenSet(false), + m_agentConfigHasBeenSet(false) { } @@ -28,6 +30,18 @@ Aws::String UpdateTrafficDistributionRequest::SerializePayload() const } + if(m_signInConfigHasBeenSet) + { + payload.WithObject("SignInConfig", m_signInConfig.Jsonize()); + + } + + if(m_agentConfigHasBeenSet) + { + payload.WithObject("AgentConfig", m_agentConfig.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h index 8bdfb6059fa..be7516f093b 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/ElasticLoadBalancingv2Client.h @@ -423,7 +423,8 @@ namespace ElasticLoadBalancingv2 /** *

    Deregisters the specified targets from the specified target group. After the * targets are deregistered, they no longer receive traffic from the load - * balancer.

    See Also:

    Note: If the specified target does not exist, the action + * returns successfully.

    See Also:

    AWS * API Reference

    */ @@ -1067,9 +1068,11 @@ namespace ElasticLoadBalancingv2 /** *

    Associates the specified security groups with the specified Application Load - * Balancer. The specified security groups override the previously associated - * security groups.

    You can't specify a security group for a Network Load - * Balancer or Gateway Load Balancer.

    See Also:

    You can't perform this operation + * on a Network Load Balancer unless you specified a security group for the load + * balancer when you created it.

    You can't associate a security group with a + * Gateway Load Balancer.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/CreateLoadBalancerRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/CreateLoadBalancerRequest.h index 4acfdb0f18e..096d4243135 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/CreateLoadBalancerRequest.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/CreateLoadBalancerRequest.h @@ -388,56 +388,56 @@ namespace Model /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline void SetSecurityGroups(const Aws::Vector& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; } /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline void SetSecurityGroups(Aws::Vector&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); } /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline CreateLoadBalancerRequest& WithSecurityGroups(const Aws::Vector& value) { SetSecurityGroups(value); return *this;} /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline CreateLoadBalancerRequest& WithSecurityGroups(Aws::Vector&& value) { SetSecurityGroups(std::move(value)); return *this;} /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline CreateLoadBalancerRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline CreateLoadBalancerRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; } /** - *

    [Application Load Balancers] The IDs of the security groups for the load - * balancer.

    + *

    [Application Load Balancers and Network Load Balancers] The IDs of the + * security groups for the load balancer.

    */ inline CreateLoadBalancerRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.h new file mode 100644 index 00000000000..a44f252d39b --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.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 ElasticLoadBalancingv2 +{ +namespace Model +{ + enum class EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum + { + NOT_SET, + on, + off + }; + +namespace EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumMapper +{ +AWS_ELASTICLOADBALANCINGV2_API EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum GetEnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumForName(const Aws::String& name); + +AWS_ELASTICLOADBALANCINGV2_API Aws::String GetNameForEnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum value); +} // namespace EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumMapper +} // namespace Model +} // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/Limit.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/Limit.h index ab2d3208a41..e2483340b52 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/Limit.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/Limit.h @@ -25,7 +25,14 @@ namespace Model /** *

    Information about an Elastic Load Balancing resource limit for your Amazon - * Web Services account.

    See Also:

    For more information, see the following:

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/LoadBalancer.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/LoadBalancer.h index 2110672535b..0f90de173b7 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/LoadBalancer.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/LoadBalancer.h @@ -603,6 +603,55 @@ namespace Model */ inline LoadBalancer& WithCustomerOwnedIpv4Pool(const char* value) { SetCustomerOwnedIpv4Pool(value); return *this;} + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline const Aws::String& GetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() const{ return m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline bool EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet() const { return m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const Aws::String& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = true; m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = value; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(Aws::String&& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = true; m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = std::move(value); } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const char* value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = true; m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic.assign(value); } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline LoadBalancer& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const Aws::String& value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(value); return *this;} + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline LoadBalancer& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(Aws::String&& value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(std::move(value)); return *this;} + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline LoadBalancer& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const char* value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(value); return *this;} + private: Aws::String m_loadBalancerArn; @@ -643,6 +692,9 @@ namespace Model Aws::String m_customerOwnedIpv4Pool; bool m_customerOwnedIpv4PoolHasBeenSet = false; + + Aws::String m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; + bool m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/RuleCondition.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/RuleCondition.h index d3ed677fb83..dcb4be3c307 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/RuleCondition.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/RuleCondition.h @@ -37,7 +37,9 @@ namespace Model * path-pattern, and source-ip. Each rule can also * optionally include one or more of each of the following conditions: * http-header and query-string. Note that the value for - * a condition cannot be empty.

    See Also:

    For more information, see Quotas + * for your Application Load Balancers.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsRequest.h index 02011bb5518..889be768250 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsRequest.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -123,6 +124,49 @@ namespace Model */ inline SetSecurityGroupsRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink. The default + * is on.

    + */ + inline const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& GetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() const{ return m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink. The default + * is on.

    + */ + inline bool EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet() const { return m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink. The default + * is on.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = true; m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = value; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink. The default + * is on.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum&& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = true; m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = std::move(value); } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink. The default + * is on.

    + */ + inline SetSecurityGroupsRequest& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(value); return *this;} + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink. The default + * is on.

    + */ + inline SetSecurityGroupsRequest& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum&& value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(std::move(value)); return *this;} + private: Aws::String m_loadBalancerArn; @@ -130,6 +174,9 @@ namespace Model Aws::Vector m_securityGroups; bool m_securityGroupsHasBeenSet = false; + + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; + bool m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsResult.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsResult.h index 53f67ac584e..cd00d4f29da 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsResult.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSecurityGroupsResult.h @@ -6,6 +6,7 @@ #pragma once #include #include +#include #include #include #include @@ -75,6 +76,37 @@ namespace Model inline SetSecurityGroupsResult& AddSecurityGroupIds(const char* value) { m_securityGroupIds.push_back(value); return *this; } + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& GetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic() const{ return m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = value; } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline void SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum&& value) { m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = std::move(value); } + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline SetSecurityGroupsResult& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(const EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum& value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(value); return *this;} + + /** + *

    Indicates whether to evaluate inbound security group rules for traffic sent + * to a Network Load Balancer through Amazon Web Services PrivateLink.

    + */ + inline SetSecurityGroupsResult& WithEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum&& value) { SetEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(std::move(value)); return *this;} + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } @@ -94,6 +126,8 @@ namespace Model Aws::Vector m_securityGroupIds; + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic; + ResponseMetadata m_responseMetadata; }; diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSubnetsRequest.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSubnetsRequest.h index b364964b019..fe7373fbe0b 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSubnetsRequest.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/SetSubnetsRequest.h @@ -314,7 +314,7 @@ namespace Model * your load balancer. The possible values are ipv4 (for IPv4 * addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t * specify dualstack for a load balancer with a UDP or TCP_UDP - * listener. .

    + * listener.

    */ inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; } @@ -323,7 +323,7 @@ namespace Model * your load balancer. The possible values are ipv4 (for IPv4 * addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t * specify dualstack for a load balancer with a UDP or TCP_UDP - * listener. .

    + * listener.

    */ inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; } @@ -332,7 +332,7 @@ namespace Model * your load balancer. The possible values are ipv4 (for IPv4 * addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t * specify dualstack for a load balancer with a UDP or TCP_UDP - * listener. .

    + * listener.

    */ inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; } @@ -341,7 +341,7 @@ namespace Model * your load balancer. The possible values are ipv4 (for IPv4 * addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t * specify dualstack for a load balancer with a UDP or TCP_UDP - * listener. .

    + * listener.

    */ inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); } @@ -350,7 +350,7 @@ namespace Model * your load balancer. The possible values are ipv4 (for IPv4 * addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t * specify dualstack for a load balancer with a UDP or TCP_UDP - * listener. .

    + * listener.

    */ inline SetSubnetsRequest& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;} @@ -359,7 +359,7 @@ namespace Model * your load balancer. The possible values are ipv4 (for IPv4 * addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t * specify dualstack for a load balancer with a UDP or TCP_UDP - * listener. .

    + * listener.

    */ inline SetSubnetsRequest& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;} diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetDescription.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetDescription.h index 2b805e23ef7..dd301baaeda 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetDescription.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetDescription.h @@ -124,7 +124,8 @@ namespace Model *

    The port on which the target is listening. If the target group protocol is * GENEVE, the supported port is 6081. If the target type is alb, the * targeted Application Load Balancer must have at least one listener whose port - * matches the target group port. Not used if the target is a Lambda function.

    + * matches the target group port. This parameter is not used if the target is a + * Lambda function.

    */ inline int GetPort() const{ return m_port; } @@ -132,7 +133,8 @@ namespace Model *

    The port on which the target is listening. If the target group protocol is * GENEVE, the supported port is 6081. If the target type is alb, the * targeted Application Load Balancer must have at least one listener whose port - * matches the target group port. Not used if the target is a Lambda function.

    + * matches the target group port. This parameter is not used if the target is a + * Lambda function.

    */ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } @@ -140,7 +142,8 @@ namespace Model *

    The port on which the target is listening. If the target group protocol is * GENEVE, the supported port is 6081. If the target type is alb, the * targeted Application Load Balancer must have at least one listener whose port - * matches the target group port. Not used if the target is a Lambda function.

    + * matches the target group port. This parameter is not used if the target is a + * Lambda function.

    */ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } @@ -148,7 +151,8 @@ namespace Model *

    The port on which the target is listening. If the target group protocol is * GENEVE, the supported port is 6081. If the target type is alb, the * targeted Application Load Balancer must have at least one listener whose port - * matches the target group port. Not used if the target is a Lambda function.

    + * matches the target group port. This parameter is not used if the target is a + * Lambda function.

    */ inline TargetDescription& WithPort(int value) { SetPort(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetGroup.h b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetGroup.h index 39c5da1bd27..5059655fbaa 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetGroup.h +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/TargetGroup.h @@ -158,26 +158,26 @@ namespace Model /** - *

    The port on which the targets are listening. Not used if the target is a - * Lambda function.

    + *

    The port on which the targets are listening. This parameter is not used if + * the target is a Lambda function.

    */ inline int GetPort() const{ return m_port; } /** - *

    The port on which the targets are listening. Not used if the target is a - * Lambda function.

    + *

    The port on which the targets are listening. This parameter is not used if + * the target is a Lambda function.

    */ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** - *

    The port on which the targets are listening. Not used if the target is a - * Lambda function.

    + *

    The port on which the targets are listening. This parameter is not used if + * the target is a Lambda function.

    */ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** - *

    The port on which the targets are listening. Not used if the target is a - * Lambda function.

    + *

    The port on which the targets are listening. This parameter is not used if + * the target is a Lambda function.

    */ inline TargetGroup& WithPort(int value) { SetPort(value); return *this;} @@ -501,56 +501,65 @@ namespace Model /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline const Aws::Vector& GetLoadBalancerArns() const{ return m_loadBalancerArns; } /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline bool LoadBalancerArnsHasBeenSet() const { return m_loadBalancerArnsHasBeenSet; } /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline void SetLoadBalancerArns(const Aws::Vector& value) { m_loadBalancerArnsHasBeenSet = true; m_loadBalancerArns = value; } /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline void SetLoadBalancerArns(Aws::Vector&& value) { m_loadBalancerArnsHasBeenSet = true; m_loadBalancerArns = std::move(value); } /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline TargetGroup& WithLoadBalancerArns(const Aws::Vector& value) { SetLoadBalancerArns(value); return *this;} /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline TargetGroup& WithLoadBalancerArns(Aws::Vector&& value) { SetLoadBalancerArns(std::move(value)); return *this;} /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline TargetGroup& AddLoadBalancerArns(const Aws::String& value) { m_loadBalancerArnsHasBeenSet = true; m_loadBalancerArns.push_back(value); return *this; } /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline TargetGroup& AddLoadBalancerArns(Aws::String&& value) { m_loadBalancerArnsHasBeenSet = true; m_loadBalancerArns.push_back(std::move(value)); return *this; } /** - *

    The Amazon Resource Names (ARN) of the load balancers that route traffic to - * this target group.

    + *

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to + * this target group. You can use each target group with only one load + * balancer.

    */ inline TargetGroup& AddLoadBalancerArns(const char* value) { m_loadBalancerArnsHasBeenSet = true; m_loadBalancerArns.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2EndpointRules.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2EndpointRules.cpp index e7200f0b772..920a50d14fd 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2EndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/ElasticLoadBalancingv2EndpointRules.cpp @@ -10,164 +10,172 @@ namespace Aws { namespace ElasticLoadBalancingv2 { -const size_t ElasticLoadBalancingv2EndpointRules::RulesBlobStrLen = 3814; -const size_t ElasticLoadBalancingv2EndpointRules::RulesBlobSize = 3815; +const size_t ElasticLoadBalancingv2EndpointRules::RulesBlobStrLen = 4020; +const size_t ElasticLoadBalancingv2EndpointRules::RulesBlobSize = 4021; using RulesBlobT = Aws::Array; static constexpr RulesBlobT RulesBlob = {{ '{','"','v','e','r','s','i','o','n','"',':','"','1','.','0','"',',','"','p','a','r','a','m','e','t', 'e','r','s','"',':','{','"','R','e','g','i','o','n','"',':','{','"','b','u','i','l','t','I','n','"', ':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q','u','i','r','e','d','"', -':','t','r','u','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','T','h', -'e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i','s','p', -'a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p','e','"', -':','"','S','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k','"', -':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a','l', -'S','t','a','c','k','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d', -'e','f','a','u','l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t', -'i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e',',',' ','u','s','e',' ','t','h','e',' ', -'d','u','a','l','-','s','t','a','c','k',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ','t', -'h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d','o', -'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c','k', -',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s','t', -' ','M','A','Y',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"','t', -'y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S','"', -':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P','S', -'"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u','l', -'t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':', -'"','W','h','e','n',' ','t','r','u','e',',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q', -'u','e','s','t',' ','t','o',' ','t','h','e',' ','F','I','P','S','-','c','o','m','p','l','i','a','n', -'t',' ','r','e','g','i','o','n','a','l',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ','t', -'h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d','o', -'e','s',' ','n','o','t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l','i', -'a','n','t',' ','e','n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n','g', -' ','t','h','e',' ','r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n',' ', -'a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e','a', -'n','"','}',',','"','E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n','"', -':','"','S','D','K',':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r','e', -'d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':', -'"','O','v','e','r','r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u','s', -'e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"',',', -'"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','a', -'w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a','s','s','i','g','n','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',']',',','"','t','y','p','e','"', -':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n','t','"','}',']','}',']', -',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o', -'r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n', -':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n', -'t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p', -'e','"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', -':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', -'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r', -'e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']', -'}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i', -'g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c','k',' ','a','n','d',' ','c', -'u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u', -'p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n', -'t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n', -'t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d', -'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', -'"','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', +':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','T', +'h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i','s', +'p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p','e', +'"',':','"','S','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a', +'l','S','t','a','c','k','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"', +'d','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a', +'t','i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e',',',' ','u','s','e',' ','t','h','e', +' ','d','u','a','l','-','s','t','a','c','k',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ', +'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d', +'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c', +'k',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s', +'t',' ','M','A','Y',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"', +'t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S', +'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P', +'S','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u', +'l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"', +':','"','W','h','e','n',' ','t','r','u','e',',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e', +'q','u','e','s','t',' ','t','o',' ','t','h','e',' ','F','I','P','S','-','c','o','m','p','l','i','a', +'n','t',' ','r','e','g','i','o','n','a','l',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ', +'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d', +'o','e','s',' ','n','o','t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l', +'i','a','n','t',' ','e','n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n', +'g',' ','t','h','e',' ','r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n', +' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e', +'a','n','"','}',',','"','E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n', +'"',':','"','S','D','K',':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r', +'e','d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"', +':','"','O','v','e','r','r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u', +'s','e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"', +',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', +'d','p','o','i','n','t','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', +'u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', +'n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a','n','d',' ','c','u','s', +'t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o','t',' ','s','u','p','p', +'o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t', +'a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n', +'v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l', +'s','t','a','c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t', +' ','a','r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e', +'"',':','"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e', +'f','"',':','"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e', +'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', +'"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"', +'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', +'f','n','"',':','"','i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f', +'"',':','"','R','e','g','i','o','n','"','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',', +'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']', +',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', +'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', +'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', +',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', 'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', -':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']', -'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', -'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a', -'c','k','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', -'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', -'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', +'s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}', +',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', 'r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r', '"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i', -'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"', -']','}',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', -'"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t', -'A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r', -'t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D', -'u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r', +'o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S', +'t','a','c','k','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',', +'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t', +'"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','e','l','a','s','t','i','c', +'l','o','a','d','b','a','l','a','n','c','i','n','g','-','f','i','p','s','.','{','R','e','g','i','o', +'n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S', +'t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i', +'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', +'e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ', +'a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d', +',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s', +' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"', +',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', +'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e', +'F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"',':','"','t','r', 'e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s', -'"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', -'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', -'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','e','l','a', -'s','t','i','c','l','o','a','d','b','a','l','a','n','c','i','n','g','-','f','i','p','s','.','{','R', -'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', -'u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p', -'e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',', -'"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F', -'I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a', -'b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', -'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b', -'o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"', +'"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',', +'"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t', +'t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i', +'t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P', +'S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u', +'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E', +'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','"','a','w','s','-','u','s','-','g','o', +'v','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"', +':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t', +'"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','e','l','a','s','t','i','c','l', +'o','a','d','b','a','l','a','n','c','i','n','g','.','{','R','e','g','i','o','n','}','.','a','m','a', +'z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', +'p','s',':','/','/','e','l','a','s','t','i','c','l','o','a','d','b','a','l','a','n','c','i','n','g', +'-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e', +'r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"', +'t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}',',','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I', +'P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a', +'r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ', +'F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', +'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', +':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"', 'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', -'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', -'"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','t','y','p','e','"', -':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g', -'e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P', -'a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t', -'s','F','I','P','S','"',']','}',']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', -',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r', -'i','n','g','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','"','a','w','s','-','u', -'s','-','g','o','v','"',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a', -'r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e', -'s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',']','}',']',',','"','e','n','d','p','o', -'i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','e','l','a','s', -'t','i','c','l','o','a','d','b','a','l','a','n','c','i','n','g','.','{','R','e','g','i','o','n','}', -'.','a','m','a','z','o','n','a','w','s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i', -'e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', -'e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', -'"','h','t','t','p','s',':','/','/','e','l','a','s','t','i','c','l','o','a','d','b','a','l','a','n', -'c','i','n','g','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', -'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"', +'f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r', +'e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s', +'u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','t', +'y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o', +'n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', +'p','s',':','/','/','e','l','a','s','t','i','c','l','o','a','d','b','a','l','a','n','c','i','n','g', +'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', 'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', '}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']','}',']','}', ',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"', -':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i', -'s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p', -'o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}', -']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e', -']','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b', -'o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u', -'e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':', -'[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"', -'}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s','"',':','[', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"', -'t','r','e','e','"',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', -'"','h','t','t','p','s',':','/','/','e','l','a','s','t','i','c','l','o','a','d','b','a','l','a','n', -'c','i','n','g','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}', -'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r', -'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}', -']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r', -'r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e', -'d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s', -' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"', -'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r', -'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/', -'/','e','l','a','s','t','i','c','l','o','a','d','b','a','l','a','n','c','i','n','g','.','{','R','e', -'g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n', -'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', -',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', -'d','p','o','i','n','t','"','}',']','}',']','}',']','}','\0' +':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u', +'t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t', +' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p','e', +'"',':','"','e','r','r','o','r','"','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s', +'"',':','[',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', +'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','e','l','a', +'s','t','i','c','l','o','a','d','b','a','l','a','n','c','i','n','g','.','{','R','e','g','i','o','n', +'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f', +'f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e', +'a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i', +'n','t','"','}',']','}',']','}',']','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i', +'g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"', +',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']','}',']','}','\0' }}; const char* ElasticLoadBalancingv2EndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.cpp new file mode 100644 index 00000000000..44f91b56c1c --- /dev/null +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum.cpp @@ -0,0 +1,70 @@ +/** + * 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 ElasticLoadBalancingv2 + { + namespace Model + { + namespace EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumMapper + { + + static const int on_HASH = HashingUtils::HashString("on"); + static const int off_HASH = HashingUtils::HashString("off"); + + + EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum GetEnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == on_HASH) + { + return EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::on; + } + else if (hashCode == off_HASH) + { + return EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::off; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::NOT_SET; + } + + Aws::String GetNameForEnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enumValue) + { + switch(enumValue) + { + case EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::on: + return "on"; + case EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::off: + return "off"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumMapper + } // namespace Model + } // namespace ElasticLoadBalancingv2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/LoadBalancer.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/LoadBalancer.cpp index cdf26e5950c..69c8b3c3aff 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/LoadBalancer.cpp +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/LoadBalancer.cpp @@ -36,7 +36,8 @@ LoadBalancer::LoadBalancer() : m_securityGroupsHasBeenSet(false), m_ipAddressType(IpAddressType::NOT_SET), m_ipAddressTypeHasBeenSet(false), - m_customerOwnedIpv4PoolHasBeenSet(false) + m_customerOwnedIpv4PoolHasBeenSet(false), + m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet(false) { } @@ -56,7 +57,8 @@ LoadBalancer::LoadBalancer(const XmlNode& xmlNode) : m_securityGroupsHasBeenSet(false), m_ipAddressType(IpAddressType::NOT_SET), m_ipAddressTypeHasBeenSet(false), - m_customerOwnedIpv4PoolHasBeenSet(false) + m_customerOwnedIpv4PoolHasBeenSet(false), + m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet(false) { *this = xmlNode; } @@ -157,6 +159,12 @@ LoadBalancer& LoadBalancer::operator =(const XmlNode& xmlNode) m_customerOwnedIpv4Pool = Aws::Utils::Xml::DecodeEscapedXmlText(customerOwnedIpv4PoolNode.GetText()); m_customerOwnedIpv4PoolHasBeenSet = true; } + XmlNode enforceSecurityGroupInboundRulesOnPrivateLinkTrafficNode = resultNode.FirstChild("EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"); + if(!enforceSecurityGroupInboundRulesOnPrivateLinkTrafficNode.IsNull()) + { + m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = Aws::Utils::Xml::DecodeEscapedXmlText(enforceSecurityGroupInboundRulesOnPrivateLinkTrafficNode.GetText()); + m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet = true; + } } return *this; @@ -241,6 +249,11 @@ void LoadBalancer::OutputToStream(Aws::OStream& oStream, const char* location, u oStream << location << index << locationValue << ".CustomerOwnedIpv4Pool=" << StringUtils::URLEncode(m_customerOwnedIpv4Pool.c_str()) << "&"; } + if(m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet) + { + oStream << location << index << locationValue << ".EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic=" << StringUtils::URLEncode(m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic.c_str()) << "&"; + } + } void LoadBalancer::OutputToStream(Aws::OStream& oStream, const char* location) const @@ -309,6 +322,10 @@ void LoadBalancer::OutputToStream(Aws::OStream& oStream, const char* location) c { oStream << location << ".CustomerOwnedIpv4Pool=" << StringUtils::URLEncode(m_customerOwnedIpv4Pool.c_str()) << "&"; } + if(m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet) + { + oStream << location << ".EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic=" << StringUtils::URLEncode(m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic.c_str()) << "&"; + } } } // namespace Model diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsRequest.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsRequest.cpp index f9b0e89fbde..8e3c8c11a70 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsRequest.cpp +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsRequest.cpp @@ -12,7 +12,9 @@ using namespace Aws::Utils; SetSecurityGroupsRequest::SetSecurityGroupsRequest() : m_loadBalancerArnHasBeenSet(false), - m_securityGroupsHasBeenSet(false) + m_securityGroupsHasBeenSet(false), + m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::NOT_SET), + m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet(false) { } @@ -36,6 +38,11 @@ Aws::String SetSecurityGroupsRequest::SerializePayload() const } } + if(m_enforceSecurityGroupInboundRulesOnPrivateLinkTrafficHasBeenSet) + { + ss << "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic=" << EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumMapper::GetNameForEnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum(m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic) << "&"; + } + ss << "Version=2015-12-01"; return ss.str(); } diff --git a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsResult.cpp b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsResult.cpp index e3b315859ac..507a6fea85a 100644 --- a/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsResult.cpp +++ b/generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/SetSecurityGroupsResult.cpp @@ -17,11 +17,13 @@ using namespace Aws::Utils::Logging; using namespace Aws::Utils; using namespace Aws; -SetSecurityGroupsResult::SetSecurityGroupsResult() +SetSecurityGroupsResult::SetSecurityGroupsResult() : + m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::NOT_SET) { } -SetSecurityGroupsResult::SetSecurityGroupsResult(const Aws::AmazonWebServiceResult& result) +SetSecurityGroupsResult::SetSecurityGroupsResult(const Aws::AmazonWebServiceResult& result) : + m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum::NOT_SET) { *this = result; } @@ -49,6 +51,11 @@ SetSecurityGroupsResult& SetSecurityGroupsResult::operator =(const Aws::AmazonWe } } + XmlNode enforceSecurityGroupInboundRulesOnPrivateLinkTrafficNode = resultNode.FirstChild("EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"); + if(!enforceSecurityGroupInboundRulesOnPrivateLinkTrafficNode.IsNull()) + { + m_enforceSecurityGroupInboundRulesOnPrivateLinkTraffic = EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumMapper::GetEnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(enforceSecurityGroupInboundRulesOnPrivateLinkTrafficNode.GetText()).c_str()).c_str()); + } } if (!rootNode.IsNull()) { diff --git a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/GetRunTaskResult.h b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/GetRunTaskResult.h index ff33667c849..c516dbcc5e2 100644 --- a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/GetRunTaskResult.h +++ b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/GetRunTaskResult.h @@ -330,6 +330,42 @@ namespace Model inline GetRunTaskResult& WithGpus(int value) { SetGpus(value); return *this;} + /** + *

    The instance type for a task.

    + */ + inline const Aws::String& GetInstanceType() const{ return m_instanceType; } + + /** + *

    The instance type for a task.

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

    The instance type for a task.

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

    The instance type for a task.

    + */ + inline void SetInstanceType(const char* value) { m_instanceType.assign(value); } + + /** + *

    The instance type for a task.

    + */ + inline GetRunTaskResult& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} + + /** + *

    The instance type for a task.

    + */ + inline GetRunTaskResult& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} + + /** + *

    The instance type for a task.

    + */ + inline GetRunTaskResult& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} + + inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -375,6 +411,8 @@ namespace Model int m_gpus; + Aws::String m_instanceType; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsRequest.h b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsRequest.h index 5e204d8659b..8e9550e5330 100644 --- a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsRequest.h +++ b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsRequest.h @@ -108,49 +108,49 @@ namespace Model /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline ListAnnotationImportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline ListAnnotationImportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

    Specify the pagination token from a previous request to retrieve the next + *

    Specifies the pagination token from a previous request to retrieve the next * page of results.

    */ inline ListAnnotationImportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsResult.h b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsResult.h index e1f7bffc65f..b29ef9829ed 100644 --- a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsResult.h +++ b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListAnnotationImportJobsResult.h @@ -71,37 +71,44 @@ namespace Model /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline ListAnnotationImportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline ListAnnotationImportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *

    A pagination token that's included if more results are available.

    + *

    Specifies the pagination token from a previous request to retrieve the next + * page of results.

    */ inline ListAnnotationImportJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} diff --git a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/TaskListItem.h b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/TaskListItem.h index fa6e0be4c99..38fa9c0b378 100644 --- a/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/TaskListItem.h +++ b/generated/src/aws-cpp-sdk-omics/include/aws/omics/model/TaskListItem.h @@ -307,6 +307,47 @@ namespace Model */ inline TaskListItem& WithGpus(int value) { SetGpus(value); return *this;} + + /** + *

    The instance type for a task.

    + */ + inline const Aws::String& GetInstanceType() const{ return m_instanceType; } + + /** + *

    The instance type for a task.

    + */ + inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } + + /** + *

    The instance type for a task.

    + */ + inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } + + /** + *

    The instance type for a task.

    + */ + inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } + + /** + *

    The instance type for a task.

    + */ + inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } + + /** + *

    The instance type for a task.

    + */ + inline TaskListItem& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} + + /** + *

    The instance type for a task.

    + */ + inline TaskListItem& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} + + /** + *

    The instance type for a task.

    + */ + inline TaskListItem& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} + private: Aws::String m_taskId; @@ -335,6 +376,9 @@ namespace Model int m_gpus; bool m_gpusHasBeenSet = false; + + Aws::String m_instanceType; + bool m_instanceTypeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-omics/source/model/GetRunTaskResult.cpp b/generated/src/aws-cpp-sdk-omics/source/model/GetRunTaskResult.cpp index 967996fe395..4e736ef15fe 100644 --- a/generated/src/aws-cpp-sdk-omics/source/model/GetRunTaskResult.cpp +++ b/generated/src/aws-cpp-sdk-omics/source/model/GetRunTaskResult.cpp @@ -103,6 +103,12 @@ GetRunTaskResult& GetRunTaskResult::operator =(const Aws::AmazonWebServiceResult } + if(jsonValue.ValueExists("instanceType")) + { + m_instanceType = jsonValue.GetString("instanceType"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-omics/source/model/TaskListItem.cpp b/generated/src/aws-cpp-sdk-omics/source/model/TaskListItem.cpp index 522a20a896e..7a300f502b7 100644 --- a/generated/src/aws-cpp-sdk-omics/source/model/TaskListItem.cpp +++ b/generated/src/aws-cpp-sdk-omics/source/model/TaskListItem.cpp @@ -31,7 +31,8 @@ TaskListItem::TaskListItem() : m_startTimeHasBeenSet(false), m_stopTimeHasBeenSet(false), m_gpus(0), - m_gpusHasBeenSet(false) + m_gpusHasBeenSet(false), + m_instanceTypeHasBeenSet(false) { } @@ -48,7 +49,8 @@ TaskListItem::TaskListItem(JsonView jsonValue) : m_startTimeHasBeenSet(false), m_stopTimeHasBeenSet(false), m_gpus(0), - m_gpusHasBeenSet(false) + m_gpusHasBeenSet(false), + m_instanceTypeHasBeenSet(false) { *this = jsonValue; } @@ -118,6 +120,13 @@ TaskListItem& TaskListItem::operator =(JsonView jsonValue) m_gpusHasBeenSet = true; } + if(jsonValue.ValueExists("instanceType")) + { + m_instanceType = jsonValue.GetString("instanceType"); + + m_instanceTypeHasBeenSet = true; + } + return *this; } @@ -175,6 +184,12 @@ JsonValue TaskListItem::Jsonize() const } + if(m_instanceTypeHasBeenSet) + { + payload.WithString("instanceType", m_instanceType); + + } + return payload; } diff --git a/generated/tests/elasticloadbalancingv2-gen-tests/ElasticLoadBalancingv2EndpointProviderTests.cpp b/generated/tests/elasticloadbalancingv2-gen-tests/ElasticLoadBalancingv2EndpointProviderTests.cpp index 45b9f0c3725..180d8494814 100644 --- a/generated/tests/elasticloadbalancingv2-gen-tests/ElasticLoadBalancingv2EndpointProviderTests.cpp +++ b/generated/tests/elasticloadbalancingv2-gen-tests/ElasticLoadBalancingv2EndpointProviderTests.cpp @@ -55,174 +55,182 @@ struct ElasticLoadBalancingv2EndpointProviderEndpointTestCase static const Aws::Vector TEST_CASES = { /*TEST CASE 0*/ - {"For region us-iso-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params + {"For region af-south-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "af-south-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov", + {{/*epUrl*/"https://elasticloadbalancing.af-south-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 1*/ - {"For region us-iso-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-iso-west-1"), EpParam("UseDualStack", false)}, // params + {"For region ap-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov", + {{/*epUrl*/"https://elasticloadbalancing.ap-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 2*/ - {"For region us-iso-east-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params + {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov", + {{/*epUrl*/"https://elasticloadbalancing.ap-northeast-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 3*/ - {"For region ap-northeast-3 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-3"), EpParam("UseDualStack", false)}, // params + {"For region ap-northeast-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-northeast-3.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ap-northeast-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 4*/ - {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {"For region ap-northeast-3 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-3"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-east-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ap-northeast-3.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 5*/ - {"For region us-east-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + {"For region ap-south-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-south-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.us-east-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ap-south-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 6*/ - {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params + {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.eu-west-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ap-southeast-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 7*/ - {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params + {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.eu-west-2.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ap-southeast-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 8*/ - {"For region eu-west-3 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-west-3"), EpParam("UseDualStack", false)}, // params + {"For region ap-southeast-3 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-3"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.eu-west-3.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ap-southeast-3.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 9*/ - {"For region me-south-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "me-south-1"), EpParam("UseDualStack", false)}, // params + {"For region ca-central-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.me-south-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.ca-central-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 10*/ - {"For region eu-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params + {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.eu-north-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.eu-central-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 11*/ - {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params + {"For region eu-north-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-north-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-east-2.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.eu-north-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 12*/ - {"For region us-east-2 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params + {"For region eu-south-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-south-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.us-east-2.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.eu-south-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 13*/ - {"For region sa-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "sa-east-1"), EpParam("UseDualStack", false)}, // params + {"For region eu-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.sa-east-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.eu-west-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 14*/ - {"For region ap-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-east-1"), EpParam("UseDualStack", false)}, // params + {"For region eu-west-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-west-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-east-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.eu-west-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 15*/ - {"For region eu-south-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-south-1"), EpParam("UseDualStack", false)}, // params + {"For region eu-west-3 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-west-3"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.eu-south-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.eu-west-3.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 16*/ - {"For region eu-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "eu-central-1"), EpParam("UseDualStack", false)}, // params + {"For region me-south-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "me-south-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.eu-central-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.me-south-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 17*/ - {"For region ap-southeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-1"), EpParam("UseDualStack", false)}, // params + {"For region sa-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "sa-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-southeast-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.sa-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 18*/ - {"For region ap-southeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-2"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-southeast-2.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.us-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 19*/ - {"For region ap-southeast-3 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-southeast-3"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-southeast-3.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing-fips.us-east-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 20*/ - {"For region ca-central-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ca-central-1"), EpParam("UseDualStack", false)}, // params + {"For region us-east-2 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ca-central-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.us-east-2.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 21*/ + {"For region us-east-2 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-2"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://elasticloadbalancing-fips.us-east-2.amazonaws.com", + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 22*/ {"For region us-west-1 with FIPS disabled and DualStack disabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -230,7 +238,7 @@ static const Aws::Vector {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 22*/ + /*TEST CASE 23*/ {"For region us-west-1 with FIPS enabled and DualStack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -238,7 +246,7 @@ static const Aws::Vector {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 23*/ + /*TEST CASE 24*/ {"For region us-west-2 with FIPS disabled and DualStack disabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -246,7 +254,7 @@ static const Aws::Vector {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 24*/ + /*TEST CASE 25*/ {"For region us-west-2 with FIPS enabled and DualStack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-west-2"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -254,67 +262,59 @@ static const Aws::Vector {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 25*/ - {"For region af-south-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "af-south-1"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.af-south-1.amazonaws.com", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, /*TEST CASE 26*/ - {"For region ap-south-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-south-1"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-south-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing-fips.us-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 27*/ - {"For region ap-northeast-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-1"), EpParam("UseDualStack", false)}, // params + {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-northeast-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.us-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 28*/ - {"For region ap-northeast-2 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "ap-northeast-2"), EpParam("UseDualStack", false)}, // params + {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.ap-northeast-2.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.cn-north-1.amazonaws.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 29*/ - {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params + {"For region cn-northwest-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.us-east-1.api.aws", + {{/*epUrl*/"https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 30*/ - {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params + {"For region cn-north-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-east-1.api.aws", + {{/*epUrl*/"https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 31*/ - {"For region us-gov-west-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", false)}, // params + {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-gov-west-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 32*/ - {"For region us-gov-west-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", false)}, // params + {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-gov-west-1.amazonaws.com", + {{/*epUrl*/"https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, @@ -335,79 +335,103 @@ static const Aws::Vector {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 35*/ - {"For region us-gov-east-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params + {"For region us-gov-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.us-gov-east-1.api.aws", + {{/*epUrl*/"https://elasticloadbalancing.us-gov-west-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 36*/ - {"For region us-gov-east-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params + {"For region us-gov-west-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-gov-east-1.api.aws", + {{/*epUrl*/"https://elasticloadbalancing.us-gov-west-1.amazonaws.com", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 37*/ - {"For region us-isob-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params + {"For region us-gov-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov", + {{/*epUrl*/"https://elasticloadbalancing-fips.us-gov-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 38*/ - {"For region us-isob-east-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params + {"For region us-gov-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov", + {{/*epUrl*/"https://elasticloadbalancing.us-gov-east-1.api.aws", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 39*/ - {"For region cn-northwest-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", false)}, // params + {"For region us-iso-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn", + {{/*epUrl*/"https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 40*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + {"For region us-iso-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 41*/ - {"For region cn-north-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, /*TEST CASE 42*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + {"For region us-iso-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 43*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn", + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 44*/ + {"For region us-isob-east-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov", {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 44*/ - {"For custom endpoint with fips disabled and dualstack disabled", // documentation + /*TEST CASE 45*/ + {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 46*/ + {"For region us-isob-east-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov", + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 47*/ + {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 48*/ + {"For custom endpoint with region set and fips disabled and dualstack disabled", // documentation {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -415,19 +439,33 @@ static const Aws::Vector {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 45*/ + /*TEST CASE 49*/ + {"For custom endpoint with region not set and fips disabled and dualstack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://example.com", + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 50*/ {"For custom endpoint with fips enabled and dualstack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect }, - /*TEST CASE 46*/ + /*TEST CASE 51*/ {"For custom endpoint with fips disabled and dualstack enabled", // documentation {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + }, + /*TEST CASE 52*/ + {"Missing region", // documentation + {}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Missing Region"} // expect } }; 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 d0c47347e23..2f786182235 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.138" +#define AWS_SDK_VERSION_STRING "1.11.139" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 138 +#define AWS_SDK_VERSION_PATCH 139 diff --git a/tools/code-generation/api-descriptions/cloudtrail-2013-11-01.normal.json b/tools/code-generation/api-descriptions/cloudtrail-2013-11-01.normal.json index 9ded7eeb1e5..60f77595e8a 100644 --- a/tools/code-generation/api-descriptions/cloudtrail-2013-11-01.normal.json +++ b/tools/code-generation/api-descriptions/cloudtrail-2013-11-01.normal.json @@ -1136,7 +1136,7 @@ "members":{ "Field":{ "shape":"SelectorField", - "documentation":"

    A field in a CloudTrail event record on which to filter events to be logged. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the field is used only for selecting events as filtering is not supported.

    For CloudTrail event records, supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

    For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the only supported field is eventCategory.

    • readOnly - Optional. Can be set to Equals a value of true or false. If you do not add this field, CloudTrail logs both read and write events. A value of true logs only read events. A value of false logs only write events.

    • eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com.

    • eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas.

    • eventCategory - This is required and must be set to Equals.

      • For CloudTrail event records, the value must be Management or Data.

      • For Config configuration items, the value must be ConfigurationItem.

      • For Audit Manager evidence, the value must be Evidence.

      • For non-Amazon Web Services events, the value must be ActivityAuditLog.

    • resources.type - This field is required for CloudTrail data events. resources.type can only use the Equals operator, and the value can be one of the following:

      • AWS::DynamoDB::Table

      • AWS::Lambda::Function

      • AWS::S3::Object

      • AWS::CloudTrail::Channel

      • AWS::CodeWhisperer::Profile

      • AWS::Cognito::IdentityPool

      • AWS::DynamoDB::Stream

      • AWS::EC2::Snapshot

      • AWS::EMRWAL::Workspace

      • AWS::FinSpace::Environment

      • AWS::Glue::Table

      • AWS::GuardDuty::Detector

      • AWS::KendraRanking::ExecutionPlan

      • AWS::ManagedBlockchain::Node

      • AWS::SageMaker::ExperimentTrialComponent

      • AWS::SageMaker::FeatureGroup

      • AWS::S3::AccessPoint

      • AWS::S3ObjectLambda::AccessPoint

      • AWS::S3Outposts::Object

      You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector.

    • resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value.

      The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (<>) with resource-specific information.

      • arn:<partition>:s3:::<bucket_name>/

      • arn:<partition>:s3:::<bucket_name>/<object_path>/

      When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>

      When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:lambda:<region>:<account_ID>:function:<function_name>

      When resources.type equals AWS::CloudTrail::Channel, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:cloudtrail:<region>:<account_ID>:channel/<channel_UUID>

      When resources.type equals AWS::CodeWhisperer::Profile, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:codewhisperer:<region>:<account_ID>:profile/<profile_ID>

      When resources.type equals AWS::Cognito::IdentityPool, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:cognito-identity:<region>:<account_ID>:identitypool/<identity_pool_ID>

      When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time>

      When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:ec2:<region>::snapshot/<snapshot_ID>

      When resources.type equals AWS::EMRWAL::Workspace, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:emrwal:<region>::workspace/<workspace_name>

      When resources.type equals AWS::FinSpace::Environment, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:finspace:<region>:<account_ID>:environment/<environment_ID>

      When resources.type equals AWS::Glue::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name>

      When resources.type equals AWS::GuardDuty::Detector, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:guardduty:<region>:<account_ID>:detector/<detector_ID>

      When resources.type equals AWS::KendraRanking::ExecutionPlan, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID>

      When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID>

      When resources.type equals AWS::SageMaker::ExperimentTrialComponent, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:sagemaker:<region>:<account_ID>:experiment-trial-component/<experiment_trial_component_name>

      When resources.type equals AWS::SageMaker::FeatureGroup, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:sagemaker:<region>:<account_ID>:feature-group/<feature_group_name>

      When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators.

      • arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>

      • arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path>

      When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name>

      When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path>

    " + "documentation":"

    A field in a CloudTrail event record on which to filter events to be logged. For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the field is used only for selecting events as filtering is not supported.

    For CloudTrail event records, supported fields include readOnly, eventCategory, eventSource (for management events), eventName, resources.type, and resources.ARN.

    For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, the only supported field is eventCategory.

    • readOnly - Optional. Can be set to Equals a value of true or false. If you do not add this field, CloudTrail logs both read and write events. A value of true logs only read events. A value of false logs only write events.

    • eventSource - For filtering management events only. This can be set only to NotEquals kms.amazonaws.com.

    • eventName - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as PutBucket or GetSnapshotBlock. You can have multiple values for this field, separated by commas.

    • eventCategory - This is required and must be set to Equals.

      • For CloudTrail event records, the value must be Management or Data.

      • For Config configuration items, the value must be ConfigurationItem.

      • For Audit Manager evidence, the value must be Evidence.

      • For non-Amazon Web Services events, the value must be ActivityAuditLog.

    • resources.type - This field is required for CloudTrail data events. resources.type can only use the Equals operator, and the value can be one of the following:

      • AWS::DynamoDB::Table

      • AWS::Lambda::Function

      • AWS::S3::Object

      • AWS::CloudTrail::Channel

      • AWS::CodeWhisperer::Profile

      • AWS::Cognito::IdentityPool

      • AWS::DynamoDB::Stream

      • AWS::EC2::Snapshot

      • AWS::EMRWAL::Workspace

      • AWS::FinSpace::Environment

      • AWS::Glue::Table

      • AWS::GuardDuty::Detector

      • AWS::KendraRanking::ExecutionPlan

      • AWS::ManagedBlockchain::Network

      • AWS::ManagedBlockchain::Node

      • AWS::MedicalImaging::Datastore

      • AWS::SageMaker::ExperimentTrialComponent

      • AWS::SageMaker::FeatureGroup

      • AWS::S3::AccessPoint

      • AWS::S3ObjectLambda::AccessPoint

      • AWS::S3Outposts::Object

      • AWS::SSMMessages::ControlChannel

      • AWS::VerifiedPermissions::PolicyStore

      You can have only one resources.type field per selector. To log data events on more than one resource type, add another selector.

    • resources.ARN - You can use any operator with resources.ARN, but if you use Equals or NotEquals, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals AWS::S3::Object, the ARN must be in one of the following formats. To log all data events for all objects in a specific S3 bucket, use the StartsWith operator, and include only the bucket ARN as the matching value.

      The trailing slash is intentional; do not exclude it. Replace the text between less than and greater than symbols (<>) with resource-specific information.

      • arn:<partition>:s3:::<bucket_name>/

      • arn:<partition>:s3:::<bucket_name>/<object_path>/

      When resources.type equals AWS::DynamoDB::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>

      When resources.type equals AWS::Lambda::Function, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:lambda:<region>:<account_ID>:function:<function_name>

      When resources.type equals AWS::CloudTrail::Channel, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:cloudtrail:<region>:<account_ID>:channel/<channel_UUID>

      When resources.type equals AWS::CodeWhisperer::Profile, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:codewhisperer:<region>:<account_ID>:profile/<profile_ID>

      When resources.type equals AWS::Cognito::IdentityPool, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:cognito-identity:<region>:<account_ID>:identitypool/<identity_pool_ID>

      When resources.type equals AWS::DynamoDB::Stream, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:dynamodb:<region>:<account_ID>:table/<table_name>/stream/<date_time>

      When resources.type equals AWS::EC2::Snapshot, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:ec2:<region>::snapshot/<snapshot_ID>

      When resources.type equals AWS::EMRWAL::Workspace, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:emrwal:<region>::workspace/<workspace_name>

      When resources.type equals AWS::FinSpace::Environment, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:finspace:<region>:<account_ID>:environment/<environment_ID>

      When resources.type equals AWS::Glue::Table, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name>

      When resources.type equals AWS::GuardDuty::Detector, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:guardduty:<region>:<account_ID>:detector/<detector_ID>

      When resources.type equals AWS::KendraRanking::ExecutionPlan, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:kendra-ranking:<region>:<account_ID>:rescore-execution-plan/<rescore_execution_plan_ID>

      When resources.type equals AWS::ManagedBlockchain::Network, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:managedblockchain:::networks/<network_name>

      When resources.type equals AWS::ManagedBlockchain::Node, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:managedblockchain:<region>:<account_ID>:nodes/<node_ID>

      When resources.type equals AWS::MedicalImaging::Datastore, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID>

      When resources.type equals AWS::SageMaker::ExperimentTrialComponent, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:sagemaker:<region>:<account_ID>:experiment-trial-component/<experiment_trial_component_name>

      When resources.type equals AWS::SageMaker::FeatureGroup, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:sagemaker:<region>:<account_ID>:feature-group/<feature_group_name>

      When resources.type equals AWS::S3::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in one of the following formats. To log events on all objects in an S3 access point, we recommend that you use only the access point ARN, don’t include the object path, and use the StartsWith or NotStartsWith operators.

      • arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>

      • arn:<partition>:s3:<region>:<account_ID>:accesspoint/<access_point_name>/object/<object_path>

      When resources.type equals AWS::S3ObjectLambda::AccessPoint, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:s3-object-lambda:<region>:<account_ID>:accesspoint/<access_point_name>

      When resources.type equals AWS::S3Outposts::Object, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:s3-outposts:<region>:<account_ID>:<object_path>

      When resources.type equals AWS::SSMMessages::ControlChannel, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID>

      When resources.type equals AWS::VerifiedPermissions::PolicyStore, and the operator is set to Equals or NotEquals, the ARN must be in the following format:

      • arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID>

    " }, "Equals":{ "shape":"Operator", @@ -1379,7 +1379,7 @@ }, "RetentionPeriod":{ "shape":"RetentionPeriod", - "documentation":"

    The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years.

    " + "documentation":"

    The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events when the eventTime is older than 90 days.

    If you plan to copy trail events to this event data store, we recommend that you consider both the age of the events that you want to copy as well as how long you want to keep the copied events in your event data store. For example, if you copy trail events that are 5 years old and specify a retention period of 7 years, the event data store will retain those events for two years.

    " }, "TerminationProtectionEnabled":{ "shape":"TerminationProtectionEnabled", @@ -1565,7 +1565,7 @@ "members":{ "Type":{ "shape":"String", - "documentation":"

    The resource type in which you want to log data events. You can specify the following basic event selector resource types:

    • AWS::DynamoDB::Table

    • AWS::Lambda::Function

    • AWS::S3::Object

    The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector.

    • AWS::CloudTrail::Channel

    • AWS::CodeWhisperer::Profile

    • AWS::Cognito::IdentityPool

    • AWS::DynamoDB::Stream

    • AWS::EC2::Snapshot

    • AWS::EMRWAL::Workspace

    • AWS::FinSpace::Environment

    • AWS::Glue::Table

    • AWS::GuardDuty::Detector

    • AWS::KendraRanking::ExecutionPlan

    • AWS::ManagedBlockchain::Node

    • AWS::SageMaker::ExperimentTrialComponent

    • AWS::SageMaker::FeatureGroup

    • AWS::S3::AccessPoint

    • AWS::S3ObjectLambda::AccessPoint

    • AWS::S3Outposts::Object

    " + "documentation":"

    The resource type in which you want to log data events. You can specify the following basic event selector resource types:

    • AWS::DynamoDB::Table

    • AWS::Lambda::Function

    • AWS::S3::Object

    The following resource types are also available through advanced event selectors. Basic event selector resource types are valid in advanced event selectors, but advanced event selector resource types are not valid in basic event selectors. For more information, see AdvancedFieldSelector.

    • AWS::CloudTrail::Channel

    • AWS::CodeWhisperer::Profile

    • AWS::Cognito::IdentityPool

    • AWS::DynamoDB::Stream

    • AWS::EC2::Snapshot

    • AWS::EMRWAL::Workspace

    • AWS::FinSpace::Environment

    • AWS::Glue::Table

    • AWS::GuardDuty::Detector

    • AWS::KendraRanking::ExecutionPlan

    • AWS::ManagedBlockchain::Network

    • AWS::ManagedBlockchain::Node

    • AWS::MedicalImaging::Datastore

    • AWS::SageMaker::ExperimentTrialComponent

    • AWS::SageMaker::FeatureGroup

    • AWS::S3::AccessPoint

    • AWS::S3ObjectLambda::AccessPoint

    • AWS::S3Outposts::Object

    • AWS::SSMMessages::ControlChannel

    • AWS::VerifiedPermissions::PolicyStore

    " }, "Values":{ "shape":"DataResourceValues", @@ -3182,7 +3182,7 @@ "type":"structure", "members":{ }, - "documentation":"

    You are already running the maximum number of concurrent queries. Wait a minute for some queries to finish, and then run the query again.

    ", + "documentation":"

    You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some queries to finish, and then run the query again.

    ", "exception":true }, "MaxQueryResults":{ @@ -4215,7 +4215,7 @@ }, "RetentionPeriod":{ "shape":"RetentionPeriod", - "documentation":"

    The retention period, in days.

    " + "documentation":"

    The retention period of the event data store, in days. You can set a retention period of up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events when the eventTime is older than 90 days.

    If you decrease the retention period of an event data store, CloudTrail will remove any events with an eventTime older than the new retention period. For example, if the previous retention period was 365 days and you decrease it to 100 days, CloudTrail will remove events with an eventTime older than 100 days.

    " }, "TerminationProtectionEnabled":{ "shape":"TerminationProtectionEnabled", diff --git a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json index b6c91862319..a3a1d08c02a 100644 --- a/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json +++ b/tools/code-generation/api-descriptions/connect-2017-08-08.normal.json @@ -205,6 +205,25 @@ ], "documentation":"

    This API is in preview release for Amazon Connect and is subject to change.

    Associates a security key to the instance.

    " }, + "AssociateTrafficDistributionGroupUser":{ + "name":"AssociateTrafficDistributionGroupUser", + "http":{ + "method":"PUT", + "requestUri":"/traffic-distribution-group/{TrafficDistributionGroupId}/user" + }, + "input":{"shape":"AssociateTrafficDistributionGroupUserRequest"}, + "output":{"shape":"AssociateTrafficDistributionGroupUserResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceConflictException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

    Associates an agent with a traffic distribution group.

    ", + "idempotent":true + }, "ClaimPhoneNumber":{ "name":"ClaimPhoneNumber", "http":{ @@ -1445,6 +1464,25 @@ ], "documentation":"

    This API is in preview release for Amazon Connect and is subject to change.

    Deletes the specified security key.

    " }, + "DisassociateTrafficDistributionGroupUser":{ + "name":"DisassociateTrafficDistributionGroupUser", + "http":{ + "method":"DELETE", + "requestUri":"/traffic-distribution-group/{TrafficDistributionGroupId}/user" + }, + "input":{"shape":"DisassociateTrafficDistributionGroupUserRequest"}, + "output":{"shape":"DisassociateTrafficDistributionGroupUserResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceConflictException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

    Disassociates an agent from a traffic distribution group.

    ", + "idempotent":true + }, "DismissUserContact":{ "name":"DismissUserContact", "http":{ @@ -1928,7 +1966,7 @@ {"shape":"InternalServiceException"}, {"shape":"AccessDeniedException"} ], - "documentation":"

    Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group.

    For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

    " + "documentation":"

    Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group.

    For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

    • When given an instance ARN, ListPhoneNumbersV2 returns only the phone numbers claimed to the instance.

    • When given a traffic distribution group ARN ListPhoneNumbersV2 returns only the phone numbers claimed to the traffic distribution group.

    " }, "ListPrompts":{ "name":"ListPrompts", @@ -2134,6 +2172,23 @@ ], "documentation":"

    Lists task templates for the specified Amazon Connect instance.

    " }, + "ListTrafficDistributionGroupUsers":{ + "name":"ListTrafficDistributionGroupUsers", + "http":{ + "method":"GET", + "requestUri":"/traffic-distribution-group/{TrafficDistributionGroupId}/user" + }, + "input":{"shape":"ListTrafficDistributionGroupUsersRequest"}, + "output":{"shape":"ListTrafficDistributionGroupUsersResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

    Lists traffic distribution group users.

    " + }, "ListTrafficDistributionGroups":{ "name":"ListTrafficDistributionGroups", "http":{ @@ -3256,7 +3311,7 @@ {"shape":"ThrottlingException"}, {"shape":"InternalServiceException"} ], - "documentation":"

    Updates the traffic distribution for a given traffic distribution group.

    For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.

    " + "documentation":"

    Updates the traffic distribution for a given traffic distribution group.

    You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

    For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.

    " }, "UpdateUserHierarchy":{ "name":"UpdateUserHierarchy", @@ -3467,6 +3522,17 @@ "TIME_SINCE_LAST_INBOUND" ] }, + "AgentConfig":{ + "type":"structure", + "required":["Distributions"], + "members":{ + "Distributions":{ + "shape":"DistributionList", + "documentation":"

    Information about traffic distributions.

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

    The distribution of agents between the instance and its replica(s).

    " + }, "AgentContactReference":{ "type":"structure", "members":{ @@ -3938,6 +4004,35 @@ } } }, + "AssociateTrafficDistributionGroupUserRequest":{ + "type":"structure", + "required":[ + "TrafficDistributionGroupId", + "UserId", + "InstanceId" + ], + "members":{ + "TrafficDistributionGroupId":{ + "shape":"TrafficDistributionGroupIdOrArn", + "documentation":"

    The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

    ", + "location":"uri", + "locationName":"TrafficDistributionGroupId" + }, + "UserId":{ + "shape":"UserId", + "documentation":"

    The identifier of the user account. This can be the ID or the ARN of the user.

    " + }, + "InstanceId":{ + "shape":"InstanceId", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    " + } + } + }, + "AssociateTrafficDistributionGroupUserResponse":{ + "type":"structure", + "members":{ + } + }, "AssociationId":{ "type":"string", "max":100, @@ -5185,7 +5280,7 @@ }, "AgentAvailabilityTimer":{ "shape":"AgentAvailabilityTimer", - "documentation":"

    Whether agents with this routing profile will have their routing order calculated based on time since their last inbound contact or longest idle time.

    " + "documentation":"

    Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.

    " } } }, @@ -7223,6 +7318,39 @@ } } }, + "DisassociateTrafficDistributionGroupUserRequest":{ + "type":"structure", + "required":[ + "TrafficDistributionGroupId", + "UserId", + "InstanceId" + ], + "members":{ + "TrafficDistributionGroupId":{ + "shape":"TrafficDistributionGroupIdOrArn", + "documentation":"

    The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

    ", + "location":"uri", + "locationName":"TrafficDistributionGroupId" + }, + "UserId":{ + "shape":"UserId", + "documentation":"

    The identifier for the user. This can be the ID or the ARN of the user.

    ", + "location":"querystring", + "locationName":"UserId" + }, + "InstanceId":{ + "shape":"InstanceId", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    ", + "location":"querystring", + "locationName":"InstanceId" + } + } + }, + "DisassociateTrafficDistributionGroupUserResponse":{ + "type":"structure", + "members":{ + } + }, "DismissUserContactRequest":{ "type":"structure", "required":[ @@ -8420,7 +8548,7 @@ }, "UserId":{ "shape":"AgentResourceId", - "documentation":"

    The identifier for the user.

    " + "documentation":"

    The identifier for the user. This can be the ID or the ARN of the user.

    " } } }, @@ -8687,6 +8815,14 @@ "Arn":{ "shape":"TrafficDistributionGroupArn", "documentation":"

    The Amazon Resource Name (ARN) of the traffic distribution group.

    " + }, + "SignInConfig":{ + "shape":"SignInConfig", + "documentation":"

    The distribution of allowing signing in to the instance and its replica(s).

    " + }, + "AgentConfig":{ + "shape":"AgentConfig", + "documentation":"

    The distribution of agents between the instance and its replica(s).

    " } } }, @@ -10998,6 +11134,44 @@ } } }, + "ListTrafficDistributionGroupUsersRequest":{ + "type":"structure", + "required":["TrafficDistributionGroupId"], + "members":{ + "TrafficDistributionGroupId":{ + "shape":"TrafficDistributionGroupIdOrArn", + "documentation":"

    The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.

    ", + "location":"uri", + "locationName":"TrafficDistributionGroupId" + }, + "MaxResults":{ + "shape":"MaxResult10", + "documentation":"

    The maximum number of results to return per page.

    ", + "box":true, + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

    ", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListTrafficDistributionGroupUsersResponse":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"NextToken", + "documentation":"

    If there are additional results, this is the token for the next set of results.

    " + }, + "TrafficDistributionGroupUserSummaryList":{ + "shape":"TrafficDistributionGroupUserSummaryList", + "documentation":"

    A list of traffic distribution group users.

    " + } + } + }, "ListTrafficDistributionGroupsRequest":{ "type":"structure", "members":{ @@ -13932,6 +14106,39 @@ "error":{"httpStatusCode":402}, "exception":true }, + "SignInConfig":{ + "type":"structure", + "required":["Distributions"], + "members":{ + "Distributions":{ + "shape":"SignInDistributionList", + "documentation":"

    Information about traffic distributions.

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

    The distribution of allowing signing in to the instance and its replica(s).

    " + }, + "SignInDistribution":{ + "type":"structure", + "required":[ + "Region", + "Enabled" + ], + "members":{ + "Region":{ + "shape":"AwsRegion", + "documentation":"

    The Amazon Web Services Region of the sign in distribution.

    " + }, + "Enabled":{ + "shape":"Boolean", + "documentation":"

    Whether sign in distribution is enabled.

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

    The distribution of sign in traffic between the instance and its replica(s).

    " + }, + "SignInDistributionList":{ + "type":"list", + "member":{"shape":"SignInDistribution"} + }, "SingleSelectOptions":{ "type":"list", "member":{"shape":"TaskTemplateSingleSelectOption"} @@ -14971,6 +15178,10 @@ "Tags":{ "shape":"TagMap", "documentation":"

    The tags used to organize, track, or control access for this resource. For example, { \"tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

    " + }, + "IsDefault":{ + "shape":"Boolean", + "documentation":"

    Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

    You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

    " } }, "documentation":"

    Information about a traffic distribution group.

    " @@ -15020,6 +15231,10 @@ "Status":{ "shape":"TrafficDistributionGroupStatus", "documentation":"

    The status of the traffic distribution group.

    " + }, + "IsDefault":{ + "shape":"Boolean", + "documentation":"

    Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

    " } }, "documentation":"

    Information about traffic distribution groups.

    " @@ -15030,6 +15245,22 @@ "max":10, "min":0 }, + "TrafficDistributionGroupUserSummary":{ + "type":"structure", + "members":{ + "UserId":{ + "shape":"UserId", + "documentation":"

    The identifier for the user. This can be the ID or the ARN of the user.

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

    Summary information about a traffic distribution group user.

    " + }, + "TrafficDistributionGroupUserSummaryList":{ + "type":"list", + "member":{"shape":"TrafficDistributionGroupUserSummary"}, + "max":10, + "min":0 + }, "TrafficType":{ "type":"string", "enum":[ @@ -15059,7 +15290,7 @@ }, "UserId":{ "shape":"AgentResourceId", - "documentation":"

    The identifier for the user.

    " + "documentation":"

    The identifier for the user. This can be the ID or the ARN of the user.

    " }, "ContactFlowId":{ "shape":"ContactFlowId", @@ -16293,6 +16524,14 @@ "TelephonyConfig":{ "shape":"TelephonyConfig", "documentation":"

    The distribution of traffic between the instance and its replica(s).

    " + }, + "SignInConfig":{ + "shape":"SignInConfig", + "documentation":"

    The distribution of allowing signing in to the instance and its replica(s).

    " + }, + "AgentConfig":{ + "shape":"AgentConfig", + "documentation":"

    The distribution of agents between the instance and its replica(s).

    " } } }, diff --git a/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json b/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json index d2f143bcdec..df77c9e4543 100644 --- a/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json +++ b/tools/code-generation/api-descriptions/elasticloadbalancingv2-2015-12-01.normal.json @@ -244,7 +244,7 @@ {"shape":"TargetGroupNotFoundException"}, {"shape":"InvalidTargetException"} ], - "documentation":"

    Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

    " + "documentation":"

    Deregisters the specified targets from the specified target group. After the targets are deregistered, they no longer receive traffic from the load balancer.

    Note: If the specified target does not exist, the action returns successfully.

    " }, "DescribeAccountLimits":{ "name":"DescribeAccountLimits", @@ -646,7 +646,7 @@ {"shape":"InvalidConfigurationRequestException"}, {"shape":"InvalidSecurityGroupException"} ], - "documentation":"

    Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

    You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

    " + "documentation":"

    Associates the specified security groups with the specified Application Load Balancer or Network Load Balancer. The specified security groups override the previously associated security groups.

    You can't perform this operation on a Network Load Balancer unless you specified a security group for the load balancer when you created it.

    You can't associate a security group with a Gateway Load Balancer.

    " }, "SetSubnets":{ "name":"SetSubnets", @@ -1119,7 +1119,7 @@ }, "SecurityGroups":{ "shape":"SecurityGroups", - "documentation":"

    [Application Load Balancers] The IDs of the security groups for the load balancer.

    " + "documentation":"

    [Application Load Balancers and Network Load Balancers] The IDs of the security groups for the load balancer.

    " }, "Scheme":{ "shape":"LoadBalancerSchemeEnum", @@ -1725,6 +1725,14 @@ }, "exception":true }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{"type":"string"}, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum":{ + "type":"string", + "enum":[ + "on", + "off" + ] + }, "FixedResponseActionConfig":{ "type":"structure", "required":["StatusCode"], @@ -1943,7 +1951,7 @@ "documentation":"

    The maximum value of the limit.

    " } }, - "documentation":"

    Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.

    " + "documentation":"

    Information about an Elastic Load Balancing resource limit for your Amazon Web Services account.

    For more information, see the following:

    " }, "Limits":{ "type":"list", @@ -2066,6 +2074,10 @@ "CustomerOwnedIpv4Pool":{ "shape":"CustomerOwnedIpv4Pool", "documentation":"

    [Application Load Balancers on Outposts] The ID of the customer-owned address pool.

    " + }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{ + "shape":"EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic", + "documentation":"

    Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

    " } }, "documentation":"

    Information about a load balancer.

    " @@ -2682,7 +2694,7 @@ "documentation":"

    Information for a source IP condition. Specify only when Field is source-ip.

    " } }, - "documentation":"

    Information about a condition for a rule.

    Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string. Note that the value for a condition cannot be empty.

    " + "documentation":"

    Information about a condition for a rule.

    Each rule can optionally include up to one of each of the following conditions: http-request-method, host-header, path-pattern, and source-ip. Each rule can also optionally include one or more of each of the following conditions: http-header and query-string. Note that the value for a condition cannot be empty.

    For more information, see Quotas for your Application Load Balancers.

    " }, "RuleConditionList":{ "type":"list", @@ -2803,6 +2815,10 @@ "SecurityGroups":{ "shape":"SecurityGroups", "documentation":"

    The IDs of the security groups.

    " + }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{ + "shape":"EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum", + "documentation":"

    Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink. The default is on.

    " } } }, @@ -2812,6 +2828,10 @@ "SecurityGroupIds":{ "shape":"SecurityGroups", "documentation":"

    The IDs of the security groups associated with the load balancer.

    " + }, + "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic":{ + "shape":"EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum", + "documentation":"

    Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through Amazon Web Services PrivateLink.

    " } } }, @@ -2833,7 +2853,7 @@ }, "IpAddressType":{ "shape":"IpAddressType", - "documentation":"

    [Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener. .

    " + "documentation":"

    [Network Load Balancers] The type of IP addresses used by the subnets for your load balancer. The possible values are ipv4 (for IPv4 addresses) and dualstack (for IPv4 and IPv6 addresses). You can’t specify dualstack for a load balancer with a UDP or TCP_UDP listener.

    " } } }, @@ -3006,7 +3026,7 @@ }, "Port":{ "shape":"Port", - "documentation":"

    The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. Not used if the target is a Lambda function.

    " + "documentation":"

    The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. This parameter is not used if the target is a Lambda function.

    " }, "AvailabilityZone":{ "shape":"ZoneName", @@ -3036,7 +3056,7 @@ }, "Port":{ "shape":"Port", - "documentation":"

    The port on which the targets are listening. Not used if the target is a Lambda function.

    " + "documentation":"

    The port on which the targets are listening. This parameter is not used if the target is a Lambda function.

    " }, "VpcId":{ "shape":"VpcId", @@ -3080,7 +3100,7 @@ }, "LoadBalancerArns":{ "shape":"LoadBalancerArns", - "documentation":"

    The Amazon Resource Names (ARN) of the load balancers that route traffic to this target group.

    " + "documentation":"

    The Amazon Resource Name (ARN) of the load balancer that routes traffic to this target group. You can use each target group with only one load balancer.

    " }, "TargetType":{ "shape":"TargetTypeEnum", diff --git a/tools/code-generation/api-descriptions/omics-2022-11-28.normal.json b/tools/code-generation/api-descriptions/omics-2022-11-28.normal.json index 7dcbf00e0ac..1d25521ae1b 100644 --- a/tools/code-generation/api-descriptions/omics-2022-11-28.normal.json +++ b/tools/code-generation/api-descriptions/omics-2022-11-28.normal.json @@ -4001,6 +4001,10 @@ "gpus":{ "shape":"GetRunTaskResponseGpusInteger", "documentation":"

    The number of Graphics Processing Units (GPU) specified in the task.

    " + }, + "instanceType":{ + "shape":"TaskInstanceType", + "documentation":"

    The instance type for a task.

    " } } }, @@ -4608,7 +4612,7 @@ }, "nextToken":{ "shape":"ListAnnotationImportJobsRequestNextTokenString", - "documentation":"

    Specify the pagination token from a previous request to retrieve the next page of results.

    ", + "documentation":"

    Specifies the pagination token from a previous request to retrieve the next page of results.

    ", "location":"querystring", "locationName":"nextToken" }, @@ -4644,7 +4648,7 @@ }, "nextToken":{ "shape":"String", - "documentation":"

    A pagination token that's included if more results are available.

    " + "documentation":"

    Specifies the pagination token from a previous request to retrieve the next page of results.

    " } } }, @@ -7460,6 +7464,10 @@ "min":1, "pattern":"[0-9]+" }, + "TaskInstanceType":{ + "type":"string", + "pattern":"[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+" + }, "TaskList":{ "type":"list", "member":{"shape":"TaskListItem"} @@ -7502,6 +7510,10 @@ "gpus":{ "shape":"TaskListItemGpusInteger", "documentation":"

    The number of Graphics Processing Units (GPU) specified for the task.

    " + }, + "instanceType":{ + "shape":"TaskInstanceType", + "documentation":"

    The instance type for a task.

    " } }, "documentation":"

    A workflow run task.

    " diff --git a/tools/code-generation/api-descriptions/secretsmanager-2017-10-17.normal.json b/tools/code-generation/api-descriptions/secretsmanager-2017-10-17.normal.json index ef5169e86fb..b74b8b2b4d1 100644 --- a/tools/code-generation/api-descriptions/secretsmanager-2017-10-17.normal.json +++ b/tools/code-generation/api-descriptions/secretsmanager-2017-10-17.normal.json @@ -172,6 +172,7 @@ "output":{"shape":"ListSecretsResponse"}, "errors":[ {"shape":"InvalidParameterException"}, + {"shape":"InvalidRequestException"}, {"shape":"InvalidNextTokenException"}, {"shape":"InternalServiceError"} ], diff --git a/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json b/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json index 916b886bef1..673f1450cbd 100644 --- a/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json +++ b/tools/code-generation/api-descriptions/transfer-2018-11-05.normal.json @@ -65,7 +65,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Creates the connector, which captures the parameters for an outbound connection for the AS2 or SFTP protocol. The connector is required for sending files to an externally hosted AS2 or SFTP server. For more details about AS2 connectors, see Create AS2 connectors.

    You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

    " + "documentation":"

    Creates the connector, which captures the parameters for a connection for the AS2 or SFTP protocol. For AS2, the connector is required for sending files to an externally hosted AS2 server. For SFTP, the connector is required when sending files to an SFTP server or receiving files from an SFTP server. For more details about connectors, see Create AS2 connectors and Create SFTP connectors.

    You must specify exactly one configuration object: either for AS2 (As2Config) or SFTP (SftpConfig).

    " }, "CreateProfile":{ "name":"CreateProfile", @@ -753,7 +753,7 @@ {"shape":"ResourceNotFoundException"}, {"shape":"ThrottlingException"} ], - "documentation":"

    Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.

    • For an AS2 connector, you specify the ConnectorId and one or more SendFilePaths to identify the files you want to transfer.

    • For an SFTP connector, the file transfer can be either outbound or inbound. In both cases, you specify the ConnectorId. Depending on the direction of the transfer, you also specify the following items:

      • If you are transferring file from a partner's SFTP server to a Transfer Family server, you specify one or more RetreiveFilePaths to identify the files you want to transfer, and a LocalDirectoryPath to specify the destination folder.

      • If you are transferring file to a partner's SFTP server from Amazon Web Services storage, you specify one or more SendFilePaths to identify the files you want to transfer, and a RemoteDirectoryPath to specify the destination folder.

    " + "documentation":"

    Begins a file transfer between local Amazon Web Services storage and a remote AS2 or SFTP server.

    • For an AS2 connector, you specify the ConnectorId and one or more SendFilePaths to identify the files you want to transfer.

    • For an SFTP connector, the file transfer can be either outbound or inbound. In both cases, you specify the ConnectorId. Depending on the direction of the transfer, you also specify the following items:

      • If you are transferring file from a partner's SFTP server to Amazon Web Services storage, you specify one or more RetreiveFilePaths to identify the files you want to transfer, and a LocalDirectoryPath to specify the destination folder.

      • If you are transferring file to a partner's SFTP server from Amazon Web Services storage, you specify one or more SendFilePaths to identify the files you want to transfer, and a RemoteDirectoryPath to specify the destination folder.

    " }, "StartServer":{ "name":"StartServer", @@ -1284,7 +1284,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    " + "documentation":"

    Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

    For AS2 connectors

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    For SFTP connectors

    Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

    " }, "Status":{ "shape":"AgreementStatusType", @@ -1323,7 +1323,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    " + "documentation":"

    Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

    For AS2 connectors

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    For SFTP connectors

    Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

    " }, "LoggingRole":{ "shape":"Role", @@ -2131,7 +2131,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    " + "documentation":"

    Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

    For AS2 connectors

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    For SFTP connectors

    Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

    " }, "Tags":{ "shape":"Tags", @@ -2225,7 +2225,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    " + "documentation":"

    Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

    For AS2 connectors

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    For SFTP connectors

    Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

    " }, "LoggingRole":{ "shape":"Role", @@ -4266,7 +4266,7 @@ }, "SendFilePaths":{ "shape":"FilePaths", - "documentation":"

    One or more source paths for the Transfer Family server. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .

    " + "documentation":"

    One or more source paths for the Transfer Family server. Each string represents a source file path for one outbound file transfer. For example, DOC-EXAMPLE-BUCKET/myfile.txt .

    Replace DOC-EXAMPLE-BUCKET with one of your actual buckets.

    " }, "RetrieveFilePaths":{ "shape":"FilePaths", @@ -4626,7 +4626,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    " + "documentation":"

    Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

    For AS2 connectors

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    For SFTP connectors

    Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

    " } } }, @@ -4690,7 +4690,7 @@ }, "AccessRole":{ "shape":"Role", - "documentation":"

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    " + "documentation":"

    Connectors are used to send files using either the AS2 or SFTP protocol. For the access role, provide the Amazon Resource Name (ARN) of the Identity and Access Management role to use.

    For AS2 connectors

    With AS2, you can send files by calling StartFileTransfer and specifying the file paths in the request parameter, SendFilePaths. We use the file’s parent directory (for example, for --send-file-paths /bucket/dir/file.txt, parent directory is /bucket/dir/) to temporarily store a processed AS2 message file, store the MDN when we receive them from the partner, and write a final JSON file containing relevant metadata of the transmission. So, the AccessRole needs to provide read and write access to the parent directory of the file location used in the StartFileTransfer request. Additionally, you need to provide read and write access to the parent directory of the files that you intend to send with StartFileTransfer.

    If you are using Basic authentication for your AS2 connector, the access role requires the secretsmanager:GetSecretValue permission for the secret. If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key in Secrets Manager, then the role also needs the kms:Decrypt permission for that key.

    For SFTP connectors

    Make sure that the access role provides read and write access to the parent directory of the file location that's used in the StartFileTransfer request. Additionally, make sure that the role provides secretsmanager:GetSecretValue permission to Secrets Manager.

    " }, "LoggingRole":{ "shape":"Role", diff --git a/tools/code-generation/endpoints/cloudtrail-2013-11-01.endpoint-rule-set.json b/tools/code-generation/endpoints/cloudtrail-2013-11-01.endpoint-rule-set.json index 2b5ffaa7a8c..be85a60fb63 100644 --- a/tools/code-generation/endpoints/cloudtrail-2013-11-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/cloudtrail-2013-11-01.endpoint-rule-set.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,92 +140,83 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] } ], @@ -221,168 +225,128 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "stringEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "Region" + }, + "us-gov-east-1" ] } ], - "type": "tree", - "rules": [ + "endpoint": { + "url": "https://cloudtrail.us-gov-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-east-1" - ] - } - ], - "endpoint": { - "url": "https://cloudtrail.us-gov-east-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - }, + "fn": "stringEquals", + "argv": [ { - "conditions": [ - { - "fn": "stringEquals", - "argv": [ - { - "ref": "Region" - }, - "us-gov-west-1" - ] - } - ], - "endpoint": { - "url": "https://cloudtrail.us-gov-west-1.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "ref": "Region" }, - { - "conditions": [], - "endpoint": { - "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "us-gov-west-1" ] } - ] + ], + "endpoint": { + "url": "https://cloudtrail.us-gov-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-rule-set.json b/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-rule-set.json index 79fee5593dd..78128a590f9 100644 --- a/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-rule-set.json @@ -3,7 +3,7 @@ "parameters": { "Region": { "builtIn": "AWS::Region", - "required": true, + "required": false, "documentation": "The AWS region used to dispatch the request.", "type": "String" }, @@ -32,13 +32,12 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { - "ref": "Region" + "ref": "Endpoint" } - ], - "assign": "PartitionResult" + ] } ], "type": "tree", @@ -46,14 +45,20 @@ { "conditions": [ { - "fn": "isSet", + "fn": "booleanEquals", "argv": [ { - "ref": "Endpoint" - } + "ref": "UseFIPS" + }, + true ] } ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], "type": "tree", "rules": [ { @@ -62,67 +67,42 @@ "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "ref": "UseDualStack" }, true ] } ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", "type": "error" }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" + "endpoint": { + "url": { + "ref": "Endpoint" }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, + } + ] + }, + { + "conditions": [], + "type": "tree", + "rules": [ { "conditions": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", + "fn": "isSet", "argv": [ { - "ref": "UseDualStack" - }, - true + "ref": "Region" + } ] } ], @@ -131,179 +111,240 @@ { "conditions": [ { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ - true, { - "fn": "getAttr", + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, + }, { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, { "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "supportsFIPS" + true ] } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "stringEquals", + "fn": "booleanEquals", "argv": [ - "aws-us-gov", + true, { "fn": "getAttr", "argv": [ { "ref": "PartitionResult" }, - "name" + "supportsFIPS" ] } ] } ], - "endpoint": { - "url": "https://elasticloadbalancing.{Region}.amazonaws.com", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws-us-gov", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] }, { "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ] - } - ] - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ] - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseDualStack" }, - "supportsDualStack" + true ] } + ], + "type": "tree", + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "type": "tree", + "rules": [ + { + "conditions": [], + "type": "tree", + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ] + } + ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } ] - } - ], - "type": "tree", - "rules": [ + }, { "conditions": [], "type": "tree", @@ -311,7 +352,7 @@ { "conditions": [], "endpoint": { - "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}", + "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, @@ -320,28 +361,13 @@ ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } ] }, { "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } diff --git a/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-tests.json b/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-tests.json index 30ae4512f69..a5e023b96c1 100644 --- a/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-tests.json +++ b/tools/code-generation/endpoints/elasticloadbalancingv2-2015-12-01.endpoint-tests.json @@ -1,42 +1,55 @@ { "testCases": [ { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticloadbalancing.af-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "af-south-1", "UseFIPS": false, - "Region": "us-iso-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov" + "url": "https://elasticloadbalancing.ap-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-east-1", "UseFIPS": false, - "Region": "us-iso-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://elasticloadbalancing.ap-northeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-iso-east-1" + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -47,87 +60,87 @@ } }, "params": { - "UseDualStack": false, + "Region": "ap-northeast-3", "UseFIPS": false, - "Region": "ap-northeast-3" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.ap-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-south-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.ap-southeast-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-1" + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-west-1.amazonaws.com" + "url": "https://elasticloadbalancing.ap-southeast-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-2", "UseFIPS": false, - "Region": "eu-west-1" + "UseDualStack": false } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-west-2.amazonaws.com" + "url": "https://elasticloadbalancing.ap-southeast-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ap-southeast-3", "UseFIPS": false, - "Region": "eu-west-2" + "UseDualStack": false } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-west-3.amazonaws.com" + "url": "https://elasticloadbalancing.ca-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "ca-central-1", "UseFIPS": false, - "Region": "eu-west-3" + "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.me-south-1.amazonaws.com" + "url": "https://elasticloadbalancing.eu-central-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-central-1", "UseFIPS": false, - "Region": "me-south-1" + "UseDualStack": false } }, { @@ -138,139 +151,139 @@ } }, "params": { - "UseDualStack": false, + "Region": "eu-north-1", "UseFIPS": false, - "Region": "eu-north-1" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-east-2.amazonaws.com" + "url": "https://elasticloadbalancing.eu-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-south-1", "UseFIPS": false, - "Region": "us-east-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-east-2.amazonaws.com" + "url": "https://elasticloadbalancing.eu-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": true, - "Region": "us-east-2" + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.sa-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.eu-west-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-2", "UseFIPS": false, - "Region": "sa-east-1" + "UseDualStack": false } }, { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.eu-west-3.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "eu-west-3", "UseFIPS": false, - "Region": "ap-east-1" + "UseDualStack": false } }, { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-south-1.amazonaws.com" + "url": "https://elasticloadbalancing.me-south-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "me-south-1", "UseFIPS": false, - "Region": "eu-south-1" + "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.eu-central-1.amazonaws.com" + "url": "https://elasticloadbalancing.sa-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "sa-east-1", "UseFIPS": false, - "Region": "eu-central-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-southeast-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-southeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-southeast-2.amazonaws.com" + "url": "https://elasticloadbalancing-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ap-southeast-2" + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-southeast-3.amazonaws.com" + "url": "https://elasticloadbalancing.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-east-2", "UseFIPS": false, - "Region": "ap-southeast-3" + "UseDualStack": false } }, { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ca-central-1.amazonaws.com" + "url": "https://elasticloadbalancing-fips.us-east-2.amazonaws.com" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "ca-central-1" + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": false } }, { @@ -281,9 +294,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": false, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -294,9 +307,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-1", "UseFIPS": true, - "Region": "us-west-1" + "UseDualStack": false } }, { @@ -307,9 +320,9 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": false, - "Region": "us-west-2" + "UseDualStack": false } }, { @@ -320,139 +333,152 @@ } }, "params": { - "UseDualStack": false, + "Region": "us-west-2", "UseFIPS": true, - "Region": "us-west-2" + "UseDualStack": false } }, { - "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.af-south-1.amazonaws.com" + "url": "https://elasticloadbalancing-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, - "UseFIPS": false, - "Region": "af-south-1" + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-south-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-east-1.api.aws" } }, "params": { - "UseDualStack": false, + "Region": "us-east-1", "UseFIPS": false, - "Region": "ap-south-1" + "UseDualStack": true } }, { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-northeast-1.amazonaws.com" + "url": "https://elasticloadbalancing.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-north-1", "UseFIPS": false, - "Region": "ap-northeast-1" + "UseDualStack": false } }, { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.ap-northeast-2.amazonaws.com" + "url": "https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": false, + "Region": "cn-northwest-1", "UseFIPS": false, - "Region": "ap-northeast-2" + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-east-1.api.aws" + "url": "https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", "UseFIPS": true, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-east-1.api.aws" + "url": "https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn" } }, "params": { - "UseDualStack": true, + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", "UseFIPS": false, - "Region": "us-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-west-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-west-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-gov-east-1.amazonaws.com" + "url": "https://elasticloadbalancing.us-gov-west-1.amazonaws.com" } }, "params": { - "UseDualStack": false, + "Region": "us-gov-west-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": false } }, { @@ -463,9 +489,9 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": true, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { @@ -476,113 +502,144 @@ } }, "params": { - "UseDualStack": true, + "Region": "us-gov-east-1", "UseFIPS": false, - "Region": "us-gov-east-1" + "UseDualStack": true } }, { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov" + "url": "https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "us-isob-east-1" + "UseDualStack": false } }, { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov" + "url": "https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", "UseFIPS": true, - "Region": "us-isob-east-1" + "UseDualStack": true } }, { - "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn" + "url": "https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", "UseFIPS": false, - "Region": "cn-northwest-1" + "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.cn-north-1.amazonaws.com.cn" + "url": "https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn" + "url": "https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov" } }, "params": { - "UseDualStack": false, + "Region": "us-isob-east-1", "UseFIPS": true, - "Region": "cn-north-1" + "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { - "url": "https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn" + "url": "https://example.com" } }, "params": { - "UseDualStack": true, + "Region": "us-east-1", "UseFIPS": false, - "Region": "cn-north-1" + "UseDualStack": false, + "Endpoint": "https://example.com" } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "UseFIPS": false, - "Region": "us-east-1", + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -592,9 +649,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, - "UseFIPS": true, "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -604,11 +661,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, - "UseFIPS": false, "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/tools/code-generation/endpoints/transfer-2018-11-05.endpoint-rule-set.json b/tools/code-generation/endpoints/transfer-2018-11-05.endpoint-rule-set.json index 6f1477c015b..2694e990a7d 100644 --- a/tools/code-generation/endpoints/transfer-2018-11-05.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/transfer-2018-11-05.endpoint-rule-set.json @@ -58,52 +58,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -111,13 +115,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -127,224 +140,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://transfer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://transfer-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://transfer.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://transfer.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://transfer.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file