From 22fc0b5f94e815febd5ae2d5ed0953832d6ec71c Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Thu, 18 Jul 2024 19:27:33 +0000 Subject: [PATCH] Amazon Connect expands search API coverage for additional resources. Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint) Documentation update for IVS Chat API Reference. Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions. This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination. Doc-only update for TimestreamQuery. Added guidance about the accepted valid value for the QueryPricingModel parameter. Doc only update for Secrets Manager Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK. Set default endpoint for aws partition. Requests from all regions in aws partition will be forward to us-east-1 endpoint. AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type. SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family. Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range. Documentation update for WorkSpaces Thin Client. --- VERSION | 2 +- .../include/aws/connect/ConnectClient.h | 55 ++ .../aws/connect/ConnectServiceClientModel.h | 10 + .../connect/model/AgentStatusSearchCriteria.h | 104 ++++ .../connect/model/AgentStatusSearchFilter.h | 64 +++ .../model/CommonAttributeAndCondition.h | 63 +++ .../include/aws/connect/model/Condition.h | 78 +++ .../model/ControlPlaneAttributeFilter.h | 98 ++++ .../connect/model/GetMetricDataV2Request.h | 7 +- .../include/aws/connect/model/ListCondition.h | 81 +++ .../aws/connect/model/NumberComparisonType.h | 36 ++ .../aws/connect/model/NumberCondition.h | 105 ++++ .../model/SearchAgentStatusesRequest.h | 120 +++++ .../connect/model/SearchAgentStatusesResult.h | 96 ++++ .../connect/model/SearchResourceTagsRequest.h | 6 +- .../model/SearchUserHierarchyGroupsRequest.h | 120 +++++ .../model/SearchUserHierarchyGroupsResult.h | 96 ++++ .../aws/connect/model/StringCondition.h | 6 +- .../aws/connect/model/TargetListType.h | 30 ++ .../model/UserHierarchyGroupSearchCriteria.h | 100 ++++ .../model/UserHierarchyGroupSearchFilter.h | 63 +++ .../aws/connect/model/UserSearchCriteria.h | 17 + .../source/ConnectClient1.cpp | 125 +++-- .../source/ConnectClient2.cpp | 69 +++ .../model/AgentStatusSearchCriteria.cpp | 103 ++++ .../source/model/AgentStatusSearchFilter.cpp | 59 +++ .../model/CommonAttributeAndCondition.cpp | 67 +++ .../source/model/Condition.cpp | 73 +++ .../model/ControlPlaneAttributeFilter.cpp | 95 ++++ .../source/model/ListCondition.cpp | 81 +++ .../source/model/NumberComparisonType.cpp | 107 ++++ .../source/model/NumberCondition.cpp | 103 ++++ .../model/SearchAgentStatusesRequest.cpp | 64 +++ .../model/SearchAgentStatusesResult.cpp | 65 +++ .../SearchUserHierarchyGroupsRequest.cpp | 64 +++ .../model/SearchUserHierarchyGroupsResult.cpp | 65 +++ .../source/model/TargetListType.cpp | 65 +++ .../UserHierarchyGroupSearchCriteria.cpp | 103 ++++ .../model/UserHierarchyGroupSearchFilter.cpp | 59 +++ .../source/model/UserSearchCriteria.cpp | 14 + .../include/aws/ec2/EC2Client.h | 108 +++- .../include/aws/ec2/EC2ServiceClientModel.h | 16 + ...ExternalResourceVerificationTokenRequest.h | 116 +++++ ...xternalResourceVerificationTokenResponse.h | 64 +++ .../aws/ec2/model/CreateIpamPoolRequest.h | 16 +- ...ExternalResourceVerificationTokenRequest.h | 76 +++ ...xternalResourceVerificationTokenResponse.h | 64 +++ ...xternalResourceVerificationTokensRequest.h | 136 +++++ ...ternalResourceVerificationTokensResponse.h | 84 ++++ .../model/DescribePlacementGroupsRequest.h | 7 +- .../ec2/model/FleetLaunchTemplateOverrides.h | 18 +- .../FleetLaunchTemplateOverridesRequest.h | 18 +- .../model/InstanceMetadataDefaultsResponse.h | 2 +- .../ec2/model/IpamDiscoveredResourceCidr.h | 4 +- .../IpamExternalResourceVerificationToken.h | 236 +++++++++ ...amExternalResourceVerificationTokenState.h | 35 ++ .../include/aws/ec2/model/IpamPool.h | 16 +- .../aws/ec2/model/LaunchTemplateOverrides.h | 18 +- .../ec2/model/ProvisionIpamPoolCidrRequest.h | 40 +- .../include/aws/ec2/model/ResourceType.h | 3 +- .../ec2/model/SpotFleetLaunchSpecification.h | 7 +- .../include/aws/ec2/model/TokenState.h | 31 ++ .../aws/ec2/model/VerificationMethod.h | 31 ++ .../aws/ec2/model/VolumeModification.h | 6 +- .../src/aws-cpp-sdk-ec2/source/EC2Client.cpp | 54 +- .../src/aws-cpp-sdk-ec2/source/EC2Client1.cpp | 108 ++-- .../src/aws-cpp-sdk-ec2/source/EC2Client2.cpp | 146 +++--- .../src/aws-cpp-sdk-ec2/source/EC2Client3.cpp | 146 +++--- .../src/aws-cpp-sdk-ec2/source/EC2Client4.cpp | 128 ++--- .../src/aws-cpp-sdk-ec2/source/EC2Client5.cpp | 162 +++--- .../src/aws-cpp-sdk-ec2/source/EC2Client6.cpp | 81 +++ ...ternalResourceVerificationTokenRequest.cpp | 60 +++ ...ernalResourceVerificationTokenResponse.cpp | 57 +++ ...ternalResourceVerificationTokenRequest.cpp | 42 ++ ...ernalResourceVerificationTokenResponse.cpp | 57 +++ ...ernalResourceVerificationTokensRequest.cpp | 72 +++ ...rnalResourceVerificationTokensResponse.cpp | 68 +++ .../IpamExternalResourceVerificationToken.cpp | 250 ++++++++++ ...ExternalResourceVerificationTokenState.cpp | 100 ++++ .../model/ProvisionIpamPoolCidrRequest.cpp | 15 +- .../source/model/ResourceType.cpp | 7 + .../source/model/TokenState.cpp | 72 +++ .../source/model/VerificationMethod.cpp | 72 +++ .../aws/firehose/model/CatalogConfiguration.h | 66 +++ .../model/CreateDeliveryStreamRequest.h | 17 + .../firehose/model/DestinationDescription.h | 17 + .../model/DestinationTableConfiguration.h | 123 +++++ .../model/IcebergDestinationConfiguration.h | 191 +++++++ .../model/IcebergDestinationDescription.h | 190 +++++++ .../firehose/model/IcebergDestinationUpdate.h | 190 +++++++ .../aws/firehose/model/IcebergS3BackupMode.h | 31 ++ .../firehose/model/MSKSourceConfiguration.h | 20 + .../aws/firehose/model/MSKSourceDescription.h | 20 + .../firehose/model/SnowflakeBufferingHints.h | 72 +++ .../model/SnowflakeDestinationConfiguration.h | 18 + .../model/SnowflakeDestinationDescription.h | 18 + .../model/SnowflakeDestinationUpdate.h | 17 + .../firehose/model/UpdateDestinationRequest.h | 17 + .../source/model/CatalogConfiguration.cpp | 59 +++ .../model/CreateDeliveryStreamRequest.cpp | 9 +- .../source/model/DestinationDescription.cpp | 16 +- .../model/DestinationTableConfiguration.cpp | 109 ++++ .../model/IcebergDestinationConfiguration.cpp | 179 +++++++ .../model/IcebergDestinationDescription.cpp | 179 +++++++ .../source/model/IcebergDestinationUpdate.cpp | 179 +++++++ .../source/model/IcebergS3BackupMode.cpp | 72 +++ .../source/model/MSKSourceConfiguration.cpp | 15 +- .../source/model/MSKSourceDescription.cpp | 15 +- .../source/model/SnowflakeBufferingHints.cpp | 75 +++ .../SnowflakeDestinationConfiguration.cpp | 16 +- .../model/SnowflakeDestinationDescription.cpp | 16 +- .../model/SnowflakeDestinationUpdate.cpp | 16 +- .../source/model/UpdateDestinationRequest.cpp | 9 +- .../include/aws/ivschat/IvschatClient.h | 69 +-- .../ivschat/model/CreateChatTokenRequest.h | 100 ++-- .../aws/ivschat/model/CreateChatTokenResult.h | 30 +- .../model/CreateLoggingConfigurationRequest.h | 36 +- .../model/CreateLoggingConfigurationResult.h | 82 +-- .../aws/ivschat/model/CreateRoomRequest.h | 90 ++-- .../aws/ivschat/model/CreateRoomResult.h | 110 ++-- .../aws/ivschat/model/DeleteMessageRequest.h | 36 +- .../ivschat/model/DestinationConfiguration.h | 34 +- .../aws/ivschat/model/DisconnectUserRequest.h | 34 +- .../model/GetLoggingConfigurationResult.h | 82 +-- .../include/aws/ivschat/model/GetRoomResult.h | 110 ++-- .../model/ListLoggingConfigurationsRequest.h | 26 +- .../aws/ivschat/model/ListRoomsRequest.h | 80 +-- .../aws/ivschat/model/ListRoomsResult.h | 32 +- .../model/LoggingConfigurationSummary.h | 88 ++-- .../aws/ivschat/model/MessageReviewHandler.h | 38 +- .../include/aws/ivschat/model/RoomSummary.h | 102 ++-- .../aws/ivschat/model/SendEventRequest.h | 60 +-- .../model/ServiceQuotaExceededException.h | 26 +- .../aws/ivschat/model/ThrottlingException.h | 26 +- .../model/UpdateLoggingConfigurationRequest.h | 38 +- .../model/UpdateLoggingConfigurationResult.h | 80 +-- .../aws/ivschat/model/UpdateRoomRequest.h | 76 +-- .../aws/ivschat/model/UpdateRoomResult.h | 110 ++-- .../aws/ivschat/model/ValidationException.h | 36 +- .../ivschat/model/ValidationExceptionField.h | 34 +- .../source/model/CreateChatTokenRequest.cpp | 36 +- .../source/model/CreateChatTokenResult.cpp | 12 +- .../CreateLoggingConfigurationRequest.cpp | 10 +- .../CreateLoggingConfigurationResult.cpp | 24 +- .../source/model/CreateRoomRequest.cpp | 44 +- .../source/model/CreateRoomResult.cpp | 42 +- .../source/model/DeleteMessageRequest.cpp | 16 +- .../source/model/DestinationConfiguration.cpp | 30 +- .../source/model/DisconnectUserRequest.cpp | 16 +- .../model/GetLoggingConfigurationResult.cpp | 24 +- .../source/model/GetRoomResult.cpp | 42 +- .../ListLoggingConfigurationsRequest.cpp | 12 +- .../source/model/ListRoomsRequest.cpp | 26 +- .../source/model/ListRoomsResult.cpp | 12 +- .../model/LoggingConfigurationSummary.cpp | 64 +-- .../source/model/MessageReviewHandler.cpp | 26 +- .../source/model/RoomSummary.cpp | 82 +-- .../source/model/SendEventRequest.cpp | 22 +- .../model/ServiceQuotaExceededException.cpp | 32 +- .../source/model/ThrottlingException.cpp | 32 +- .../UpdateLoggingConfigurationRequest.cpp | 16 +- .../UpdateLoggingConfigurationResult.cpp | 24 +- .../source/model/UpdateRoomRequest.cpp | 34 +- .../source/model/UpdateRoomResult.cpp | 42 +- .../source/model/ValidationException.cpp | 46 +- .../source/model/ValidationExceptionField.cpp | 24 +- .../include/aws/medialive/model/Algorithm.h | 32 ++ .../aws/medialive/model/CreateInputRequest.h | 16 + .../aws/medialive/model/DescribeInputResult.h | 14 + .../aws/medialive/model/Eac3AtmosSettings.h | 2 - .../aws/medialive/model/H264Settings.h | 17 +- .../aws/medialive/model/H265Settings.h | 17 +- .../include/aws/medialive/model/Input.h | 16 + .../include/aws/medialive/model/InputType.h | 3 +- .../aws/medialive/model/SrtCallerDecryption.h | 80 +++ .../model/SrtCallerDecryptionRequest.h | 80 +++ .../aws/medialive/model/SrtCallerSource.h | 129 +++++ .../medialive/model/SrtCallerSourceRequest.h | 132 +++++ .../include/aws/medialive/model/SrtSettings.h | 60 +++ .../aws/medialive/model/SrtSettingsRequest.h | 62 +++ .../aws/medialive/model/UpdateInputRequest.h | 16 + .../source/model/Algorithm.cpp | 79 +++ .../source/model/CreateInputRequest.cpp | 9 +- .../source/model/DescribeInputResult.cpp | 6 + .../source/model/Input.cpp | 16 +- .../source/model/InputType.cpp | 7 + .../source/model/SrtCallerDecryption.cpp | 73 +++ .../model/SrtCallerDecryptionRequest.cpp | 73 +++ .../source/model/SrtCallerSource.cpp | 116 +++++ .../source/model/SrtCallerSourceRequest.cpp | 116 +++++ .../source/model/SrtSettings.cpp | 67 +++ .../source/model/SrtSettingsRequest.cpp | 67 +++ .../source/model/UpdateInputRequest.cpp | 9 +- .../include/aws/rds/RDSClient.h | 8 +- .../aws/rds/model/CreateDBClusterRequest.h | 22 +- .../aws/rds/model/CreateDBInstanceRequest.h | 19 +- .../include/aws/rds/model/DBCluster.h | 19 +- .../include/aws/rds/model/DBInstance.h | 18 +- .../aws/rds/model/DeleteDBClusterRequest.h | 7 +- .../DescribeDBClusterParametersRequest.h | 4 +- .../aws/rds/model/ModifyDBInstanceRequest.h | 26 +- .../sagemaker/model/ProcessingInstanceType.h | 18 +- .../sagemaker/model/TrainingInstanceType.h | 22 +- .../source/model/ProcessingInstanceType.cpp | 112 +++++ .../source/model/TrainingInstanceType.cpp | 140 ++++++ .../aws/secretsmanager/SecretsManagerClient.h | 26 +- .../model/UpdateSecretRequest.h | 2 +- .../source/TaxSettingsEndpointRules.cpp | 211 ++++---- .../model/UpdateAccountSettingsRequest.h | 5 +- .../model/Environment.h | 4 +- .../TaxSettingsEndpointProviderTests.cpp | 173 ++++--- .../include/aws/core/VersionConfig.h | 4 +- .../connect-2017-08-08.normal.json | 306 +++++++++++- .../ec2-2016-11-15.normal.json | 263 +++++++++- .../firehose-2015-08-04.normal.json | 196 ++++++++ .../ivschat-2020-07-14.normal.json | 471 +++++++++--------- .../medialive-2017-10-14.normal.json | 207 +++++++- .../rds-2014-10-31.normal.json | 16 +- .../sagemaker-2017-07-24.normal.json | 40 +- .../secretsmanager-2017-10-17.normal.json | 8 +- .../taxsettings-2018-05-10.normal.json | 3 +- .../timestream-query-2018-11-01.normal.json | 5 +- ...kspaces-thin-client-2023-08-22.normal.json | 3 +- ...settings-2018-05-10.endpoint-rule-set.json | 130 +++-- ...taxsettings-2018-05-10.endpoint-tests.json | 324 ++++++++++-- 225 files changed, 11753 insertions(+), 2386 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchCriteria.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchFilter.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CommonAttributeAndCondition.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Condition.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberComparisonType.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberCondition.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsRequest.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TargetListType.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchCriteria.h create mode 100644 generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchFilter.h create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchCriteria.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/CommonAttributeAndCondition.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/Condition.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/ControlPlaneAttributeFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/ListCondition.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/NumberComparisonType.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/NumberCondition.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesResult.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/TargetListType.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchCriteria.cpp create mode 100644 generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenRequest.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenResponse.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenRequest.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenResponse.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensRequest.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensResponse.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationToken.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationTokenState.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TokenState.h create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VerificationMethod.h create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenResponse.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenResponse.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensResponse.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationToken.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationTokenState.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/TokenState.cpp create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/VerificationMethod.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CatalogConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationTableConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationConfiguration.h create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationDescription.h create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationUpdate.h create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergS3BackupMode.h create mode 100644 generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeBufferingHints.h create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/CatalogConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/DestinationTableConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationConfiguration.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationDescription.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationUpdate.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/IcebergS3BackupMode.cpp create mode 100644 generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeBufferingHints.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Algorithm.h create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryption.h create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryptionRequest.h create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSource.h create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettings.h create mode 100644 generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettingsRequest.h create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/Algorithm.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryption.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryptionRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSource.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/SrtSettings.cpp create mode 100644 generated/src/aws-cpp-sdk-medialive/source/model/SrtSettingsRequest.cpp diff --git a/VERSION b/VERSION index 7a8a05d5eb6..6d7c1d1fde2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.367 \ No newline at end of file +1.11.368 \ No newline at end of file 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 2854759bf86..c8ec542a8b5 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 @@ -4980,6 +4980,32 @@ namespace Connect return SubmitAsync(&ConnectClient::ResumeContactRecording, request, handler, context); } + /** + *

Searches AgentStatuses in an Amazon Connect instance, with optional + * filtering.

See Also:

AWS + * API Reference

+ */ + virtual Model::SearchAgentStatusesOutcome SearchAgentStatuses(const Model::SearchAgentStatusesRequest& request) const; + + /** + * A Callable wrapper for SearchAgentStatuses that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchAgentStatusesOutcomeCallable SearchAgentStatusesCallable(const SearchAgentStatusesRequestT& request) const + { + return SubmitCallable(&ConnectClient::SearchAgentStatuses, request); + } + + /** + * An Async wrapper for SearchAgentStatuses that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchAgentStatusesAsync(const SearchAgentStatusesRequestT& request, const SearchAgentStatusesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ConnectClient::SearchAgentStatuses, request, handler, context); + } + /** *

Searches for available phone numbers that you can claim to your Amazon * Connect instance or traffic distribution group. If the provided @@ -5295,6 +5321,35 @@ namespace Connect return SubmitAsync(&ConnectClient::SearchSecurityProfiles, request, handler, context); } + /** + *

Searches UserHierarchyGroups in an Amazon Connect instance, with optional + * filtering.

The UserHierarchyGroup with "LevelId": + * "0" is the foundation for building levels on top of an instance. It is + * not user-definable, nor is it visible in the UI.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::SearchUserHierarchyGroupsOutcome SearchUserHierarchyGroups(const Model::SearchUserHierarchyGroupsRequest& request) const; + + /** + * A Callable wrapper for SearchUserHierarchyGroups that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::SearchUserHierarchyGroupsOutcomeCallable SearchUserHierarchyGroupsCallable(const SearchUserHierarchyGroupsRequestT& request) const + { + return SubmitCallable(&ConnectClient::SearchUserHierarchyGroups, request); + } + + /** + * An Async wrapper for SearchUserHierarchyGroups that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void SearchUserHierarchyGroupsAsync(const SearchUserHierarchyGroupsRequestT& request, const SearchUserHierarchyGroupsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&ConnectClient::SearchUserHierarchyGroups, request, handler, context); + } + /** *

Searches users in an Amazon Connect instance, with optional filtering.

*

AfterContactWorkTimeLimit is returned in milliseconds. diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h index e1895b6df31..c50dbf71365 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/ConnectServiceClientModel.h @@ -155,6 +155,7 @@ #include #include #include +#include #include #include #include @@ -167,6 +168,7 @@ #include #include #include +#include #include #include #include @@ -421,6 +423,7 @@ namespace Aws class ReplicateInstanceRequest; class ResumeContactRequest; class ResumeContactRecordingRequest; + class SearchAgentStatusesRequest; class SearchAvailablePhoneNumbersRequest; class SearchContactFlowModulesRequest; class SearchContactFlowsRequest; @@ -433,6 +436,7 @@ namespace Aws class SearchResourceTagsRequest; class SearchRoutingProfilesRequest; class SearchSecurityProfilesRequest; + class SearchUserHierarchyGroupsRequest; class SearchUsersRequest; class SearchVocabulariesRequest; class SendChatIntegrationEventRequest; @@ -677,6 +681,7 @@ namespace Aws typedef Aws::Utils::Outcome ReplicateInstanceOutcome; typedef Aws::Utils::Outcome ResumeContactOutcome; typedef Aws::Utils::Outcome ResumeContactRecordingOutcome; + typedef Aws::Utils::Outcome SearchAgentStatusesOutcome; typedef Aws::Utils::Outcome SearchAvailablePhoneNumbersOutcome; typedef Aws::Utils::Outcome SearchContactFlowModulesOutcome; typedef Aws::Utils::Outcome SearchContactFlowsOutcome; @@ -689,6 +694,7 @@ namespace Aws typedef Aws::Utils::Outcome SearchResourceTagsOutcome; typedef Aws::Utils::Outcome SearchRoutingProfilesOutcome; typedef Aws::Utils::Outcome SearchSecurityProfilesOutcome; + typedef Aws::Utils::Outcome SearchUserHierarchyGroupsOutcome; typedef Aws::Utils::Outcome SearchUsersOutcome; typedef Aws::Utils::Outcome SearchVocabulariesOutcome; typedef Aws::Utils::Outcome SendChatIntegrationEventOutcome; @@ -933,6 +939,7 @@ namespace Aws typedef std::future ReplicateInstanceOutcomeCallable; typedef std::future ResumeContactOutcomeCallable; typedef std::future ResumeContactRecordingOutcomeCallable; + typedef std::future SearchAgentStatusesOutcomeCallable; typedef std::future SearchAvailablePhoneNumbersOutcomeCallable; typedef std::future SearchContactFlowModulesOutcomeCallable; typedef std::future SearchContactFlowsOutcomeCallable; @@ -945,6 +952,7 @@ namespace Aws typedef std::future SearchResourceTagsOutcomeCallable; typedef std::future SearchRoutingProfilesOutcomeCallable; typedef std::future SearchSecurityProfilesOutcomeCallable; + typedef std::future SearchUserHierarchyGroupsOutcomeCallable; typedef std::future SearchUsersOutcomeCallable; typedef std::future SearchVocabulariesOutcomeCallable; typedef std::future SendChatIntegrationEventOutcomeCallable; @@ -1192,6 +1200,7 @@ namespace Aws typedef std::function&) > ReplicateInstanceResponseReceivedHandler; typedef std::function&) > ResumeContactResponseReceivedHandler; typedef std::function&) > ResumeContactRecordingResponseReceivedHandler; + typedef std::function&) > SearchAgentStatusesResponseReceivedHandler; typedef std::function&) > SearchAvailablePhoneNumbersResponseReceivedHandler; typedef std::function&) > SearchContactFlowModulesResponseReceivedHandler; typedef std::function&) > SearchContactFlowsResponseReceivedHandler; @@ -1204,6 +1213,7 @@ namespace Aws typedef std::function&) > SearchResourceTagsResponseReceivedHandler; typedef std::function&) > SearchRoutingProfilesResponseReceivedHandler; typedef std::function&) > SearchSecurityProfilesResponseReceivedHandler; + typedef std::function&) > SearchUserHierarchyGroupsResponseReceivedHandler; typedef std::function&) > SearchUsersResponseReceivedHandler; typedef std::function&) > SearchVocabulariesResponseReceivedHandler; typedef std::function&) > SendChatIntegrationEventResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchCriteria.h new file mode 100644 index 00000000000..2c343a22199 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchCriteria.h @@ -0,0 +1,104 @@ +/** + * 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 search criteria to be used to return agent statuses.

See + * Also:

AWS + * API Reference

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

A list of conditions which would be applied together with an OR + * condition.

+ */ + inline const Aws::Vector& GetOrConditions() const{ return m_orConditions; } + inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; } + inline void SetOrConditions(const Aws::Vector& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; } + inline void SetOrConditions(Aws::Vector&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); } + inline AgentStatusSearchCriteria& WithOrConditions(const Aws::Vector& value) { SetOrConditions(value); return *this;} + inline AgentStatusSearchCriteria& WithOrConditions(Aws::Vector&& value) { SetOrConditions(std::move(value)); return *this;} + inline AgentStatusSearchCriteria& AddOrConditions(const AgentStatusSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; } + inline AgentStatusSearchCriteria& AddOrConditions(AgentStatusSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

A leaf node condition which can be used to specify a string condition.

+ *

The currently supported values for FieldName are + * name,

 description, state, + * type, displayOrder,
 and + * resourceID.

+ */ + inline const Aws::Vector& GetAndConditions() const{ return m_andConditions; } + inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; } + inline void SetAndConditions(const Aws::Vector& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; } + inline void SetAndConditions(Aws::Vector&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); } + inline AgentStatusSearchCriteria& WithAndConditions(const Aws::Vector& value) { SetAndConditions(value); return *this;} + inline AgentStatusSearchCriteria& WithAndConditions(Aws::Vector&& value) { SetAndConditions(std::move(value)); return *this;} + inline AgentStatusSearchCriteria& AddAndConditions(const AgentStatusSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; } + inline AgentStatusSearchCriteria& AddAndConditions(AgentStatusSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

A leaf node condition which can be used to specify a string condition.

+ *

The currently supported values for FieldName are + * name,

 description, state, + * type, displayOrder,
 and + * resourceID.

+ */ + inline const StringCondition& GetStringCondition() const{ return m_stringCondition; } + inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; } + inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; } + inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); } + inline AgentStatusSearchCriteria& WithStringCondition(const StringCondition& value) { SetStringCondition(value); return *this;} + inline AgentStatusSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_orConditions; + bool m_orConditionsHasBeenSet = false; + + Aws::Vector m_andConditions; + bool m_andConditionsHasBeenSet = false; + + StringCondition m_stringCondition; + bool m_stringConditionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchFilter.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchFilter.h new file mode 100644 index 00000000000..eca639c1b7b --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/AgentStatusSearchFilter.h @@ -0,0 +1,64 @@ +/** + * 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 +{ + + /** + *

Filters to be applied to search results.

See Also:

AWS + * API Reference

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

An object that can be used to specify Tag conditions inside the + * SearchFilter. This accepts an OR of AND + * (List of List) input where:

  • The top level list specifies + * conditions that need to be applied with OR operator.

  • + *

    The inner list specifies conditions that need to be applied with + * AND operator.

+ */ + inline const ControlPlaneAttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; } + inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; } + inline void SetAttributeFilter(const ControlPlaneAttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; } + inline void SetAttributeFilter(ControlPlaneAttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); } + inline AgentStatusSearchFilter& WithAttributeFilter(const ControlPlaneAttributeFilter& value) { SetAttributeFilter(value); return *this;} + inline AgentStatusSearchFilter& WithAttributeFilter(ControlPlaneAttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;} + ///@} + private: + + ControlPlaneAttributeFilter m_attributeFilter; + bool m_attributeFilterHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CommonAttributeAndCondition.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CommonAttributeAndCondition.h new file mode 100644 index 00000000000..d0579a097af --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/CommonAttributeAndCondition.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 +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + + /** + *

A list of conditions which would be applied together with an AND + * condition.

See Also:

AWS + * API Reference

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

A leaf node condition which can be used to specify a tag condition.

+ */ + inline const Aws::Vector& GetTagConditions() const{ return m_tagConditions; } + inline bool TagConditionsHasBeenSet() const { return m_tagConditionsHasBeenSet; } + inline void SetTagConditions(const Aws::Vector& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = value; } + inline void SetTagConditions(Aws::Vector&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions = std::move(value); } + inline CommonAttributeAndCondition& WithTagConditions(const Aws::Vector& value) { SetTagConditions(value); return *this;} + inline CommonAttributeAndCondition& WithTagConditions(Aws::Vector&& value) { SetTagConditions(std::move(value)); return *this;} + inline CommonAttributeAndCondition& AddTagConditions(const TagCondition& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.push_back(value); return *this; } + inline CommonAttributeAndCondition& AddTagConditions(TagCondition&& value) { m_tagConditionsHasBeenSet = true; m_tagConditions.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_tagConditions; + bool m_tagConditionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Condition.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Condition.h new file mode 100644 index 00000000000..622613cd47e --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/Condition.h @@ -0,0 +1,78 @@ +/** + * 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 +{ + + /** + *

A leaf node condition which can be used to specify a ProficiencyName, + * ProficiencyValue and ProficiencyLimit.

See Also:

AWS + * API Reference

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

A leaf node condition which can be used to specify a string condition.

+ *

The currently supported values for FieldName are + * name and
 value.

+ */ + inline const StringCondition& GetStringCondition() const{ return m_stringCondition; } + inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; } + inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; } + inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); } + inline Condition& WithStringCondition(const StringCondition& value) { SetStringCondition(value); return *this;} + inline Condition& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A leaf node condition which can be used to specify a numeric condition.

+ */ + inline const NumberCondition& GetNumberCondition() const{ return m_numberCondition; } + inline bool NumberConditionHasBeenSet() const { return m_numberConditionHasBeenSet; } + inline void SetNumberCondition(const NumberCondition& value) { m_numberConditionHasBeenSet = true; m_numberCondition = value; } + inline void SetNumberCondition(NumberCondition&& value) { m_numberConditionHasBeenSet = true; m_numberCondition = std::move(value); } + inline Condition& WithNumberCondition(const NumberCondition& value) { SetNumberCondition(value); return *this;} + inline Condition& WithNumberCondition(NumberCondition&& value) { SetNumberCondition(std::move(value)); return *this;} + ///@} + private: + + StringCondition m_stringCondition; + bool m_stringConditionHasBeenSet = false; + + NumberCondition m_numberCondition; + bool m_numberConditionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h new file mode 100644 index 00000000000..5a0a140cf88 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ControlPlaneAttributeFilter.h @@ -0,0 +1,98 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + + /** + *

An object that can be used to specify Tag conditions inside the + * SearchFilter. This accepts an OR or AND + * (List of List) input where:

  • The top level list specifies + * conditions that need to be applied with OR operator.

  • + *

    The inner list specifies conditions that need to be applied with + * AND operator.

See Also:

AWS + * API Reference

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

A list of conditions which would be applied together with an OR + * condition.

+ */ + inline const Aws::Vector& GetOrConditions() const{ return m_orConditions; } + inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; } + inline void SetOrConditions(const Aws::Vector& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; } + inline void SetOrConditions(Aws::Vector&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); } + inline ControlPlaneAttributeFilter& WithOrConditions(const Aws::Vector& value) { SetOrConditions(value); return *this;} + inline ControlPlaneAttributeFilter& WithOrConditions(Aws::Vector&& value) { SetOrConditions(std::move(value)); return *this;} + inline ControlPlaneAttributeFilter& AddOrConditions(const CommonAttributeAndCondition& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; } + inline ControlPlaneAttributeFilter& AddOrConditions(CommonAttributeAndCondition&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

A list of conditions which would be applied together with an AND + * condition.

+ */ + inline const CommonAttributeAndCondition& GetAndCondition() const{ return m_andCondition; } + inline bool AndConditionHasBeenSet() const { return m_andConditionHasBeenSet; } + inline void SetAndCondition(const CommonAttributeAndCondition& value) { m_andConditionHasBeenSet = true; m_andCondition = value; } + inline void SetAndCondition(CommonAttributeAndCondition&& value) { m_andConditionHasBeenSet = true; m_andCondition = std::move(value); } + inline ControlPlaneAttributeFilter& WithAndCondition(const CommonAttributeAndCondition& value) { SetAndCondition(value); return *this;} + inline ControlPlaneAttributeFilter& WithAndCondition(CommonAttributeAndCondition&& value) { SetAndCondition(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const TagCondition& GetTagCondition() const{ return m_tagCondition; } + inline bool TagConditionHasBeenSet() const { return m_tagConditionHasBeenSet; } + inline void SetTagCondition(const TagCondition& value) { m_tagConditionHasBeenSet = true; m_tagCondition = value; } + inline void SetTagCondition(TagCondition&& value) { m_tagConditionHasBeenSet = true; m_tagCondition = std::move(value); } + inline ControlPlaneAttributeFilter& WithTagCondition(const TagCondition& value) { SetTagCondition(value); return *this;} + inline ControlPlaneAttributeFilter& WithTagCondition(TagCondition&& value) { SetTagCondition(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_orConditions; + bool m_orConditionsHasBeenSet = false; + + CommonAttributeAndCondition m_andCondition; + bool m_andConditionHasBeenSet = false; + + TagCondition m_tagCondition; + bool m_tagConditionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h index 7b4c3608e48..662c0840166 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/GetMetricDataV2Request.h @@ -466,9 +466,10 @@ namespace Model * groupings and filters: Queue, Channel, Routing Profile, Q in Connect

*

Threshold: For ThresholdValue, enter any whole number from 1 to * 604800 (inclusive), in seconds. For Comparison, you must enter - * LT (for "Less than").

UI name: This metric is not available - * in Amazon Connect admin website.

CONTACTS_RESOLVED_IN_X
- *

Unit: Count

Valid groupings and filters: Queue, Channel, Routing + * LT (for "Less than").

UI name: Contacts + * removed from queue in X seconds

CONTACTS_RESOLVED_IN_X
+ *

Unit: Count

Valid groupings and filters: Queue, Channel, Routing * Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

*

Threshold: For ThresholdValue enter any whole number from 1 to * 604800 (inclusive), in seconds. For Comparison, you must enter diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h new file mode 100644 index 00000000000..b3426a3770e --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/ListCondition.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + + /** + *

A leaf node condition which can be used to specify a List condition to search + * users with attributes included in Lists like Proficiencies.

See + * Also:

AWS + * API Reference

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

The type of target list that will be used to filter the users.

+ */ + inline const TargetListType& GetTargetListType() const{ return m_targetListType; } + inline bool TargetListTypeHasBeenSet() const { return m_targetListTypeHasBeenSet; } + inline void SetTargetListType(const TargetListType& value) { m_targetListTypeHasBeenSet = true; m_targetListType = value; } + inline void SetTargetListType(TargetListType&& value) { m_targetListTypeHasBeenSet = true; m_targetListType = std::move(value); } + inline ListCondition& WithTargetListType(const TargetListType& value) { SetTargetListType(value); return *this;} + inline ListCondition& WithTargetListType(TargetListType&& value) { SetTargetListType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A list of Condition objects which would be applied together with an AND + * condition.

+ */ + inline const Aws::Vector& GetConditions() const{ return m_conditions; } + inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; } + inline void SetConditions(const Aws::Vector& value) { m_conditionsHasBeenSet = true; m_conditions = value; } + inline void SetConditions(Aws::Vector&& value) { m_conditionsHasBeenSet = true; m_conditions = std::move(value); } + inline ListCondition& WithConditions(const Aws::Vector& value) { SetConditions(value); return *this;} + inline ListCondition& WithConditions(Aws::Vector&& value) { SetConditions(std::move(value)); return *this;} + inline ListCondition& AddConditions(const Condition& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(value); return *this; } + inline ListCondition& AddConditions(Condition&& value) { m_conditionsHasBeenSet = true; m_conditions.push_back(std::move(value)); return *this; } + ///@} + private: + + TargetListType m_targetListType; + bool m_targetListTypeHasBeenSet = false; + + Aws::Vector m_conditions; + bool m_conditionsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberComparisonType.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberComparisonType.h new file mode 100644 index 00000000000..1f6427ebd8d --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberComparisonType.h @@ -0,0 +1,36 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Connect +{ +namespace Model +{ + enum class NumberComparisonType + { + NOT_SET, + GREATER_OR_EQUAL, + GREATER, + LESSER_OR_EQUAL, + LESSER, + EQUAL, + NOT_EQUAL, + RANGE + }; + +namespace NumberComparisonTypeMapper +{ +AWS_CONNECT_API NumberComparisonType GetNumberComparisonTypeForName(const Aws::String& name); + +AWS_CONNECT_API Aws::String GetNameForNumberComparisonType(NumberComparisonType value); +} // namespace NumberComparisonTypeMapper +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberCondition.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberCondition.h new file mode 100644 index 00000000000..beb858d8466 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/NumberCondition.h @@ -0,0 +1,105 @@ +/** + * 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 +{ + + /** + *

A leaf node condition which can be used to specify a numeric condition.

+ *

The currently supported value for FieldName is + * limit.

See Also:

AWS + * API Reference

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

The name of the field in the number condition.

+ */ + inline const Aws::String& GetFieldName() const{ return m_fieldName; } + inline bool FieldNameHasBeenSet() const { return m_fieldNameHasBeenSet; } + inline void SetFieldName(const Aws::String& value) { m_fieldNameHasBeenSet = true; m_fieldName = value; } + inline void SetFieldName(Aws::String&& value) { m_fieldNameHasBeenSet = true; m_fieldName = std::move(value); } + inline void SetFieldName(const char* value) { m_fieldNameHasBeenSet = true; m_fieldName.assign(value); } + inline NumberCondition& WithFieldName(const Aws::String& value) { SetFieldName(value); return *this;} + inline NumberCondition& WithFieldName(Aws::String&& value) { SetFieldName(std::move(value)); return *this;} + inline NumberCondition& WithFieldName(const char* value) { SetFieldName(value); return *this;} + ///@} + + ///@{ + /** + *

The minValue to be used while evaluating the number condition.

+ */ + inline int GetMinValue() const{ return m_minValue; } + inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; } + inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; } + inline NumberCondition& WithMinValue(int value) { SetMinValue(value); return *this;} + ///@} + + ///@{ + /** + *

The maxValue to be used while evaluating the number condition.

+ */ + inline int GetMaxValue() const{ return m_maxValue; } + inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; } + inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; } + inline NumberCondition& WithMaxValue(int value) { SetMaxValue(value); return *this;} + ///@} + + ///@{ + /** + *

The type of comparison to be made when evaluating the number condition.

+ */ + inline const NumberComparisonType& GetComparisonType() const{ return m_comparisonType; } + inline bool ComparisonTypeHasBeenSet() const { return m_comparisonTypeHasBeenSet; } + inline void SetComparisonType(const NumberComparisonType& value) { m_comparisonTypeHasBeenSet = true; m_comparisonType = value; } + inline void SetComparisonType(NumberComparisonType&& value) { m_comparisonTypeHasBeenSet = true; m_comparisonType = std::move(value); } + inline NumberCondition& WithComparisonType(const NumberComparisonType& value) { SetComparisonType(value); return *this;} + inline NumberCondition& WithComparisonType(NumberComparisonType&& value) { SetComparisonType(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_fieldName; + bool m_fieldNameHasBeenSet = false; + + int m_minValue; + bool m_minValueHasBeenSet = false; + + int m_maxValue; + bool m_maxValueHasBeenSet = false; + + NumberComparisonType m_comparisonType; + bool m_comparisonTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h new file mode 100644 index 00000000000..032d0b13763 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesRequest.h @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Connect +{ +namespace Model +{ + + /** + */ + class SearchAgentStatusesRequest : public ConnectRequest + { + public: + AWS_CONNECT_API SearchAgentStatusesRequest(); + + // 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 "SearchAgentStatuses"; } + + AWS_CONNECT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The identifier of the Amazon Connect instance. You can find the instanceId in + * the ARN of the instance.

+ */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline SearchAgentStatusesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline SearchAgentStatusesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline SearchAgentStatusesRequest& WithInstanceId(const char* value) { SetInstanceId(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; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline SearchAgentStatusesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchAgentStatusesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchAgentStatusesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of results to return per page.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline SearchAgentStatusesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

Filters to be applied to search results.

+ */ + inline const AgentStatusSearchFilter& GetSearchFilter() const{ return m_searchFilter; } + inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; } + inline void SetSearchFilter(const AgentStatusSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; } + inline void SetSearchFilter(AgentStatusSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); } + inline SearchAgentStatusesRequest& WithSearchFilter(const AgentStatusSearchFilter& value) { SetSearchFilter(value); return *this;} + inline SearchAgentStatusesRequest& WithSearchFilter(AgentStatusSearchFilter&& value) { SetSearchFilter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The search criteria to be used to return agent statuses.

+ */ + inline const AgentStatusSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } + inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } + inline void SetSearchCriteria(const AgentStatusSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; } + inline void SetSearchCriteria(AgentStatusSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); } + inline SearchAgentStatusesRequest& WithSearchCriteria(const AgentStatusSearchCriteria& value) { SetSearchCriteria(value); return *this;} + inline SearchAgentStatusesRequest& WithSearchCriteria(AgentStatusSearchCriteria&& value) { SetSearchCriteria(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + AgentStatusSearchFilter m_searchFilter; + bool m_searchFilterHasBeenSet = false; + + AgentStatusSearchCriteria m_searchCriteria; + bool m_searchCriteriaHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h new file mode 100644 index 00000000000..28bdf8c188b --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchAgentStatusesResult.h @@ -0,0 +1,96 @@ +/** + * 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 SearchAgentStatusesResult + { + public: + AWS_CONNECT_API SearchAgentStatusesResult(); + AWS_CONNECT_API SearchAgentStatusesResult(const Aws::AmazonWebServiceResult& result); + AWS_CONNECT_API SearchAgentStatusesResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The search criteria to be used to return agent statuses.

+ */ + inline const Aws::Vector& GetAgentStatuses() const{ return m_agentStatuses; } + inline void SetAgentStatuses(const Aws::Vector& value) { m_agentStatuses = value; } + inline void SetAgentStatuses(Aws::Vector&& value) { m_agentStatuses = std::move(value); } + inline SearchAgentStatusesResult& WithAgentStatuses(const Aws::Vector& value) { SetAgentStatuses(value); return *this;} + inline SearchAgentStatusesResult& WithAgentStatuses(Aws::Vector&& value) { SetAgentStatuses(std::move(value)); return *this;} + inline SearchAgentStatusesResult& AddAgentStatuses(const AgentStatus& value) { m_agentStatuses.push_back(value); return *this; } + inline SearchAgentStatusesResult& AddAgentStatuses(AgentStatus&& value) { m_agentStatuses.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

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

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline SearchAgentStatusesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchAgentStatusesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchAgentStatusesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The total number of agent statuses which matched your search query.

+ */ + inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } + inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } + inline SearchAgentStatusesResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(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 SearchAgentStatusesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline SearchAgentStatusesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline SearchAgentStatusesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_agentStatuses; + + Aws::String m_nextToken; + + long long m_approximateTotalCount; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchResourceTagsRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchResourceTagsRequest.h index 08b33c9c2b5..06a1fa0b84d 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchResourceTagsRequest.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchResourceTagsRequest.h @@ -53,7 +53,11 @@ namespace Model /** *

The list of resource types to be used to search tags from. If not provided or * if any empty list is provided, this API will search from all supported resource - * types.

+ * types.

Supported resource types

  • + *

    AGENT

  • ROUTING_PROFILE

  • STANDARD_QUEUE

    + *
  • SECURITY_PROFILE

  • OPERATING_HOURS

  • + *

    PROMPT

  • CONTACT_FLOW

  • FLOW_MODULE

  • + *
*/ inline const Aws::Vector& GetResourceTypes() const{ return m_resourceTypes; } inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsRequest.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsRequest.h new file mode 100644 index 00000000000..c7c38ca0786 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsRequest.h @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Connect +{ +namespace Model +{ + + /** + */ + class SearchUserHierarchyGroupsRequest : public ConnectRequest + { + public: + AWS_CONNECT_API SearchUserHierarchyGroupsRequest(); + + // 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 "SearchUserHierarchyGroups"; } + + AWS_CONNECT_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The identifier of the Amazon Connect instance. You can find the instanceId in + * the ARN of the instance.

+ */ + inline const Aws::String& GetInstanceId() const{ return m_instanceId; } + inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } + inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } + inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } + inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } + inline SearchUserHierarchyGroupsRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsRequest& WithInstanceId(const char* value) { SetInstanceId(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; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline SearchUserHierarchyGroupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of results to return per page.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline SearchUserHierarchyGroupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

Filters to be applied to search results.

+ */ + inline const UserHierarchyGroupSearchFilter& GetSearchFilter() const{ return m_searchFilter; } + inline bool SearchFilterHasBeenSet() const { return m_searchFilterHasBeenSet; } + inline void SetSearchFilter(const UserHierarchyGroupSearchFilter& value) { m_searchFilterHasBeenSet = true; m_searchFilter = value; } + inline void SetSearchFilter(UserHierarchyGroupSearchFilter&& value) { m_searchFilterHasBeenSet = true; m_searchFilter = std::move(value); } + inline SearchUserHierarchyGroupsRequest& WithSearchFilter(const UserHierarchyGroupSearchFilter& value) { SetSearchFilter(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithSearchFilter(UserHierarchyGroupSearchFilter&& value) { SetSearchFilter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The search criteria to be used to return UserHierarchyGroups.

+ */ + inline const UserHierarchyGroupSearchCriteria& GetSearchCriteria() const{ return m_searchCriteria; } + inline bool SearchCriteriaHasBeenSet() const { return m_searchCriteriaHasBeenSet; } + inline void SetSearchCriteria(const UserHierarchyGroupSearchCriteria& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = value; } + inline void SetSearchCriteria(UserHierarchyGroupSearchCriteria&& value) { m_searchCriteriaHasBeenSet = true; m_searchCriteria = std::move(value); } + inline SearchUserHierarchyGroupsRequest& WithSearchCriteria(const UserHierarchyGroupSearchCriteria& value) { SetSearchCriteria(value); return *this;} + inline SearchUserHierarchyGroupsRequest& WithSearchCriteria(UserHierarchyGroupSearchCriteria&& value) { SetSearchCriteria(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_instanceId; + bool m_instanceIdHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + UserHierarchyGroupSearchFilter m_searchFilter; + bool m_searchFilterHasBeenSet = false; + + UserHierarchyGroupSearchCriteria m_searchCriteria; + bool m_searchCriteriaHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h new file mode 100644 index 00000000000..44b42edbad7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/SearchUserHierarchyGroupsResult.h @@ -0,0 +1,96 @@ +/** + * 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 SearchUserHierarchyGroupsResult + { + public: + AWS_CONNECT_API SearchUserHierarchyGroupsResult(); + AWS_CONNECT_API SearchUserHierarchyGroupsResult(const Aws::AmazonWebServiceResult& result); + AWS_CONNECT_API SearchUserHierarchyGroupsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

Information about the userHierarchyGroups.

+ */ + inline const Aws::Vector& GetUserHierarchyGroups() const{ return m_userHierarchyGroups; } + inline void SetUserHierarchyGroups(const Aws::Vector& value) { m_userHierarchyGroups = value; } + inline void SetUserHierarchyGroups(Aws::Vector&& value) { m_userHierarchyGroups = std::move(value); } + inline SearchUserHierarchyGroupsResult& WithUserHierarchyGroups(const Aws::Vector& value) { SetUserHierarchyGroups(value); return *this;} + inline SearchUserHierarchyGroupsResult& WithUserHierarchyGroups(Aws::Vector&& value) { SetUserHierarchyGroups(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsResult& AddUserHierarchyGroups(const HierarchyGroup& value) { m_userHierarchyGroups.push_back(value); return *this; } + inline SearchUserHierarchyGroupsResult& AddUserHierarchyGroups(HierarchyGroup&& value) { m_userHierarchyGroups.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

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

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline SearchUserHierarchyGroupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline SearchUserHierarchyGroupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The total number of userHierarchyGroups which matched your search query.

+ */ + inline long long GetApproximateTotalCount() const{ return m_approximateTotalCount; } + inline void SetApproximateTotalCount(long long value) { m_approximateTotalCount = value; } + inline SearchUserHierarchyGroupsResult& WithApproximateTotalCount(long long value) { SetApproximateTotalCount(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 SearchUserHierarchyGroupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline SearchUserHierarchyGroupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline SearchUserHierarchyGroupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_userHierarchyGroups; + + Aws::String m_nextToken; + + long long m_approximateTotalCount; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StringCondition.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StringCondition.h index fd314a70a26..98b66a02323 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StringCondition.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/StringCondition.h @@ -25,10 +25,8 @@ namespace Model { /** - *

A leaf node condition which can be used to specify a string condition.

- *

The currently supported values for FieldName are - * name and description.

See Also:

- * A leaf node condition which can be used to specify a string + * condition.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TargetListType.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TargetListType.h new file mode 100644 index 00000000000..23ce0c2d2e6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/TargetListType.h @@ -0,0 +1,30 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Connect +{ +namespace Model +{ + enum class TargetListType + { + NOT_SET, + PROFICIENCIES + }; + +namespace TargetListTypeMapper +{ +AWS_CONNECT_API TargetListType GetTargetListTypeForName(const Aws::String& name); + +AWS_CONNECT_API Aws::String GetNameForTargetListType(TargetListType value); +} // namespace TargetListTypeMapper +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchCriteria.h new file mode 100644 index 00000000000..6e88048b9fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchCriteria.h @@ -0,0 +1,100 @@ +/** + * 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 search criteria to be used to return userHierarchyGroup.

See + * Also:

AWS + * API Reference

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

A list of conditions which would be applied together with an OR + * condition.

+ */ + inline const Aws::Vector& GetOrConditions() const{ return m_orConditions; } + inline bool OrConditionsHasBeenSet() const { return m_orConditionsHasBeenSet; } + inline void SetOrConditions(const Aws::Vector& value) { m_orConditionsHasBeenSet = true; m_orConditions = value; } + inline void SetOrConditions(Aws::Vector&& value) { m_orConditionsHasBeenSet = true; m_orConditions = std::move(value); } + inline UserHierarchyGroupSearchCriteria& WithOrConditions(const Aws::Vector& value) { SetOrConditions(value); return *this;} + inline UserHierarchyGroupSearchCriteria& WithOrConditions(Aws::Vector&& value) { SetOrConditions(std::move(value)); return *this;} + inline UserHierarchyGroupSearchCriteria& AddOrConditions(const UserHierarchyGroupSearchCriteria& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(value); return *this; } + inline UserHierarchyGroupSearchCriteria& AddOrConditions(UserHierarchyGroupSearchCriteria&& value) { m_orConditionsHasBeenSet = true; m_orConditions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

A list of conditions which would be applied together with an AND + * condition.

+ */ + inline const Aws::Vector& GetAndConditions() const{ return m_andConditions; } + inline bool AndConditionsHasBeenSet() const { return m_andConditionsHasBeenSet; } + inline void SetAndConditions(const Aws::Vector& value) { m_andConditionsHasBeenSet = true; m_andConditions = value; } + inline void SetAndConditions(Aws::Vector&& value) { m_andConditionsHasBeenSet = true; m_andConditions = std::move(value); } + inline UserHierarchyGroupSearchCriteria& WithAndConditions(const Aws::Vector& value) { SetAndConditions(value); return *this;} + inline UserHierarchyGroupSearchCriteria& WithAndConditions(Aws::Vector&& value) { SetAndConditions(std::move(value)); return *this;} + inline UserHierarchyGroupSearchCriteria& AddAndConditions(const UserHierarchyGroupSearchCriteria& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(value); return *this; } + inline UserHierarchyGroupSearchCriteria& AddAndConditions(UserHierarchyGroupSearchCriteria&& value) { m_andConditionsHasBeenSet = true; m_andConditions.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

A leaf node condition which can be used to specify a string condition.

+ *

The currently supported values for FieldName are + * name,

 parentId, levelId, + * and resourceID.

+ */ + inline const StringCondition& GetStringCondition() const{ return m_stringCondition; } + inline bool StringConditionHasBeenSet() const { return m_stringConditionHasBeenSet; } + inline void SetStringCondition(const StringCondition& value) { m_stringConditionHasBeenSet = true; m_stringCondition = value; } + inline void SetStringCondition(StringCondition&& value) { m_stringConditionHasBeenSet = true; m_stringCondition = std::move(value); } + inline UserHierarchyGroupSearchCriteria& WithStringCondition(const StringCondition& value) { SetStringCondition(value); return *this;} + inline UserHierarchyGroupSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_orConditions; + bool m_orConditionsHasBeenSet = false; + + Aws::Vector m_andConditions; + bool m_andConditionsHasBeenSet = false; + + StringCondition m_stringCondition; + bool m_stringConditionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchFilter.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchFilter.h new file mode 100644 index 00000000000..b6384d12766 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserHierarchyGroupSearchFilter.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 +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Connect +{ +namespace Model +{ + + /** + *

Filters to be applied to search results.

See Also:

AWS + * API Reference

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

An object that can be used to specify Tag conditions inside the SearchFilter. + * This accepts an OR or AND (List of List) input where:

  • The top + * level list specifies conditions that need to be applied with OR + * operator.

  • The inner list specifies conditions that need to be + * applied with AND operator.

+ */ + inline const ControlPlaneAttributeFilter& GetAttributeFilter() const{ return m_attributeFilter; } + inline bool AttributeFilterHasBeenSet() const { return m_attributeFilterHasBeenSet; } + inline void SetAttributeFilter(const ControlPlaneAttributeFilter& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = value; } + inline void SetAttributeFilter(ControlPlaneAttributeFilter&& value) { m_attributeFilterHasBeenSet = true; m_attributeFilter = std::move(value); } + inline UserHierarchyGroupSearchFilter& WithAttributeFilter(const ControlPlaneAttributeFilter& value) { SetAttributeFilter(value); return *this;} + inline UserHierarchyGroupSearchFilter& WithAttributeFilter(ControlPlaneAttributeFilter&& value) { SetAttributeFilter(std::move(value)); return *this;} + ///@} + private: + + ControlPlaneAttributeFilter m_attributeFilter; + bool m_attributeFilterHasBeenSet = false; + }; + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserSearchCriteria.h b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserSearchCriteria.h index b933371f92e..a9206d0e6c8 100644 --- a/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserSearchCriteria.h +++ b/generated/src/aws-cpp-sdk-connect/include/aws/connect/model/UserSearchCriteria.h @@ -7,6 +7,7 @@ #include #include #include +#include #include #include @@ -89,6 +90,19 @@ namespace Model inline UserSearchCriteria& WithStringCondition(StringCondition&& value) { SetStringCondition(std::move(value)); return *this;} ///@} + ///@{ + /** + *

A leaf node condition which can be used to specify a List condition to search + * users with attributes included in Lists like Proficiencies.

+ */ + inline const ListCondition& GetListCondition() const{ return m_listCondition; } + inline bool ListConditionHasBeenSet() const { return m_listConditionHasBeenSet; } + inline void SetListCondition(const ListCondition& value) { m_listConditionHasBeenSet = true; m_listCondition = value; } + inline void SetListCondition(ListCondition&& value) { m_listConditionHasBeenSet = true; m_listCondition = std::move(value); } + inline UserSearchCriteria& WithListCondition(const ListCondition& value) { SetListCondition(value); return *this;} + inline UserSearchCriteria& WithListCondition(ListCondition&& value) { SetListCondition(std::move(value)); return *this;} + ///@} + ///@{ /** *

A leaf node condition which can be used to specify a hierarchy group @@ -112,6 +126,9 @@ namespace Model StringCondition m_stringCondition; bool m_stringConditionHasBeenSet = false; + ListCondition m_listCondition; + bool m_listConditionHasBeenSet = false; + HierarchyGroupCondition m_hierarchyGroupCondition; bool m_hierarchyGroupConditionHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp b/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp index 446a797da49..89b9c018699 100644 --- a/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/ConnectClient1.cpp @@ -53,13 +53,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include @@ -80,7 +80,6 @@ #include #include #include -#include #include #include #include @@ -109,6 +108,7 @@ #include #include #include +#include #include #include #include @@ -1196,46 +1196,6 @@ DisassociateUserProficienciesOutcome ConnectClient::DisassociateUserProficiencie {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -SubmitContactEvaluationOutcome ConnectClient::SubmitContactEvaluation(const SubmitContactEvaluationRequest& request) const -{ - AWS_OPERATION_GUARD(SubmitContactEvaluation); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, SubmitContactEvaluation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - if (!request.InstanceIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("SubmitContactEvaluation", "Required field: InstanceId, is not set"); - return SubmitContactEvaluationOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); - } - if (!request.EvaluationIdHasBeenSet()) - { - AWS_LOGSTREAM_ERROR("SubmitContactEvaluation", "Required field: EvaluationId, is not set"); - return SubmitContactEvaluationOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [EvaluationId]", false)); - } - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SubmitContactEvaluation, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, SubmitContactEvaluation, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SubmitContactEvaluation", - {{ 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( - [&]()-> SubmitContactEvaluationOutcome { - 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, SubmitContactEvaluation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/contact-evaluations/"); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetInstanceId()); - endpointResolutionOutcome.GetResult().AddPathSegment(request.GetEvaluationId()); - endpointResolutionOutcome.GetResult().AddPathSegments("/submit"); - return SubmitContactEvaluationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - ListApprovedOriginsOutcome ConnectClient::ListApprovedOrigins(const ListApprovedOriginsRequest& request) const { AWS_OPERATION_GUARD(ListApprovedOrigins); @@ -1435,6 +1395,33 @@ ListDefaultVocabulariesOutcome ConnectClient::ListDefaultVocabularies(const List {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +SearchAgentStatusesOutcome ConnectClient::SearchAgentStatuses(const SearchAgentStatusesRequest& request) const +{ + AWS_OPERATION_GUARD(SearchAgentStatuses); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchAgentStatuses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchAgentStatuses, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchAgentStatuses, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchAgentStatuses", + {{ 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( + [&]()-> SearchAgentStatusesOutcome { + 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, SearchAgentStatuses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-agent-statuses"); + return SearchAgentStatusesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + SearchVocabulariesOutcome ConnectClient::SearchVocabularies(const SearchVocabulariesRequest& request) const { AWS_OPERATION_GUARD(SearchVocabularies); @@ -2086,33 +2073,6 @@ DisassociateLambdaFunctionOutcome ConnectClient::DisassociateLambdaFunction(cons {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -StopContactStreamingOutcome ConnectClient::StopContactStreaming(const StopContactStreamingRequest& request) const -{ - AWS_OPERATION_GUARD(StopContactStreaming); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopContactStreaming, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopContactStreaming, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, StopContactStreaming, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopContactStreaming", - {{ 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( - [&]()-> StopContactStreamingOutcome { - 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, StopContactStreaming, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - endpointResolutionOutcome.GetResult().AddPathSegments("/contact/stop-streaming"); - return StopContactStreamingOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - ListIntegrationAssociationsOutcome ConnectClient::ListIntegrationAssociations(const ListIntegrationAssociationsRequest& request) const { AWS_OPERATION_GUARD(ListIntegrationAssociations); @@ -3054,6 +3014,33 @@ GetFederationTokenOutcome ConnectClient::GetFederationToken(const GetFederationT {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +SearchUserHierarchyGroupsOutcome ConnectClient::SearchUserHierarchyGroups(const SearchUserHierarchyGroupsRequest& request) const +{ + AWS_OPERATION_GUARD(SearchUserHierarchyGroups); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SearchUserHierarchyGroups, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SearchUserHierarchyGroups, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SearchUserHierarchyGroups, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SearchUserHierarchyGroups", + {{ 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( + [&]()-> SearchUserHierarchyGroupsOutcome { + 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, SearchUserHierarchyGroups, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-user-hierarchy-groups"); + return SearchUserHierarchyGroupsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetFlowAssociationOutcome ConnectClient::GetFlowAssociation(const GetFlowAssociationRequest& request) const { AWS_OPERATION_GUARD(GetFlowAssociation); diff --git a/generated/src/aws-cpp-sdk-connect/source/ConnectClient2.cpp b/generated/src/aws-cpp-sdk-connect/source/ConnectClient2.cpp index fffae42e2b9..4ad59cb1165 100644 --- a/generated/src/aws-cpp-sdk-connect/source/ConnectClient2.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/ConnectClient2.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -46,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -128,6 +130,33 @@ UpdateSecurityProfileOutcome ConnectClient::UpdateSecurityProfile(const UpdateSe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +StopContactStreamingOutcome ConnectClient::StopContactStreaming(const StopContactStreamingRequest& request) const +{ + AWS_OPERATION_GUARD(StopContactStreaming); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopContactStreaming, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopContactStreaming, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopContactStreaming, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopContactStreaming", + {{ 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( + [&]()-> StopContactStreamingOutcome { + 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, StopContactStreaming, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/contact/stop-streaming"); + return StopContactStreamingOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateHoursOfOperationOutcome ConnectClient::UpdateHoursOfOperation(const UpdateHoursOfOperationRequest& request) const { AWS_OPERATION_GUARD(UpdateHoursOfOperation); @@ -1052,6 +1081,46 @@ UpdateEvaluationFormOutcome ConnectClient::UpdateEvaluationForm(const UpdateEval {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +SubmitContactEvaluationOutcome ConnectClient::SubmitContactEvaluation(const SubmitContactEvaluationRequest& request) const +{ + AWS_OPERATION_GUARD(SubmitContactEvaluation); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, SubmitContactEvaluation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.InstanceIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SubmitContactEvaluation", "Required field: InstanceId, is not set"); + return SubmitContactEvaluationOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [InstanceId]", false)); + } + if (!request.EvaluationIdHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("SubmitContactEvaluation", "Required field: EvaluationId, is not set"); + return SubmitContactEvaluationOutcome(Aws::Client::AWSError(ConnectErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [EvaluationId]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, SubmitContactEvaluation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, SubmitContactEvaluation, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".SubmitContactEvaluation", + {{ 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( + [&]()-> SubmitContactEvaluationOutcome { + 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, SubmitContactEvaluation, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/contact-evaluations/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetInstanceId()); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetEvaluationId()); + endpointResolutionOutcome.GetResult().AddPathSegments("/submit"); + return SubmitContactEvaluationOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateQuickConnectNameOutcome ConnectClient::UpdateQuickConnectName(const UpdateQuickConnectNameRequest& request) const { AWS_OPERATION_GUARD(UpdateQuickConnectName); diff --git a/generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchCriteria.cpp b/generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchCriteria.cpp new file mode 100644 index 00000000000..24bddd481ac --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchCriteria.cpp @@ -0,0 +1,103 @@ +/** + * 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 +{ + +AgentStatusSearchCriteria::AgentStatusSearchCriteria() : + m_orConditionsHasBeenSet(false), + m_andConditionsHasBeenSet(false), + m_stringConditionHasBeenSet(false) +{ +} + +AgentStatusSearchCriteria::AgentStatusSearchCriteria(JsonView jsonValue) + : AgentStatusSearchCriteria() +{ + *this = jsonValue; +} + +AgentStatusSearchCriteria& AgentStatusSearchCriteria::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("OrConditions")) + { + Aws::Utils::Array orConditionsJsonList = jsonValue.GetArray("OrConditions"); + for(unsigned orConditionsIndex = 0; orConditionsIndex < orConditionsJsonList.GetLength(); ++orConditionsIndex) + { + m_orConditions.push_back(orConditionsJsonList[orConditionsIndex].AsObject()); + } + m_orConditionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("AndConditions")) + { + Aws::Utils::Array andConditionsJsonList = jsonValue.GetArray("AndConditions"); + for(unsigned andConditionsIndex = 0; andConditionsIndex < andConditionsJsonList.GetLength(); ++andConditionsIndex) + { + m_andConditions.push_back(andConditionsJsonList[andConditionsIndex].AsObject()); + } + m_andConditionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("StringCondition")) + { + m_stringCondition = jsonValue.GetObject("StringCondition"); + + m_stringConditionHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentStatusSearchCriteria::Jsonize() const +{ + JsonValue payload; + + if(m_orConditionsHasBeenSet) + { + Aws::Utils::Array orConditionsJsonList(m_orConditions.size()); + for(unsigned orConditionsIndex = 0; orConditionsIndex < orConditionsJsonList.GetLength(); ++orConditionsIndex) + { + orConditionsJsonList[orConditionsIndex].AsObject(m_orConditions[orConditionsIndex].Jsonize()); + } + payload.WithArray("OrConditions", std::move(orConditionsJsonList)); + + } + + if(m_andConditionsHasBeenSet) + { + Aws::Utils::Array andConditionsJsonList(m_andConditions.size()); + for(unsigned andConditionsIndex = 0; andConditionsIndex < andConditionsJsonList.GetLength(); ++andConditionsIndex) + { + andConditionsJsonList[andConditionsIndex].AsObject(m_andConditions[andConditionsIndex].Jsonize()); + } + payload.WithArray("AndConditions", std::move(andConditionsJsonList)); + + } + + if(m_stringConditionHasBeenSet) + { + payload.WithObject("StringCondition", m_stringCondition.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchFilter.cpp b/generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchFilter.cpp new file mode 100644 index 00000000000..c71ae61b797 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/AgentStatusSearchFilter.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 +{ + +AgentStatusSearchFilter::AgentStatusSearchFilter() : + m_attributeFilterHasBeenSet(false) +{ +} + +AgentStatusSearchFilter::AgentStatusSearchFilter(JsonView jsonValue) + : AgentStatusSearchFilter() +{ + *this = jsonValue; +} + +AgentStatusSearchFilter& AgentStatusSearchFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AttributeFilter")) + { + m_attributeFilter = jsonValue.GetObject("AttributeFilter"); + + m_attributeFilterHasBeenSet = true; + } + + return *this; +} + +JsonValue AgentStatusSearchFilter::Jsonize() const +{ + JsonValue payload; + + if(m_attributeFilterHasBeenSet) + { + payload.WithObject("AttributeFilter", m_attributeFilter.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/CommonAttributeAndCondition.cpp b/generated/src/aws-cpp-sdk-connect/source/model/CommonAttributeAndCondition.cpp new file mode 100644 index 00000000000..400570ed961 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/CommonAttributeAndCondition.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 +{ + +CommonAttributeAndCondition::CommonAttributeAndCondition() : + m_tagConditionsHasBeenSet(false) +{ +} + +CommonAttributeAndCondition::CommonAttributeAndCondition(JsonView jsonValue) + : CommonAttributeAndCondition() +{ + *this = jsonValue; +} + +CommonAttributeAndCondition& CommonAttributeAndCondition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("TagConditions")) + { + Aws::Utils::Array tagConditionsJsonList = jsonValue.GetArray("TagConditions"); + for(unsigned tagConditionsIndex = 0; tagConditionsIndex < tagConditionsJsonList.GetLength(); ++tagConditionsIndex) + { + m_tagConditions.push_back(tagConditionsJsonList[tagConditionsIndex].AsObject()); + } + m_tagConditionsHasBeenSet = true; + } + + return *this; +} + +JsonValue CommonAttributeAndCondition::Jsonize() const +{ + JsonValue payload; + + if(m_tagConditionsHasBeenSet) + { + Aws::Utils::Array tagConditionsJsonList(m_tagConditions.size()); + for(unsigned tagConditionsIndex = 0; tagConditionsIndex < tagConditionsJsonList.GetLength(); ++tagConditionsIndex) + { + tagConditionsJsonList[tagConditionsIndex].AsObject(m_tagConditions[tagConditionsIndex].Jsonize()); + } + payload.WithArray("TagConditions", std::move(tagConditionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/Condition.cpp b/generated/src/aws-cpp-sdk-connect/source/model/Condition.cpp new file mode 100644 index 00000000000..b941f0408e0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/Condition.cpp @@ -0,0 +1,73 @@ +/** + * 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 +{ + +Condition::Condition() : + m_stringConditionHasBeenSet(false), + m_numberConditionHasBeenSet(false) +{ +} + +Condition::Condition(JsonView jsonValue) + : Condition() +{ + *this = jsonValue; +} + +Condition& Condition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("StringCondition")) + { + m_stringCondition = jsonValue.GetObject("StringCondition"); + + m_stringConditionHasBeenSet = true; + } + + if(jsonValue.ValueExists("NumberCondition")) + { + m_numberCondition = jsonValue.GetObject("NumberCondition"); + + m_numberConditionHasBeenSet = true; + } + + return *this; +} + +JsonValue Condition::Jsonize() const +{ + JsonValue payload; + + if(m_stringConditionHasBeenSet) + { + payload.WithObject("StringCondition", m_stringCondition.Jsonize()); + + } + + if(m_numberConditionHasBeenSet) + { + payload.WithObject("NumberCondition", m_numberCondition.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ControlPlaneAttributeFilter.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ControlPlaneAttributeFilter.cpp new file mode 100644 index 00000000000..6afc4ed4578 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/ControlPlaneAttributeFilter.cpp @@ -0,0 +1,95 @@ +/** + * 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 +{ + +ControlPlaneAttributeFilter::ControlPlaneAttributeFilter() : + m_orConditionsHasBeenSet(false), + m_andConditionHasBeenSet(false), + m_tagConditionHasBeenSet(false) +{ +} + +ControlPlaneAttributeFilter::ControlPlaneAttributeFilter(JsonView jsonValue) + : ControlPlaneAttributeFilter() +{ + *this = jsonValue; +} + +ControlPlaneAttributeFilter& ControlPlaneAttributeFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("OrConditions")) + { + Aws::Utils::Array orConditionsJsonList = jsonValue.GetArray("OrConditions"); + for(unsigned orConditionsIndex = 0; orConditionsIndex < orConditionsJsonList.GetLength(); ++orConditionsIndex) + { + m_orConditions.push_back(orConditionsJsonList[orConditionsIndex].AsObject()); + } + m_orConditionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("AndCondition")) + { + m_andCondition = jsonValue.GetObject("AndCondition"); + + m_andConditionHasBeenSet = true; + } + + if(jsonValue.ValueExists("TagCondition")) + { + m_tagCondition = jsonValue.GetObject("TagCondition"); + + m_tagConditionHasBeenSet = true; + } + + return *this; +} + +JsonValue ControlPlaneAttributeFilter::Jsonize() const +{ + JsonValue payload; + + if(m_orConditionsHasBeenSet) + { + Aws::Utils::Array orConditionsJsonList(m_orConditions.size()); + for(unsigned orConditionsIndex = 0; orConditionsIndex < orConditionsJsonList.GetLength(); ++orConditionsIndex) + { + orConditionsJsonList[orConditionsIndex].AsObject(m_orConditions[orConditionsIndex].Jsonize()); + } + payload.WithArray("OrConditions", std::move(orConditionsJsonList)); + + } + + if(m_andConditionHasBeenSet) + { + payload.WithObject("AndCondition", m_andCondition.Jsonize()); + + } + + if(m_tagConditionHasBeenSet) + { + payload.WithObject("TagCondition", m_tagCondition.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/ListCondition.cpp b/generated/src/aws-cpp-sdk-connect/source/model/ListCondition.cpp new file mode 100644 index 00000000000..b9ff03b7132 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/ListCondition.cpp @@ -0,0 +1,81 @@ +/** + * 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 +{ + +ListCondition::ListCondition() : + m_targetListType(TargetListType::NOT_SET), + m_targetListTypeHasBeenSet(false), + m_conditionsHasBeenSet(false) +{ +} + +ListCondition::ListCondition(JsonView jsonValue) + : ListCondition() +{ + *this = jsonValue; +} + +ListCondition& ListCondition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("TargetListType")) + { + m_targetListType = TargetListTypeMapper::GetTargetListTypeForName(jsonValue.GetString("TargetListType")); + + m_targetListTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Conditions")) + { + Aws::Utils::Array conditionsJsonList = jsonValue.GetArray("Conditions"); + for(unsigned conditionsIndex = 0; conditionsIndex < conditionsJsonList.GetLength(); ++conditionsIndex) + { + m_conditions.push_back(conditionsJsonList[conditionsIndex].AsObject()); + } + m_conditionsHasBeenSet = true; + } + + return *this; +} + +JsonValue ListCondition::Jsonize() const +{ + JsonValue payload; + + if(m_targetListTypeHasBeenSet) + { + payload.WithString("TargetListType", TargetListTypeMapper::GetNameForTargetListType(m_targetListType)); + } + + if(m_conditionsHasBeenSet) + { + Aws::Utils::Array conditionsJsonList(m_conditions.size()); + for(unsigned conditionsIndex = 0; conditionsIndex < conditionsJsonList.GetLength(); ++conditionsIndex) + { + conditionsJsonList[conditionsIndex].AsObject(m_conditions[conditionsIndex].Jsonize()); + } + payload.WithArray("Conditions", std::move(conditionsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/NumberComparisonType.cpp b/generated/src/aws-cpp-sdk-connect/source/model/NumberComparisonType.cpp new file mode 100644 index 00000000000..9427edd819a --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/NumberComparisonType.cpp @@ -0,0 +1,107 @@ +/** + * 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 Connect + { + namespace Model + { + namespace NumberComparisonTypeMapper + { + + static const int GREATER_OR_EQUAL_HASH = HashingUtils::HashString("GREATER_OR_EQUAL"); + static const int GREATER_HASH = HashingUtils::HashString("GREATER"); + static const int LESSER_OR_EQUAL_HASH = HashingUtils::HashString("LESSER_OR_EQUAL"); + static const int LESSER_HASH = HashingUtils::HashString("LESSER"); + static const int EQUAL_HASH = HashingUtils::HashString("EQUAL"); + static const int NOT_EQUAL_HASH = HashingUtils::HashString("NOT_EQUAL"); + static const int RANGE_HASH = HashingUtils::HashString("RANGE"); + + + NumberComparisonType GetNumberComparisonTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == GREATER_OR_EQUAL_HASH) + { + return NumberComparisonType::GREATER_OR_EQUAL; + } + else if (hashCode == GREATER_HASH) + { + return NumberComparisonType::GREATER; + } + else if (hashCode == LESSER_OR_EQUAL_HASH) + { + return NumberComparisonType::LESSER_OR_EQUAL; + } + else if (hashCode == LESSER_HASH) + { + return NumberComparisonType::LESSER; + } + else if (hashCode == EQUAL_HASH) + { + return NumberComparisonType::EQUAL; + } + else if (hashCode == NOT_EQUAL_HASH) + { + return NumberComparisonType::NOT_EQUAL; + } + else if (hashCode == RANGE_HASH) + { + return NumberComparisonType::RANGE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return NumberComparisonType::NOT_SET; + } + + Aws::String GetNameForNumberComparisonType(NumberComparisonType enumValue) + { + switch(enumValue) + { + case NumberComparisonType::NOT_SET: + return {}; + case NumberComparisonType::GREATER_OR_EQUAL: + return "GREATER_OR_EQUAL"; + case NumberComparisonType::GREATER: + return "GREATER"; + case NumberComparisonType::LESSER_OR_EQUAL: + return "LESSER_OR_EQUAL"; + case NumberComparisonType::LESSER: + return "LESSER"; + case NumberComparisonType::EQUAL: + return "EQUAL"; + case NumberComparisonType::NOT_EQUAL: + return "NOT_EQUAL"; + case NumberComparisonType::RANGE: + return "RANGE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace NumberComparisonTypeMapper + } // namespace Model + } // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/NumberCondition.cpp b/generated/src/aws-cpp-sdk-connect/source/model/NumberCondition.cpp new file mode 100644 index 00000000000..49783dc72d4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/NumberCondition.cpp @@ -0,0 +1,103 @@ +/** + * 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 +{ + +NumberCondition::NumberCondition() : + m_fieldNameHasBeenSet(false), + m_minValue(0), + m_minValueHasBeenSet(false), + m_maxValue(0), + m_maxValueHasBeenSet(false), + m_comparisonType(NumberComparisonType::NOT_SET), + m_comparisonTypeHasBeenSet(false) +{ +} + +NumberCondition::NumberCondition(JsonView jsonValue) + : NumberCondition() +{ + *this = jsonValue; +} + +NumberCondition& NumberCondition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FieldName")) + { + m_fieldName = jsonValue.GetString("FieldName"); + + m_fieldNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("MinValue")) + { + m_minValue = jsonValue.GetInteger("MinValue"); + + m_minValueHasBeenSet = true; + } + + if(jsonValue.ValueExists("MaxValue")) + { + m_maxValue = jsonValue.GetInteger("MaxValue"); + + m_maxValueHasBeenSet = true; + } + + if(jsonValue.ValueExists("ComparisonType")) + { + m_comparisonType = NumberComparisonTypeMapper::GetNumberComparisonTypeForName(jsonValue.GetString("ComparisonType")); + + m_comparisonTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue NumberCondition::Jsonize() const +{ + JsonValue payload; + + if(m_fieldNameHasBeenSet) + { + payload.WithString("FieldName", m_fieldName); + + } + + if(m_minValueHasBeenSet) + { + payload.WithInteger("MinValue", m_minValue); + + } + + if(m_maxValueHasBeenSet) + { + payload.WithInteger("MaxValue", m_maxValue); + + } + + if(m_comparisonTypeHasBeenSet) + { + payload.WithString("ComparisonType", NumberComparisonTypeMapper::GetNameForNumberComparisonType(m_comparisonType)); + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesRequest.cpp new file mode 100644 index 00000000000..374ef446fd7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SearchAgentStatusesRequest::SearchAgentStatusesRequest() : + m_instanceIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_searchFilterHasBeenSet(false), + m_searchCriteriaHasBeenSet(false) +{ +} + +Aws::String SearchAgentStatusesRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_instanceIdHasBeenSet) + { + payload.WithString("InstanceId", m_instanceId); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_searchFilterHasBeenSet) + { + payload.WithObject("SearchFilter", m_searchFilter.Jsonize()); + + } + + if(m_searchCriteriaHasBeenSet) + { + payload.WithObject("SearchCriteria", m_searchCriteria.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesResult.cpp new file mode 100644 index 00000000000..49b4230360e --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SearchAgentStatusesResult.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchAgentStatusesResult::SearchAgentStatusesResult() : + m_approximateTotalCount(0) +{ +} + +SearchAgentStatusesResult::SearchAgentStatusesResult(const Aws::AmazonWebServiceResult& result) + : SearchAgentStatusesResult() +{ + *this = result; +} + +SearchAgentStatusesResult& SearchAgentStatusesResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("AgentStatuses")) + { + Aws::Utils::Array agentStatusesJsonList = jsonValue.GetArray("AgentStatuses"); + for(unsigned agentStatusesIndex = 0; agentStatusesIndex < agentStatusesJsonList.GetLength(); ++agentStatusesIndex) + { + m_agentStatuses.push_back(agentStatusesJsonList[agentStatusesIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("ApproximateTotalCount")) + { + m_approximateTotalCount = jsonValue.GetInt64("ApproximateTotalCount"); + + } + + + 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/SearchUserHierarchyGroupsRequest.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsRequest.cpp new file mode 100644 index 00000000000..e337bcfad88 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsRequest.cpp @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +SearchUserHierarchyGroupsRequest::SearchUserHierarchyGroupsRequest() : + m_instanceIdHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_searchFilterHasBeenSet(false), + m_searchCriteriaHasBeenSet(false) +{ +} + +Aws::String SearchUserHierarchyGroupsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_instanceIdHasBeenSet) + { + payload.WithString("InstanceId", m_instanceId); + + } + + if(m_nextTokenHasBeenSet) + { + payload.WithString("NextToken", m_nextToken); + + } + + if(m_maxResultsHasBeenSet) + { + payload.WithInteger("MaxResults", m_maxResults); + + } + + if(m_searchFilterHasBeenSet) + { + payload.WithObject("SearchFilter", m_searchFilter.Jsonize()); + + } + + if(m_searchCriteriaHasBeenSet) + { + payload.WithObject("SearchCriteria", m_searchCriteria.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsResult.cpp b/generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsResult.cpp new file mode 100644 index 00000000000..a58ddf89fc6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/SearchUserHierarchyGroupsResult.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Connect::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +SearchUserHierarchyGroupsResult::SearchUserHierarchyGroupsResult() : + m_approximateTotalCount(0) +{ +} + +SearchUserHierarchyGroupsResult::SearchUserHierarchyGroupsResult(const Aws::AmazonWebServiceResult& result) + : SearchUserHierarchyGroupsResult() +{ + *this = result; +} + +SearchUserHierarchyGroupsResult& SearchUserHierarchyGroupsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("UserHierarchyGroups")) + { + Aws::Utils::Array userHierarchyGroupsJsonList = jsonValue.GetArray("UserHierarchyGroups"); + for(unsigned userHierarchyGroupsIndex = 0; userHierarchyGroupsIndex < userHierarchyGroupsJsonList.GetLength(); ++userHierarchyGroupsIndex) + { + m_userHierarchyGroups.push_back(userHierarchyGroupsJsonList[userHierarchyGroupsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + if(jsonValue.ValueExists("ApproximateTotalCount")) + { + m_approximateTotalCount = jsonValue.GetInt64("ApproximateTotalCount"); + + } + + + 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/TargetListType.cpp b/generated/src/aws-cpp-sdk-connect/source/model/TargetListType.cpp new file mode 100644 index 00000000000..c21d974405b --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/TargetListType.cpp @@ -0,0 +1,65 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Connect + { + namespace Model + { + namespace TargetListTypeMapper + { + + static const int PROFICIENCIES_HASH = HashingUtils::HashString("PROFICIENCIES"); + + + TargetListType GetTargetListTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PROFICIENCIES_HASH) + { + return TargetListType::PROFICIENCIES; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TargetListType::NOT_SET; + } + + Aws::String GetNameForTargetListType(TargetListType enumValue) + { + switch(enumValue) + { + case TargetListType::NOT_SET: + return {}; + case TargetListType::PROFICIENCIES: + return "PROFICIENCIES"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TargetListTypeMapper + } // namespace Model + } // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchCriteria.cpp b/generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchCriteria.cpp new file mode 100644 index 00000000000..d46d97cd147 --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchCriteria.cpp @@ -0,0 +1,103 @@ +/** + * 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 +{ + +UserHierarchyGroupSearchCriteria::UserHierarchyGroupSearchCriteria() : + m_orConditionsHasBeenSet(false), + m_andConditionsHasBeenSet(false), + m_stringConditionHasBeenSet(false) +{ +} + +UserHierarchyGroupSearchCriteria::UserHierarchyGroupSearchCriteria(JsonView jsonValue) + : UserHierarchyGroupSearchCriteria() +{ + *this = jsonValue; +} + +UserHierarchyGroupSearchCriteria& UserHierarchyGroupSearchCriteria::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("OrConditions")) + { + Aws::Utils::Array orConditionsJsonList = jsonValue.GetArray("OrConditions"); + for(unsigned orConditionsIndex = 0; orConditionsIndex < orConditionsJsonList.GetLength(); ++orConditionsIndex) + { + m_orConditions.push_back(orConditionsJsonList[orConditionsIndex].AsObject()); + } + m_orConditionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("AndConditions")) + { + Aws::Utils::Array andConditionsJsonList = jsonValue.GetArray("AndConditions"); + for(unsigned andConditionsIndex = 0; andConditionsIndex < andConditionsJsonList.GetLength(); ++andConditionsIndex) + { + m_andConditions.push_back(andConditionsJsonList[andConditionsIndex].AsObject()); + } + m_andConditionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("StringCondition")) + { + m_stringCondition = jsonValue.GetObject("StringCondition"); + + m_stringConditionHasBeenSet = true; + } + + return *this; +} + +JsonValue UserHierarchyGroupSearchCriteria::Jsonize() const +{ + JsonValue payload; + + if(m_orConditionsHasBeenSet) + { + Aws::Utils::Array orConditionsJsonList(m_orConditions.size()); + for(unsigned orConditionsIndex = 0; orConditionsIndex < orConditionsJsonList.GetLength(); ++orConditionsIndex) + { + orConditionsJsonList[orConditionsIndex].AsObject(m_orConditions[orConditionsIndex].Jsonize()); + } + payload.WithArray("OrConditions", std::move(orConditionsJsonList)); + + } + + if(m_andConditionsHasBeenSet) + { + Aws::Utils::Array andConditionsJsonList(m_andConditions.size()); + for(unsigned andConditionsIndex = 0; andConditionsIndex < andConditionsJsonList.GetLength(); ++andConditionsIndex) + { + andConditionsJsonList[andConditionsIndex].AsObject(m_andConditions[andConditionsIndex].Jsonize()); + } + payload.WithArray("AndConditions", std::move(andConditionsJsonList)); + + } + + if(m_stringConditionHasBeenSet) + { + payload.WithObject("StringCondition", m_stringCondition.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchFilter.cpp b/generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchFilter.cpp new file mode 100644 index 00000000000..415020928fa --- /dev/null +++ b/generated/src/aws-cpp-sdk-connect/source/model/UserHierarchyGroupSearchFilter.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 +{ + +UserHierarchyGroupSearchFilter::UserHierarchyGroupSearchFilter() : + m_attributeFilterHasBeenSet(false) +{ +} + +UserHierarchyGroupSearchFilter::UserHierarchyGroupSearchFilter(JsonView jsonValue) + : UserHierarchyGroupSearchFilter() +{ + *this = jsonValue; +} + +UserHierarchyGroupSearchFilter& UserHierarchyGroupSearchFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("AttributeFilter")) + { + m_attributeFilter = jsonValue.GetObject("AttributeFilter"); + + m_attributeFilterHasBeenSet = true; + } + + return *this; +} + +JsonValue UserHierarchyGroupSearchFilter::Jsonize() const +{ + JsonValue payload; + + if(m_attributeFilterHasBeenSet) + { + payload.WithObject("AttributeFilter", m_attributeFilter.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Connect +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-connect/source/model/UserSearchCriteria.cpp b/generated/src/aws-cpp-sdk-connect/source/model/UserSearchCriteria.cpp index 9bc5b158c12..1eb5afc2418 100644 --- a/generated/src/aws-cpp-sdk-connect/source/model/UserSearchCriteria.cpp +++ b/generated/src/aws-cpp-sdk-connect/source/model/UserSearchCriteria.cpp @@ -22,6 +22,7 @@ UserSearchCriteria::UserSearchCriteria() : m_orConditionsHasBeenSet(false), m_andConditionsHasBeenSet(false), m_stringConditionHasBeenSet(false), + m_listConditionHasBeenSet(false), m_hierarchyGroupConditionHasBeenSet(false) { } @@ -61,6 +62,13 @@ UserSearchCriteria& UserSearchCriteria::operator =(JsonView jsonValue) m_stringConditionHasBeenSet = true; } + if(jsonValue.ValueExists("ListCondition")) + { + m_listCondition = jsonValue.GetObject("ListCondition"); + + m_listConditionHasBeenSet = true; + } + if(jsonValue.ValueExists("HierarchyGroupCondition")) { m_hierarchyGroupCondition = jsonValue.GetObject("HierarchyGroupCondition"); @@ -103,6 +111,12 @@ JsonValue UserSearchCriteria::Jsonize() const } + if(m_listConditionHasBeenSet) + { + payload.WithObject("ListCondition", m_listCondition.Jsonize()); + + } + if(m_hierarchyGroupConditionHasBeenSet) { payload.WithObject("HierarchyGroupCondition", m_hierarchyGroupCondition.Jsonize()); diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h index 83d36fef9ce..f3ff0dd68e9 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/EC2Client.h @@ -2540,6 +2540,35 @@ namespace EC2 return SubmitAsync(&EC2Client::CreateIpam, request, handler, context); } + /** + *

Create a verification token. A verification token is an Amazon Web + * Services-generated random value that you can use to prove ownership of an + * external resource. For example, you can use a verification token to validate + * that you control a public IP address range when you bring an IP address range to + * Amazon Web Services (BYOIP).

See Also:

AWS + * API Reference

+ */ + virtual Model::CreateIpamExternalResourceVerificationTokenOutcome CreateIpamExternalResourceVerificationToken(const Model::CreateIpamExternalResourceVerificationTokenRequest& request) const; + + /** + * A Callable wrapper for CreateIpamExternalResourceVerificationToken that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::CreateIpamExternalResourceVerificationTokenOutcomeCallable CreateIpamExternalResourceVerificationTokenCallable(const CreateIpamExternalResourceVerificationTokenRequestT& request) const + { + return SubmitCallable(&EC2Client::CreateIpamExternalResourceVerificationToken, request); + } + + /** + * An Async wrapper for CreateIpamExternalResourceVerificationToken that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void CreateIpamExternalResourceVerificationTokenAsync(const CreateIpamExternalResourceVerificationTokenRequestT& request, const CreateIpamExternalResourceVerificationTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&EC2Client::CreateIpamExternalResourceVerificationToken, request, handler, context); + } + /** *

Create an IP address pool for Amazon VPC IP Address Manager (IPAM). In IPAM, * a pool is a collection of contiguous IP addresses CIDRs. Pools enable you to @@ -4950,6 +4979,35 @@ namespace EC2 return SubmitAsync(&EC2Client::DeleteIpam, request, handler, context); } + /** + *

Delete a verification token. A verification token is an Amazon Web + * Services-generated random value that you can use to prove ownership of an + * external resource. For example, you can use a verification token to validate + * that you control a public IP address range when you bring an IP address range to + * Amazon Web Services (BYOIP).

See Also:

AWS + * API Reference

+ */ + virtual Model::DeleteIpamExternalResourceVerificationTokenOutcome DeleteIpamExternalResourceVerificationToken(const Model::DeleteIpamExternalResourceVerificationTokenRequest& request) const; + + /** + * A Callable wrapper for DeleteIpamExternalResourceVerificationToken that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DeleteIpamExternalResourceVerificationTokenOutcomeCallable DeleteIpamExternalResourceVerificationTokenCallable(const DeleteIpamExternalResourceVerificationTokenRequestT& request) const + { + return SubmitCallable(&EC2Client::DeleteIpamExternalResourceVerificationToken, request); + } + + /** + * An Async wrapper for DeleteIpamExternalResourceVerificationToken that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DeleteIpamExternalResourceVerificationTokenAsync(const DeleteIpamExternalResourceVerificationTokenRequestT& request, const DeleteIpamExternalResourceVerificationTokenResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&EC2Client::DeleteIpamExternalResourceVerificationToken, request, handler, context); + } + /** *

Delete an IPAM pool.

You cannot delete an IPAM pool if there * are allocations in it or CIDRs provisioned to it. To release allocations, see Describe verification tokens. A verification token is an Amazon Web + * Services-generated random value that you can use to prove ownership of an + * external resource. For example, you can use a verification token to validate + * that you control a public IP address range when you bring an IP address range to + * Amazon Web Services (BYOIP).

See Also:

AWS + * API Reference

+ */ + virtual Model::DescribeIpamExternalResourceVerificationTokensOutcome DescribeIpamExternalResourceVerificationTokens(const Model::DescribeIpamExternalResourceVerificationTokensRequest& request = {}) const; + + /** + * A Callable wrapper for DescribeIpamExternalResourceVerificationTokens that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::DescribeIpamExternalResourceVerificationTokensOutcomeCallable DescribeIpamExternalResourceVerificationTokensCallable(const DescribeIpamExternalResourceVerificationTokensRequestT& request = {}) const + { + return SubmitCallable(&EC2Client::DescribeIpamExternalResourceVerificationTokens, request); + } + + /** + * An Async wrapper for DescribeIpamExternalResourceVerificationTokens that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void DescribeIpamExternalResourceVerificationTokensAsync(const DescribeIpamExternalResourceVerificationTokensResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const DescribeIpamExternalResourceVerificationTokensRequestT& request = {}) const + { + return SubmitAsync(&EC2Client::DescribeIpamExternalResourceVerificationTokens, request, handler, context); + } + /** *

Get information about your IPAM pools.

See Also:

AWS @@ -9291,8 +9378,12 @@ namespace EC2 } /** - *

Describes the specified placement groups or all of your placement groups. For - * more information, see Describes the specified placement groups or all of your placement groups.

+ *

To describe a specific placement group that is shared with your + * account, you must specify the ID of the placement group using the + * GroupId parameter. Specifying the name of a shared placement + * group using the GroupNames parameter will result in an error.

+ *

For more information, see Placement * groups in the Amazon EC2 User Guide.

See Also:

AWS @@ -10876,10 +10967,7 @@ namespace EC2 /** *

Describes the most recent volume modification request for the specified EBS - * volumes.

If a volume has never been modified, some information in the - * output will be null. If a volume has been modified more than once, the output - * includes only the most recent modification request.

For more information, - * see

For more information, see * Monitor the progress of volume modifications in the Amazon EBS User * Guide.

See Also:

- *

By default, the console output returns buffered information that was posted - * shortly after an instance transition state (start, stop, reboot, or terminate). - * This information is available for at least one hour after the most recent post. - * Only the most recent 64 KB of console output is available.

You can - * optionally retrieve the latest serial console output at any time during the - * instance lifecycle. This option is supported on instance types that use the - * Nitro hypervisor.

For more information, see For more information, see Instance * console output in the Amazon EC2 User Guide.

See Also:

* #include #include +#include #include #include #include @@ -160,6 +161,7 @@ #include #include #include +#include #include #include #include @@ -267,6 +269,7 @@ #include #include #include +#include #include #include #include @@ -639,6 +642,7 @@ #include #include #include +#include #include #include #include @@ -888,6 +892,7 @@ namespace Aws class CreateInstanceExportTaskRequest; class CreateInternetGatewayRequest; class CreateIpamRequest; + class CreateIpamExternalResourceVerificationTokenRequest; class CreateIpamPoolRequest; class CreateIpamResourceDiscoveryRequest; class CreateIpamScopeRequest; @@ -964,6 +969,7 @@ namespace Aws class DeleteInstanceEventWindowRequest; class DeleteInternetGatewayRequest; class DeleteIpamRequest; + class DeleteIpamExternalResourceVerificationTokenRequest; class DeleteIpamPoolRequest; class DeleteIpamResourceDiscoveryRequest; class DeleteIpamScopeRequest; @@ -1088,6 +1094,7 @@ namespace Aws class DescribeInstancesRequest; class DescribeInternetGatewaysRequest; class DescribeIpamByoasnRequest; + class DescribeIpamExternalResourceVerificationTokensRequest; class DescribeIpamPoolsRequest; class DescribeIpamResourceDiscoveriesRequest; class DescribeIpamResourceDiscoveryAssociationsRequest; @@ -1513,6 +1520,7 @@ namespace Aws typedef Aws::Utils::Outcome CreateInstanceExportTaskOutcome; typedef Aws::Utils::Outcome CreateInternetGatewayOutcome; typedef Aws::Utils::Outcome CreateIpamOutcome; + typedef Aws::Utils::Outcome CreateIpamExternalResourceVerificationTokenOutcome; typedef Aws::Utils::Outcome CreateIpamPoolOutcome; typedef Aws::Utils::Outcome CreateIpamResourceDiscoveryOutcome; typedef Aws::Utils::Outcome CreateIpamScopeOutcome; @@ -1589,6 +1597,7 @@ namespace Aws typedef Aws::Utils::Outcome DeleteInstanceEventWindowOutcome; typedef Aws::Utils::Outcome DeleteInternetGatewayOutcome; typedef Aws::Utils::Outcome DeleteIpamOutcome; + typedef Aws::Utils::Outcome DeleteIpamExternalResourceVerificationTokenOutcome; typedef Aws::Utils::Outcome DeleteIpamPoolOutcome; typedef Aws::Utils::Outcome DeleteIpamResourceDiscoveryOutcome; typedef Aws::Utils::Outcome DeleteIpamScopeOutcome; @@ -1713,6 +1722,7 @@ namespace Aws typedef Aws::Utils::Outcome DescribeInstancesOutcome; typedef Aws::Utils::Outcome DescribeInternetGatewaysOutcome; typedef Aws::Utils::Outcome DescribeIpamByoasnOutcome; + typedef Aws::Utils::Outcome DescribeIpamExternalResourceVerificationTokensOutcome; typedef Aws::Utils::Outcome DescribeIpamPoolsOutcome; typedef Aws::Utils::Outcome DescribeIpamResourceDiscoveriesOutcome; typedef Aws::Utils::Outcome DescribeIpamResourceDiscoveryAssociationsOutcome; @@ -2138,6 +2148,7 @@ namespace Aws typedef std::future CreateInstanceExportTaskOutcomeCallable; typedef std::future CreateInternetGatewayOutcomeCallable; typedef std::future CreateIpamOutcomeCallable; + typedef std::future CreateIpamExternalResourceVerificationTokenOutcomeCallable; typedef std::future CreateIpamPoolOutcomeCallable; typedef std::future CreateIpamResourceDiscoveryOutcomeCallable; typedef std::future CreateIpamScopeOutcomeCallable; @@ -2214,6 +2225,7 @@ namespace Aws typedef std::future DeleteInstanceEventWindowOutcomeCallable; typedef std::future DeleteInternetGatewayOutcomeCallable; typedef std::future DeleteIpamOutcomeCallable; + typedef std::future DeleteIpamExternalResourceVerificationTokenOutcomeCallable; typedef std::future DeleteIpamPoolOutcomeCallable; typedef std::future DeleteIpamResourceDiscoveryOutcomeCallable; typedef std::future DeleteIpamScopeOutcomeCallable; @@ -2338,6 +2350,7 @@ namespace Aws typedef std::future DescribeInstancesOutcomeCallable; typedef std::future DescribeInternetGatewaysOutcomeCallable; typedef std::future DescribeIpamByoasnOutcomeCallable; + typedef std::future DescribeIpamExternalResourceVerificationTokensOutcomeCallable; typedef std::future DescribeIpamPoolsOutcomeCallable; typedef std::future DescribeIpamResourceDiscoveriesOutcomeCallable; typedef std::future DescribeIpamResourceDiscoveryAssociationsOutcomeCallable; @@ -2766,6 +2779,7 @@ namespace Aws typedef std::function&) > CreateInstanceExportTaskResponseReceivedHandler; typedef std::function&) > CreateInternetGatewayResponseReceivedHandler; typedef std::function&) > CreateIpamResponseReceivedHandler; + typedef std::function&) > CreateIpamExternalResourceVerificationTokenResponseReceivedHandler; typedef std::function&) > CreateIpamPoolResponseReceivedHandler; typedef std::function&) > CreateIpamResourceDiscoveryResponseReceivedHandler; typedef std::function&) > CreateIpamScopeResponseReceivedHandler; @@ -2842,6 +2856,7 @@ namespace Aws typedef std::function&) > DeleteInstanceEventWindowResponseReceivedHandler; typedef std::function&) > DeleteInternetGatewayResponseReceivedHandler; typedef std::function&) > DeleteIpamResponseReceivedHandler; + typedef std::function&) > DeleteIpamExternalResourceVerificationTokenResponseReceivedHandler; typedef std::function&) > DeleteIpamPoolResponseReceivedHandler; typedef std::function&) > DeleteIpamResourceDiscoveryResponseReceivedHandler; typedef std::function&) > DeleteIpamScopeResponseReceivedHandler; @@ -2966,6 +2981,7 @@ namespace Aws typedef std::function&) > DescribeInstancesResponseReceivedHandler; typedef std::function&) > DescribeInternetGatewaysResponseReceivedHandler; typedef std::function&) > DescribeIpamByoasnResponseReceivedHandler; + typedef std::function&) > DescribeIpamExternalResourceVerificationTokensResponseReceivedHandler; typedef std::function&) > DescribeIpamPoolsResponseReceivedHandler; typedef std::function&) > DescribeIpamResourceDiscoveriesResponseReceivedHandler; typedef std::function&) > DescribeIpamResourceDiscoveryAssociationsResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenRequest.h new file mode 100644 index 00000000000..dd818b4185a --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenRequest.h @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace EC2 +{ +namespace Model +{ + + /** + */ + class CreateIpamExternalResourceVerificationTokenRequest : public EC2Request + { + public: + AWS_EC2_API CreateIpamExternalResourceVerificationTokenRequest(); + + // 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 "CreateIpamExternalResourceVerificationToken"; } + + AWS_EC2_API Aws::String SerializePayload() const override; + + protected: + AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

A check for whether you have the required permissions for the action without + * actually making the request and provides an error response. If you have the + * required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + inline bool GetDryRun() const{ return m_dryRun; } + inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; } + inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; } + inline CreateIpamExternalResourceVerificationTokenRequest& WithDryRun(bool value) { SetDryRun(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the IPAM that will create the token.

+ */ + inline const Aws::String& GetIpamId() const{ return m_ipamId; } + inline bool IpamIdHasBeenSet() const { return m_ipamIdHasBeenSet; } + inline void SetIpamId(const Aws::String& value) { m_ipamIdHasBeenSet = true; m_ipamId = value; } + inline void SetIpamId(Aws::String&& value) { m_ipamIdHasBeenSet = true; m_ipamId = std::move(value); } + inline void SetIpamId(const char* value) { m_ipamIdHasBeenSet = true; m_ipamId.assign(value); } + inline CreateIpamExternalResourceVerificationTokenRequest& WithIpamId(const Aws::String& value) { SetIpamId(value); return *this;} + inline CreateIpamExternalResourceVerificationTokenRequest& WithIpamId(Aws::String&& value) { SetIpamId(std::move(value)); return *this;} + inline CreateIpamExternalResourceVerificationTokenRequest& WithIpamId(const char* value) { SetIpamId(value); return *this;} + ///@} + + ///@{ + /** + *

Token tags.

+ */ + inline const Aws::Vector& GetTagSpecifications() const{ return m_tagSpecifications; } + inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; } + inline void SetTagSpecifications(const Aws::Vector& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; } + inline void SetTagSpecifications(Aws::Vector&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); } + inline CreateIpamExternalResourceVerificationTokenRequest& WithTagSpecifications(const Aws::Vector& value) { SetTagSpecifications(value); return *this;} + inline CreateIpamExternalResourceVerificationTokenRequest& WithTagSpecifications(Aws::Vector&& value) { SetTagSpecifications(std::move(value)); return *this;} + inline CreateIpamExternalResourceVerificationTokenRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; } + inline CreateIpamExternalResourceVerificationTokenRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

A unique, case-sensitive identifier that you provide to ensure the + * idempotency of the request. For more information, see Ensuring + * idempotency.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline CreateIpamExternalResourceVerificationTokenRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline CreateIpamExternalResourceVerificationTokenRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline CreateIpamExternalResourceVerificationTokenRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + private: + + bool m_dryRun; + bool m_dryRunHasBeenSet = false; + + Aws::String m_ipamId; + bool m_ipamIdHasBeenSet = false; + + Aws::Vector m_tagSpecifications; + bool m_tagSpecificationsHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenResponse.h new file mode 100644 index 00000000000..68e530b1c37 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamExternalResourceVerificationTokenResponse.h @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace EC2 +{ +namespace Model +{ + class CreateIpamExternalResourceVerificationTokenResponse + { + public: + AWS_EC2_API CreateIpamExternalResourceVerificationTokenResponse(); + AWS_EC2_API CreateIpamExternalResourceVerificationTokenResponse(const Aws::AmazonWebServiceResult& result); + AWS_EC2_API CreateIpamExternalResourceVerificationTokenResponse& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The verification token.

+ */ + inline const IpamExternalResourceVerificationToken& GetIpamExternalResourceVerificationToken() const{ return m_ipamExternalResourceVerificationToken; } + inline void SetIpamExternalResourceVerificationToken(const IpamExternalResourceVerificationToken& value) { m_ipamExternalResourceVerificationToken = value; } + inline void SetIpamExternalResourceVerificationToken(IpamExternalResourceVerificationToken&& value) { m_ipamExternalResourceVerificationToken = std::move(value); } + inline CreateIpamExternalResourceVerificationTokenResponse& WithIpamExternalResourceVerificationToken(const IpamExternalResourceVerificationToken& value) { SetIpamExternalResourceVerificationToken(value); return *this;} + inline CreateIpamExternalResourceVerificationTokenResponse& WithIpamExternalResourceVerificationToken(IpamExternalResourceVerificationToken&& value) { SetIpamExternalResourceVerificationToken(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline CreateIpamExternalResourceVerificationTokenResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline CreateIpamExternalResourceVerificationTokenResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + IpamExternalResourceVerificationToken m_ipamExternalResourceVerificationToken; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamPoolRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamPoolRequest.h index e581dff7cdb..47a7492ef42 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamPoolRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CreateIpamPoolRequest.h @@ -73,13 +73,17 @@ namespace Model ///@{ /** - *

In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools - * in the public scope, the network border group for an Amazon Web Services Local - * Zone where you want to make an IPAM pool available for allocations (The locale for the pool should be one of the following:

If you do not choose a locale, resources in + * Regions others than the IPAM's home region cannot use CIDRs from this pool.

+ *

Possible values: Any Amazon Web Services Region or supported Amazon Web + * Services Local Zone.

*/ inline const Aws::String& GetLocale() const{ return m_locale; } inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenRequest.h new file mode 100644 index 00000000000..4a3be262f98 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenRequest.h @@ -0,0 +1,76 @@ +/** + * 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 EC2 +{ +namespace Model +{ + + /** + */ + class DeleteIpamExternalResourceVerificationTokenRequest : public EC2Request + { + public: + AWS_EC2_API DeleteIpamExternalResourceVerificationTokenRequest(); + + // 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 "DeleteIpamExternalResourceVerificationToken"; } + + AWS_EC2_API Aws::String SerializePayload() const override; + + protected: + AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

A check for whether you have the required permissions for the action without + * actually making the request and provides an error response. If you have the + * required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + inline bool GetDryRun() const{ return m_dryRun; } + inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; } + inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; } + inline DeleteIpamExternalResourceVerificationTokenRequest& WithDryRun(bool value) { SetDryRun(value); return *this;} + ///@} + + ///@{ + /** + *

The token ID.

+ */ + inline const Aws::String& GetIpamExternalResourceVerificationTokenId() const{ return m_ipamExternalResourceVerificationTokenId; } + inline bool IpamExternalResourceVerificationTokenIdHasBeenSet() const { return m_ipamExternalResourceVerificationTokenIdHasBeenSet; } + inline void SetIpamExternalResourceVerificationTokenId(const Aws::String& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = value; } + inline void SetIpamExternalResourceVerificationTokenId(Aws::String&& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = std::move(value); } + inline void SetIpamExternalResourceVerificationTokenId(const char* value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId.assign(value); } + inline DeleteIpamExternalResourceVerificationTokenRequest& WithIpamExternalResourceVerificationTokenId(const Aws::String& value) { SetIpamExternalResourceVerificationTokenId(value); return *this;} + inline DeleteIpamExternalResourceVerificationTokenRequest& WithIpamExternalResourceVerificationTokenId(Aws::String&& value) { SetIpamExternalResourceVerificationTokenId(std::move(value)); return *this;} + inline DeleteIpamExternalResourceVerificationTokenRequest& WithIpamExternalResourceVerificationTokenId(const char* value) { SetIpamExternalResourceVerificationTokenId(value); return *this;} + ///@} + private: + + bool m_dryRun; + bool m_dryRunHasBeenSet = false; + + Aws::String m_ipamExternalResourceVerificationTokenId; + bool m_ipamExternalResourceVerificationTokenIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenResponse.h new file mode 100644 index 00000000000..965eff8dcfb --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DeleteIpamExternalResourceVerificationTokenResponse.h @@ -0,0 +1,64 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace EC2 +{ +namespace Model +{ + class DeleteIpamExternalResourceVerificationTokenResponse + { + public: + AWS_EC2_API DeleteIpamExternalResourceVerificationTokenResponse(); + AWS_EC2_API DeleteIpamExternalResourceVerificationTokenResponse(const Aws::AmazonWebServiceResult& result); + AWS_EC2_API DeleteIpamExternalResourceVerificationTokenResponse& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The verification token.

+ */ + inline const IpamExternalResourceVerificationToken& GetIpamExternalResourceVerificationToken() const{ return m_ipamExternalResourceVerificationToken; } + inline void SetIpamExternalResourceVerificationToken(const IpamExternalResourceVerificationToken& value) { m_ipamExternalResourceVerificationToken = value; } + inline void SetIpamExternalResourceVerificationToken(IpamExternalResourceVerificationToken&& value) { m_ipamExternalResourceVerificationToken = std::move(value); } + inline DeleteIpamExternalResourceVerificationTokenResponse& WithIpamExternalResourceVerificationToken(const IpamExternalResourceVerificationToken& value) { SetIpamExternalResourceVerificationToken(value); return *this;} + inline DeleteIpamExternalResourceVerificationTokenResponse& WithIpamExternalResourceVerificationToken(IpamExternalResourceVerificationToken&& value) { SetIpamExternalResourceVerificationToken(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline DeleteIpamExternalResourceVerificationTokenResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline DeleteIpamExternalResourceVerificationTokenResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + IpamExternalResourceVerificationToken m_ipamExternalResourceVerificationToken; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensRequest.h new file mode 100644 index 00000000000..ec511ee224f --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensRequest.h @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace EC2 +{ +namespace Model +{ + + /** + */ + class DescribeIpamExternalResourceVerificationTokensRequest : public EC2Request + { + public: + AWS_EC2_API DescribeIpamExternalResourceVerificationTokensRequest(); + + // 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 "DescribeIpamExternalResourceVerificationTokens"; } + + AWS_EC2_API Aws::String SerializePayload() const override; + + protected: + AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; + + public: + + ///@{ + /** + *

A check for whether you have the required permissions for the action without + * actually making the request and provides an error response. If you have the + * required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + inline bool GetDryRun() const{ return m_dryRun; } + inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; } + inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; } + inline DescribeIpamExternalResourceVerificationTokensRequest& WithDryRun(bool value) { SetDryRun(value); return *this;} + ///@} + + ///@{ + /** + *

One or more filters for the request. For more information about filtering, + * see Filtering + * CLI output.

Available filters:

  • + * ipam-arn

  • + * ipam-external-resource-verification-token-arn

  • + * ipam-external-resource-verification-token-id

  • + * ipam-id

  • ipam-region

  • + *
  • state

  • status

  • + *
  • token-name

  • token-value + *

+ */ + inline const Aws::Vector& GetFilters() const{ return m_filters; } + inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; } + inline void SetFilters(const Aws::Vector& value) { m_filtersHasBeenSet = true; m_filters = value; } + inline void SetFilters(Aws::Vector&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); } + inline DescribeIpamExternalResourceVerificationTokensRequest& WithFilters(const Aws::Vector& value) { SetFilters(value); return *this;} + inline DescribeIpamExternalResourceVerificationTokensRequest& WithFilters(Aws::Vector&& value) { SetFilters(std::move(value)); return *this;} + inline DescribeIpamExternalResourceVerificationTokensRequest& AddFilters(const Filter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; } + inline DescribeIpamExternalResourceVerificationTokensRequest& AddFilters(Filter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The token for the next page of results.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline DescribeIpamExternalResourceVerificationTokensRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline DescribeIpamExternalResourceVerificationTokensRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline DescribeIpamExternalResourceVerificationTokensRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of tokens to return in one page of results.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline DescribeIpamExternalResourceVerificationTokensRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

Verification token IDs.

+ */ + inline const Aws::Vector& GetIpamExternalResourceVerificationTokenIds() const{ return m_ipamExternalResourceVerificationTokenIds; } + inline bool IpamExternalResourceVerificationTokenIdsHasBeenSet() const { return m_ipamExternalResourceVerificationTokenIdsHasBeenSet; } + inline void SetIpamExternalResourceVerificationTokenIds(const Aws::Vector& value) { m_ipamExternalResourceVerificationTokenIdsHasBeenSet = true; m_ipamExternalResourceVerificationTokenIds = value; } + inline void SetIpamExternalResourceVerificationTokenIds(Aws::Vector&& value) { m_ipamExternalResourceVerificationTokenIdsHasBeenSet = true; m_ipamExternalResourceVerificationTokenIds = std::move(value); } + inline DescribeIpamExternalResourceVerificationTokensRequest& WithIpamExternalResourceVerificationTokenIds(const Aws::Vector& value) { SetIpamExternalResourceVerificationTokenIds(value); return *this;} + inline DescribeIpamExternalResourceVerificationTokensRequest& WithIpamExternalResourceVerificationTokenIds(Aws::Vector&& value) { SetIpamExternalResourceVerificationTokenIds(std::move(value)); return *this;} + inline DescribeIpamExternalResourceVerificationTokensRequest& AddIpamExternalResourceVerificationTokenIds(const Aws::String& value) { m_ipamExternalResourceVerificationTokenIdsHasBeenSet = true; m_ipamExternalResourceVerificationTokenIds.push_back(value); return *this; } + inline DescribeIpamExternalResourceVerificationTokensRequest& AddIpamExternalResourceVerificationTokenIds(Aws::String&& value) { m_ipamExternalResourceVerificationTokenIdsHasBeenSet = true; m_ipamExternalResourceVerificationTokenIds.push_back(std::move(value)); return *this; } + inline DescribeIpamExternalResourceVerificationTokensRequest& AddIpamExternalResourceVerificationTokenIds(const char* value) { m_ipamExternalResourceVerificationTokenIdsHasBeenSet = true; m_ipamExternalResourceVerificationTokenIds.push_back(value); return *this; } + ///@} + private: + + bool m_dryRun; + bool m_dryRunHasBeenSet = false; + + Aws::Vector m_filters; + bool m_filtersHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::Vector m_ipamExternalResourceVerificationTokenIds; + bool m_ipamExternalResourceVerificationTokenIdsHasBeenSet = false; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensResponse.h new file mode 100644 index 00000000000..002576124f2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeIpamExternalResourceVerificationTokensResponse.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Xml +{ + class XmlDocument; +} // namespace Xml +} // namespace Utils +namespace EC2 +{ +namespace Model +{ + class DescribeIpamExternalResourceVerificationTokensResponse + { + public: + AWS_EC2_API DescribeIpamExternalResourceVerificationTokensResponse(); + AWS_EC2_API DescribeIpamExternalResourceVerificationTokensResponse(const Aws::AmazonWebServiceResult& result); + AWS_EC2_API DescribeIpamExternalResourceVerificationTokensResponse& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The token to use to retrieve the next page of results. This value is + * null when there are no more results to return.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline DescribeIpamExternalResourceVerificationTokensResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline DescribeIpamExternalResourceVerificationTokensResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline DescribeIpamExternalResourceVerificationTokensResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

Verification tokens.

+ */ + inline const Aws::Vector& GetIpamExternalResourceVerificationTokens() const{ return m_ipamExternalResourceVerificationTokens; } + inline void SetIpamExternalResourceVerificationTokens(const Aws::Vector& value) { m_ipamExternalResourceVerificationTokens = value; } + inline void SetIpamExternalResourceVerificationTokens(Aws::Vector&& value) { m_ipamExternalResourceVerificationTokens = std::move(value); } + inline DescribeIpamExternalResourceVerificationTokensResponse& WithIpamExternalResourceVerificationTokens(const Aws::Vector& value) { SetIpamExternalResourceVerificationTokens(value); return *this;} + inline DescribeIpamExternalResourceVerificationTokensResponse& WithIpamExternalResourceVerificationTokens(Aws::Vector&& value) { SetIpamExternalResourceVerificationTokens(std::move(value)); return *this;} + inline DescribeIpamExternalResourceVerificationTokensResponse& AddIpamExternalResourceVerificationTokens(const IpamExternalResourceVerificationToken& value) { m_ipamExternalResourceVerificationTokens.push_back(value); return *this; } + inline DescribeIpamExternalResourceVerificationTokensResponse& AddIpamExternalResourceVerificationTokens(IpamExternalResourceVerificationToken&& value) { m_ipamExternalResourceVerificationTokens.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } + inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } + inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } + inline DescribeIpamExternalResourceVerificationTokensResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} + inline DescribeIpamExternalResourceVerificationTokensResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_nextToken; + + Aws::Vector m_ipamExternalResourceVerificationTokens; + + ResponseMetadata m_responseMetadata; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribePlacementGroupsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribePlacementGroupsRequest.h index 371ecc2817a..4333b47222f 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribePlacementGroupsRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribePlacementGroupsRequest.h @@ -83,8 +83,11 @@ namespace Model ///@{ /** - *

The names of the placement groups.

Default: Describes all your - * placement groups, or only those otherwise specified.

+ *

The names of the placement groups.

Constraints:

  • You + * can specify a name only if the placement group is owned by your account.

    + *
  • If a placement group is shared with your account, + * specifying the name results in an error. You must use the GroupId + * parameter instead.

*/ inline const Aws::Vector& GetGroupNames() const{ return m_groupNames; } inline bool GroupNamesHasBeenSet() const { return m_groupNamesHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverrides.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverrides.h index 828839ef1db..2722fce3899 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverrides.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverrides.h @@ -106,13 +106,17 @@ namespace Model ///@{ /** - *

The number of units provided by the specified instance type.

- *

When specifying weights, the price used in the lowest-price and - * price-capacity-optimized allocation strategies is per unit - * hour (where the instance price is divided by the specified weight). However, if - * all the specified weights are above the requested TargetCapacity, - * resulting in only 1 instance being launched, the price used is per - * instance hour.

+ *

The number of units provided by the specified instance type. These are the + * same units that you chose to set the target capacity in terms of instances, or a + * performance characteristic such as vCPUs, memory, or I/O.

If the target + * capacity divided by this value is not a whole number, Amazon EC2 rounds the + * number of instances to the next whole number. If this value is not specified, + * the default is 1.

When specifying weights, the price used in the + * lowest-price and price-capacity-optimized allocation + * strategies is per unit hour (where the instance price is divided by the + * specified weight). However, if all the specified weights are above the requested + * TargetCapacity, resulting in only 1 instance being launched, the + * price used is per instance hour.

*/ inline double GetWeightedCapacity() const{ return m_weightedCapacity; } inline bool WeightedCapacityHasBeenSet() const { return m_weightedCapacityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverridesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverridesRequest.h index 7de298bf35a..9ce3415c83c 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverridesRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/FleetLaunchTemplateOverridesRequest.h @@ -109,13 +109,17 @@ namespace Model ///@{ /** - *

The number of units provided by the specified instance type.

- *

When specifying weights, the price used in the lowest-price and - * price-capacity-optimized allocation strategies is per unit - * hour (where the instance price is divided by the specified weight). However, if - * all the specified weights are above the requested TargetCapacity, - * resulting in only 1 instance being launched, the price used is per - * instance hour.

+ *

The number of units provided by the specified instance type. These are the + * same units that you chose to set the target capacity in terms of instances, or a + * performance characteristic such as vCPUs, memory, or I/O.

If the target + * capacity divided by this value is not a whole number, Amazon EC2 rounds the + * number of instances to the next whole number. If this value is not specified, + * the default is 1.

When specifying weights, the price used in the + * lowest-price and price-capacity-optimized allocation + * strategies is per unit hour (where the instance price is divided by the + * specified weight). However, if all the specified weights are above the requested + * TargetCapacity, resulting in only 1 instance being launched, the + * price used is per instance hour.

*/ inline double GetWeightedCapacity() const{ return m_weightedCapacity; } inline bool WeightedCapacityHasBeenSet() const { return m_weightedCapacityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceMetadataDefaultsResponse.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceMetadataDefaultsResponse.h index 42e0b6a9b27..c8aa0f780e9 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceMetadataDefaultsResponse.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceMetadataDefaultsResponse.h @@ -47,7 +47,7 @@ namespace Model /** *

Indicates whether IMDSv2 is required.

  • optional * – IMDSv2 is optional, which means that you can use either IMDSv2 or IMDSv1.

    - *
  • required ��� IMDSv2 is required, which means that + *

  • required – IMDSv2 is required, which means that * IMDSv1 is disabled, and you must use IMDSv2.

*/ inline const HttpTokensState& GetHttpTokens() const{ return m_httpTokens; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamDiscoveredResourceCidr.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamDiscoveredResourceCidr.h index bcb758e5bd7..ea880a762a2 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamDiscoveredResourceCidr.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamDiscoveredResourceCidr.h @@ -180,8 +180,8 @@ namespace Model ///@{ /** - *

For elastic IP addresses, this is the status of an attached network - * interface.

+ *

For elastic network interfaces, this is the status of whether or not the + * elastic network interface is attached.

*/ inline const IpamNetworkInterfaceAttachmentStatus& GetNetworkInterfaceAttachmentStatus() const{ return m_networkInterfaceAttachmentStatus; } inline bool NetworkInterfaceAttachmentStatusHasBeenSet() const { return m_networkInterfaceAttachmentStatusHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationToken.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationToken.h new file mode 100644 index 00000000000..57474aab3e2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationToken.h @@ -0,0 +1,236 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Xml +{ + class XmlNode; +} // namespace Xml +} // namespace Utils +namespace EC2 +{ +namespace Model +{ + + /** + *

A verification token is an Amazon Web Services-generated random value that + * you can use to prove ownership of an external resource. For example, you can use + * a verification token to validate that you control a public IP address range when + * you bring an IP address range to Amazon Web Services (BYOIP).

See + * Also:

AWS + * API Reference

+ */ + class IpamExternalResourceVerificationToken + { + public: + AWS_EC2_API IpamExternalResourceVerificationToken(); + AWS_EC2_API IpamExternalResourceVerificationToken(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_EC2_API IpamExternalResourceVerificationToken& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + + AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; + AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; + + + ///@{ + /** + *

The ID of the token.

+ */ + inline const Aws::String& GetIpamExternalResourceVerificationTokenId() const{ return m_ipamExternalResourceVerificationTokenId; } + inline bool IpamExternalResourceVerificationTokenIdHasBeenSet() const { return m_ipamExternalResourceVerificationTokenIdHasBeenSet; } + inline void SetIpamExternalResourceVerificationTokenId(const Aws::String& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = value; } + inline void SetIpamExternalResourceVerificationTokenId(Aws::String&& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = std::move(value); } + inline void SetIpamExternalResourceVerificationTokenId(const char* value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId.assign(value); } + inline IpamExternalResourceVerificationToken& WithIpamExternalResourceVerificationTokenId(const Aws::String& value) { SetIpamExternalResourceVerificationTokenId(value); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamExternalResourceVerificationTokenId(Aws::String&& value) { SetIpamExternalResourceVerificationTokenId(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamExternalResourceVerificationTokenId(const char* value) { SetIpamExternalResourceVerificationTokenId(value); return *this;} + ///@} + + ///@{ + /** + *

Token ARN.

+ */ + inline const Aws::String& GetIpamExternalResourceVerificationTokenArn() const{ return m_ipamExternalResourceVerificationTokenArn; } + inline bool IpamExternalResourceVerificationTokenArnHasBeenSet() const { return m_ipamExternalResourceVerificationTokenArnHasBeenSet; } + inline void SetIpamExternalResourceVerificationTokenArn(const Aws::String& value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; m_ipamExternalResourceVerificationTokenArn = value; } + inline void SetIpamExternalResourceVerificationTokenArn(Aws::String&& value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; m_ipamExternalResourceVerificationTokenArn = std::move(value); } + inline void SetIpamExternalResourceVerificationTokenArn(const char* value) { m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; m_ipamExternalResourceVerificationTokenArn.assign(value); } + inline IpamExternalResourceVerificationToken& WithIpamExternalResourceVerificationTokenArn(const Aws::String& value) { SetIpamExternalResourceVerificationTokenArn(value); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamExternalResourceVerificationTokenArn(Aws::String&& value) { SetIpamExternalResourceVerificationTokenArn(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamExternalResourceVerificationTokenArn(const char* value) { SetIpamExternalResourceVerificationTokenArn(value); return *this;} + ///@} + + ///@{ + /** + *

The ID of the IPAM that created the token.

+ */ + inline const Aws::String& GetIpamId() const{ return m_ipamId; } + inline bool IpamIdHasBeenSet() const { return m_ipamIdHasBeenSet; } + inline void SetIpamId(const Aws::String& value) { m_ipamIdHasBeenSet = true; m_ipamId = value; } + inline void SetIpamId(Aws::String&& value) { m_ipamIdHasBeenSet = true; m_ipamId = std::move(value); } + inline void SetIpamId(const char* value) { m_ipamIdHasBeenSet = true; m_ipamId.assign(value); } + inline IpamExternalResourceVerificationToken& WithIpamId(const Aws::String& value) { SetIpamId(value); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamId(Aws::String&& value) { SetIpamId(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamId(const char* value) { SetIpamId(value); return *this;} + ///@} + + ///@{ + /** + *

ARN of the IPAM that created the token.

+ */ + inline const Aws::String& GetIpamArn() const{ return m_ipamArn; } + inline bool IpamArnHasBeenSet() const { return m_ipamArnHasBeenSet; } + inline void SetIpamArn(const Aws::String& value) { m_ipamArnHasBeenSet = true; m_ipamArn = value; } + inline void SetIpamArn(Aws::String&& value) { m_ipamArnHasBeenSet = true; m_ipamArn = std::move(value); } + inline void SetIpamArn(const char* value) { m_ipamArnHasBeenSet = true; m_ipamArn.assign(value); } + inline IpamExternalResourceVerificationToken& WithIpamArn(const Aws::String& value) { SetIpamArn(value); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamArn(Aws::String&& value) { SetIpamArn(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamArn(const char* value) { SetIpamArn(value); return *this;} + ///@} + + ///@{ + /** + *

Region of the IPAM that created the token.

+ */ + inline const Aws::String& GetIpamRegion() const{ return m_ipamRegion; } + inline bool IpamRegionHasBeenSet() const { return m_ipamRegionHasBeenSet; } + inline void SetIpamRegion(const Aws::String& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = value; } + inline void SetIpamRegion(Aws::String&& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = std::move(value); } + inline void SetIpamRegion(const char* value) { m_ipamRegionHasBeenSet = true; m_ipamRegion.assign(value); } + inline IpamExternalResourceVerificationToken& WithIpamRegion(const Aws::String& value) { SetIpamRegion(value); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamRegion(Aws::String&& value) { SetIpamRegion(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithIpamRegion(const char* value) { SetIpamRegion(value); return *this;} + ///@} + + ///@{ + /** + *

Token value.

+ */ + inline const Aws::String& GetTokenValue() const{ return m_tokenValue; } + inline bool TokenValueHasBeenSet() const { return m_tokenValueHasBeenSet; } + inline void SetTokenValue(const Aws::String& value) { m_tokenValueHasBeenSet = true; m_tokenValue = value; } + inline void SetTokenValue(Aws::String&& value) { m_tokenValueHasBeenSet = true; m_tokenValue = std::move(value); } + inline void SetTokenValue(const char* value) { m_tokenValueHasBeenSet = true; m_tokenValue.assign(value); } + inline IpamExternalResourceVerificationToken& WithTokenValue(const Aws::String& value) { SetTokenValue(value); return *this;} + inline IpamExternalResourceVerificationToken& WithTokenValue(Aws::String&& value) { SetTokenValue(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithTokenValue(const char* value) { SetTokenValue(value); return *this;} + ///@} + + ///@{ + /** + *

Token name.

+ */ + inline const Aws::String& GetTokenName() const{ return m_tokenName; } + inline bool TokenNameHasBeenSet() const { return m_tokenNameHasBeenSet; } + inline void SetTokenName(const Aws::String& value) { m_tokenNameHasBeenSet = true; m_tokenName = value; } + inline void SetTokenName(Aws::String&& value) { m_tokenNameHasBeenSet = true; m_tokenName = std::move(value); } + inline void SetTokenName(const char* value) { m_tokenNameHasBeenSet = true; m_tokenName.assign(value); } + inline IpamExternalResourceVerificationToken& WithTokenName(const Aws::String& value) { SetTokenName(value); return *this;} + inline IpamExternalResourceVerificationToken& WithTokenName(Aws::String&& value) { SetTokenName(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& WithTokenName(const char* value) { SetTokenName(value); return *this;} + ///@} + + ///@{ + /** + *

Token expiration.

+ */ + inline const Aws::Utils::DateTime& GetNotAfter() const{ return m_notAfter; } + inline bool NotAfterHasBeenSet() const { return m_notAfterHasBeenSet; } + inline void SetNotAfter(const Aws::Utils::DateTime& value) { m_notAfterHasBeenSet = true; m_notAfter = value; } + inline void SetNotAfter(Aws::Utils::DateTime&& value) { m_notAfterHasBeenSet = true; m_notAfter = std::move(value); } + inline IpamExternalResourceVerificationToken& WithNotAfter(const Aws::Utils::DateTime& value) { SetNotAfter(value); return *this;} + inline IpamExternalResourceVerificationToken& WithNotAfter(Aws::Utils::DateTime&& value) { SetNotAfter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Token status.

+ */ + inline const TokenState& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const TokenState& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(TokenState&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline IpamExternalResourceVerificationToken& WithStatus(const TokenState& value) { SetStatus(value); return *this;} + inline IpamExternalResourceVerificationToken& WithStatus(TokenState&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Token tags.

+ */ + inline const Aws::Vector& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline IpamExternalResourceVerificationToken& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} + inline IpamExternalResourceVerificationToken& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} + inline IpamExternalResourceVerificationToken& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } + inline IpamExternalResourceVerificationToken& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

Token state.

+ */ + inline const IpamExternalResourceVerificationTokenState& GetState() const{ return m_state; } + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + inline void SetState(const IpamExternalResourceVerificationTokenState& value) { m_stateHasBeenSet = true; m_state = value; } + inline void SetState(IpamExternalResourceVerificationTokenState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + inline IpamExternalResourceVerificationToken& WithState(const IpamExternalResourceVerificationTokenState& value) { SetState(value); return *this;} + inline IpamExternalResourceVerificationToken& WithState(IpamExternalResourceVerificationTokenState&& value) { SetState(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_ipamExternalResourceVerificationTokenId; + bool m_ipamExternalResourceVerificationTokenIdHasBeenSet = false; + + Aws::String m_ipamExternalResourceVerificationTokenArn; + bool m_ipamExternalResourceVerificationTokenArnHasBeenSet = false; + + Aws::String m_ipamId; + bool m_ipamIdHasBeenSet = false; + + Aws::String m_ipamArn; + bool m_ipamArnHasBeenSet = false; + + Aws::String m_ipamRegion; + bool m_ipamRegionHasBeenSet = false; + + Aws::String m_tokenValue; + bool m_tokenValueHasBeenSet = false; + + Aws::String m_tokenName; + bool m_tokenNameHasBeenSet = false; + + Aws::Utils::DateTime m_notAfter; + bool m_notAfterHasBeenSet = false; + + TokenState m_status; + bool m_statusHasBeenSet = false; + + Aws::Vector m_tags; + bool m_tagsHasBeenSet = false; + + IpamExternalResourceVerificationTokenState m_state; + bool m_stateHasBeenSet = false; + }; + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationTokenState.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationTokenState.h new file mode 100644 index 00000000000..a37de5b705f --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamExternalResourceVerificationTokenState.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace EC2 +{ +namespace Model +{ + enum class IpamExternalResourceVerificationTokenState + { + NOT_SET, + create_in_progress, + create_complete, + create_failed, + delete_in_progress, + delete_complete, + delete_failed + }; + +namespace IpamExternalResourceVerificationTokenStateMapper +{ +AWS_EC2_API IpamExternalResourceVerificationTokenState GetIpamExternalResourceVerificationTokenStateForName(const Aws::String& name); + +AWS_EC2_API Aws::String GetNameForIpamExternalResourceVerificationTokenState(IpamExternalResourceVerificationTokenState value); +} // namespace IpamExternalResourceVerificationTokenStateMapper +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamPool.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamPool.h index 942a4d62c07..4e40d9555b8 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamPool.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/IpamPool.h @@ -170,14 +170,16 @@ namespace Model ///@{ /** - *

The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services - * Region or, for IPAM IPv4 pools in the public scope, the network border group for - * an Amazon Web Services Local Zone where you want to make an IPAM pool available - * for allocations (The locale of the IPAM pool.

The locale for the pool should be one of + * the following:

If you choose an Amazon Web Services Region for + * locale that has not been configured as an operating Region for the IPAM, you'll + * get an error.

*/ inline const Aws::String& GetLocale() const{ return m_locale; } inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateOverrides.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateOverrides.h index b8d8a1a8cfc..477c819855f 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateOverrides.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/LaunchTemplateOverrides.h @@ -102,13 +102,17 @@ namespace Model ///@{ /** - *

The number of units provided by the specified instance type.

- *

When specifying weights, the price used in the lowest-price and - * price-capacity-optimized allocation strategies is per unit - * hour (where the instance price is divided by the specified weight). However, if - * all the specified weights are above the requested TargetCapacity, - * resulting in only 1 instance being launched, the price used is per - * instance hour.

+ *

The number of units provided by the specified instance type. These are the + * same units that you chose to set the target capacity in terms of instances, or a + * performance characteristic such as vCPUs, memory, or I/O.

If the target + * capacity divided by this value is not a whole number, Amazon EC2 rounds the + * number of instances to the next whole number. If this value is not specified, + * the default is 1.

When specifying weights, the price used in the + * lowestPrice and priceCapacityOptimized allocation + * strategies is per unit hour (where the instance price is divided by the + * specified weight). However, if all the specified weights are above the requested + * TargetCapacity, resulting in only 1 instance being launched, the + * price used is per instance hour.

*/ inline double GetWeightedCapacity() const{ return m_weightedCapacity; } inline bool WeightedCapacityHasBeenSet() const { return m_weightedCapacityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ProvisionIpamPoolCidrRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ProvisionIpamPoolCidrRequest.h index e3ed73af8d8..a70122f93ba 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ProvisionIpamPoolCidrRequest.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ProvisionIpamPoolCidrRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -84,8 +85,8 @@ namespace Model ///@{ /** *

A signed document that proves that you are authorized to bring a specified IP - * address range to Amazon using BYOIP. This option applies to public pools - * only.

+ * address range to Amazon using BYOIP. This option only applies to IPv4 and IPv6 + * pools in the public scope.

*/ inline const IpamCidrAuthorizationContext& GetCidrAuthorizationContext() const{ return m_cidrAuthorizationContext; } inline bool CidrAuthorizationContextHasBeenSet() const { return m_cidrAuthorizationContextHasBeenSet; } @@ -124,6 +125,35 @@ namespace Model inline ProvisionIpamPoolCidrRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} inline ProvisionIpamPoolCidrRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} ///@} + + ///@{ + /** + *

The method for verifying control of a public IP address range. Defaults to + * remarks-x509 if not specified. This option only applies to IPv4 and + * IPv6 pools in the public scope.

+ */ + inline const VerificationMethod& GetVerificationMethod() const{ return m_verificationMethod; } + inline bool VerificationMethodHasBeenSet() const { return m_verificationMethodHasBeenSet; } + inline void SetVerificationMethod(const VerificationMethod& value) { m_verificationMethodHasBeenSet = true; m_verificationMethod = value; } + inline void SetVerificationMethod(VerificationMethod&& value) { m_verificationMethodHasBeenSet = true; m_verificationMethod = std::move(value); } + inline ProvisionIpamPoolCidrRequest& WithVerificationMethod(const VerificationMethod& value) { SetVerificationMethod(value); return *this;} + inline ProvisionIpamPoolCidrRequest& WithVerificationMethod(VerificationMethod&& value) { SetVerificationMethod(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Verification token ID. This option only applies to IPv4 and IPv6 pools in the + * public scope.

+ */ + inline const Aws::String& GetIpamExternalResourceVerificationTokenId() const{ return m_ipamExternalResourceVerificationTokenId; } + inline bool IpamExternalResourceVerificationTokenIdHasBeenSet() const { return m_ipamExternalResourceVerificationTokenIdHasBeenSet; } + inline void SetIpamExternalResourceVerificationTokenId(const Aws::String& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = value; } + inline void SetIpamExternalResourceVerificationTokenId(Aws::String&& value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId = std::move(value); } + inline void SetIpamExternalResourceVerificationTokenId(const char* value) { m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; m_ipamExternalResourceVerificationTokenId.assign(value); } + inline ProvisionIpamPoolCidrRequest& WithIpamExternalResourceVerificationTokenId(const Aws::String& value) { SetIpamExternalResourceVerificationTokenId(value); return *this;} + inline ProvisionIpamPoolCidrRequest& WithIpamExternalResourceVerificationTokenId(Aws::String&& value) { SetIpamExternalResourceVerificationTokenId(std::move(value)); return *this;} + inline ProvisionIpamPoolCidrRequest& WithIpamExternalResourceVerificationTokenId(const char* value) { SetIpamExternalResourceVerificationTokenId(value); return *this;} + ///@} private: bool m_dryRun; @@ -143,6 +173,12 @@ namespace Model Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; + + VerificationMethod m_verificationMethod; + bool m_verificationMethodHasBeenSet = false; + + Aws::String m_ipamExternalResourceVerificationTokenId; + bool m_ipamExternalResourceVerificationTokenIdHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResourceType.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResourceType.h index 79bffba505c..eed24a7645c 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResourceType.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResourceType.h @@ -102,7 +102,8 @@ namespace Model vpc_encryption_control, ipam_resource_discovery, ipam_resource_discovery_association, - instance_connect_endpoint + instance_connect_endpoint, + ipam_external_resource_verification_token }; namespace ResourceTypeMapper diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h index bcbd5ee2a34..842df26c892 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SpotFleetLaunchSpecification.h @@ -300,7 +300,12 @@ namespace Model * performance characteristic such as vCPUs, memory, or I/O.

If the target * capacity divided by this value is not a whole number, Amazon EC2 rounds the * number of instances to the next whole number. If this value is not specified, - * the default is 1.

+ * the default is 1.

When specifying weights, the price used in the + * lowestPrice and priceCapacityOptimized allocation + * strategies is per unit hour (where the instance price is divided by the + * specified weight). However, if all the specified weights are above the requested + * TargetCapacity, resulting in only 1 instance being launched, the + * price used is per instance hour.

*/ inline double GetWeightedCapacity() const{ return m_weightedCapacity; } inline bool WeightedCapacityHasBeenSet() const { return m_weightedCapacityHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TokenState.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TokenState.h new file mode 100644 index 00000000000..dde838ee72a --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TokenState.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 EC2 +{ +namespace Model +{ + enum class TokenState + { + NOT_SET, + valid, + expired + }; + +namespace TokenStateMapper +{ +AWS_EC2_API TokenState GetTokenStateForName(const Aws::String& name); + +AWS_EC2_API Aws::String GetNameForTokenState(TokenState value); +} // namespace TokenStateMapper +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VerificationMethod.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VerificationMethod.h new file mode 100644 index 00000000000..52c9f688628 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VerificationMethod.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 EC2 +{ +namespace Model +{ + enum class VerificationMethod + { + NOT_SET, + remarks_x509, + dns_token + }; + +namespace VerificationMethodMapper +{ +AWS_EC2_API VerificationMethod GetVerificationMethodForName(const Aws::String& name); + +AWS_EC2_API Aws::String GetNameForVerificationMethod(VerificationMethod value); +} // namespace VerificationMethodMapper +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VolumeModification.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VolumeModification.h index b8e32b6c277..95b2d88a035 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VolumeModification.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/VolumeModification.h @@ -27,8 +27,7 @@ namespace Model { /** - *

Describes the modification status of an EBS volume.

If the volume has - * never been modified, some element values will be null.

See Also:

+ *

Describes the modification status of an EBS volume.

See Also:

* AWS * API Reference

@@ -60,8 +59,7 @@ namespace Model ///@{ /** - *

The current modification state. The modification state is null for unmodified - * volumes.

+ *

The current modification state.

*/ inline const VolumeModificationState& GetModificationState() const{ return m_modificationState; } inline bool ModificationStateHasBeenSet() const { return m_modificationStateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client.cpp index 6c38e4cba48..b566030d301 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client.cpp @@ -84,6 +84,7 @@ #include #include #include +#include #include #include #include @@ -105,7 +106,6 @@ #include #include #include -#include #include #include #include @@ -1912,6 +1912,32 @@ CopySnapshotOutcome EC2Client::CopySnapshot(const CopySnapshotRequest& request) {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateIpamExternalResourceVerificationTokenOutcome EC2Client::CreateIpamExternalResourceVerificationToken(const CreateIpamExternalResourceVerificationTokenRequest& request) const +{ + AWS_OPERATION_GUARD(CreateIpamExternalResourceVerificationToken); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> CreateIpamExternalResourceVerificationTokenOutcome { + 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, CreateIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateIpamExternalResourceVerificationTokenOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateCarrierGatewayOutcome EC2Client::CreateCarrierGateway(const CreateCarrierGatewayRequest& request) const { AWS_OPERATION_GUARD(CreateCarrierGateway); @@ -2458,32 +2484,6 @@ AssignPrivateNatGatewayAddressOutcome EC2Client::AssignPrivateNatGatewayAddress( {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -CreateRouteOutcome EC2Client::CreateRoute(const CreateRouteRequest& request) const -{ - AWS_OPERATION_GUARD(CreateRoute); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateRoute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateRoute, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, CreateRoute, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> CreateRouteOutcome { - 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, CreateRoute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return CreateRouteOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - CreateInstanceExportTaskOutcome EC2Client::CreateInstanceExportTask(const CreateInstanceExportTaskRequest& request) const { AWS_OPERATION_GUARD(CreateInstanceExportTask); diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client1.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client1.cpp index 172e7c3ea6e..207cc03784a 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client1.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client1.cpp @@ -60,7 +60,6 @@ #include #include #include -#include #include #include #include @@ -68,6 +67,7 @@ #include #include #include +#include #include #include #include @@ -99,12 +99,12 @@ #include #include #include -#include #include #include #include #include #include +#include #include #include #include @@ -1151,32 +1151,6 @@ DeleteInternetGatewayOutcome EC2Client::DeleteInternetGateway(const DeleteIntern {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DeleteVerifiedAccessGroupOutcome EC2Client::DeleteVerifiedAccessGroup(const DeleteVerifiedAccessGroupRequest& request) const -{ - AWS_OPERATION_GUARD(DeleteVerifiedAccessGroup); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> DeleteVerifiedAccessGroupOutcome { - 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, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DeleteVerifiedAccessGroupOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DeleteTrafficMirrorFilterOutcome EC2Client::DeleteTrafficMirrorFilter(const DeleteTrafficMirrorFilterRequest& request) const { AWS_OPERATION_GUARD(DeleteTrafficMirrorFilter); @@ -1359,6 +1333,32 @@ DeleteQueuedReservedInstancesOutcome EC2Client::DeleteQueuedReservedInstances(co {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteIpamExternalResourceVerificationTokenOutcome EC2Client::DeleteIpamExternalResourceVerificationToken(const DeleteIpamExternalResourceVerificationTokenRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteIpamExternalResourceVerificationToken); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DeleteIpamExternalResourceVerificationTokenOutcome { + 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, DeleteIpamExternalResourceVerificationToken, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteIpamExternalResourceVerificationTokenOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateVpnConnectionOutcome EC2Client::CreateVpnConnection(const CreateVpnConnectionRequest& request) const { AWS_OPERATION_GUARD(CreateVpnConnection); @@ -2165,32 +2165,6 @@ CreateTransitGatewayPrefixListReferenceOutcome EC2Client::CreateTransitGatewayPr {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DeleteVerifiedAccessEndpointOutcome EC2Client::DeleteVerifiedAccessEndpoint(const DeleteVerifiedAccessEndpointRequest& request) const -{ - AWS_OPERATION_GUARD(DeleteVerifiedAccessEndpoint); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> DeleteVerifiedAccessEndpointOutcome { - 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, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DeleteVerifiedAccessEndpointOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - CreateSubnetCidrReservationOutcome EC2Client::CreateSubnetCidrReservation(const CreateSubnetCidrReservationRequest& request) const { AWS_OPERATION_GUARD(CreateSubnetCidrReservation); @@ -2321,6 +2295,32 @@ CreateTransitGatewayRouteOutcome EC2Client::CreateTransitGatewayRoute(const Crea {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +CreateRouteOutcome EC2Client::CreateRoute(const CreateRouteRequest& request) const +{ + AWS_OPERATION_GUARD(CreateRoute); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, CreateRoute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, CreateRoute, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, CreateRoute, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> CreateRouteOutcome { + 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, CreateRoute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return CreateRouteOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + CreateTrafficMirrorSessionOutcome EC2Client::CreateTrafficMirrorSession(const CreateTrafficMirrorSessionRequest& request) const { AWS_OPERATION_GUARD(CreateTrafficMirrorSession); diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client2.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client2.cpp index 2c6c61e7c2f..3afa0a685af 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client2.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client2.cpp @@ -45,13 +45,14 @@ #include #include #include +#include #include #include #include #include #include -#include #include +#include #include #include #include @@ -70,7 +71,6 @@ #include #include #include -#include #include #include #include @@ -92,6 +92,7 @@ #include #include #include +#include #include #include #include @@ -102,7 +103,6 @@ #include #include #include -#include #include #include #include @@ -761,6 +761,32 @@ DescribeClientVpnEndpointsOutcome EC2Client::DescribeClientVpnEndpoints(const De {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeIpamExternalResourceVerificationTokensOutcome EC2Client::DescribeIpamExternalResourceVerificationTokens(const DescribeIpamExternalResourceVerificationTokensRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeIpamExternalResourceVerificationTokens); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeIpamExternalResourceVerificationTokens, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeIpamExternalResourceVerificationTokens, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeIpamExternalResourceVerificationTokens, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DescribeIpamExternalResourceVerificationTokensOutcome { + 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, DescribeIpamExternalResourceVerificationTokens, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeIpamExternalResourceVerificationTokensOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeImageAttributeOutcome EC2Client::DescribeImageAttribute(const DescribeImageAttributeRequest& request) const { AWS_OPERATION_GUARD(DescribeImageAttribute); @@ -891,52 +917,52 @@ DescribeFastLaunchImagesOutcome EC2Client::DescribeFastLaunchImages(const Descri {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DescribeNetworkInsightsAccessScopeAnalysesOutcome EC2Client::DescribeNetworkInsightsAccessScopeAnalyses(const DescribeNetworkInsightsAccessScopeAnalysesRequest& request) const +DescribeImportSnapshotTasksOutcome EC2Client::DescribeImportSnapshotTasks(const DescribeImportSnapshotTasksRequest& request) const { - AWS_OPERATION_GUARD(DescribeNetworkInsightsAccessScopeAnalyses); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_GUARD(DescribeImportSnapshotTasks); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_CHECK_PTR(meter, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), {{ 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( - [&]()-> DescribeNetworkInsightsAccessScopeAnalysesOutcome { + return TracingUtils::MakeCallWithTiming( + [&]()-> DescribeImportSnapshotTasksOutcome { 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, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DescribeNetworkInsightsAccessScopeAnalysesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeImportSnapshotTasksOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); }, TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DescribeImportSnapshotTasksOutcome EC2Client::DescribeImportSnapshotTasks(const DescribeImportSnapshotTasksRequest& request) const +DeleteVerifiedAccessGroupOutcome EC2Client::DeleteVerifiedAccessGroup(const DeleteVerifiedAccessGroupRequest& request) const { - AWS_OPERATION_GUARD(DescribeImportSnapshotTasks); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_GUARD(DeleteVerifiedAccessGroup); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_CHECK_PTR(meter, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::NOT_INITIALIZED); auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), {{ 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( - [&]()-> DescribeImportSnapshotTasksOutcome { + return TracingUtils::MakeCallWithTiming( + [&]()-> DeleteVerifiedAccessGroupOutcome { 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, DescribeImportSnapshotTasks, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DescribeImportSnapshotTasksOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteVerifiedAccessGroup, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteVerifiedAccessGroupOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); }, TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, @@ -1411,32 +1437,6 @@ DescribeIpamsOutcome EC2Client::DescribeIpams(const DescribeIpamsRequest& reques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DescribeNetworkInsightsAnalysesOutcome EC2Client::DescribeNetworkInsightsAnalyses(const DescribeNetworkInsightsAnalysesRequest& request) const -{ - AWS_OPERATION_GUARD(DescribeNetworkInsightsAnalyses); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> DescribeNetworkInsightsAnalysesOutcome { - 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, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DescribeNetworkInsightsAnalysesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DescribeHostReservationOfferingsOutcome EC2Client::DescribeHostReservationOfferings(const DescribeHostReservationOfferingsRequest& request) const { AWS_OPERATION_GUARD(DescribeHostReservationOfferings); @@ -1983,6 +1983,32 @@ DescribeKeyPairsOutcome EC2Client::DescribeKeyPairs(const DescribeKeyPairsReques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DeleteVerifiedAccessEndpointOutcome EC2Client::DeleteVerifiedAccessEndpoint(const DeleteVerifiedAccessEndpointRequest& request) const +{ + AWS_OPERATION_GUARD(DeleteVerifiedAccessEndpoint); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DeleteVerifiedAccessEndpointOutcome { + 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, DeleteVerifiedAccessEndpoint, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DeleteVerifiedAccessEndpointOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeInstanceTypesOutcome EC2Client::DescribeInstanceTypes(const DescribeInstanceTypesRequest& request) const { AWS_OPERATION_GUARD(DescribeInstanceTypes); @@ -2243,32 +2269,6 @@ DescribeByoipCidrsOutcome EC2Client::DescribeByoipCidrs(const DescribeByoipCidrs {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DescribeNetworkInsightsAccessScopesOutcome EC2Client::DescribeNetworkInsightsAccessScopes(const DescribeNetworkInsightsAccessScopesRequest& request) const -{ - AWS_OPERATION_GUARD(DescribeNetworkInsightsAccessScopes); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> DescribeNetworkInsightsAccessScopesOutcome { - 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, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DescribeNetworkInsightsAccessScopesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DescribeIpamByoasnOutcome EC2Client::DescribeIpamByoasn(const DescribeIpamByoasnRequest& request) const { AWS_OPERATION_GUARD(DescribeIpamByoasn); diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client3.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client3.cpp index c137dfa1080..572777b1e51 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client3.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client3.cpp @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -46,7 +45,6 @@ #include #include #include -#include #include #include #include @@ -56,6 +54,7 @@ #include #include #include +#include #include #include #include @@ -69,6 +68,7 @@ #include #include #include +#include #include #include #include @@ -101,8 +101,8 @@ #include #include #include -#include #include +#include #include #include #include @@ -163,32 +163,6 @@ DescribeNetworkInterfaceAttributeOutcome EC2Client::DescribeNetworkInterfaceAttr {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DisassociateIpamByoasnOutcome EC2Client::DisassociateIpamByoasn(const DisassociateIpamByoasnRequest& request) const -{ - AWS_OPERATION_GUARD(DisassociateIpamByoasn); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateIpamByoasn, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateIpamByoasn, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DisassociateIpamByoasn, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> DisassociateIpamByoasnOutcome { - 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, DisassociateIpamByoasn, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DisassociateIpamByoasnOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DescribeTrafficMirrorFilterRulesOutcome EC2Client::DescribeTrafficMirrorFilterRules(const DescribeTrafficMirrorFilterRulesRequest& request) const { AWS_OPERATION_GUARD(DescribeTrafficMirrorFilterRules); @@ -787,32 +761,6 @@ DescribeSecurityGroupReferencesOutcome EC2Client::DescribeSecurityGroupReference {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DisassociateIpamResourceDiscoveryOutcome EC2Client::DisassociateIpamResourceDiscovery(const DisassociateIpamResourceDiscoveryRequest& request) const -{ - AWS_OPERATION_GUARD(DisassociateIpamResourceDiscovery); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> DisassociateIpamResourceDiscoveryOutcome { - 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, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DisassociateIpamResourceDiscoveryOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - DisableIpamOrganizationAdminAccountOutcome EC2Client::DisableIpamOrganizationAdminAccount(const DisableIpamOrganizationAdminAccountRequest& request) const { AWS_OPERATION_GUARD(DisableIpamOrganizationAdminAccount); @@ -1047,6 +995,32 @@ DescribeVerifiedAccessInstanceLoggingConfigurationsOutcome EC2Client::DescribeVe {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeNetworkInsightsAccessScopeAnalysesOutcome EC2Client::DescribeNetworkInsightsAccessScopeAnalyses(const DescribeNetworkInsightsAccessScopeAnalysesRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeNetworkInsightsAccessScopeAnalyses); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DescribeNetworkInsightsAccessScopeAnalysesOutcome { + 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, DescribeNetworkInsightsAccessScopeAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeNetworkInsightsAccessScopeAnalysesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeVerifiedAccessGroupsOutcome EC2Client::DescribeVerifiedAccessGroups(const DescribeVerifiedAccessGroupsRequest& request) const { AWS_OPERATION_GUARD(DescribeVerifiedAccessGroups); @@ -1385,6 +1359,32 @@ DescribeVpcEndpointServicePermissionsOutcome EC2Client::DescribeVpcEndpointServi {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DescribeNetworkInsightsAnalysesOutcome EC2Client::DescribeNetworkInsightsAnalyses(const DescribeNetworkInsightsAnalysesRequest& request) const +{ + AWS_OPERATION_GUARD(DescribeNetworkInsightsAnalyses); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DescribeNetworkInsightsAnalysesOutcome { + 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, DescribeNetworkInsightsAnalyses, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeNetworkInsightsAnalysesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + DescribeNetworkInsightsPathsOutcome EC2Client::DescribeNetworkInsightsPaths(const DescribeNetworkInsightsPathsRequest& request) const { AWS_OPERATION_GUARD(DescribeNetworkInsightsPaths); @@ -2217,52 +2217,52 @@ DescribeVolumeStatusOutcome EC2Client::DescribeVolumeStatus(const DescribeVolume {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DisassociateNatGatewayAddressOutcome EC2Client::DisassociateNatGatewayAddress(const DisassociateNatGatewayAddressRequest& request) const +DisassociateAddressOutcome EC2Client::DisassociateAddress(const DisassociateAddressRequest& request) const { - AWS_OPERATION_GUARD(DisassociateNatGatewayAddress); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_GUARD(DisassociateAddress); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_CHECK_PTR(meter, DisassociateAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), {{ 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( - [&]()-> DisassociateNatGatewayAddressOutcome { + return TracingUtils::MakeCallWithTiming( + [&]()-> DisassociateAddressOutcome { 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, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DisassociateNatGatewayAddressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DisassociateAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DisassociateAddressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); }, TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -DisassociateAddressOutcome EC2Client::DisassociateAddress(const DisassociateAddressRequest& request) const +DescribeNetworkInsightsAccessScopesOutcome EC2Client::DescribeNetworkInsightsAccessScopes(const DescribeNetworkInsightsAccessScopesRequest& request) const { - AWS_OPERATION_GUARD(DisassociateAddress); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_GUARD(DescribeNetworkInsightsAccessScopes); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, DisassociateAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_CHECK_PTR(meter, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::NOT_INITIALIZED); auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), {{ 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( - [&]()-> DisassociateAddressOutcome { + return TracingUtils::MakeCallWithTiming( + [&]()-> DescribeNetworkInsightsAccessScopesOutcome { 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, DisassociateAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return DisassociateAddressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DescribeNetworkInsightsAccessScopes, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DescribeNetworkInsightsAccessScopesOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); }, TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client4.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client4.cpp index 8a8ad2b3248..31b145f314f 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client4.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client4.cpp @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -44,6 +45,7 @@ #include #include #include +#include #include #include #include @@ -53,7 +55,6 @@ #include #include #include -#include #include #include #include @@ -96,8 +97,7 @@ #include #include #include -#include -#include +#include #include #include #include @@ -189,6 +189,32 @@ GetSpotPlacementScoresOutcome EC2Client::GetSpotPlacementScores(const GetSpotPla {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DisassociateIpamByoasnOutcome EC2Client::DisassociateIpamByoasn(const DisassociateIpamByoasnRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateIpamByoasn); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateIpamByoasn, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateIpamByoasn, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateIpamByoasn, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DisassociateIpamByoasnOutcome { + 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, DisassociateIpamByoasn, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DisassociateIpamByoasnOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ModifyDefaultCreditSpecificationOutcome EC2Client::ModifyDefaultCreditSpecification(const ModifyDefaultCreditSpecificationRequest& request) const { AWS_OPERATION_GUARD(ModifyDefaultCreditSpecification); @@ -735,6 +761,32 @@ ModifyAvailabilityZoneGroupOutcome EC2Client::ModifyAvailabilityZoneGroup(const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +DisassociateIpamResourceDiscoveryOutcome EC2Client::DisassociateIpamResourceDiscovery(const DisassociateIpamResourceDiscoveryRequest& request) const +{ + AWS_OPERATION_GUARD(DisassociateIpamResourceDiscovery); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> DisassociateIpamResourceDiscoveryOutcome { + 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, DisassociateIpamResourceDiscovery, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DisassociateIpamResourceDiscoveryOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ImportVolumeOutcome EC2Client::ImportVolume(const ImportVolumeRequest& request) const { AWS_OPERATION_GUARD(ImportVolume); @@ -969,32 +1021,6 @@ EnableIpamOrganizationAdminAccountOutcome EC2Client::EnableIpamOrganizationAdmin {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -ModifyImageAttributeOutcome EC2Client::ModifyImageAttribute(const ModifyImageAttributeRequest& request) const -{ - AWS_OPERATION_GUARD(ModifyImageAttribute); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyImageAttribute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyImageAttribute, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ModifyImageAttribute, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> ModifyImageAttributeOutcome { - 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, ModifyImageAttribute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return ModifyImageAttributeOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - GetVpnTunnelReplacementStatusOutcome EC2Client::GetVpnTunnelReplacementStatus(const GetVpnTunnelReplacementStatusRequest& request) const { AWS_OPERATION_GUARD(GetVpnTunnelReplacementStatus); @@ -2087,52 +2113,26 @@ EnableImageDeregistrationProtectionOutcome EC2Client::EnableImageDeregistrationP {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -ModifyIdentityIdFormatOutcome EC2Client::ModifyIdentityIdFormat(const ModifyIdentityIdFormatRequest& request) const -{ - AWS_OPERATION_GUARD(ModifyIdentityIdFormat); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyIdentityIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyIdentityIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ModifyIdentityIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> ModifyIdentityIdFormatOutcome { - 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, ModifyIdentityIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return ModifyIdentityIdFormatOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - -ModifyIdFormatOutcome EC2Client::ModifyIdFormat(const ModifyIdFormatRequest& request) const +DisassociateNatGatewayAddressOutcome EC2Client::DisassociateNatGatewayAddress(const DisassociateNatGatewayAddressRequest& request) const { - AWS_OPERATION_GUARD(ModifyIdFormat); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_GUARD(DisassociateNatGatewayAddress); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, ModifyIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); + AWS_OPERATION_CHECK_PTR(meter, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::NOT_INITIALIZED); auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), {{ 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( - [&]()-> ModifyIdFormatOutcome { + return TracingUtils::MakeCallWithTiming( + [&]()-> DisassociateNatGatewayAddressOutcome { 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, ModifyIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return ModifyIdFormatOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DisassociateNatGatewayAddress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return DisassociateNatGatewayAddressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); }, TracingUtils::SMITHY_CLIENT_DURATION_METRIC, *meter, diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp index 7b51f01cc5f..06174f00fda 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include @@ -47,7 +46,6 @@ #include #include #include -#include #include #include #include @@ -60,6 +58,7 @@ #include #include #include +#include #include #include #include @@ -83,7 +82,6 @@ #include #include #include -#include #include #include #include @@ -106,6 +104,8 @@ #include #include #include +#include +#include #include #include #include @@ -527,32 +527,6 @@ PurchaseReservedInstancesOfferingOutcome EC2Client::PurchaseReservedInstancesOff {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -RevokeSecurityGroupEgressOutcome EC2Client::RevokeSecurityGroupEgress(const RevokeSecurityGroupEgressRequest& request) const -{ - AWS_OPERATION_GUARD(RevokeSecurityGroupEgress); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> RevokeSecurityGroupEgressOutcome { - 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, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return RevokeSecurityGroupEgressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - ModifyInstanceMetadataOptionsOutcome EC2Client::ModifyInstanceMetadataOptions(const ModifyInstanceMetadataOptionsRequest& request) const { AWS_OPERATION_GUARD(ModifyInstanceMetadataOptions); @@ -813,32 +787,6 @@ ResetNetworkInterfaceAttributeOutcome EC2Client::ResetNetworkInterfaceAttribute( {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -RestoreSnapshotTierOutcome EC2Client::RestoreSnapshotTier(const RestoreSnapshotTierRequest& request) const -{ - AWS_OPERATION_GUARD(RestoreSnapshotTier); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, RestoreSnapshotTier, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RestoreSnapshotTier, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, RestoreSnapshotTier, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> RestoreSnapshotTierOutcome { - 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, RestoreSnapshotTier, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return RestoreSnapshotTierOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - ModifyVpcTenancyOutcome EC2Client::ModifyVpcTenancy(const ModifyVpcTenancyRequest& request) const { AWS_OPERATION_GUARD(ModifyVpcTenancy); @@ -1151,6 +1099,32 @@ ReleaseIpamPoolAllocationOutcome EC2Client::ReleaseIpamPoolAllocation(const Rele {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ModifyImageAttributeOutcome EC2Client::ModifyImageAttribute(const ModifyImageAttributeRequest& request) const +{ + AWS_OPERATION_GUARD(ModifyImageAttribute); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyImageAttribute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyImageAttribute, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ModifyImageAttribute, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> ModifyImageAttributeOutcome { + 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, ModifyImageAttribute, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ModifyImageAttributeOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + RejectTransitGatewayVpcAttachmentOutcome EC2Client::RejectTransitGatewayVpcAttachment(const RejectTransitGatewayVpcAttachmentRequest& request) const { AWS_OPERATION_GUARD(RejectTransitGatewayVpcAttachment); @@ -1749,32 +1723,6 @@ ModifyIpamOutcome EC2Client::ModifyIpam(const ModifyIpamRequest& request) const {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } -RevokeClientVpnIngressOutcome EC2Client::RevokeClientVpnIngress(const RevokeClientVpnIngressRequest& request) const -{ - AWS_OPERATION_GUARD(RevokeClientVpnIngress); - AWS_OPERATION_CHECK_PTR(m_endpointProvider, RevokeClientVpnIngress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); - AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RevokeClientVpnIngress, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); - auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); - AWS_OPERATION_CHECK_PTR(meter, RevokeClientVpnIngress, CoreErrors, CoreErrors::NOT_INITIALIZED); - auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), - {{ 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( - [&]()-> RevokeClientVpnIngressOutcome { - 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, RevokeClientVpnIngress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); - return RevokeClientVpnIngressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); - }, - TracingUtils::SMITHY_CLIENT_DURATION_METRIC, - *meter, - {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); -} - ModifyInstanceCreditSpecificationOutcome EC2Client::ModifyInstanceCreditSpecification(const ModifyInstanceCreditSpecificationRequest& request) const { AWS_OPERATION_GUARD(ModifyInstanceCreditSpecification); @@ -2347,6 +2295,58 @@ ModifyIpamScopeOutcome EC2Client::ModifyIpamScope(const ModifyIpamScopeRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ModifyIdentityIdFormatOutcome EC2Client::ModifyIdentityIdFormat(const ModifyIdentityIdFormatRequest& request) const +{ + AWS_OPERATION_GUARD(ModifyIdentityIdFormat); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyIdentityIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyIdentityIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ModifyIdentityIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> ModifyIdentityIdFormatOutcome { + 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, ModifyIdentityIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ModifyIdentityIdFormatOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ModifyIdFormatOutcome EC2Client::ModifyIdFormat(const ModifyIdFormatRequest& request) const +{ + AWS_OPERATION_GUARD(ModifyIdFormat); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ModifyIdFormat, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> ModifyIdFormatOutcome { + 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, ModifyIdFormat, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return ModifyIdFormatOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ModifySnapshotTierOutcome EC2Client::ModifySnapshotTier(const ModifySnapshotTierRequest& request) const { AWS_OPERATION_GUARD(ModifySnapshotTier); diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp index 7bb836ef853..e0d65907c40 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp @@ -33,8 +33,10 @@ #include #include #include +#include #include #include +#include #include #include #include @@ -43,6 +45,7 @@ #include #include #include +#include #include @@ -371,6 +374,32 @@ SendDiagnosticInterruptOutcome EC2Client::SendDiagnosticInterrupt(const SendDiag {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +RevokeClientVpnIngressOutcome EC2Client::RevokeClientVpnIngress(const RevokeClientVpnIngressRequest& request) const +{ + AWS_OPERATION_GUARD(RevokeClientVpnIngress); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RevokeClientVpnIngress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RevokeClientVpnIngress, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RevokeClientVpnIngress, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> RevokeClientVpnIngressOutcome { + 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, RevokeClientVpnIngress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return RevokeClientVpnIngressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + StartVpcEndpointServicePrivateDnsVerificationOutcome EC2Client::StartVpcEndpointServicePrivateDnsVerification(const StartVpcEndpointServicePrivateDnsVerificationRequest& request) const { AWS_OPERATION_GUARD(StartVpcEndpointServicePrivateDnsVerification); @@ -423,6 +452,32 @@ SearchTransitGatewayMulticastGroupsOutcome EC2Client::SearchTransitGatewayMultic {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +RestoreSnapshotTierOutcome EC2Client::RestoreSnapshotTier(const RestoreSnapshotTierRequest& request) const +{ + AWS_OPERATION_GUARD(RestoreSnapshotTier); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RestoreSnapshotTier, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RestoreSnapshotTier, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RestoreSnapshotTier, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> RestoreSnapshotTierOutcome { + 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, RestoreSnapshotTier, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return RestoreSnapshotTierOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateSecurityGroupRuleDescriptionsEgressOutcome EC2Client::UpdateSecurityGroupRuleDescriptionsEgress(const UpdateSecurityGroupRuleDescriptionsEgressRequest& request) const { AWS_OPERATION_GUARD(UpdateSecurityGroupRuleDescriptionsEgress); @@ -631,3 +686,29 @@ StartInstancesOutcome EC2Client::StartInstances(const StartInstancesRequest& req {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +RevokeSecurityGroupEgressOutcome EC2Client::RevokeSecurityGroupEgress(const RevokeSecurityGroupEgressRequest& request) const +{ + AWS_OPERATION_GUARD(RevokeSecurityGroupEgress); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(), + {{ 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( + [&]()-> RevokeSecurityGroupEgressOutcome { + 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, RevokeSecurityGroupEgress, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + return RevokeSecurityGroupEgressOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenRequest.cpp new file mode 100644 index 00000000000..b3248b9acf2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenRequest.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::EC2::Model; +using namespace Aws::Utils; + +CreateIpamExternalResourceVerificationTokenRequest::CreateIpamExternalResourceVerificationTokenRequest() : + m_dryRun(false), + m_dryRunHasBeenSet(false), + m_ipamIdHasBeenSet(false), + m_tagSpecificationsHasBeenSet(false), + m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), + m_clientTokenHasBeenSet(true) +{ +} + +Aws::String CreateIpamExternalResourceVerificationTokenRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=CreateIpamExternalResourceVerificationToken&"; + if(m_dryRunHasBeenSet) + { + ss << "DryRun=" << std::boolalpha << m_dryRun << "&"; + } + + if(m_ipamIdHasBeenSet) + { + ss << "IpamId=" << StringUtils::URLEncode(m_ipamId.c_str()) << "&"; + } + + if(m_tagSpecificationsHasBeenSet) + { + unsigned tagSpecificationsCount = 1; + for(auto& item : m_tagSpecifications) + { + item.OutputToStream(ss, "TagSpecification.", tagSpecificationsCount, ""); + tagSpecificationsCount++; + } + } + + if(m_clientTokenHasBeenSet) + { + ss << "ClientToken=" << StringUtils::URLEncode(m_clientToken.c_str()) << "&"; + } + + ss << "Version=2016-11-15"; + return ss.str(); +} + + +void CreateIpamExternalResourceVerificationTokenRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenResponse.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenResponse.cpp new file mode 100644 index 00000000000..11e105bafd0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/CreateIpamExternalResourceVerificationTokenResponse.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 + +using namespace Aws::EC2::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +CreateIpamExternalResourceVerificationTokenResponse::CreateIpamExternalResourceVerificationTokenResponse() +{ +} + +CreateIpamExternalResourceVerificationTokenResponse::CreateIpamExternalResourceVerificationTokenResponse(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +CreateIpamExternalResourceVerificationTokenResponse& CreateIpamExternalResourceVerificationTokenResponse::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "CreateIpamExternalResourceVerificationTokenResponse")) + { + resultNode = rootNode.FirstChild("CreateIpamExternalResourceVerificationTokenResponse"); + } + + if(!resultNode.IsNull()) + { + XmlNode ipamExternalResourceVerificationTokenNode = resultNode.FirstChild("ipamExternalResourceVerificationToken"); + if(!ipamExternalResourceVerificationTokenNode.IsNull()) + { + m_ipamExternalResourceVerificationToken = ipamExternalResourceVerificationTokenNode; + } + } + + if (!rootNode.IsNull()) { + XmlNode requestIdNode = rootNode.FirstChild("requestId"); + if (!requestIdNode.IsNull()) + { + m_responseMetadata.SetRequestId(StringUtils::Trim(requestIdNode.GetText().c_str())); + } + AWS_LOGSTREAM_DEBUG("Aws::EC2::Model::CreateIpamExternalResourceVerificationTokenResponse", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenRequest.cpp new file mode 100644 index 00000000000..22ddb1b28f1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenRequest.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::EC2::Model; +using namespace Aws::Utils; + +DeleteIpamExternalResourceVerificationTokenRequest::DeleteIpamExternalResourceVerificationTokenRequest() : + m_dryRun(false), + m_dryRunHasBeenSet(false), + m_ipamExternalResourceVerificationTokenIdHasBeenSet(false) +{ +} + +Aws::String DeleteIpamExternalResourceVerificationTokenRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=DeleteIpamExternalResourceVerificationToken&"; + if(m_dryRunHasBeenSet) + { + ss << "DryRun=" << std::boolalpha << m_dryRun << "&"; + } + + if(m_ipamExternalResourceVerificationTokenIdHasBeenSet) + { + ss << "IpamExternalResourceVerificationTokenId=" << StringUtils::URLEncode(m_ipamExternalResourceVerificationTokenId.c_str()) << "&"; + } + + ss << "Version=2016-11-15"; + return ss.str(); +} + + +void DeleteIpamExternalResourceVerificationTokenRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenResponse.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenResponse.cpp new file mode 100644 index 00000000000..6b9ac392bd0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/DeleteIpamExternalResourceVerificationTokenResponse.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 + +using namespace Aws::EC2::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +DeleteIpamExternalResourceVerificationTokenResponse::DeleteIpamExternalResourceVerificationTokenResponse() +{ +} + +DeleteIpamExternalResourceVerificationTokenResponse::DeleteIpamExternalResourceVerificationTokenResponse(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DeleteIpamExternalResourceVerificationTokenResponse& DeleteIpamExternalResourceVerificationTokenResponse::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "DeleteIpamExternalResourceVerificationTokenResponse")) + { + resultNode = rootNode.FirstChild("DeleteIpamExternalResourceVerificationTokenResponse"); + } + + if(!resultNode.IsNull()) + { + XmlNode ipamExternalResourceVerificationTokenNode = resultNode.FirstChild("ipamExternalResourceVerificationToken"); + if(!ipamExternalResourceVerificationTokenNode.IsNull()) + { + m_ipamExternalResourceVerificationToken = ipamExternalResourceVerificationTokenNode; + } + } + + if (!rootNode.IsNull()) { + XmlNode requestIdNode = rootNode.FirstChild("requestId"); + if (!requestIdNode.IsNull()) + { + m_responseMetadata.SetRequestId(StringUtils::Trim(requestIdNode.GetText().c_str())); + } + AWS_LOGSTREAM_DEBUG("Aws::EC2::Model::DeleteIpamExternalResourceVerificationTokenResponse", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensRequest.cpp new file mode 100644 index 00000000000..919ab8aed29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensRequest.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::EC2::Model; +using namespace Aws::Utils; + +DescribeIpamExternalResourceVerificationTokensRequest::DescribeIpamExternalResourceVerificationTokensRequest() : + m_dryRun(false), + m_dryRunHasBeenSet(false), + m_filtersHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_ipamExternalResourceVerificationTokenIdsHasBeenSet(false) +{ +} + +Aws::String DescribeIpamExternalResourceVerificationTokensRequest::SerializePayload() const +{ + Aws::StringStream ss; + ss << "Action=DescribeIpamExternalResourceVerificationTokens&"; + if(m_dryRunHasBeenSet) + { + ss << "DryRun=" << std::boolalpha << m_dryRun << "&"; + } + + if(m_filtersHasBeenSet) + { + unsigned filtersCount = 1; + for(auto& item : m_filters) + { + item.OutputToStream(ss, "Filter.", filtersCount, ""); + filtersCount++; + } + } + + if(m_nextTokenHasBeenSet) + { + ss << "NextToken=" << StringUtils::URLEncode(m_nextToken.c_str()) << "&"; + } + + if(m_maxResultsHasBeenSet) + { + ss << "MaxResults=" << m_maxResults << "&"; + } + + if(m_ipamExternalResourceVerificationTokenIdsHasBeenSet) + { + unsigned ipamExternalResourceVerificationTokenIdsCount = 1; + for(auto& item : m_ipamExternalResourceVerificationTokenIds) + { + ss << "IpamExternalResourceVerificationTokenId." << ipamExternalResourceVerificationTokenIdsCount << "=" + << StringUtils::URLEncode(item.c_str()) << "&"; + ipamExternalResourceVerificationTokenIdsCount++; + } + } + + ss << "Version=2016-11-15"; + return ss.str(); +} + + +void DescribeIpamExternalResourceVerificationTokensRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const +{ + uri.SetQueryString(SerializePayload()); +} diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensResponse.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensResponse.cpp new file mode 100644 index 00000000000..c667dfe2f50 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/DescribeIpamExternalResourceVerificationTokensResponse.cpp @@ -0,0 +1,68 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +#include + +using namespace Aws::EC2::Model; +using namespace Aws::Utils::Xml; +using namespace Aws::Utils::Logging; +using namespace Aws::Utils; +using namespace Aws; + +DescribeIpamExternalResourceVerificationTokensResponse::DescribeIpamExternalResourceVerificationTokensResponse() +{ +} + +DescribeIpamExternalResourceVerificationTokensResponse::DescribeIpamExternalResourceVerificationTokensResponse(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +DescribeIpamExternalResourceVerificationTokensResponse& DescribeIpamExternalResourceVerificationTokensResponse::operator =(const Aws::AmazonWebServiceResult& result) +{ + const XmlDocument& xmlDocument = result.GetPayload(); + XmlNode rootNode = xmlDocument.GetRootElement(); + XmlNode resultNode = rootNode; + if (!rootNode.IsNull() && (rootNode.GetName() != "DescribeIpamExternalResourceVerificationTokensResponse")) + { + resultNode = rootNode.FirstChild("DescribeIpamExternalResourceVerificationTokensResponse"); + } + + if(!resultNode.IsNull()) + { + XmlNode nextTokenNode = resultNode.FirstChild("nextToken"); + if(!nextTokenNode.IsNull()) + { + m_nextToken = Aws::Utils::Xml::DecodeEscapedXmlText(nextTokenNode.GetText()); + } + XmlNode ipamExternalResourceVerificationTokensNode = resultNode.FirstChild("ipamExternalResourceVerificationTokenSet"); + if(!ipamExternalResourceVerificationTokensNode.IsNull()) + { + XmlNode ipamExternalResourceVerificationTokensMember = ipamExternalResourceVerificationTokensNode.FirstChild("item"); + while(!ipamExternalResourceVerificationTokensMember.IsNull()) + { + m_ipamExternalResourceVerificationTokens.push_back(ipamExternalResourceVerificationTokensMember); + ipamExternalResourceVerificationTokensMember = ipamExternalResourceVerificationTokensMember.NextNode("item"); + } + + } + } + + if (!rootNode.IsNull()) { + XmlNode requestIdNode = rootNode.FirstChild("requestId"); + if (!requestIdNode.IsNull()) + { + m_responseMetadata.SetRequestId(StringUtils::Trim(requestIdNode.GetText().c_str())); + } + AWS_LOGSTREAM_DEBUG("Aws::EC2::Model::DescribeIpamExternalResourceVerificationTokensResponse", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() ); + } + return *this; +} diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationToken.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationToken.cpp new file mode 100644 index 00000000000..b3fe725b6b6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationToken.cpp @@ -0,0 +1,250 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Utils::Xml; +using namespace Aws::Utils; + +namespace Aws +{ +namespace EC2 +{ +namespace Model +{ + +IpamExternalResourceVerificationToken::IpamExternalResourceVerificationToken() : + m_ipamExternalResourceVerificationTokenIdHasBeenSet(false), + m_ipamExternalResourceVerificationTokenArnHasBeenSet(false), + m_ipamIdHasBeenSet(false), + m_ipamArnHasBeenSet(false), + m_ipamRegionHasBeenSet(false), + m_tokenValueHasBeenSet(false), + m_tokenNameHasBeenSet(false), + m_notAfterHasBeenSet(false), + m_status(TokenState::NOT_SET), + m_statusHasBeenSet(false), + m_tagsHasBeenSet(false), + m_state(IpamExternalResourceVerificationTokenState::NOT_SET), + m_stateHasBeenSet(false) +{ +} + +IpamExternalResourceVerificationToken::IpamExternalResourceVerificationToken(const XmlNode& xmlNode) + : IpamExternalResourceVerificationToken() +{ + *this = xmlNode; +} + +IpamExternalResourceVerificationToken& IpamExternalResourceVerificationToken::operator =(const XmlNode& xmlNode) +{ + XmlNode resultNode = xmlNode; + + if(!resultNode.IsNull()) + { + XmlNode ipamExternalResourceVerificationTokenIdNode = resultNode.FirstChild("ipamExternalResourceVerificationTokenId"); + if(!ipamExternalResourceVerificationTokenIdNode.IsNull()) + { + m_ipamExternalResourceVerificationTokenId = Aws::Utils::Xml::DecodeEscapedXmlText(ipamExternalResourceVerificationTokenIdNode.GetText()); + m_ipamExternalResourceVerificationTokenIdHasBeenSet = true; + } + XmlNode ipamExternalResourceVerificationTokenArnNode = resultNode.FirstChild("ipamExternalResourceVerificationTokenArn"); + if(!ipamExternalResourceVerificationTokenArnNode.IsNull()) + { + m_ipamExternalResourceVerificationTokenArn = Aws::Utils::Xml::DecodeEscapedXmlText(ipamExternalResourceVerificationTokenArnNode.GetText()); + m_ipamExternalResourceVerificationTokenArnHasBeenSet = true; + } + XmlNode ipamIdNode = resultNode.FirstChild("ipamId"); + if(!ipamIdNode.IsNull()) + { + m_ipamId = Aws::Utils::Xml::DecodeEscapedXmlText(ipamIdNode.GetText()); + m_ipamIdHasBeenSet = true; + } + XmlNode ipamArnNode = resultNode.FirstChild("ipamArn"); + if(!ipamArnNode.IsNull()) + { + m_ipamArn = Aws::Utils::Xml::DecodeEscapedXmlText(ipamArnNode.GetText()); + m_ipamArnHasBeenSet = true; + } + XmlNode ipamRegionNode = resultNode.FirstChild("ipamRegion"); + if(!ipamRegionNode.IsNull()) + { + m_ipamRegion = Aws::Utils::Xml::DecodeEscapedXmlText(ipamRegionNode.GetText()); + m_ipamRegionHasBeenSet = true; + } + XmlNode tokenValueNode = resultNode.FirstChild("tokenValue"); + if(!tokenValueNode.IsNull()) + { + m_tokenValue = Aws::Utils::Xml::DecodeEscapedXmlText(tokenValueNode.GetText()); + m_tokenValueHasBeenSet = true; + } + XmlNode tokenNameNode = resultNode.FirstChild("tokenName"); + if(!tokenNameNode.IsNull()) + { + m_tokenName = Aws::Utils::Xml::DecodeEscapedXmlText(tokenNameNode.GetText()); + m_tokenNameHasBeenSet = true; + } + XmlNode notAfterNode = resultNode.FirstChild("notAfter"); + if(!notAfterNode.IsNull()) + { + m_notAfter = DateTime(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(notAfterNode.GetText()).c_str()).c_str(), Aws::Utils::DateFormat::ISO_8601); + m_notAfterHasBeenSet = true; + } + XmlNode statusNode = resultNode.FirstChild("status"); + if(!statusNode.IsNull()) + { + m_status = TokenStateMapper::GetTokenStateForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(statusNode.GetText()).c_str()).c_str()); + m_statusHasBeenSet = true; + } + XmlNode tagsNode = resultNode.FirstChild("tagSet"); + if(!tagsNode.IsNull()) + { + XmlNode tagsMember = tagsNode.FirstChild("item"); + while(!tagsMember.IsNull()) + { + m_tags.push_back(tagsMember); + tagsMember = tagsMember.NextNode("item"); + } + + m_tagsHasBeenSet = true; + } + XmlNode stateNode = resultNode.FirstChild("state"); + if(!stateNode.IsNull()) + { + m_state = IpamExternalResourceVerificationTokenStateMapper::GetIpamExternalResourceVerificationTokenStateForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(stateNode.GetText()).c_str()).c_str()); + m_stateHasBeenSet = true; + } + } + + return *this; +} + +void IpamExternalResourceVerificationToken::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const +{ + if(m_ipamExternalResourceVerificationTokenIdHasBeenSet) + { + oStream << location << index << locationValue << ".IpamExternalResourceVerificationTokenId=" << StringUtils::URLEncode(m_ipamExternalResourceVerificationTokenId.c_str()) << "&"; + } + + if(m_ipamExternalResourceVerificationTokenArnHasBeenSet) + { + oStream << location << index << locationValue << ".IpamExternalResourceVerificationTokenArn=" << StringUtils::URLEncode(m_ipamExternalResourceVerificationTokenArn.c_str()) << "&"; + } + + if(m_ipamIdHasBeenSet) + { + oStream << location << index << locationValue << ".IpamId=" << StringUtils::URLEncode(m_ipamId.c_str()) << "&"; + } + + if(m_ipamArnHasBeenSet) + { + oStream << location << index << locationValue << ".IpamArn=" << StringUtils::URLEncode(m_ipamArn.c_str()) << "&"; + } + + if(m_ipamRegionHasBeenSet) + { + oStream << location << index << locationValue << ".IpamRegion=" << StringUtils::URLEncode(m_ipamRegion.c_str()) << "&"; + } + + if(m_tokenValueHasBeenSet) + { + oStream << location << index << locationValue << ".TokenValue=" << StringUtils::URLEncode(m_tokenValue.c_str()) << "&"; + } + + if(m_tokenNameHasBeenSet) + { + oStream << location << index << locationValue << ".TokenName=" << StringUtils::URLEncode(m_tokenName.c_str()) << "&"; + } + + if(m_notAfterHasBeenSet) + { + oStream << location << index << locationValue << ".NotAfter=" << StringUtils::URLEncode(m_notAfter.ToGmtString(Aws::Utils::DateFormat::ISO_8601).c_str()) << "&"; + } + + if(m_statusHasBeenSet) + { + oStream << location << index << locationValue << ".Status=" << TokenStateMapper::GetNameForTokenState(m_status) << "&"; + } + + if(m_tagsHasBeenSet) + { + unsigned tagsIdx = 1; + for(auto& item : m_tags) + { + Aws::StringStream tagsSs; + tagsSs << location << index << locationValue << ".TagSet." << tagsIdx++; + item.OutputToStream(oStream, tagsSs.str().c_str()); + } + } + + if(m_stateHasBeenSet) + { + oStream << location << index << locationValue << ".State=" << IpamExternalResourceVerificationTokenStateMapper::GetNameForIpamExternalResourceVerificationTokenState(m_state) << "&"; + } + +} + +void IpamExternalResourceVerificationToken::OutputToStream(Aws::OStream& oStream, const char* location) const +{ + if(m_ipamExternalResourceVerificationTokenIdHasBeenSet) + { + oStream << location << ".IpamExternalResourceVerificationTokenId=" << StringUtils::URLEncode(m_ipamExternalResourceVerificationTokenId.c_str()) << "&"; + } + if(m_ipamExternalResourceVerificationTokenArnHasBeenSet) + { + oStream << location << ".IpamExternalResourceVerificationTokenArn=" << StringUtils::URLEncode(m_ipamExternalResourceVerificationTokenArn.c_str()) << "&"; + } + if(m_ipamIdHasBeenSet) + { + oStream << location << ".IpamId=" << StringUtils::URLEncode(m_ipamId.c_str()) << "&"; + } + if(m_ipamArnHasBeenSet) + { + oStream << location << ".IpamArn=" << StringUtils::URLEncode(m_ipamArn.c_str()) << "&"; + } + if(m_ipamRegionHasBeenSet) + { + oStream << location << ".IpamRegion=" << StringUtils::URLEncode(m_ipamRegion.c_str()) << "&"; + } + if(m_tokenValueHasBeenSet) + { + oStream << location << ".TokenValue=" << StringUtils::URLEncode(m_tokenValue.c_str()) << "&"; + } + if(m_tokenNameHasBeenSet) + { + oStream << location << ".TokenName=" << StringUtils::URLEncode(m_tokenName.c_str()) << "&"; + } + if(m_notAfterHasBeenSet) + { + oStream << location << ".NotAfter=" << StringUtils::URLEncode(m_notAfter.ToGmtString(Aws::Utils::DateFormat::ISO_8601).c_str()) << "&"; + } + if(m_statusHasBeenSet) + { + oStream << location << ".Status=" << TokenStateMapper::GetNameForTokenState(m_status) << "&"; + } + if(m_tagsHasBeenSet) + { + unsigned tagsIdx = 1; + for(auto& item : m_tags) + { + Aws::StringStream tagsSs; + tagsSs << location << ".TagSet." << tagsIdx++; + item.OutputToStream(oStream, tagsSs.str().c_str()); + } + } + if(m_stateHasBeenSet) + { + oStream << location << ".State=" << IpamExternalResourceVerificationTokenStateMapper::GetNameForIpamExternalResourceVerificationTokenState(m_state) << "&"; + } +} + +} // namespace Model +} // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationTokenState.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationTokenState.cpp new file mode 100644 index 00000000000..45ddd055211 --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/IpamExternalResourceVerificationTokenState.cpp @@ -0,0 +1,100 @@ +/** + * 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 EC2 + { + namespace Model + { + namespace IpamExternalResourceVerificationTokenStateMapper + { + + static const int create_in_progress_HASH = HashingUtils::HashString("create-in-progress"); + static const int create_complete_HASH = HashingUtils::HashString("create-complete"); + static const int create_failed_HASH = HashingUtils::HashString("create-failed"); + static const int delete_in_progress_HASH = HashingUtils::HashString("delete-in-progress"); + static const int delete_complete_HASH = HashingUtils::HashString("delete-complete"); + static const int delete_failed_HASH = HashingUtils::HashString("delete-failed"); + + + IpamExternalResourceVerificationTokenState GetIpamExternalResourceVerificationTokenStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == create_in_progress_HASH) + { + return IpamExternalResourceVerificationTokenState::create_in_progress; + } + else if (hashCode == create_complete_HASH) + { + return IpamExternalResourceVerificationTokenState::create_complete; + } + else if (hashCode == create_failed_HASH) + { + return IpamExternalResourceVerificationTokenState::create_failed; + } + else if (hashCode == delete_in_progress_HASH) + { + return IpamExternalResourceVerificationTokenState::delete_in_progress; + } + else if (hashCode == delete_complete_HASH) + { + return IpamExternalResourceVerificationTokenState::delete_complete; + } + else if (hashCode == delete_failed_HASH) + { + return IpamExternalResourceVerificationTokenState::delete_failed; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IpamExternalResourceVerificationTokenState::NOT_SET; + } + + Aws::String GetNameForIpamExternalResourceVerificationTokenState(IpamExternalResourceVerificationTokenState enumValue) + { + switch(enumValue) + { + case IpamExternalResourceVerificationTokenState::NOT_SET: + return {}; + case IpamExternalResourceVerificationTokenState::create_in_progress: + return "create-in-progress"; + case IpamExternalResourceVerificationTokenState::create_complete: + return "create-complete"; + case IpamExternalResourceVerificationTokenState::create_failed: + return "create-failed"; + case IpamExternalResourceVerificationTokenState::delete_in_progress: + return "delete-in-progress"; + case IpamExternalResourceVerificationTokenState::delete_complete: + return "delete-complete"; + case IpamExternalResourceVerificationTokenState::delete_failed: + return "delete-failed"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IpamExternalResourceVerificationTokenStateMapper + } // namespace Model + } // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ProvisionIpamPoolCidrRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ProvisionIpamPoolCidrRequest.cpp index bc90e4c8fe6..331cce60848 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/ProvisionIpamPoolCidrRequest.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/ProvisionIpamPoolCidrRequest.cpp @@ -19,7 +19,10 @@ ProvisionIpamPoolCidrRequest::ProvisionIpamPoolCidrRequest() : m_netmaskLength(0), m_netmaskLengthHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), - m_clientTokenHasBeenSet(true) + m_clientTokenHasBeenSet(true), + m_verificationMethod(VerificationMethod::NOT_SET), + m_verificationMethodHasBeenSet(false), + m_ipamExternalResourceVerificationTokenIdHasBeenSet(false) { } @@ -57,6 +60,16 @@ Aws::String ProvisionIpamPoolCidrRequest::SerializePayload() const ss << "ClientToken=" << StringUtils::URLEncode(m_clientToken.c_str()) << "&"; } + if(m_verificationMethodHasBeenSet) + { + ss << "VerificationMethod=" << VerificationMethodMapper::GetNameForVerificationMethod(m_verificationMethod) << "&"; + } + + if(m_ipamExternalResourceVerificationTokenIdHasBeenSet) + { + ss << "IpamExternalResourceVerificationTokenId=" << StringUtils::URLEncode(m_ipamExternalResourceVerificationTokenId.c_str()) << "&"; + } + ss << "Version=2016-11-15"; return ss.str(); } diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ResourceType.cpp index c7653e72f8a..432fe06b563 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/ResourceType.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/ResourceType.cpp @@ -107,6 +107,7 @@ namespace Aws static const int ipam_resource_discovery_HASH = HashingUtils::HashString("ipam-resource-discovery"); static const int ipam_resource_discovery_association_HASH = HashingUtils::HashString("ipam-resource-discovery-association"); static const int instance_connect_endpoint_HASH = HashingUtils::HashString("instance-connect-endpoint"); + static const int ipam_external_resource_verification_token_HASH = HashingUtils::HashString("ipam-external-resource-verification-token"); ResourceType GetResourceTypeForName(const Aws::String& name) @@ -460,6 +461,10 @@ namespace Aws { return ResourceType::instance_connect_endpoint; } + else if (hashCode == ipam_external_resource_verification_token_HASH) + { + return ResourceType::ipam_external_resource_verification_token; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -650,6 +655,8 @@ namespace Aws return "ipam-resource-discovery-association"; case ResourceType::instance_connect_endpoint: return "instance-connect-endpoint"; + case ResourceType::ipam_external_resource_verification_token: + return "ipam-external-resource-verification-token"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/TokenState.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/TokenState.cpp new file mode 100644 index 00000000000..10addd7dfec --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/TokenState.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace EC2 + { + namespace Model + { + namespace TokenStateMapper + { + + static const int valid_HASH = HashingUtils::HashString("valid"); + static const int expired_HASH = HashingUtils::HashString("expired"); + + + TokenState GetTokenStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == valid_HASH) + { + return TokenState::valid; + } + else if (hashCode == expired_HASH) + { + return TokenState::expired; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TokenState::NOT_SET; + } + + Aws::String GetNameForTokenState(TokenState enumValue) + { + switch(enumValue) + { + case TokenState::NOT_SET: + return {}; + case TokenState::valid: + return "valid"; + case TokenState::expired: + return "expired"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TokenStateMapper + } // namespace Model + } // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/VerificationMethod.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/VerificationMethod.cpp new file mode 100644 index 00000000000..4684fb6c99a --- /dev/null +++ b/generated/src/aws-cpp-sdk-ec2/source/model/VerificationMethod.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace EC2 + { + namespace Model + { + namespace VerificationMethodMapper + { + + static const int remarks_x509_HASH = HashingUtils::HashString("remarks-x509"); + static const int dns_token_HASH = HashingUtils::HashString("dns-token"); + + + VerificationMethod GetVerificationMethodForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == remarks_x509_HASH) + { + return VerificationMethod::remarks_x509; + } + else if (hashCode == dns_token_HASH) + { + return VerificationMethod::dns_token; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return VerificationMethod::NOT_SET; + } + + Aws::String GetNameForVerificationMethod(VerificationMethod enumValue) + { + switch(enumValue) + { + case VerificationMethod::NOT_SET: + return {}; + case VerificationMethod::remarks_x509: + return "remarks-x509"; + case VerificationMethod::dns_token: + return "dns-token"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace VerificationMethodMapper + } // namespace Model + } // namespace EC2 +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CatalogConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CatalogConfiguration.h new file mode 100644 index 00000000000..7f6cc3cc57c --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CatalogConfiguration.h @@ -0,0 +1,66 @@ +/** + * 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 Firehose +{ +namespace Model +{ + + /** + *

Describes the containers where the destination Apache Iceberg Tables are + * persisted.

Amazon Data Firehose is in preview release and is subject to + * change.

See Also:

AWS + * API Reference

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

Specifies the Glue catalog ARN indentifier of the destination Apache Iceberg + * Tables. You must specify the ARN in the format + * arn:aws:glue:region:account-id:catalog.

Amazon Data + * Firehose is in preview release and is subject to change.

+ */ + inline const Aws::String& GetCatalogARN() const{ return m_catalogARN; } + inline bool CatalogARNHasBeenSet() const { return m_catalogARNHasBeenSet; } + inline void SetCatalogARN(const Aws::String& value) { m_catalogARNHasBeenSet = true; m_catalogARN = value; } + inline void SetCatalogARN(Aws::String&& value) { m_catalogARNHasBeenSet = true; m_catalogARN = std::move(value); } + inline void SetCatalogARN(const char* value) { m_catalogARNHasBeenSet = true; m_catalogARN.assign(value); } + inline CatalogConfiguration& WithCatalogARN(const Aws::String& value) { SetCatalogARN(value); return *this;} + inline CatalogConfiguration& WithCatalogARN(Aws::String&& value) { SetCatalogARN(std::move(value)); return *this;} + inline CatalogConfiguration& WithCatalogARN(const char* value) { SetCatalogARN(value); return *this;} + ///@} + private: + + Aws::String m_catalogARN; + bool m_catalogARNHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CreateDeliveryStreamRequest.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CreateDeliveryStreamRequest.h index 9186f3ea8ad..4e0f27f5989 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CreateDeliveryStreamRequest.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/CreateDeliveryStreamRequest.h @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -249,6 +250,19 @@ namespace Model inline CreateDeliveryStreamRequest& WithSnowflakeDestinationConfiguration(const SnowflakeDestinationConfiguration& value) { SetSnowflakeDestinationConfiguration(value); return *this;} inline CreateDeliveryStreamRequest& WithSnowflakeDestinationConfiguration(SnowflakeDestinationConfiguration&& value) { SetSnowflakeDestinationConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Configure Apache Iceberg Tables destination.

Amazon Data Firehose is + * in preview release and is subject to change.

+ */ + inline const IcebergDestinationConfiguration& GetIcebergDestinationConfiguration() const{ return m_icebergDestinationConfiguration; } + inline bool IcebergDestinationConfigurationHasBeenSet() const { return m_icebergDestinationConfigurationHasBeenSet; } + inline void SetIcebergDestinationConfiguration(const IcebergDestinationConfiguration& value) { m_icebergDestinationConfigurationHasBeenSet = true; m_icebergDestinationConfiguration = value; } + inline void SetIcebergDestinationConfiguration(IcebergDestinationConfiguration&& value) { m_icebergDestinationConfigurationHasBeenSet = true; m_icebergDestinationConfiguration = std::move(value); } + inline CreateDeliveryStreamRequest& WithIcebergDestinationConfiguration(const IcebergDestinationConfiguration& value) { SetIcebergDestinationConfiguration(value); return *this;} + inline CreateDeliveryStreamRequest& WithIcebergDestinationConfiguration(IcebergDestinationConfiguration&& value) { SetIcebergDestinationConfiguration(std::move(value)); return *this;} + ///@} private: Aws::String m_deliveryStreamName; @@ -292,6 +306,9 @@ namespace Model SnowflakeDestinationConfiguration m_snowflakeDestinationConfiguration; bool m_snowflakeDestinationConfigurationHasBeenSet = false; + + IcebergDestinationConfiguration m_icebergDestinationConfiguration; + bool m_icebergDestinationConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationDescription.h index 05862f7747f..3ecf3a7f544 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationDescription.h @@ -15,6 +15,7 @@ #include #include #include +#include #include namespace Aws @@ -168,6 +169,19 @@ namespace Model inline DestinationDescription& WithAmazonOpenSearchServerlessDestinationDescription(const AmazonOpenSearchServerlessDestinationDescription& value) { SetAmazonOpenSearchServerlessDestinationDescription(value); return *this;} inline DestinationDescription& WithAmazonOpenSearchServerlessDestinationDescription(AmazonOpenSearchServerlessDestinationDescription&& value) { SetAmazonOpenSearchServerlessDestinationDescription(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Describes a destination in Apache Iceberg Tables.

Amazon Data + * Firehose is in preview release and is subject to change.

+ */ + inline const IcebergDestinationDescription& GetIcebergDestinationDescription() const{ return m_icebergDestinationDescription; } + inline bool IcebergDestinationDescriptionHasBeenSet() const { return m_icebergDestinationDescriptionHasBeenSet; } + inline void SetIcebergDestinationDescription(const IcebergDestinationDescription& value) { m_icebergDestinationDescriptionHasBeenSet = true; m_icebergDestinationDescription = value; } + inline void SetIcebergDestinationDescription(IcebergDestinationDescription&& value) { m_icebergDestinationDescriptionHasBeenSet = true; m_icebergDestinationDescription = std::move(value); } + inline DestinationDescription& WithIcebergDestinationDescription(const IcebergDestinationDescription& value) { SetIcebergDestinationDescription(value); return *this;} + inline DestinationDescription& WithIcebergDestinationDescription(IcebergDestinationDescription&& value) { SetIcebergDestinationDescription(std::move(value)); return *this;} + ///@} private: Aws::String m_destinationId; @@ -199,6 +213,9 @@ namespace Model AmazonOpenSearchServerlessDestinationDescription m_amazonOpenSearchServerlessDestinationDescription; bool m_amazonOpenSearchServerlessDestinationDescriptionHasBeenSet = false; + + IcebergDestinationDescription m_icebergDestinationDescription; + bool m_icebergDestinationDescriptionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationTableConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationTableConfiguration.h new file mode 100644 index 00000000000..e3666c94c42 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/DestinationTableConfiguration.h @@ -0,0 +1,123 @@ +/** + * 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 Firehose +{ +namespace Model +{ + + /** + *

Describes the configuration of a destination in Apache Iceberg Tables.

+ *

Amazon Data Firehose is in preview release and is subject to + * change.

See Also:

AWS + * API Reference

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

Specifies the name of the Apache Iceberg Table.

Amazon Data Firehose + * is in preview release and is subject to change.

+ */ + inline const Aws::String& GetDestinationTableName() const{ return m_destinationTableName; } + inline bool DestinationTableNameHasBeenSet() const { return m_destinationTableNameHasBeenSet; } + inline void SetDestinationTableName(const Aws::String& value) { m_destinationTableNameHasBeenSet = true; m_destinationTableName = value; } + inline void SetDestinationTableName(Aws::String&& value) { m_destinationTableNameHasBeenSet = true; m_destinationTableName = std::move(value); } + inline void SetDestinationTableName(const char* value) { m_destinationTableNameHasBeenSet = true; m_destinationTableName.assign(value); } + inline DestinationTableConfiguration& WithDestinationTableName(const Aws::String& value) { SetDestinationTableName(value); return *this;} + inline DestinationTableConfiguration& WithDestinationTableName(Aws::String&& value) { SetDestinationTableName(std::move(value)); return *this;} + inline DestinationTableConfiguration& WithDestinationTableName(const char* value) { SetDestinationTableName(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the Apache Iceberg database.

Amazon Data Firehose is in + * preview release and is subject to change.

+ */ + inline const Aws::String& GetDestinationDatabaseName() const{ return m_destinationDatabaseName; } + inline bool DestinationDatabaseNameHasBeenSet() const { return m_destinationDatabaseNameHasBeenSet; } + inline void SetDestinationDatabaseName(const Aws::String& value) { m_destinationDatabaseNameHasBeenSet = true; m_destinationDatabaseName = value; } + inline void SetDestinationDatabaseName(Aws::String&& value) { m_destinationDatabaseNameHasBeenSet = true; m_destinationDatabaseName = std::move(value); } + inline void SetDestinationDatabaseName(const char* value) { m_destinationDatabaseNameHasBeenSet = true; m_destinationDatabaseName.assign(value); } + inline DestinationTableConfiguration& WithDestinationDatabaseName(const Aws::String& value) { SetDestinationDatabaseName(value); return *this;} + inline DestinationTableConfiguration& WithDestinationDatabaseName(Aws::String&& value) { SetDestinationDatabaseName(std::move(value)); return *this;} + inline DestinationTableConfiguration& WithDestinationDatabaseName(const char* value) { SetDestinationDatabaseName(value); return *this;} + ///@} + + ///@{ + /** + *

A list of unique keys for a given Apache Iceberg table. Firehose will use + * these for running Create/Update/Delete operations on the given Iceberg table. + *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const Aws::Vector& GetUniqueKeys() const{ return m_uniqueKeys; } + inline bool UniqueKeysHasBeenSet() const { return m_uniqueKeysHasBeenSet; } + inline void SetUniqueKeys(const Aws::Vector& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys = value; } + inline void SetUniqueKeys(Aws::Vector&& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys = std::move(value); } + inline DestinationTableConfiguration& WithUniqueKeys(const Aws::Vector& value) { SetUniqueKeys(value); return *this;} + inline DestinationTableConfiguration& WithUniqueKeys(Aws::Vector&& value) { SetUniqueKeys(std::move(value)); return *this;} + inline DestinationTableConfiguration& AddUniqueKeys(const Aws::String& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys.push_back(value); return *this; } + inline DestinationTableConfiguration& AddUniqueKeys(Aws::String&& value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys.push_back(std::move(value)); return *this; } + inline DestinationTableConfiguration& AddUniqueKeys(const char* value) { m_uniqueKeysHasBeenSet = true; m_uniqueKeys.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The table specific S3 error output prefix. All the errors that occurred + * while delivering to this table will be prefixed with this value in S3 + * destination.

Amazon Data Firehose is in preview release and is subject + * to change.

+ */ + inline const Aws::String& GetS3ErrorOutputPrefix() const{ return m_s3ErrorOutputPrefix; } + inline bool S3ErrorOutputPrefixHasBeenSet() const { return m_s3ErrorOutputPrefixHasBeenSet; } + inline void SetS3ErrorOutputPrefix(const Aws::String& value) { m_s3ErrorOutputPrefixHasBeenSet = true; m_s3ErrorOutputPrefix = value; } + inline void SetS3ErrorOutputPrefix(Aws::String&& value) { m_s3ErrorOutputPrefixHasBeenSet = true; m_s3ErrorOutputPrefix = std::move(value); } + inline void SetS3ErrorOutputPrefix(const char* value) { m_s3ErrorOutputPrefixHasBeenSet = true; m_s3ErrorOutputPrefix.assign(value); } + inline DestinationTableConfiguration& WithS3ErrorOutputPrefix(const Aws::String& value) { SetS3ErrorOutputPrefix(value); return *this;} + inline DestinationTableConfiguration& WithS3ErrorOutputPrefix(Aws::String&& value) { SetS3ErrorOutputPrefix(std::move(value)); return *this;} + inline DestinationTableConfiguration& WithS3ErrorOutputPrefix(const char* value) { SetS3ErrorOutputPrefix(value); return *this;} + ///@} + private: + + Aws::String m_destinationTableName; + bool m_destinationTableNameHasBeenSet = false; + + Aws::String m_destinationDatabaseName; + bool m_destinationDatabaseNameHasBeenSet = false; + + Aws::Vector m_uniqueKeys; + bool m_uniqueKeysHasBeenSet = false; + + Aws::String m_s3ErrorOutputPrefix; + bool m_s3ErrorOutputPrefixHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationConfiguration.h new file mode 100644 index 00000000000..f1b6a6aaf6a --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationConfiguration.h @@ -0,0 +1,191 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Firehose +{ +namespace Model +{ + + /** + *

Specifies the destination configure settings for Apache Iceberg Table.

+ *

Amazon Data Firehose is in preview release and is subject to + * change.

See Also:

AWS + * API Reference

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

Provides a list of DestinationTableConfigurations which + * Firehose uses to deliver data to Apache Iceberg tables.

Amazon Data + * Firehose is in preview release and is subject to change.

+ */ + inline const Aws::Vector& GetDestinationTableConfigurationList() const{ return m_destinationTableConfigurationList; } + inline bool DestinationTableConfigurationListHasBeenSet() const { return m_destinationTableConfigurationListHasBeenSet; } + inline void SetDestinationTableConfigurationList(const Aws::Vector& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = value; } + inline void SetDestinationTableConfigurationList(Aws::Vector&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = std::move(value); } + inline IcebergDestinationConfiguration& WithDestinationTableConfigurationList(const Aws::Vector& value) { SetDestinationTableConfigurationList(value); return *this;} + inline IcebergDestinationConfiguration& WithDestinationTableConfigurationList(Aws::Vector&& value) { SetDestinationTableConfigurationList(std::move(value)); return *this;} + inline IcebergDestinationConfiguration& AddDestinationTableConfigurationList(const DestinationTableConfiguration& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.push_back(value); return *this; } + inline IcebergDestinationConfiguration& AddDestinationTableConfigurationList(DestinationTableConfiguration&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; } + inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } + inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } + inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } + inline IcebergDestinationConfiguration& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;} + inline IcebergDestinationConfiguration& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; } + inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; } + inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; } + inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); } + inline IcebergDestinationConfiguration& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;} + inline IcebergDestinationConfiguration& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } + inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } + inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } + inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } + inline IcebergDestinationConfiguration& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} + inline IcebergDestinationConfiguration& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Describes how Firehose will backup records. Currently,Firehose only supports + * FailedDataOnly for preview.

Amazon Data Firehose is in + * preview release and is subject to change.

+ */ + inline const IcebergS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; } + inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; } + inline void SetS3BackupMode(const IcebergS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; } + inline void SetS3BackupMode(IcebergS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); } + inline IcebergDestinationConfiguration& WithS3BackupMode(const IcebergS3BackupMode& value) { SetS3BackupMode(value); return *this;} + inline IcebergDestinationConfiguration& WithS3BackupMode(IcebergS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const RetryOptions& GetRetryOptions() const{ return m_retryOptions; } + inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; } + inline void SetRetryOptions(const RetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; } + inline void SetRetryOptions(RetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); } + inline IcebergDestinationConfiguration& WithRetryOptions(const RetryOptions& value) { SetRetryOptions(value); return *this;} + inline IcebergDestinationConfiguration& WithRetryOptions(RetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the Apache Iceberg tables role.

+ *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const Aws::String& GetRoleARN() const{ return m_roleARN; } + inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } + inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } + inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } + inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } + inline IcebergDestinationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} + inline IcebergDestinationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} + inline IcebergDestinationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} + ///@} + + ///@{ + /** + *

Configuration describing where the destination Apache Iceberg Tables are + * persisted.

Amazon Data Firehose is in preview release and is subject to + * change.

+ */ + inline const CatalogConfiguration& GetCatalogConfiguration() const{ return m_catalogConfiguration; } + inline bool CatalogConfigurationHasBeenSet() const { return m_catalogConfigurationHasBeenSet; } + inline void SetCatalogConfiguration(const CatalogConfiguration& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = value; } + inline void SetCatalogConfiguration(CatalogConfiguration&& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = std::move(value); } + inline IcebergDestinationConfiguration& WithCatalogConfiguration(const CatalogConfiguration& value) { SetCatalogConfiguration(value); return *this;} + inline IcebergDestinationConfiguration& WithCatalogConfiguration(CatalogConfiguration&& value) { SetCatalogConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; } + inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; } + inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; } + inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); } + inline IcebergDestinationConfiguration& WithS3Configuration(const S3DestinationConfiguration& value) { SetS3Configuration(value); return *this;} + inline IcebergDestinationConfiguration& WithS3Configuration(S3DestinationConfiguration&& value) { SetS3Configuration(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_destinationTableConfigurationList; + bool m_destinationTableConfigurationListHasBeenSet = false; + + BufferingHints m_bufferingHints; + bool m_bufferingHintsHasBeenSet = false; + + CloudWatchLoggingOptions m_cloudWatchLoggingOptions; + bool m_cloudWatchLoggingOptionsHasBeenSet = false; + + ProcessingConfiguration m_processingConfiguration; + bool m_processingConfigurationHasBeenSet = false; + + IcebergS3BackupMode m_s3BackupMode; + bool m_s3BackupModeHasBeenSet = false; + + RetryOptions m_retryOptions; + bool m_retryOptionsHasBeenSet = false; + + Aws::String m_roleARN; + bool m_roleARNHasBeenSet = false; + + CatalogConfiguration m_catalogConfiguration; + bool m_catalogConfigurationHasBeenSet = false; + + S3DestinationConfiguration m_s3Configuration; + bool m_s3ConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationDescription.h new file mode 100644 index 00000000000..3fb31f99943 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationDescription.h @@ -0,0 +1,190 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Firehose +{ +namespace Model +{ + + /** + *

Describes a destination in Apache Iceberg Tables.

Amazon Data + * Firehose is in preview release and is subject to change.

See + * Also:

AWS + * API Reference

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

Provides a list of DestinationTableConfigurations which + * Firehose uses to deliver data to Apache Iceberg tables.

Amazon Data + * Firehose is in preview release and is subject to change.

+ */ + inline const Aws::Vector& GetDestinationTableConfigurationList() const{ return m_destinationTableConfigurationList; } + inline bool DestinationTableConfigurationListHasBeenSet() const { return m_destinationTableConfigurationListHasBeenSet; } + inline void SetDestinationTableConfigurationList(const Aws::Vector& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = value; } + inline void SetDestinationTableConfigurationList(Aws::Vector&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = std::move(value); } + inline IcebergDestinationDescription& WithDestinationTableConfigurationList(const Aws::Vector& value) { SetDestinationTableConfigurationList(value); return *this;} + inline IcebergDestinationDescription& WithDestinationTableConfigurationList(Aws::Vector&& value) { SetDestinationTableConfigurationList(std::move(value)); return *this;} + inline IcebergDestinationDescription& AddDestinationTableConfigurationList(const DestinationTableConfiguration& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.push_back(value); return *this; } + inline IcebergDestinationDescription& AddDestinationTableConfigurationList(DestinationTableConfiguration&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; } + inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } + inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } + inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } + inline IcebergDestinationDescription& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;} + inline IcebergDestinationDescription& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; } + inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; } + inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; } + inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); } + inline IcebergDestinationDescription& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;} + inline IcebergDestinationDescription& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } + inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } + inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } + inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } + inline IcebergDestinationDescription& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} + inline IcebergDestinationDescription& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Describes how Firehose will backup records. Currently,Firehose only supports + * FailedDataOnly for preview.

Amazon Data Firehose is in + * preview release and is subject to change.

+ */ + inline const IcebergS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; } + inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; } + inline void SetS3BackupMode(const IcebergS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; } + inline void SetS3BackupMode(IcebergS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); } + inline IcebergDestinationDescription& WithS3BackupMode(const IcebergS3BackupMode& value) { SetS3BackupMode(value); return *this;} + inline IcebergDestinationDescription& WithS3BackupMode(IcebergS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const RetryOptions& GetRetryOptions() const{ return m_retryOptions; } + inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; } + inline void SetRetryOptions(const RetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; } + inline void SetRetryOptions(RetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); } + inline IcebergDestinationDescription& WithRetryOptions(const RetryOptions& value) { SetRetryOptions(value); return *this;} + inline IcebergDestinationDescription& WithRetryOptions(RetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the Apache Iceberg Tables role.

+ *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const Aws::String& GetRoleARN() const{ return m_roleARN; } + inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } + inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } + inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } + inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } + inline IcebergDestinationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} + inline IcebergDestinationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} + inline IcebergDestinationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} + ///@} + + ///@{ + /** + *

Configuration describing where the destination Iceberg tables are persisted. + *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const CatalogConfiguration& GetCatalogConfiguration() const{ return m_catalogConfiguration; } + inline bool CatalogConfigurationHasBeenSet() const { return m_catalogConfigurationHasBeenSet; } + inline void SetCatalogConfiguration(const CatalogConfiguration& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = value; } + inline void SetCatalogConfiguration(CatalogConfiguration&& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = std::move(value); } + inline IcebergDestinationDescription& WithCatalogConfiguration(const CatalogConfiguration& value) { SetCatalogConfiguration(value); return *this;} + inline IcebergDestinationDescription& WithCatalogConfiguration(CatalogConfiguration&& value) { SetCatalogConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const S3DestinationDescription& GetS3DestinationDescription() const{ return m_s3DestinationDescription; } + inline bool S3DestinationDescriptionHasBeenSet() const { return m_s3DestinationDescriptionHasBeenSet; } + inline void SetS3DestinationDescription(const S3DestinationDescription& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = value; } + inline void SetS3DestinationDescription(S3DestinationDescription&& value) { m_s3DestinationDescriptionHasBeenSet = true; m_s3DestinationDescription = std::move(value); } + inline IcebergDestinationDescription& WithS3DestinationDescription(const S3DestinationDescription& value) { SetS3DestinationDescription(value); return *this;} + inline IcebergDestinationDescription& WithS3DestinationDescription(S3DestinationDescription&& value) { SetS3DestinationDescription(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_destinationTableConfigurationList; + bool m_destinationTableConfigurationListHasBeenSet = false; + + BufferingHints m_bufferingHints; + bool m_bufferingHintsHasBeenSet = false; + + CloudWatchLoggingOptions m_cloudWatchLoggingOptions; + bool m_cloudWatchLoggingOptionsHasBeenSet = false; + + ProcessingConfiguration m_processingConfiguration; + bool m_processingConfigurationHasBeenSet = false; + + IcebergS3BackupMode m_s3BackupMode; + bool m_s3BackupModeHasBeenSet = false; + + RetryOptions m_retryOptions; + bool m_retryOptionsHasBeenSet = false; + + Aws::String m_roleARN; + bool m_roleARNHasBeenSet = false; + + CatalogConfiguration m_catalogConfiguration; + bool m_catalogConfigurationHasBeenSet = false; + + S3DestinationDescription m_s3DestinationDescription; + bool m_s3DestinationDescriptionHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationUpdate.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationUpdate.h new file mode 100644 index 00000000000..f78bd2fa85c --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergDestinationUpdate.h @@ -0,0 +1,190 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Firehose +{ +namespace Model +{ + + /** + *

Describes an update for a destination in Apache Iceberg Tables.

+ *

Amazon Data Firehose is in preview release and is subject to + * change.

See Also:

AWS + * API Reference

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

Provides a list of DestinationTableConfigurations which + * Firehose uses to deliver data to Apache Iceberg tables.

Amazon Data + * Firehose is in preview release and is subject to change.

+ */ + inline const Aws::Vector& GetDestinationTableConfigurationList() const{ return m_destinationTableConfigurationList; } + inline bool DestinationTableConfigurationListHasBeenSet() const { return m_destinationTableConfigurationListHasBeenSet; } + inline void SetDestinationTableConfigurationList(const Aws::Vector& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = value; } + inline void SetDestinationTableConfigurationList(Aws::Vector&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList = std::move(value); } + inline IcebergDestinationUpdate& WithDestinationTableConfigurationList(const Aws::Vector& value) { SetDestinationTableConfigurationList(value); return *this;} + inline IcebergDestinationUpdate& WithDestinationTableConfigurationList(Aws::Vector&& value) { SetDestinationTableConfigurationList(std::move(value)); return *this;} + inline IcebergDestinationUpdate& AddDestinationTableConfigurationList(const DestinationTableConfiguration& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.push_back(value); return *this; } + inline IcebergDestinationUpdate& AddDestinationTableConfigurationList(DestinationTableConfiguration&& value) { m_destinationTableConfigurationListHasBeenSet = true; m_destinationTableConfigurationList.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + + inline const BufferingHints& GetBufferingHints() const{ return m_bufferingHints; } + inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } + inline void SetBufferingHints(const BufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } + inline void SetBufferingHints(BufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } + inline IcebergDestinationUpdate& WithBufferingHints(const BufferingHints& value) { SetBufferingHints(value); return *this;} + inline IcebergDestinationUpdate& WithBufferingHints(BufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const CloudWatchLoggingOptions& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; } + inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; } + inline void SetCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; } + inline void SetCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); } + inline IcebergDestinationUpdate& WithCloudWatchLoggingOptions(const CloudWatchLoggingOptions& value) { SetCloudWatchLoggingOptions(value); return *this;} + inline IcebergDestinationUpdate& WithCloudWatchLoggingOptions(CloudWatchLoggingOptions&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; } + inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; } + inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; } + inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); } + inline IcebergDestinationUpdate& WithProcessingConfiguration(const ProcessingConfiguration& value) { SetProcessingConfiguration(value); return *this;} + inline IcebergDestinationUpdate& WithProcessingConfiguration(ProcessingConfiguration&& value) { SetProcessingConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Describes how Firehose will backup records. Currently,Firehose only supports + * FailedDataOnly for preview.

Amazon Data Firehose is in + * preview release and is subject to change.

+ */ + inline const IcebergS3BackupMode& GetS3BackupMode() const{ return m_s3BackupMode; } + inline bool S3BackupModeHasBeenSet() const { return m_s3BackupModeHasBeenSet; } + inline void SetS3BackupMode(const IcebergS3BackupMode& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = value; } + inline void SetS3BackupMode(IcebergS3BackupMode&& value) { m_s3BackupModeHasBeenSet = true; m_s3BackupMode = std::move(value); } + inline IcebergDestinationUpdate& WithS3BackupMode(const IcebergS3BackupMode& value) { SetS3BackupMode(value); return *this;} + inline IcebergDestinationUpdate& WithS3BackupMode(IcebergS3BackupMode&& value) { SetS3BackupMode(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const RetryOptions& GetRetryOptions() const{ return m_retryOptions; } + inline bool RetryOptionsHasBeenSet() const { return m_retryOptionsHasBeenSet; } + inline void SetRetryOptions(const RetryOptions& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = value; } + inline void SetRetryOptions(RetryOptions&& value) { m_retryOptionsHasBeenSet = true; m_retryOptions = std::move(value); } + inline IcebergDestinationUpdate& WithRetryOptions(const RetryOptions& value) { SetRetryOptions(value); return *this;} + inline IcebergDestinationUpdate& WithRetryOptions(RetryOptions&& value) { SetRetryOptions(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) of the Apache Iceberg Tables role.

+ *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const Aws::String& GetRoleARN() const{ return m_roleARN; } + inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } + inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; } + inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); } + inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); } + inline IcebergDestinationUpdate& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;} + inline IcebergDestinationUpdate& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;} + inline IcebergDestinationUpdate& WithRoleARN(const char* value) { SetRoleARN(value); return *this;} + ///@} + + ///@{ + /** + *

Configuration describing where the destination Iceberg tables are persisted. + *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const CatalogConfiguration& GetCatalogConfiguration() const{ return m_catalogConfiguration; } + inline bool CatalogConfigurationHasBeenSet() const { return m_catalogConfigurationHasBeenSet; } + inline void SetCatalogConfiguration(const CatalogConfiguration& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = value; } + inline void SetCatalogConfiguration(CatalogConfiguration&& value) { m_catalogConfigurationHasBeenSet = true; m_catalogConfiguration = std::move(value); } + inline IcebergDestinationUpdate& WithCatalogConfiguration(const CatalogConfiguration& value) { SetCatalogConfiguration(value); return *this;} + inline IcebergDestinationUpdate& WithCatalogConfiguration(CatalogConfiguration&& value) { SetCatalogConfiguration(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const S3DestinationConfiguration& GetS3Configuration() const{ return m_s3Configuration; } + inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; } + inline void SetS3Configuration(const S3DestinationConfiguration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; } + inline void SetS3Configuration(S3DestinationConfiguration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); } + inline IcebergDestinationUpdate& WithS3Configuration(const S3DestinationConfiguration& value) { SetS3Configuration(value); return *this;} + inline IcebergDestinationUpdate& WithS3Configuration(S3DestinationConfiguration&& value) { SetS3Configuration(std::move(value)); return *this;} + ///@} + private: + + Aws::Vector m_destinationTableConfigurationList; + bool m_destinationTableConfigurationListHasBeenSet = false; + + BufferingHints m_bufferingHints; + bool m_bufferingHintsHasBeenSet = false; + + CloudWatchLoggingOptions m_cloudWatchLoggingOptions; + bool m_cloudWatchLoggingOptionsHasBeenSet = false; + + ProcessingConfiguration m_processingConfiguration; + bool m_processingConfigurationHasBeenSet = false; + + IcebergS3BackupMode m_s3BackupMode; + bool m_s3BackupModeHasBeenSet = false; + + RetryOptions m_retryOptions; + bool m_retryOptionsHasBeenSet = false; + + Aws::String m_roleARN; + bool m_roleARNHasBeenSet = false; + + CatalogConfiguration m_catalogConfiguration; + bool m_catalogConfigurationHasBeenSet = false; + + S3DestinationConfiguration m_s3Configuration; + bool m_s3ConfigurationHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergS3BackupMode.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergS3BackupMode.h new file mode 100644 index 00000000000..0c847211dd1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/IcebergS3BackupMode.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 Firehose +{ +namespace Model +{ + enum class IcebergS3BackupMode + { + NOT_SET, + FailedDataOnly, + AllData + }; + +namespace IcebergS3BackupModeMapper +{ +AWS_FIREHOSE_API IcebergS3BackupMode GetIcebergS3BackupModeForName(const Aws::String& name); + +AWS_FIREHOSE_API Aws::String GetNameForIcebergS3BackupMode(IcebergS3BackupMode value); +} // namespace IcebergS3BackupModeMapper +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceConfiguration.h index 31cc62ff768..8a9ccb892d7 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceConfiguration.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceConfiguration.h @@ -7,6 +7,7 @@ #include #include #include +#include #include namespace Aws @@ -78,6 +79,22 @@ namespace Model inline MSKSourceConfiguration& WithAuthenticationConfiguration(const AuthenticationConfiguration& value) { SetAuthenticationConfiguration(value); return *this;} inline MSKSourceConfiguration& WithAuthenticationConfiguration(AuthenticationConfiguration&& value) { SetAuthenticationConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The start date and time in UTC for the offset position within your MSK topic + * from where Firehose begins to read. By default, this is set to timestamp when + * Firehose becomes Active.

If you want to create a Firehose stream with + * Earliest start position from SDK or CLI, you need to set the + * ReadFromTimestamp parameter to Epoch (1970-01-01T00:00:00Z).

+ */ + inline const Aws::Utils::DateTime& GetReadFromTimestamp() const{ return m_readFromTimestamp; } + inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; } + inline void SetReadFromTimestamp(const Aws::Utils::DateTime& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = value; } + inline void SetReadFromTimestamp(Aws::Utils::DateTime&& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = std::move(value); } + inline MSKSourceConfiguration& WithReadFromTimestamp(const Aws::Utils::DateTime& value) { SetReadFromTimestamp(value); return *this;} + inline MSKSourceConfiguration& WithReadFromTimestamp(Aws::Utils::DateTime&& value) { SetReadFromTimestamp(std::move(value)); return *this;} + ///@} private: Aws::String m_mSKClusterARN; @@ -88,6 +105,9 @@ namespace Model AuthenticationConfiguration m_authenticationConfiguration; bool m_authenticationConfigurationHasBeenSet = false; + + Aws::Utils::DateTime m_readFromTimestamp; + bool m_readFromTimestampHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceDescription.h index c74a2645c4c..68caaa8f9e4 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/MSKSourceDescription.h @@ -92,6 +92,23 @@ namespace Model inline MSKSourceDescription& WithDeliveryStartTimestamp(const Aws::Utils::DateTime& value) { SetDeliveryStartTimestamp(value); return *this;} inline MSKSourceDescription& WithDeliveryStartTimestamp(Aws::Utils::DateTime&& value) { SetDeliveryStartTimestamp(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

The start date and time in UTC for the offset position within your MSK topic + * from where Firehose begins to read. By default, this is set to timestamp when + * Firehose becomes Active.

If you want to create a Firehose stream with + * Earliest start position from SDK or CLI, you need to set the + * ReadFromTimestampUTC parameter to Epoch (1970-01-01T00:00:00Z). + *

+ */ + inline const Aws::Utils::DateTime& GetReadFromTimestamp() const{ return m_readFromTimestamp; } + inline bool ReadFromTimestampHasBeenSet() const { return m_readFromTimestampHasBeenSet; } + inline void SetReadFromTimestamp(const Aws::Utils::DateTime& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = value; } + inline void SetReadFromTimestamp(Aws::Utils::DateTime&& value) { m_readFromTimestampHasBeenSet = true; m_readFromTimestamp = std::move(value); } + inline MSKSourceDescription& WithReadFromTimestamp(const Aws::Utils::DateTime& value) { SetReadFromTimestamp(value); return *this;} + inline MSKSourceDescription& WithReadFromTimestamp(Aws::Utils::DateTime&& value) { SetReadFromTimestamp(std::move(value)); return *this;} + ///@} private: Aws::String m_mSKClusterARN; @@ -105,6 +122,9 @@ namespace Model Aws::Utils::DateTime m_deliveryStartTimestamp; bool m_deliveryStartTimestampHasBeenSet = false; + + Aws::Utils::DateTime m_readFromTimestamp; + bool m_readFromTimestampHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeBufferingHints.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeBufferingHints.h new file mode 100644 index 00000000000..da9b159c916 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeBufferingHints.h @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Firehose +{ +namespace Model +{ + + /** + *

Describes the buffering to perform before delivering data to the Snowflake + * destination. If you do not specify any value, Firehose uses the default values. + *

See Also:

AWS + * API Reference

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

Buffer incoming data to the specified size, in MBs, before delivering it to + * the destination. The default value is 1.

+ */ + inline int GetSizeInMBs() const{ return m_sizeInMBs; } + inline bool SizeInMBsHasBeenSet() const { return m_sizeInMBsHasBeenSet; } + inline void SetSizeInMBs(int value) { m_sizeInMBsHasBeenSet = true; m_sizeInMBs = value; } + inline SnowflakeBufferingHints& WithSizeInMBs(int value) { SetSizeInMBs(value); return *this;} + ///@} + + ///@{ + /** + *

Buffer incoming data for the specified period of time, in seconds, before + * delivering it to the destination. The default value is 0.

+ */ + inline int GetIntervalInSeconds() const{ return m_intervalInSeconds; } + inline bool IntervalInSecondsHasBeenSet() const { return m_intervalInSecondsHasBeenSet; } + inline void SetIntervalInSeconds(int value) { m_intervalInSecondsHasBeenSet = true; m_intervalInSeconds = value; } + inline SnowflakeBufferingHints& WithIntervalInSeconds(int value) { SetIntervalInSeconds(value); return *this;} + ///@} + private: + + int m_sizeInMBs; + bool m_sizeInMBsHasBeenSet = false; + + int m_intervalInSeconds; + bool m_intervalInSecondsHasBeenSet = false; + }; + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h index e385fd9041d..146723065cf 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationConfiguration.h @@ -15,6 +15,7 @@ #include #include #include +#include #include namespace Aws @@ -306,6 +307,20 @@ namespace Model inline SnowflakeDestinationConfiguration& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} inline SnowflakeDestinationConfiguration& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Describes the buffering to perform before delivering data to the Snowflake + * destination. If you do not specify any value, Firehose uses the default values. + *

+ */ + inline const SnowflakeBufferingHints& GetBufferingHints() const{ return m_bufferingHints; } + inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } + inline void SetBufferingHints(const SnowflakeBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } + inline void SetBufferingHints(SnowflakeBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } + inline SnowflakeDestinationConfiguration& WithBufferingHints(const SnowflakeBufferingHints& value) { SetBufferingHints(value); return *this;} + inline SnowflakeDestinationConfiguration& WithBufferingHints(SnowflakeBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + ///@} private: Aws::String m_accountUrl; @@ -364,6 +379,9 @@ namespace Model SecretsManagerConfiguration m_secretsManagerConfiguration; bool m_secretsManagerConfigurationHasBeenSet = false; + + SnowflakeBufferingHints m_bufferingHints; + bool m_bufferingHintsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h index fc225c4a4f4..c1fa1642288 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationDescription.h @@ -15,6 +15,7 @@ #include #include #include +#include #include namespace Aws @@ -272,6 +273,20 @@ namespace Model inline SnowflakeDestinationDescription& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} inline SnowflakeDestinationDescription& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Describes the buffering to perform before delivering data to the Snowflake + * destination. If you do not specify any value, Firehose uses the default values. + *

+ */ + inline const SnowflakeBufferingHints& GetBufferingHints() const{ return m_bufferingHints; } + inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } + inline void SetBufferingHints(const SnowflakeBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } + inline void SetBufferingHints(SnowflakeBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } + inline SnowflakeDestinationDescription& WithBufferingHints(const SnowflakeBufferingHints& value) { SetBufferingHints(value); return *this;} + inline SnowflakeDestinationDescription& WithBufferingHints(SnowflakeBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + ///@} private: Aws::String m_accountUrl; @@ -324,6 +339,9 @@ namespace Model SecretsManagerConfiguration m_secretsManagerConfiguration; bool m_secretsManagerConfigurationHasBeenSet = false; + + SnowflakeBufferingHints m_bufferingHints; + bool m_bufferingHintsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h index 9be3f01f18e..f844d1154c6 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/SnowflakeDestinationUpdate.h @@ -14,6 +14,7 @@ #include #include #include +#include #include namespace Aws @@ -303,6 +304,19 @@ namespace Model inline SnowflakeDestinationUpdate& WithSecretsManagerConfiguration(const SecretsManagerConfiguration& value) { SetSecretsManagerConfiguration(value); return *this;} inline SnowflakeDestinationUpdate& WithSecretsManagerConfiguration(SecretsManagerConfiguration&& value) { SetSecretsManagerConfiguration(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Describes the buffering to perform before delivering data to the Snowflake + * destination.

+ */ + inline const SnowflakeBufferingHints& GetBufferingHints() const{ return m_bufferingHints; } + inline bool BufferingHintsHasBeenSet() const { return m_bufferingHintsHasBeenSet; } + inline void SetBufferingHints(const SnowflakeBufferingHints& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = value; } + inline void SetBufferingHints(SnowflakeBufferingHints&& value) { m_bufferingHintsHasBeenSet = true; m_bufferingHints = std::move(value); } + inline SnowflakeDestinationUpdate& WithBufferingHints(const SnowflakeBufferingHints& value) { SetBufferingHints(value); return *this;} + inline SnowflakeDestinationUpdate& WithBufferingHints(SnowflakeBufferingHints&& value) { SetBufferingHints(std::move(value)); return *this;} + ///@} private: Aws::String m_accountUrl; @@ -358,6 +372,9 @@ namespace Model SecretsManagerConfiguration m_secretsManagerConfiguration; bool m_secretsManagerConfigurationHasBeenSet = false; + + SnowflakeBufferingHints m_bufferingHints; + bool m_bufferingHintsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h index b29f06184e7..2f259391825 100644 --- a/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h +++ b/generated/src/aws-cpp-sdk-firehose/include/aws/firehose/model/UpdateDestinationRequest.h @@ -15,6 +15,7 @@ #include #include #include +#include #include namespace Aws @@ -185,6 +186,19 @@ namespace Model inline UpdateDestinationRequest& WithSnowflakeDestinationUpdate(const SnowflakeDestinationUpdate& value) { SetSnowflakeDestinationUpdate(value); return *this;} inline UpdateDestinationRequest& WithSnowflakeDestinationUpdate(SnowflakeDestinationUpdate&& value) { SetSnowflakeDestinationUpdate(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Describes an update for a destination in Apache Iceberg Tables.

+ *

Amazon Data Firehose is in preview release and is subject to change.

+ */ + inline const IcebergDestinationUpdate& GetIcebergDestinationUpdate() const{ return m_icebergDestinationUpdate; } + inline bool IcebergDestinationUpdateHasBeenSet() const { return m_icebergDestinationUpdateHasBeenSet; } + inline void SetIcebergDestinationUpdate(const IcebergDestinationUpdate& value) { m_icebergDestinationUpdateHasBeenSet = true; m_icebergDestinationUpdate = value; } + inline void SetIcebergDestinationUpdate(IcebergDestinationUpdate&& value) { m_icebergDestinationUpdateHasBeenSet = true; m_icebergDestinationUpdate = std::move(value); } + inline UpdateDestinationRequest& WithIcebergDestinationUpdate(const IcebergDestinationUpdate& value) { SetIcebergDestinationUpdate(value); return *this;} + inline UpdateDestinationRequest& WithIcebergDestinationUpdate(IcebergDestinationUpdate&& value) { SetIcebergDestinationUpdate(std::move(value)); return *this;} + ///@} private: Aws::String m_deliveryStreamName; @@ -219,6 +233,9 @@ namespace Model SnowflakeDestinationUpdate m_snowflakeDestinationUpdate; bool m_snowflakeDestinationUpdateHasBeenSet = false; + + IcebergDestinationUpdate m_icebergDestinationUpdate; + bool m_icebergDestinationUpdateHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/CatalogConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/CatalogConfiguration.cpp new file mode 100644 index 00000000000..cbb6daf5cb0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/CatalogConfiguration.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 Firehose +{ +namespace Model +{ + +CatalogConfiguration::CatalogConfiguration() : + m_catalogARNHasBeenSet(false) +{ +} + +CatalogConfiguration::CatalogConfiguration(JsonView jsonValue) + : CatalogConfiguration() +{ + *this = jsonValue; +} + +CatalogConfiguration& CatalogConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CatalogARN")) + { + m_catalogARN = jsonValue.GetString("CatalogARN"); + + m_catalogARNHasBeenSet = true; + } + + return *this; +} + +JsonValue CatalogConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_catalogARNHasBeenSet) + { + payload.WithString("CatalogARN", m_catalogARN); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/CreateDeliveryStreamRequest.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/CreateDeliveryStreamRequest.cpp index 3f6360c98cf..d822ff3829e 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/CreateDeliveryStreamRequest.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/CreateDeliveryStreamRequest.cpp @@ -27,7 +27,8 @@ CreateDeliveryStreamRequest::CreateDeliveryStreamRequest() : m_tagsHasBeenSet(false), m_amazonOpenSearchServerlessDestinationConfigurationHasBeenSet(false), m_mSKSourceConfigurationHasBeenSet(false), - m_snowflakeDestinationConfigurationHasBeenSet(false) + m_snowflakeDestinationConfigurationHasBeenSet(false), + m_icebergDestinationConfigurationHasBeenSet(false) { } @@ -123,6 +124,12 @@ Aws::String CreateDeliveryStreamRequest::SerializePayload() const } + if(m_icebergDestinationConfigurationHasBeenSet) + { + payload.WithObject("IcebergDestinationConfiguration", m_icebergDestinationConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/DestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/DestinationDescription.cpp index 25f2a7a2979..fde41f75cd5 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/DestinationDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/DestinationDescription.cpp @@ -28,7 +28,8 @@ DestinationDescription::DestinationDescription() : m_splunkDestinationDescriptionHasBeenSet(false), m_httpEndpointDestinationDescriptionHasBeenSet(false), m_snowflakeDestinationDescriptionHasBeenSet(false), - m_amazonOpenSearchServerlessDestinationDescriptionHasBeenSet(false) + m_amazonOpenSearchServerlessDestinationDescriptionHasBeenSet(false), + m_icebergDestinationDescriptionHasBeenSet(false) { } @@ -110,6 +111,13 @@ DestinationDescription& DestinationDescription::operator =(JsonView jsonValue) m_amazonOpenSearchServerlessDestinationDescriptionHasBeenSet = true; } + if(jsonValue.ValueExists("IcebergDestinationDescription")) + { + m_icebergDestinationDescription = jsonValue.GetObject("IcebergDestinationDescription"); + + m_icebergDestinationDescriptionHasBeenSet = true; + } + return *this; } @@ -177,6 +185,12 @@ JsonValue DestinationDescription::Jsonize() const } + if(m_icebergDestinationDescriptionHasBeenSet) + { + payload.WithObject("IcebergDestinationDescription", m_icebergDestinationDescription.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/DestinationTableConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/DestinationTableConfiguration.cpp new file mode 100644 index 00000000000..56ed92217e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/DestinationTableConfiguration.cpp @@ -0,0 +1,109 @@ +/** + * 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 Firehose +{ +namespace Model +{ + +DestinationTableConfiguration::DestinationTableConfiguration() : + m_destinationTableNameHasBeenSet(false), + m_destinationDatabaseNameHasBeenSet(false), + m_uniqueKeysHasBeenSet(false), + m_s3ErrorOutputPrefixHasBeenSet(false) +{ +} + +DestinationTableConfiguration::DestinationTableConfiguration(JsonView jsonValue) + : DestinationTableConfiguration() +{ + *this = jsonValue; +} + +DestinationTableConfiguration& DestinationTableConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DestinationTableName")) + { + m_destinationTableName = jsonValue.GetString("DestinationTableName"); + + m_destinationTableNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("DestinationDatabaseName")) + { + m_destinationDatabaseName = jsonValue.GetString("DestinationDatabaseName"); + + m_destinationDatabaseNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("UniqueKeys")) + { + Aws::Utils::Array uniqueKeysJsonList = jsonValue.GetArray("UniqueKeys"); + for(unsigned uniqueKeysIndex = 0; uniqueKeysIndex < uniqueKeysJsonList.GetLength(); ++uniqueKeysIndex) + { + m_uniqueKeys.push_back(uniqueKeysJsonList[uniqueKeysIndex].AsString()); + } + m_uniqueKeysHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3ErrorOutputPrefix")) + { + m_s3ErrorOutputPrefix = jsonValue.GetString("S3ErrorOutputPrefix"); + + m_s3ErrorOutputPrefixHasBeenSet = true; + } + + return *this; +} + +JsonValue DestinationTableConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_destinationTableNameHasBeenSet) + { + payload.WithString("DestinationTableName", m_destinationTableName); + + } + + if(m_destinationDatabaseNameHasBeenSet) + { + payload.WithString("DestinationDatabaseName", m_destinationDatabaseName); + + } + + if(m_uniqueKeysHasBeenSet) + { + Aws::Utils::Array uniqueKeysJsonList(m_uniqueKeys.size()); + for(unsigned uniqueKeysIndex = 0; uniqueKeysIndex < uniqueKeysJsonList.GetLength(); ++uniqueKeysIndex) + { + uniqueKeysJsonList[uniqueKeysIndex].AsString(m_uniqueKeys[uniqueKeysIndex]); + } + payload.WithArray("UniqueKeys", std::move(uniqueKeysJsonList)); + + } + + if(m_s3ErrorOutputPrefixHasBeenSet) + { + payload.WithString("S3ErrorOutputPrefix", m_s3ErrorOutputPrefix); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationConfiguration.cpp new file mode 100644 index 00000000000..d9cf973434f --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationConfiguration.cpp @@ -0,0 +1,179 @@ +/** + * 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 Firehose +{ +namespace Model +{ + +IcebergDestinationConfiguration::IcebergDestinationConfiguration() : + m_destinationTableConfigurationListHasBeenSet(false), + m_bufferingHintsHasBeenSet(false), + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_processingConfigurationHasBeenSet(false), + m_s3BackupMode(IcebergS3BackupMode::NOT_SET), + m_s3BackupModeHasBeenSet(false), + m_retryOptionsHasBeenSet(false), + m_roleARNHasBeenSet(false), + m_catalogConfigurationHasBeenSet(false), + m_s3ConfigurationHasBeenSet(false) +{ +} + +IcebergDestinationConfiguration::IcebergDestinationConfiguration(JsonView jsonValue) + : IcebergDestinationConfiguration() +{ + *this = jsonValue; +} + +IcebergDestinationConfiguration& IcebergDestinationConfiguration::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DestinationTableConfigurationList")) + { + Aws::Utils::Array destinationTableConfigurationListJsonList = jsonValue.GetArray("DestinationTableConfigurationList"); + for(unsigned destinationTableConfigurationListIndex = 0; destinationTableConfigurationListIndex < destinationTableConfigurationListJsonList.GetLength(); ++destinationTableConfigurationListIndex) + { + m_destinationTableConfigurationList.push_back(destinationTableConfigurationListJsonList[destinationTableConfigurationListIndex].AsObject()); + } + m_destinationTableConfigurationListHasBeenSet = true; + } + + if(jsonValue.ValueExists("BufferingHints")) + { + m_bufferingHints = jsonValue.GetObject("BufferingHints"); + + m_bufferingHintsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CloudWatchLoggingOptions")) + { + m_cloudWatchLoggingOptions = jsonValue.GetObject("CloudWatchLoggingOptions"); + + m_cloudWatchLoggingOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ProcessingConfiguration")) + { + m_processingConfiguration = jsonValue.GetObject("ProcessingConfiguration"); + + m_processingConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3BackupMode")) + { + m_s3BackupMode = IcebergS3BackupModeMapper::GetIcebergS3BackupModeForName(jsonValue.GetString("S3BackupMode")); + + m_s3BackupModeHasBeenSet = true; + } + + if(jsonValue.ValueExists("RetryOptions")) + { + m_retryOptions = jsonValue.GetObject("RetryOptions"); + + m_retryOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("RoleARN")) + { + m_roleARN = jsonValue.GetString("RoleARN"); + + m_roleARNHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogConfiguration")) + { + m_catalogConfiguration = jsonValue.GetObject("CatalogConfiguration"); + + m_catalogConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3Configuration")) + { + m_s3Configuration = jsonValue.GetObject("S3Configuration"); + + m_s3ConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue IcebergDestinationConfiguration::Jsonize() const +{ + JsonValue payload; + + if(m_destinationTableConfigurationListHasBeenSet) + { + Aws::Utils::Array destinationTableConfigurationListJsonList(m_destinationTableConfigurationList.size()); + for(unsigned destinationTableConfigurationListIndex = 0; destinationTableConfigurationListIndex < destinationTableConfigurationListJsonList.GetLength(); ++destinationTableConfigurationListIndex) + { + destinationTableConfigurationListJsonList[destinationTableConfigurationListIndex].AsObject(m_destinationTableConfigurationList[destinationTableConfigurationListIndex].Jsonize()); + } + payload.WithArray("DestinationTableConfigurationList", std::move(destinationTableConfigurationListJsonList)); + + } + + if(m_bufferingHintsHasBeenSet) + { + payload.WithObject("BufferingHints", m_bufferingHints.Jsonize()); + + } + + if(m_cloudWatchLoggingOptionsHasBeenSet) + { + payload.WithObject("CloudWatchLoggingOptions", m_cloudWatchLoggingOptions.Jsonize()); + + } + + if(m_processingConfigurationHasBeenSet) + { + payload.WithObject("ProcessingConfiguration", m_processingConfiguration.Jsonize()); + + } + + if(m_s3BackupModeHasBeenSet) + { + payload.WithString("S3BackupMode", IcebergS3BackupModeMapper::GetNameForIcebergS3BackupMode(m_s3BackupMode)); + } + + if(m_retryOptionsHasBeenSet) + { + payload.WithObject("RetryOptions", m_retryOptions.Jsonize()); + + } + + if(m_roleARNHasBeenSet) + { + payload.WithString("RoleARN", m_roleARN); + + } + + if(m_catalogConfigurationHasBeenSet) + { + payload.WithObject("CatalogConfiguration", m_catalogConfiguration.Jsonize()); + + } + + if(m_s3ConfigurationHasBeenSet) + { + payload.WithObject("S3Configuration", m_s3Configuration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationDescription.cpp new file mode 100644 index 00000000000..37a16dea140 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationDescription.cpp @@ -0,0 +1,179 @@ +/** + * 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 Firehose +{ +namespace Model +{ + +IcebergDestinationDescription::IcebergDestinationDescription() : + m_destinationTableConfigurationListHasBeenSet(false), + m_bufferingHintsHasBeenSet(false), + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_processingConfigurationHasBeenSet(false), + m_s3BackupMode(IcebergS3BackupMode::NOT_SET), + m_s3BackupModeHasBeenSet(false), + m_retryOptionsHasBeenSet(false), + m_roleARNHasBeenSet(false), + m_catalogConfigurationHasBeenSet(false), + m_s3DestinationDescriptionHasBeenSet(false) +{ +} + +IcebergDestinationDescription::IcebergDestinationDescription(JsonView jsonValue) + : IcebergDestinationDescription() +{ + *this = jsonValue; +} + +IcebergDestinationDescription& IcebergDestinationDescription::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DestinationTableConfigurationList")) + { + Aws::Utils::Array destinationTableConfigurationListJsonList = jsonValue.GetArray("DestinationTableConfigurationList"); + for(unsigned destinationTableConfigurationListIndex = 0; destinationTableConfigurationListIndex < destinationTableConfigurationListJsonList.GetLength(); ++destinationTableConfigurationListIndex) + { + m_destinationTableConfigurationList.push_back(destinationTableConfigurationListJsonList[destinationTableConfigurationListIndex].AsObject()); + } + m_destinationTableConfigurationListHasBeenSet = true; + } + + if(jsonValue.ValueExists("BufferingHints")) + { + m_bufferingHints = jsonValue.GetObject("BufferingHints"); + + m_bufferingHintsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CloudWatchLoggingOptions")) + { + m_cloudWatchLoggingOptions = jsonValue.GetObject("CloudWatchLoggingOptions"); + + m_cloudWatchLoggingOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ProcessingConfiguration")) + { + m_processingConfiguration = jsonValue.GetObject("ProcessingConfiguration"); + + m_processingConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3BackupMode")) + { + m_s3BackupMode = IcebergS3BackupModeMapper::GetIcebergS3BackupModeForName(jsonValue.GetString("S3BackupMode")); + + m_s3BackupModeHasBeenSet = true; + } + + if(jsonValue.ValueExists("RetryOptions")) + { + m_retryOptions = jsonValue.GetObject("RetryOptions"); + + m_retryOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("RoleARN")) + { + m_roleARN = jsonValue.GetString("RoleARN"); + + m_roleARNHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogConfiguration")) + { + m_catalogConfiguration = jsonValue.GetObject("CatalogConfiguration"); + + m_catalogConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3DestinationDescription")) + { + m_s3DestinationDescription = jsonValue.GetObject("S3DestinationDescription"); + + m_s3DestinationDescriptionHasBeenSet = true; + } + + return *this; +} + +JsonValue IcebergDestinationDescription::Jsonize() const +{ + JsonValue payload; + + if(m_destinationTableConfigurationListHasBeenSet) + { + Aws::Utils::Array destinationTableConfigurationListJsonList(m_destinationTableConfigurationList.size()); + for(unsigned destinationTableConfigurationListIndex = 0; destinationTableConfigurationListIndex < destinationTableConfigurationListJsonList.GetLength(); ++destinationTableConfigurationListIndex) + { + destinationTableConfigurationListJsonList[destinationTableConfigurationListIndex].AsObject(m_destinationTableConfigurationList[destinationTableConfigurationListIndex].Jsonize()); + } + payload.WithArray("DestinationTableConfigurationList", std::move(destinationTableConfigurationListJsonList)); + + } + + if(m_bufferingHintsHasBeenSet) + { + payload.WithObject("BufferingHints", m_bufferingHints.Jsonize()); + + } + + if(m_cloudWatchLoggingOptionsHasBeenSet) + { + payload.WithObject("CloudWatchLoggingOptions", m_cloudWatchLoggingOptions.Jsonize()); + + } + + if(m_processingConfigurationHasBeenSet) + { + payload.WithObject("ProcessingConfiguration", m_processingConfiguration.Jsonize()); + + } + + if(m_s3BackupModeHasBeenSet) + { + payload.WithString("S3BackupMode", IcebergS3BackupModeMapper::GetNameForIcebergS3BackupMode(m_s3BackupMode)); + } + + if(m_retryOptionsHasBeenSet) + { + payload.WithObject("RetryOptions", m_retryOptions.Jsonize()); + + } + + if(m_roleARNHasBeenSet) + { + payload.WithString("RoleARN", m_roleARN); + + } + + if(m_catalogConfigurationHasBeenSet) + { + payload.WithObject("CatalogConfiguration", m_catalogConfiguration.Jsonize()); + + } + + if(m_s3DestinationDescriptionHasBeenSet) + { + payload.WithObject("S3DestinationDescription", m_s3DestinationDescription.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationUpdate.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationUpdate.cpp new file mode 100644 index 00000000000..4c335315355 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergDestinationUpdate.cpp @@ -0,0 +1,179 @@ +/** + * 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 Firehose +{ +namespace Model +{ + +IcebergDestinationUpdate::IcebergDestinationUpdate() : + m_destinationTableConfigurationListHasBeenSet(false), + m_bufferingHintsHasBeenSet(false), + m_cloudWatchLoggingOptionsHasBeenSet(false), + m_processingConfigurationHasBeenSet(false), + m_s3BackupMode(IcebergS3BackupMode::NOT_SET), + m_s3BackupModeHasBeenSet(false), + m_retryOptionsHasBeenSet(false), + m_roleARNHasBeenSet(false), + m_catalogConfigurationHasBeenSet(false), + m_s3ConfigurationHasBeenSet(false) +{ +} + +IcebergDestinationUpdate::IcebergDestinationUpdate(JsonView jsonValue) + : IcebergDestinationUpdate() +{ + *this = jsonValue; +} + +IcebergDestinationUpdate& IcebergDestinationUpdate::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DestinationTableConfigurationList")) + { + Aws::Utils::Array destinationTableConfigurationListJsonList = jsonValue.GetArray("DestinationTableConfigurationList"); + for(unsigned destinationTableConfigurationListIndex = 0; destinationTableConfigurationListIndex < destinationTableConfigurationListJsonList.GetLength(); ++destinationTableConfigurationListIndex) + { + m_destinationTableConfigurationList.push_back(destinationTableConfigurationListJsonList[destinationTableConfigurationListIndex].AsObject()); + } + m_destinationTableConfigurationListHasBeenSet = true; + } + + if(jsonValue.ValueExists("BufferingHints")) + { + m_bufferingHints = jsonValue.GetObject("BufferingHints"); + + m_bufferingHintsHasBeenSet = true; + } + + if(jsonValue.ValueExists("CloudWatchLoggingOptions")) + { + m_cloudWatchLoggingOptions = jsonValue.GetObject("CloudWatchLoggingOptions"); + + m_cloudWatchLoggingOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ProcessingConfiguration")) + { + m_processingConfiguration = jsonValue.GetObject("ProcessingConfiguration"); + + m_processingConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3BackupMode")) + { + m_s3BackupMode = IcebergS3BackupModeMapper::GetIcebergS3BackupModeForName(jsonValue.GetString("S3BackupMode")); + + m_s3BackupModeHasBeenSet = true; + } + + if(jsonValue.ValueExists("RetryOptions")) + { + m_retryOptions = jsonValue.GetObject("RetryOptions"); + + m_retryOptionsHasBeenSet = true; + } + + if(jsonValue.ValueExists("RoleARN")) + { + m_roleARN = jsonValue.GetString("RoleARN"); + + m_roleARNHasBeenSet = true; + } + + if(jsonValue.ValueExists("CatalogConfiguration")) + { + m_catalogConfiguration = jsonValue.GetObject("CatalogConfiguration"); + + m_catalogConfigurationHasBeenSet = true; + } + + if(jsonValue.ValueExists("S3Configuration")) + { + m_s3Configuration = jsonValue.GetObject("S3Configuration"); + + m_s3ConfigurationHasBeenSet = true; + } + + return *this; +} + +JsonValue IcebergDestinationUpdate::Jsonize() const +{ + JsonValue payload; + + if(m_destinationTableConfigurationListHasBeenSet) + { + Aws::Utils::Array destinationTableConfigurationListJsonList(m_destinationTableConfigurationList.size()); + for(unsigned destinationTableConfigurationListIndex = 0; destinationTableConfigurationListIndex < destinationTableConfigurationListJsonList.GetLength(); ++destinationTableConfigurationListIndex) + { + destinationTableConfigurationListJsonList[destinationTableConfigurationListIndex].AsObject(m_destinationTableConfigurationList[destinationTableConfigurationListIndex].Jsonize()); + } + payload.WithArray("DestinationTableConfigurationList", std::move(destinationTableConfigurationListJsonList)); + + } + + if(m_bufferingHintsHasBeenSet) + { + payload.WithObject("BufferingHints", m_bufferingHints.Jsonize()); + + } + + if(m_cloudWatchLoggingOptionsHasBeenSet) + { + payload.WithObject("CloudWatchLoggingOptions", m_cloudWatchLoggingOptions.Jsonize()); + + } + + if(m_processingConfigurationHasBeenSet) + { + payload.WithObject("ProcessingConfiguration", m_processingConfiguration.Jsonize()); + + } + + if(m_s3BackupModeHasBeenSet) + { + payload.WithString("S3BackupMode", IcebergS3BackupModeMapper::GetNameForIcebergS3BackupMode(m_s3BackupMode)); + } + + if(m_retryOptionsHasBeenSet) + { + payload.WithObject("RetryOptions", m_retryOptions.Jsonize()); + + } + + if(m_roleARNHasBeenSet) + { + payload.WithString("RoleARN", m_roleARN); + + } + + if(m_catalogConfigurationHasBeenSet) + { + payload.WithObject("CatalogConfiguration", m_catalogConfiguration.Jsonize()); + + } + + if(m_s3ConfigurationHasBeenSet) + { + payload.WithObject("S3Configuration", m_s3Configuration.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/IcebergS3BackupMode.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergS3BackupMode.cpp new file mode 100644 index 00000000000..09577858360 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/IcebergS3BackupMode.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Firehose + { + namespace Model + { + namespace IcebergS3BackupModeMapper + { + + static const int FailedDataOnly_HASH = HashingUtils::HashString("FailedDataOnly"); + static const int AllData_HASH = HashingUtils::HashString("AllData"); + + + IcebergS3BackupMode GetIcebergS3BackupModeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == FailedDataOnly_HASH) + { + return IcebergS3BackupMode::FailedDataOnly; + } + else if (hashCode == AllData_HASH) + { + return IcebergS3BackupMode::AllData; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IcebergS3BackupMode::NOT_SET; + } + + Aws::String GetNameForIcebergS3BackupMode(IcebergS3BackupMode enumValue) + { + switch(enumValue) + { + case IcebergS3BackupMode::NOT_SET: + return {}; + case IcebergS3BackupMode::FailedDataOnly: + return "FailedDataOnly"; + case IcebergS3BackupMode::AllData: + return "AllData"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IcebergS3BackupModeMapper + } // namespace Model + } // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceConfiguration.cpp index 6f98f6cd63e..e6020790ee9 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceConfiguration.cpp @@ -21,7 +21,8 @@ namespace Model MSKSourceConfiguration::MSKSourceConfiguration() : m_mSKClusterARNHasBeenSet(false), m_topicNameHasBeenSet(false), - m_authenticationConfigurationHasBeenSet(false) + m_authenticationConfigurationHasBeenSet(false), + m_readFromTimestampHasBeenSet(false) { } @@ -54,6 +55,13 @@ MSKSourceConfiguration& MSKSourceConfiguration::operator =(JsonView jsonValue) m_authenticationConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("ReadFromTimestamp")) + { + m_readFromTimestamp = jsonValue.GetDouble("ReadFromTimestamp"); + + m_readFromTimestampHasBeenSet = true; + } + return *this; } @@ -79,6 +87,11 @@ JsonValue MSKSourceConfiguration::Jsonize() const } + if(m_readFromTimestampHasBeenSet) + { + payload.WithDouble("ReadFromTimestamp", m_readFromTimestamp.SecondsWithMSPrecision()); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceDescription.cpp index 952c3c4ad27..e91977f50e6 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/MSKSourceDescription.cpp @@ -22,7 +22,8 @@ MSKSourceDescription::MSKSourceDescription() : m_mSKClusterARNHasBeenSet(false), m_topicNameHasBeenSet(false), m_authenticationConfigurationHasBeenSet(false), - m_deliveryStartTimestampHasBeenSet(false) + m_deliveryStartTimestampHasBeenSet(false), + m_readFromTimestampHasBeenSet(false) { } @@ -62,6 +63,13 @@ MSKSourceDescription& MSKSourceDescription::operator =(JsonView jsonValue) m_deliveryStartTimestampHasBeenSet = true; } + if(jsonValue.ValueExists("ReadFromTimestamp")) + { + m_readFromTimestamp = jsonValue.GetDouble("ReadFromTimestamp"); + + m_readFromTimestampHasBeenSet = true; + } + return *this; } @@ -92,6 +100,11 @@ JsonValue MSKSourceDescription::Jsonize() const payload.WithDouble("DeliveryStartTimestamp", m_deliveryStartTimestamp.SecondsWithMSPrecision()); } + if(m_readFromTimestampHasBeenSet) + { + payload.WithDouble("ReadFromTimestamp", m_readFromTimestamp.SecondsWithMSPrecision()); + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeBufferingHints.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeBufferingHints.cpp new file mode 100644 index 00000000000..536f1ca9c18 --- /dev/null +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeBufferingHints.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Firehose +{ +namespace Model +{ + +SnowflakeBufferingHints::SnowflakeBufferingHints() : + m_sizeInMBs(0), + m_sizeInMBsHasBeenSet(false), + m_intervalInSeconds(0), + m_intervalInSecondsHasBeenSet(false) +{ +} + +SnowflakeBufferingHints::SnowflakeBufferingHints(JsonView jsonValue) + : SnowflakeBufferingHints() +{ + *this = jsonValue; +} + +SnowflakeBufferingHints& SnowflakeBufferingHints::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SizeInMBs")) + { + m_sizeInMBs = jsonValue.GetInteger("SizeInMBs"); + + m_sizeInMBsHasBeenSet = true; + } + + if(jsonValue.ValueExists("IntervalInSeconds")) + { + m_intervalInSeconds = jsonValue.GetInteger("IntervalInSeconds"); + + m_intervalInSecondsHasBeenSet = true; + } + + return *this; +} + +JsonValue SnowflakeBufferingHints::Jsonize() const +{ + JsonValue payload; + + if(m_sizeInMBsHasBeenSet) + { + payload.WithInteger("SizeInMBs", m_sizeInMBs); + + } + + if(m_intervalInSecondsHasBeenSet) + { + payload.WithInteger("IntervalInSeconds", m_intervalInSeconds); + + } + + return payload; +} + +} // namespace Model +} // namespace Firehose +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp index 60b2f1e3a5a..1a460f78d4d 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationConfiguration.cpp @@ -39,7 +39,8 @@ SnowflakeDestinationConfiguration::SnowflakeDestinationConfiguration() : m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3ConfigurationHasBeenSet(false), - m_secretsManagerConfigurationHasBeenSet(false) + m_secretsManagerConfigurationHasBeenSet(false), + m_bufferingHintsHasBeenSet(false) { } @@ -184,6 +185,13 @@ SnowflakeDestinationConfiguration& SnowflakeDestinationConfiguration::operator = m_secretsManagerConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("BufferingHints")) + { + m_bufferingHints = jsonValue.GetObject("BufferingHints"); + + m_bufferingHintsHasBeenSet = true; + } + return *this; } @@ -303,6 +311,12 @@ JsonValue SnowflakeDestinationConfiguration::Jsonize() const } + if(m_bufferingHintsHasBeenSet) + { + payload.WithObject("BufferingHints", m_bufferingHints.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp index 6f2dfc88f6b..5af8aacb013 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationDescription.cpp @@ -37,7 +37,8 @@ SnowflakeDestinationDescription::SnowflakeDestinationDescription() : m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3DestinationDescriptionHasBeenSet(false), - m_secretsManagerConfigurationHasBeenSet(false) + m_secretsManagerConfigurationHasBeenSet(false), + m_bufferingHintsHasBeenSet(false) { } @@ -168,6 +169,13 @@ SnowflakeDestinationDescription& SnowflakeDestinationDescription::operator =(Jso m_secretsManagerConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("BufferingHints")) + { + m_bufferingHints = jsonValue.GetObject("BufferingHints"); + + m_bufferingHintsHasBeenSet = true; + } + return *this; } @@ -275,6 +283,12 @@ JsonValue SnowflakeDestinationDescription::Jsonize() const } + if(m_bufferingHintsHasBeenSet) + { + payload.WithObject("BufferingHints", m_bufferingHints.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp index 4217379833f..1afb8ec73b8 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/SnowflakeDestinationUpdate.cpp @@ -38,7 +38,8 @@ SnowflakeDestinationUpdate::SnowflakeDestinationUpdate() : m_s3BackupMode(SnowflakeS3BackupMode::NOT_SET), m_s3BackupModeHasBeenSet(false), m_s3UpdateHasBeenSet(false), - m_secretsManagerConfigurationHasBeenSet(false) + m_secretsManagerConfigurationHasBeenSet(false), + m_bufferingHintsHasBeenSet(false) { } @@ -176,6 +177,13 @@ SnowflakeDestinationUpdate& SnowflakeDestinationUpdate::operator =(JsonView json m_secretsManagerConfigurationHasBeenSet = true; } + if(jsonValue.ValueExists("BufferingHints")) + { + m_bufferingHints = jsonValue.GetObject("BufferingHints"); + + m_bufferingHintsHasBeenSet = true; + } + return *this; } @@ -289,6 +297,12 @@ JsonValue SnowflakeDestinationUpdate::Jsonize() const } + if(m_bufferingHintsHasBeenSet) + { + payload.WithObject("BufferingHints", m_bufferingHints.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-firehose/source/model/UpdateDestinationRequest.cpp b/generated/src/aws-cpp-sdk-firehose/source/model/UpdateDestinationRequest.cpp index 1d1a1b3804e..f4af0b8a04a 100644 --- a/generated/src/aws-cpp-sdk-firehose/source/model/UpdateDestinationRequest.cpp +++ b/generated/src/aws-cpp-sdk-firehose/source/model/UpdateDestinationRequest.cpp @@ -23,7 +23,8 @@ UpdateDestinationRequest::UpdateDestinationRequest() : m_splunkDestinationUpdateHasBeenSet(false), m_httpEndpointDestinationUpdateHasBeenSet(false), m_amazonOpenSearchServerlessDestinationUpdateHasBeenSet(false), - m_snowflakeDestinationUpdateHasBeenSet(false) + m_snowflakeDestinationUpdateHasBeenSet(false), + m_icebergDestinationUpdateHasBeenSet(false) { } @@ -97,6 +98,12 @@ Aws::String UpdateDestinationRequest::SerializePayload() const } + if(m_icebergDestinationUpdateHasBeenSet) + { + payload.WithObject("IcebergDestinationUpdate", m_icebergDestinationUpdate.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/IvschatClient.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/IvschatClient.h index 376cc2befbc..d5eb8cc1e97 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/IvschatClient.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/IvschatClient.h @@ -25,19 +25,25 @@ namespace ivschat * regions and Amazon IVS Chat HTTPS service endpoints, see the Amazon IVS Chat * information on the Amazon IVS - * page in the AWS General Reference.

Notes on + * page in the AWS General Reference.

This document describes + * HTTP operations. There is a separate messaging API for managing Chat + * resources; see the + * Amazon IVS Chat Messaging API Reference.

Notes on * terminology:

  • You create service applications using the * Amazon IVS Chat API. We refer to these as applications.

  • *

    You create front-end client applications (browser and Android/iOS apps) using * the Amazon IVS Chat Messaging API. We refer to these as clients.

    - *

Key Concepts

  • - * LoggingConfiguration — A configuration that allows customers to store and - * record sent messages in a chat room.

  • Room — The - * central Amazon IVS Chat resource through which clients connect to and exchange - * chat messages.

Tagging

A tag is a - * metadata label that you assign to an AWS resource. A tag comprises a key - * and a value, both set by you. For example, you might set a tag as - * topic:nature to label a particular video category. See

Resources

The following resources are part of + * Amazon IVS Chat:

  • LoggingConfiguration — A configuration + * that allows customers to store and record sent messages in a chat room. See the + * Logging Configuration endpoints for more information.

  • + * Room — The central Amazon IVS Chat resource through which clients connect + * to and exchange chat messages. See the Room endpoints for more information.

    + *

Tagging

A tag is a metadata label that you + * assign to an AWS resource. A tag comprises a key and a value, both + * set by you. For example, you might set a tag as topic:nature to + * label a particular video category. See Tagging * AWS Resources for more information, including restrictions that apply to * tags and "Tag naming limits and requirements"; Amazon IVS Chat has no @@ -80,50 +86,7 @@ namespace ivschat * resource unambiguously across all of AWS, such as in IAM policies and API calls. * For more information, see Amazon - * Resource Names in the AWS General Reference.

Messaging - * Endpoints

  • DeleteMessage — Sends an event to a - * specific room which directs clients to delete a specific message; that is, - * unrender it from view and delete it from the client’s chat history. This event’s - * EventName is aws:DELETE_MESSAGE. This replicates the - * - * DeleteMessage WebSocket operation in the Amazon IVS Chat Messaging API.

    - *
  • DisconnectUser — Disconnects all connections using a - * specified user ID from a room. This replicates the - * DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.

    - *
  • SendEvent — Sends an event to a room. Use this within your - * application’s business logic to send events to clients of a room; e.g., to - * notify clients to change the way the chat UI is rendered.

- * Chat Token Endpoint

  • CreateChatToken — Creates - * an encrypted token that is used by a chat participant to establish an individual - * WebSocket chat connection to a room. When the token is used to connect to chat, - * the connection is valid for the session duration specified in the request. The - * token becomes invalid at the token-expiration timestamp included in the - * response.

Room Endpoints

  • - * CreateRoom — Creates a room that allows clients to connect and pass - * messages.

  • DeleteRoom — Deletes the specified room.

    - *
  • GetRoom — Gets the specified room.

  • - * ListRooms — Gets summary information about all your rooms in the AWS - * region where the API request is processed.

  • UpdateRoom - * — Updates a room’s configuration.

Logging Configuration - * Endpoints

Tags Endpoints

  • - * ListTagsForResource — Gets information about AWS tags for the specified - * ARN.

  • TagResource — Adds or updates tags for the AWS - * resource with the specified ARN.

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

All - * the above are HTTP operations. There is a separate messaging API for - * managing Chat resources; see the - * Amazon IVS Chat Messaging API Reference.

+ * Resource Names in the AWS General Reference.

*/ class AWS_IVSCHAT_API IvschatClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods { diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenRequest.h index aa5c0c32d6a..4bddd867c4c 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenRequest.h @@ -6,9 +6,9 @@ #pragma once #include #include -#include -#include #include +#include +#include #include #include @@ -37,23 +37,32 @@ namespace Model ///@{ /** - *

Application-provided attributes to encode into the token and attach to a chat - * session. Map keys and values can contain UTF-8 encoded text. The maximum length - * of this field is 1 KB total.

+ *

Identifier of the room that the client is trying to access. Currently this + * must be an ARN.

*/ - inline const Aws::Map& GetAttributes() const{ return m_attributes; } - inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } - inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } - inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } - inline CreateChatTokenRequest& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} - inline CreateChatTokenRequest& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} - inline CreateChatTokenRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } - inline CreateChatTokenRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } - inline CreateChatTokenRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } - inline CreateChatTokenRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } - inline CreateChatTokenRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } - inline CreateChatTokenRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } - inline CreateChatTokenRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; } + inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; } + inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; } + inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); } + inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); } + inline CreateChatTokenRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;} + inline CreateChatTokenRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;} + inline CreateChatTokenRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

Application-provided ID that uniquely identifies the user associated with + * this token. This can be any UTF-8 encoded text.

+ */ + inline const Aws::String& GetUserId() const{ return m_userId; } + inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } + inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } + inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } + inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } + inline CreateChatTokenRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} + inline CreateChatTokenRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} + inline CreateChatTokenRequest& WithUserId(const char* value) { SetUserId(value); return *this;} ///@} ///@{ @@ -72,21 +81,6 @@ namespace Model inline CreateChatTokenRequest& AddCapabilities(ChatTokenCapability&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; } ///@} - ///@{ - /** - *

Identifier of the room that the client is trying to access. Currently this - * must be an ARN.

- */ - inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; } - inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; } - inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; } - inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); } - inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); } - inline CreateChatTokenRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;} - inline CreateChatTokenRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;} - inline CreateChatTokenRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;} - ///@} - ///@{ /** *

Session duration (in minutes), after which the session expires. Default: 60 @@ -100,34 +94,40 @@ namespace Model ///@{ /** - *

Application-provided ID that uniquely identifies the user associated with - * this token. This can be any UTF-8 encoded text.

+ *

Application-provided attributes to encode into the token and attach to a chat + * session. Map keys and values can contain UTF-8 encoded text. The maximum length + * of this field is 1 KB total.

*/ - inline const Aws::String& GetUserId() const{ return m_userId; } - inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; } - inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; } - inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); } - inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); } - inline CreateChatTokenRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;} - inline CreateChatTokenRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} - inline CreateChatTokenRequest& WithUserId(const char* value) { SetUserId(value); return *this;} + inline const Aws::Map& GetAttributes() const{ return m_attributes; } + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } + inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + inline CreateChatTokenRequest& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} + inline CreateChatTokenRequest& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} + inline CreateChatTokenRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + inline CreateChatTokenRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline CreateChatTokenRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline CreateChatTokenRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } + inline CreateChatTokenRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline CreateChatTokenRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline CreateChatTokenRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } ///@} private: - Aws::Map m_attributes; - bool m_attributesHasBeenSet = false; + Aws::String m_roomIdentifier; + bool m_roomIdentifierHasBeenSet = false; + + Aws::String m_userId; + bool m_userIdHasBeenSet = false; Aws::Vector m_capabilities; bool m_capabilitiesHasBeenSet = false; - Aws::String m_roomIdentifier; - bool m_roomIdentifierHasBeenSet = false; - int m_sessionDurationInMinutes; bool m_sessionDurationInMinutesHasBeenSet = false; - Aws::String m_userId; - bool m_userIdHasBeenSet = false; + Aws::Map m_attributes; + bool m_attributesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenResult.h index 59e6ab2cf10..80576d7f283 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateChatTokenResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -33,18 +33,6 @@ namespace Model AWS_IVSCHAT_API CreateChatTokenResult& operator=(const Aws::AmazonWebServiceResult& result); - ///@{ - /** - *

Time after which an end user's session is no longer valid. This is an ISO - * 8601 timestamp; note that this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetSessionExpirationTime() const{ return m_sessionExpirationTime; } - inline void SetSessionExpirationTime(const Aws::Utils::DateTime& value) { m_sessionExpirationTime = value; } - inline void SetSessionExpirationTime(Aws::Utils::DateTime&& value) { m_sessionExpirationTime = std::move(value); } - inline CreateChatTokenResult& WithSessionExpirationTime(const Aws::Utils::DateTime& value) { SetSessionExpirationTime(value); return *this;} - inline CreateChatTokenResult& WithSessionExpirationTime(Aws::Utils::DateTime&& value) { SetSessionExpirationTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

The issued client token, encrypted.

@@ -71,6 +59,18 @@ namespace Model inline CreateChatTokenResult& WithTokenExpirationTime(Aws::Utils::DateTime&& value) { SetTokenExpirationTime(std::move(value)); return *this;} ///@} + ///@{ + /** + *

Time after which an end user's session is no longer valid. This is an ISO + * 8601 timestamp; note that this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetSessionExpirationTime() const{ return m_sessionExpirationTime; } + inline void SetSessionExpirationTime(const Aws::Utils::DateTime& value) { m_sessionExpirationTime = value; } + inline void SetSessionExpirationTime(Aws::Utils::DateTime&& value) { m_sessionExpirationTime = std::move(value); } + inline CreateChatTokenResult& WithSessionExpirationTime(const Aws::Utils::DateTime& value) { SetSessionExpirationTime(value); return *this;} + inline CreateChatTokenResult& WithSessionExpirationTime(Aws::Utils::DateTime&& value) { SetSessionExpirationTime(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -83,12 +83,12 @@ namespace Model ///@} private: - Aws::Utils::DateTime m_sessionExpirationTime; - Aws::String m_token; Aws::Utils::DateTime m_tokenExpirationTime; + Aws::Utils::DateTime m_sessionExpirationTime; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationRequest.h index 802a94392ad..8233c8fd874 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include #include @@ -34,6 +34,20 @@ namespace Model AWS_IVSCHAT_API Aws::String SerializePayload() const override; + ///@{ + /** + *

Logging-configuration name. The value does not need to be unique.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline CreateLoggingConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateLoggingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateLoggingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + ///@{ /** *

A complex type that contains a destination configuration for where chat @@ -49,20 +63,6 @@ namespace Model inline CreateLoggingConfigurationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Logging-configuration name. The value does not need to be unique.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline CreateLoggingConfigurationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline CreateLoggingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline CreateLoggingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} - ///@} - ///@{ /** *

Tags to attach to the resource. Array of maps, each of the form @@ -88,12 +88,12 @@ namespace Model ///@} private: - DestinationConfiguration m_destinationConfiguration; - bool m_destinationConfigurationHasBeenSet = false; - Aws::String m_name; bool m_nameHasBeenSet = false; + DestinationConfiguration m_destinationConfiguration; + bool m_destinationConfigurationHasBeenSet = false; + Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationResult.h index 3acdabd37c9..25e705d602f 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateLoggingConfigurationResult.h @@ -49,6 +49,21 @@ namespace Model inline CreateLoggingConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;} ///@} + ///@{ + /** + *

Logging-configuration ID, generated by the system. This is a relative + * identifier, the part of the ARN that uniquely identifies the logging + * configuration.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline CreateLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline CreateLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline CreateLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + ///@{ /** *

Time when the logging configuration was created. This is an ISO 8601 @@ -63,31 +78,14 @@ namespace Model ///@{ /** - *

A complex type that contains a destination configuration for where chat - * content will be logged, from the request. There is only one type of destination - * (cloudWatchLogs, firehose, or s3) in a - * destinationConfiguration.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); } - inline CreateLoggingConfigurationResult& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline CreateLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

Logging-configuration ID, generated by the system. This is a relative - * identifier, the part of the ARN that uniquely identifies the logging - * configuration.

+ *

Time of the logging configuration’s last update. This is an ISO 8601 + * timestamp; note that this is returned as a string.

*/ - inline const Aws::String& GetId() const{ return m_id; } - inline void SetId(const Aws::String& value) { m_id = value; } - inline void SetId(Aws::String&& value) { m_id = std::move(value); } - inline void SetId(const char* value) { m_id.assign(value); } - inline CreateLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;} - inline CreateLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} - inline CreateLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline CreateLoggingConfigurationResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline CreateLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -103,6 +101,20 @@ namespace Model inline CreateLoggingConfigurationResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

A complex type that contains a destination configuration for where chat + * content will be logged, from the request. There is only one type of destination + * (cloudWatchLogs, firehose, or s3) in a + * destinationConfiguration.

+ */ + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); } + inline CreateLoggingConfigurationResult& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline CreateLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The state of the logging configuration. When the state is @@ -134,18 +146,6 @@ namespace Model inline CreateLoggingConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } ///@} - ///@{ - /** - *

Time of the logging configuration’s last update. This is an ISO 8601 - * timestamp; note that this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - inline CreateLoggingConfigurationResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline CreateLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -160,20 +160,20 @@ namespace Model Aws::String m_arn; - Aws::Utils::DateTime m_createTime; + Aws::String m_id; - DestinationConfiguration m_destinationConfiguration; + Aws::Utils::DateTime m_createTime; - Aws::String m_id; + Aws::Utils::DateTime m_updateTime; Aws::String m_name; + DestinationConfiguration m_destinationConfiguration; + CreateLoggingConfigurationState m_state; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomRequest.h index dee4a3e155e..da6af9e569a 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomRequest.h @@ -6,10 +6,10 @@ #pragma once #include #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -37,17 +37,27 @@ namespace Model ///@{ /** - *

Array of logging-configuration identifiers attached to the room.

+ *

Room name. The value does not need to be unique.

*/ - inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } - inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; } - inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; } - inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); } - inline CreateRoomRequest& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} - inline CreateRoomRequest& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} - inline CreateRoomRequest& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } - inline CreateRoomRequest& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } - inline CreateRoomRequest& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline CreateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateRoomRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

Maximum number of messages per second that can be sent to the room (by all + * clients). Default: 10.

+ */ + inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; } + inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; } + inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; } + inline CreateRoomRequest& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} ///@} ///@{ @@ -62,17 +72,6 @@ namespace Model inline CreateRoomRequest& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} ///@} - ///@{ - /** - *

Maximum number of messages per second that can be sent to the room (by all - * clients). Default: 10.

- */ - inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; } - inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; } - inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; } - inline CreateRoomRequest& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} - ///@} - ///@{ /** *

Configuration information for optional review of messages.

@@ -85,20 +84,6 @@ namespace Model inline CreateRoomRequest& WithMessageReviewHandler(MessageReviewHandler&& value) { SetMessageReviewHandler(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Room name. The value does not need to be unique.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline CreateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline CreateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline CreateRoomRequest& WithName(const char* value) { SetName(value); return *this;} - ///@} - ///@{ /** *

Tags to attach to the resource. Array of maps, each of the form @@ -122,25 +107,40 @@ namespace Model inline CreateRoomRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } inline CreateRoomRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} - private: - Aws::Vector m_loggingConfigurationIdentifiers; - bool m_loggingConfigurationIdentifiersHasBeenSet = false; + ///@{ + /** + *

Array of logging-configuration identifiers attached to the room.

+ */ + inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } + inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; } + inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; } + inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); } + inline CreateRoomRequest& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} + inline CreateRoomRequest& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} + inline CreateRoomRequest& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline CreateRoomRequest& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } + inline CreateRoomRequest& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + ///@} + private: - int m_maximumMessageLength; - bool m_maximumMessageLengthHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; int m_maximumMessageRatePerSecond; bool m_maximumMessageRatePerSecondHasBeenSet = false; + int m_maximumMessageLength; + bool m_maximumMessageLengthHasBeenSet = false; + MessageReviewHandler m_messageReviewHandler; bool m_messageReviewHandlerHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; - Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + Aws::Vector m_loggingConfigurationIdentifiers; + bool m_loggingConfigurationIdentifiersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomResult.h index 6e53ef5b837..0ca5f6e8c5b 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/CreateRoomResult.h @@ -7,9 +7,9 @@ #include #include #include -#include #include #include +#include #include namespace Aws @@ -49,18 +49,6 @@ namespace Model inline CreateRoomResult& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

Time when the room was created. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - inline CreateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - inline CreateRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

Room ID, generated by the system. This is a relative identifier, the part of @@ -77,27 +65,39 @@ namespace Model ///@{ /** - *

Array of logging configurations attached to the room, from the request (if - * specified).

+ *

Room name, from the request (if specified).

*/ - inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } - inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } - inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } - inline CreateRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} - inline CreateRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} - inline CreateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } - inline CreateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } - inline CreateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline CreateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline CreateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline CreateRoomResult& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** - *

Maximum number of characters in a single message, from the request (if - * specified).

+ *

Time when the room was created. This is an ISO 8601 timestamp; note that + * this is returned as a string.

*/ - inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } - inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } - inline CreateRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline CreateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline CreateRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Time of the room’s last update. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline CreateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline CreateRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -110,6 +110,16 @@ namespace Model inline CreateRoomResult& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} ///@} + ///@{ + /** + *

Maximum number of characters in a single message, from the request (if + * specified).

+ */ + inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } + inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } + inline CreateRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} + ///@} + ///@{ /** *

Configuration information for optional review of messages.

@@ -121,19 +131,6 @@ namespace Model inline CreateRoomResult& WithMessageReviewHandler(MessageReviewHandler&& value) { SetMessageReviewHandler(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Room name, from the request (if specified).

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline void SetName(const Aws::String& value) { m_name = value; } - inline void SetName(Aws::String&& value) { m_name = std::move(value); } - inline void SetName(const char* value) { m_name.assign(value); } - inline CreateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} - inline CreateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline CreateRoomResult& WithName(const char* value) { SetName(value); return *this;} - ///@} - ///@{ /** *

Tags attached to the resource, from the request (if specified).

@@ -154,14 +151,17 @@ namespace Model ///@{ /** - *

Time of the room’s last update. This is an ISO 8601 timestamp; note that - * this is returned as a string.

+ *

Array of logging configurations attached to the room, from the request (if + * specified).

*/ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - inline CreateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline CreateRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } + inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } + inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } + inline CreateRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} + inline CreateRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} + inline CreateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline CreateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } + inline CreateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } ///@} ///@{ @@ -178,23 +178,23 @@ namespace Model Aws::String m_arn; - Aws::Utils::DateTime m_createTime; - Aws::String m_id; - Aws::Vector m_loggingConfigurationIdentifiers; + Aws::String m_name; - int m_maximumMessageLength; + Aws::Utils::DateTime m_createTime; + + Aws::Utils::DateTime m_updateTime; int m_maximumMessageRatePerSecond; - MessageReviewHandler m_messageReviewHandler; + int m_maximumMessageLength; - Aws::String m_name; + MessageReviewHandler m_messageReviewHandler; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; + Aws::Vector m_loggingConfigurationIdentifiers; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DeleteMessageRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DeleteMessageRequest.h index 394ccb64556..34ddd5841b8 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DeleteMessageRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DeleteMessageRequest.h @@ -32,6 +32,21 @@ namespace Model AWS_IVSCHAT_API Aws::String SerializePayload() const override; + ///@{ + /** + *

Identifier of the room where the message should be deleted. Currently this + * must be an ARN.

+ */ + inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; } + inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; } + inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; } + inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); } + inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); } + inline DeleteMessageRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;} + inline DeleteMessageRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;} + inline DeleteMessageRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;} + ///@} + ///@{ /** *

ID of the message to be deleted. This is the Id field in the @@ -62,31 +77,16 @@ namespace Model inline DeleteMessageRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} inline DeleteMessageRequest& WithReason(const char* value) { SetReason(value); return *this;} ///@} - - ///@{ - /** - *

Identifier of the room where the message should be deleted. Currently this - * must be an ARN.

- */ - inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; } - inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; } - inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; } - inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); } - inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); } - inline DeleteMessageRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;} - inline DeleteMessageRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;} - inline DeleteMessageRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;} - ///@} private: + Aws::String m_roomIdentifier; + bool m_roomIdentifierHasBeenSet = false; + Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; - - Aws::String m_roomIdentifier; - bool m_roomIdentifierHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DestinationConfiguration.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DestinationConfiguration.h index 07c11f132d4..cb83cb27f83 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DestinationConfiguration.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DestinationConfiguration.h @@ -5,9 +5,9 @@ #pragma once #include +#include #include #include -#include #include namespace Aws @@ -42,6 +42,19 @@ namespace Model AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

An Amazon S3 destination configuration where chat activity will be + * logged.

+ */ + inline const S3DestinationConfiguration& GetS3() const{ return m_s3; } + inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } + inline void SetS3(const S3DestinationConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; } + inline void SetS3(S3DestinationConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } + inline DestinationConfiguration& WithS3(const S3DestinationConfiguration& value) { SetS3(value); return *this;} + inline DestinationConfiguration& WithS3(S3DestinationConfiguration&& value) { SetS3(std::move(value)); return *this;} + ///@} + ///@{ /** *

An Amazon CloudWatch Logs destination configuration where chat activity will @@ -67,29 +80,16 @@ namespace Model inline DestinationConfiguration& WithFirehose(const FirehoseDestinationConfiguration& value) { SetFirehose(value); return *this;} inline DestinationConfiguration& WithFirehose(FirehoseDestinationConfiguration&& value) { SetFirehose(std::move(value)); return *this;} ///@} - - ///@{ - /** - *

An Amazon S3 destination configuration where chat activity will be - * logged.

- */ - inline const S3DestinationConfiguration& GetS3() const{ return m_s3; } - inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } - inline void SetS3(const S3DestinationConfiguration& value) { m_s3HasBeenSet = true; m_s3 = value; } - inline void SetS3(S3DestinationConfiguration&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } - inline DestinationConfiguration& WithS3(const S3DestinationConfiguration& value) { SetS3(value); return *this;} - inline DestinationConfiguration& WithS3(S3DestinationConfiguration&& value) { SetS3(std::move(value)); return *this;} - ///@} private: + S3DestinationConfiguration m_s3; + bool m_s3HasBeenSet = false; + CloudWatchLogsDestinationConfiguration m_cloudWatchLogs; bool m_cloudWatchLogsHasBeenSet = false; FirehoseDestinationConfiguration m_firehose; bool m_firehoseHasBeenSet = false; - - S3DestinationConfiguration m_s3; - bool m_s3HasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DisconnectUserRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DisconnectUserRequest.h index 739ea8dbdf8..d7ce03b555f 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DisconnectUserRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/DisconnectUserRequest.h @@ -32,20 +32,6 @@ namespace Model AWS_IVSCHAT_API Aws::String SerializePayload() const override; - ///@{ - /** - *

Reason for disconnecting the user.

- */ - inline const Aws::String& GetReason() const{ return m_reason; } - inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } - inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } - inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } - inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } - inline DisconnectUserRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;} - inline DisconnectUserRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} - inline DisconnectUserRequest& WithReason(const char* value) { SetReason(value); return *this;} - ///@} - ///@{ /** *

Identifier of the room from which the user's clients should be disconnected. @@ -74,16 +60,30 @@ namespace Model inline DisconnectUserRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;} inline DisconnectUserRequest& WithUserId(const char* value) { SetUserId(value); return *this;} ///@} - private: - Aws::String m_reason; - bool m_reasonHasBeenSet = false; + ///@{ + /** + *

Reason for disconnecting the user.

+ */ + inline const Aws::String& GetReason() const{ return m_reason; } + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } + inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } + inline DisconnectUserRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;} + inline DisconnectUserRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} + inline DisconnectUserRequest& WithReason(const char* value) { SetReason(value); return *this;} + ///@} + private: Aws::String m_roomIdentifier; bool m_roomIdentifierHasBeenSet = false; Aws::String m_userId; bool m_userIdHasBeenSet = false; + + Aws::String m_reason; + bool m_reasonHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetLoggingConfigurationResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetLoggingConfigurationResult.h index 1d37f34de2e..fb0722edffd 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetLoggingConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetLoggingConfigurationResult.h @@ -50,6 +50,21 @@ namespace Model inline GetLoggingConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;} ///@} + ///@{ + /** + *

Logging-configuration ID, generated by the system. This is a relative + * identifier, the part of the ARN that uniquely identifies the logging + * configuration.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline GetLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + ///@{ /** *

Time when the logging configuration was created. This is an ISO 8601 @@ -64,31 +79,14 @@ namespace Model ///@{ /** - *

A complex type that contains a destination configuration for where chat - * content will be logged. There is only one type of destination - * (cloudWatchLogs, firehose, or s3) in a - * destinationConfiguration.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); } - inline GetLoggingConfigurationResult& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline GetLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

Logging-configuration ID, generated by the system. This is a relative - * identifier, the part of the ARN that uniquely identifies the logging - * configuration.

+ *

Time of the logging configuration’s last update. This is an ISO 8601 + * timestamp; note that this is returned as a string.

*/ - inline const Aws::String& GetId() const{ return m_id; } - inline void SetId(const Aws::String& value) { m_id = value; } - inline void SetId(Aws::String&& value) { m_id = std::move(value); } - inline void SetId(const char* value) { m_id.assign(value); } - inline GetLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;} - inline GetLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} - inline GetLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline GetLoggingConfigurationResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline GetLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -104,6 +102,20 @@ namespace Model inline GetLoggingConfigurationResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

A complex type that contains a destination configuration for where chat + * content will be logged. There is only one type of destination + * (cloudWatchLogs, firehose, or s3) in a + * destinationConfiguration.

+ */ + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); } + inline GetLoggingConfigurationResult& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline GetLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The state of the logging configuration. When the state is @@ -135,18 +147,6 @@ namespace Model inline GetLoggingConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } ///@} - ///@{ - /** - *

Time of the logging configuration’s last update. This is an ISO 8601 - * timestamp; note that this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - inline GetLoggingConfigurationResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline GetLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -161,20 +161,20 @@ namespace Model Aws::String m_arn; - Aws::Utils::DateTime m_createTime; + Aws::String m_id; - DestinationConfiguration m_destinationConfiguration; + Aws::Utils::DateTime m_createTime; - Aws::String m_id; + Aws::Utils::DateTime m_updateTime; Aws::String m_name; + DestinationConfiguration m_destinationConfiguration; + LoggingConfigurationState m_state; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetRoomResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetRoomResult.h index 3354be68148..52f3f0a942b 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetRoomResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/GetRoomResult.h @@ -7,9 +7,9 @@ #include #include #include -#include #include #include +#include #include namespace Aws @@ -49,18 +49,6 @@ namespace Model inline GetRoomResult& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

Time when the room was created. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - inline GetRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - inline GetRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

Room ID, generated by the system. This is a relative identifier, the part of @@ -77,27 +65,39 @@ namespace Model ///@{ /** - *

Array of logging configurations attached to the room.

+ *

Room name. The value does not need to be unique.

*/ - inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } - inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } - inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } - inline GetRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} - inline GetRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} - inline GetRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } - inline GetRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } - inline GetRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline GetRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetRoomResult& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** - *

Maximum number of characters in a single message. Messages are expected to be - * UTF-8 encoded and this limit applies specifically to rune/code-point count, not - * number of bytes. Default: 500.

+ *

Time when the room was created. This is an ISO 8601 timestamp; note that + * this is returned as a string.

*/ - inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } - inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } - inline GetRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline GetRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline GetRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Time of the room’s last update. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline GetRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline GetRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -110,6 +110,17 @@ namespace Model inline GetRoomResult& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} ///@} + ///@{ + /** + *

Maximum number of characters in a single message. Messages are expected to be + * UTF-8 encoded and this limit applies specifically to rune/code-point count, not + * number of bytes. Default: 500.

+ */ + inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } + inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } + inline GetRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} + ///@} + ///@{ /** *

Configuration information for optional review of messages.

@@ -121,19 +132,6 @@ namespace Model inline GetRoomResult& WithMessageReviewHandler(MessageReviewHandler&& value) { SetMessageReviewHandler(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Room name. The value does not need to be unique.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline void SetName(const Aws::String& value) { m_name = value; } - inline void SetName(Aws::String&& value) { m_name = std::move(value); } - inline void SetName(const char* value) { m_name.assign(value); } - inline GetRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} - inline GetRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline GetRoomResult& WithName(const char* value) { SetName(value); return *this;} - ///@} - ///@{ /** *

Tags attached to the resource. Array of maps, each of the form @@ -155,14 +153,16 @@ namespace Model ///@{ /** - *

Time of the room’s last update. This is an ISO 8601 timestamp; note that - * this is returned as a string.

+ *

Array of logging configurations attached to the room.

*/ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - inline GetRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline GetRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } + inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } + inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } + inline GetRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} + inline GetRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} + inline GetRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline GetRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } + inline GetRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } ///@} ///@{ @@ -179,23 +179,23 @@ namespace Model Aws::String m_arn; - Aws::Utils::DateTime m_createTime; - Aws::String m_id; - Aws::Vector m_loggingConfigurationIdentifiers; + Aws::String m_name; - int m_maximumMessageLength; + Aws::Utils::DateTime m_createTime; + + Aws::Utils::DateTime m_updateTime; int m_maximumMessageRatePerSecond; - MessageReviewHandler m_messageReviewHandler; + int m_maximumMessageLength; - Aws::String m_name; + MessageReviewHandler m_messageReviewHandler; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; + Aws::Vector m_loggingConfigurationIdentifiers; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListLoggingConfigurationsRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListLoggingConfigurationsRequest.h index 64942764fc8..b8ed7e53d28 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListLoggingConfigurationsRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListLoggingConfigurationsRequest.h @@ -32,16 +32,6 @@ namespace Model AWS_IVSCHAT_API Aws::String SerializePayload() const override; - ///@{ - /** - *

Maximum number of logging configurations to return. Default: 50.

- */ - inline int GetMaxResults() const{ return m_maxResults; } - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - inline ListLoggingConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - ///@} - ///@{ /** *

The first logging configurations to retrieve. This is used for pagination; @@ -56,13 +46,23 @@ namespace Model inline ListLoggingConfigurationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} inline ListLoggingConfigurationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + ///@{ + /** + *

Maximum number of logging configurations to return. Default: 50.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListLoggingConfigurationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsRequest.h index 9078ea6f671..16c0ade6de6 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsRequest.h @@ -34,16 +34,31 @@ namespace Model ///@{ /** - *

Logging-configuration identifier.

+ *

Filters the list to match the specified room name.

*/ - inline const Aws::String& GetLoggingConfigurationIdentifier() const{ return m_loggingConfigurationIdentifier; } - inline bool LoggingConfigurationIdentifierHasBeenSet() const { return m_loggingConfigurationIdentifierHasBeenSet; } - inline void SetLoggingConfigurationIdentifier(const Aws::String& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = value; } - inline void SetLoggingConfigurationIdentifier(Aws::String&& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = std::move(value); } - inline void SetLoggingConfigurationIdentifier(const char* value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier.assign(value); } - inline ListRoomsRequest& WithLoggingConfigurationIdentifier(const Aws::String& value) { SetLoggingConfigurationIdentifier(value); return *this;} - inline ListRoomsRequest& WithLoggingConfigurationIdentifier(Aws::String&& value) { SetLoggingConfigurationIdentifier(std::move(value)); return *this;} - inline ListRoomsRequest& WithLoggingConfigurationIdentifier(const char* value) { SetLoggingConfigurationIdentifier(value); return *this;} + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline ListRoomsRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline ListRoomsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline ListRoomsRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The first room to retrieve. This is used for pagination; see the + * nextToken response field.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListRoomsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListRoomsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListRoomsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} ///@{ @@ -72,36 +87,24 @@ namespace Model ///@{ /** - *

Filters the list to match the specified room name.

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline ListRoomsRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline ListRoomsRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline ListRoomsRequest& WithName(const char* value) { SetName(value); return *this;} - ///@} - - ///@{ - /** - *

The first room to retrieve. This is used for pagination; see the - * nextToken response field.

+ *

Logging-configuration identifier.

*/ - inline const Aws::String& GetNextToken() const{ return m_nextToken; } - inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } - inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } - inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } - inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } - inline ListRoomsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} - inline ListRoomsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} - inline ListRoomsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + inline const Aws::String& GetLoggingConfigurationIdentifier() const{ return m_loggingConfigurationIdentifier; } + inline bool LoggingConfigurationIdentifierHasBeenSet() const { return m_loggingConfigurationIdentifierHasBeenSet; } + inline void SetLoggingConfigurationIdentifier(const Aws::String& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = value; } + inline void SetLoggingConfigurationIdentifier(Aws::String&& value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier = std::move(value); } + inline void SetLoggingConfigurationIdentifier(const char* value) { m_loggingConfigurationIdentifierHasBeenSet = true; m_loggingConfigurationIdentifier.assign(value); } + inline ListRoomsRequest& WithLoggingConfigurationIdentifier(const Aws::String& value) { SetLoggingConfigurationIdentifier(value); return *this;} + inline ListRoomsRequest& WithLoggingConfigurationIdentifier(Aws::String&& value) { SetLoggingConfigurationIdentifier(std::move(value)); return *this;} + inline ListRoomsRequest& WithLoggingConfigurationIdentifier(const char* value) { SetLoggingConfigurationIdentifier(value); return *this;} ///@} private: - Aws::String m_loggingConfigurationIdentifier; - bool m_loggingConfigurationIdentifierHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; @@ -109,11 +112,8 @@ namespace Model Aws::String m_messageReviewHandlerUri; bool m_messageReviewHandlerUriHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; - - Aws::String m_nextToken; - bool m_nextTokenHasBeenSet = false; + Aws::String m_loggingConfigurationIdentifier; + bool m_loggingConfigurationIdentifierHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsResult.h index ef6f244e1d8..7bf4f5ae9ff 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ListRoomsResult.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include #include @@ -34,6 +34,19 @@ namespace Model AWS_IVSCHAT_API ListRoomsResult& operator=(const Aws::AmazonWebServiceResult& result); + ///@{ + /** + *

List of the matching rooms (summary information only).

+ */ + inline const Aws::Vector& GetRooms() const{ return m_rooms; } + inline void SetRooms(const Aws::Vector& value) { m_rooms = value; } + inline void SetRooms(Aws::Vector&& value) { m_rooms = std::move(value); } + inline ListRoomsResult& WithRooms(const Aws::Vector& value) { SetRooms(value); return *this;} + inline ListRoomsResult& WithRooms(Aws::Vector&& value) { SetRooms(std::move(value)); return *this;} + inline ListRoomsResult& AddRooms(const RoomSummary& value) { m_rooms.push_back(value); return *this; } + inline ListRoomsResult& AddRooms(RoomSummary&& value) { m_rooms.push_back(std::move(value)); return *this; } + ///@} + ///@{ /** *

If there are more rooms than maxResults, use @@ -48,19 +61,6 @@ namespace Model inline ListRoomsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} ///@} - ///@{ - /** - *

List of the matching rooms (summary information only).

- */ - inline const Aws::Vector& GetRooms() const{ return m_rooms; } - inline void SetRooms(const Aws::Vector& value) { m_rooms = value; } - inline void SetRooms(Aws::Vector&& value) { m_rooms = std::move(value); } - inline ListRoomsResult& WithRooms(const Aws::Vector& value) { SetRooms(value); return *this;} - inline ListRoomsResult& WithRooms(Aws::Vector&& value) { SetRooms(std::move(value)); return *this;} - inline ListRoomsResult& AddRooms(const RoomSummary& value) { m_rooms.push_back(value); return *this; } - inline ListRoomsResult& AddRooms(RoomSummary&& value) { m_rooms.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -73,10 +73,10 @@ namespace Model ///@} private: - Aws::String m_nextToken; - Aws::Vector m_rooms; + Aws::String m_nextToken; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/LoggingConfigurationSummary.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/LoggingConfigurationSummary.h index 96389cc2136..e6499ebc332 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/LoggingConfigurationSummary.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/LoggingConfigurationSummary.h @@ -56,6 +56,21 @@ namespace Model inline LoggingConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;} ///@} + ///@{ + /** + *

Logging-configuration ID, generated by the system. This is a relative + * identifier, the part of the ARN that uniquely identifies the room.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline LoggingConfigurationSummary& WithId(const Aws::String& value) { SetId(value); return *this;} + inline LoggingConfigurationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline LoggingConfigurationSummary& WithId(const char* value) { SetId(value); return *this;} + ///@} + ///@{ /** *

Time when the logging configuration was created. This is an ISO 8601 @@ -71,30 +86,15 @@ namespace Model ///@{ /** - *

A complex type that contains a destination configuration for where chat - * content will be logged.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } - inline LoggingConfigurationSummary& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline LoggingConfigurationSummary& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

Logging-configuration ID, generated by the system. This is a relative - * identifier, the part of the ARN that uniquely identifies the room.

+ *

Time of the logging configuration’s last update. This is an ISO 8601 + * timestamp; note that this is returned as a string.

*/ - inline const Aws::String& GetId() const{ return m_id; } - inline bool IdHasBeenSet() const { return m_idHasBeenSet; } - inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } - inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } - inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } - inline LoggingConfigurationSummary& WithId(const Aws::String& value) { SetId(value); return *this;} - inline LoggingConfigurationSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} - inline LoggingConfigurationSummary& WithId(const char* value) { SetId(value); return *this;} + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } + inline LoggingConfigurationSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline LoggingConfigurationSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -111,6 +111,19 @@ namespace Model inline LoggingConfigurationSummary& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

A complex type that contains a destination configuration for where chat + * content will be logged.

+ */ + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } + inline LoggingConfigurationSummary& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline LoggingConfigurationSummary& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The state of the logging configuration. When this is ACTIVE, the @@ -147,44 +160,31 @@ namespace Model inline LoggingConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } inline LoggingConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} - - ///@{ - /** - *

Time of the logging configuration’s last update. This is an ISO 8601 - * timestamp; note that this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } - inline LoggingConfigurationSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline LoggingConfigurationSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; + Aws::String m_id; + bool m_idHasBeenSet = false; + Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; - DestinationConfiguration m_destinationConfiguration; - bool m_destinationConfigurationHasBeenSet = false; - - Aws::String m_id; - bool m_idHasBeenSet = false; + Aws::Utils::DateTime m_updateTime; + bool m_updateTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; + DestinationConfiguration m_destinationConfiguration; + bool m_destinationConfigurationHasBeenSet = false; + LoggingConfigurationState m_state; bool m_stateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; - - Aws::Utils::DateTime m_updateTime; - bool m_updateTimeHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/MessageReviewHandler.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/MessageReviewHandler.h index 65dcdbe2d8e..d0164a30fc8 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/MessageReviewHandler.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/MessageReviewHandler.h @@ -5,8 +5,8 @@ #pragma once #include -#include #include +#include #include namespace Aws @@ -39,6 +39,21 @@ namespace Model AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const; + ///@{ + /** + *

Identifier of the message review handler. Currently this must be an ARN of a + * lambda function.

+ */ + inline const Aws::String& GetUri() const{ return m_uri; } + inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } + inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } + inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } + inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } + inline MessageReviewHandler& WithUri(const Aws::String& value) { SetUri(value); return *this;} + inline MessageReviewHandler& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} + inline MessageReviewHandler& WithUri(const char* value) { SetUri(value); return *this;} + ///@} + ///@{ /** *

Specifies the fallback behavior (whether the message is allowed or denied) if @@ -56,28 +71,13 @@ namespace Model inline MessageReviewHandler& WithFallbackResult(const FallbackResult& value) { SetFallbackResult(value); return *this;} inline MessageReviewHandler& WithFallbackResult(FallbackResult&& value) { SetFallbackResult(std::move(value)); return *this;} ///@} - - ///@{ - /** - *

Identifier of the message review handler. Currently this must be an ARN of a - * lambda function.

- */ - inline const Aws::String& GetUri() const{ return m_uri; } - inline bool UriHasBeenSet() const { return m_uriHasBeenSet; } - inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; } - inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); } - inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); } - inline MessageReviewHandler& WithUri(const Aws::String& value) { SetUri(value); return *this;} - inline MessageReviewHandler& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;} - inline MessageReviewHandler& WithUri(const char* value) { SetUri(value); return *this;} - ///@} private: - FallbackResult m_fallbackResult; - bool m_fallbackResultHasBeenSet = false; - Aws::String m_uri; bool m_uriHasBeenSet = false; + + FallbackResult m_fallbackResult; + bool m_fallbackResultHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/RoomSummary.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/RoomSummary.h index cb8b7fbe06c..a1a02876d56 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/RoomSummary.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/RoomSummary.h @@ -6,10 +6,10 @@ #pragma once #include #include -#include -#include #include +#include #include +#include #include namespace Aws @@ -55,19 +55,6 @@ namespace Model inline RoomSummary& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

Time when the room was created. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } - inline RoomSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - inline RoomSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

Room ID, generated by the system. This is a relative identifier, the part of @@ -85,17 +72,16 @@ namespace Model ///@{ /** - *

List of logging-configuration identifiers attached to the room.

+ *

Room name. The value does not need to be unique.

*/ - inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } - inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; } - inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; } - inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); } - inline RoomSummary& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} - inline RoomSummary& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} - inline RoomSummary& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } - inline RoomSummary& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } - inline RoomSummary& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline RoomSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline RoomSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline RoomSummary& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ @@ -112,16 +98,28 @@ namespace Model ///@{ /** - *

Room name. The value does not need to be unique.

+ *

Time when the room was created. This is an ISO 8601 timestamp; note that + * this is returned as a string.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline RoomSummary& WithName(const Aws::String& value) { SetName(value); return *this;} - inline RoomSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline RoomSummary& WithName(const char* value) { SetName(value); return *this;} + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } + inline RoomSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline RoomSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Time of the room’s last update. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } + inline RoomSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline RoomSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -150,41 +148,43 @@ namespace Model ///@{ /** - *

Time of the room’s last update. This is an ISO 8601 timestamp; note that - * this is returned as a string.

+ *

List of logging-configuration identifiers attached to the room.

*/ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); } - inline RoomSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline RoomSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } + inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; } + inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; } + inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); } + inline RoomSummary& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} + inline RoomSummary& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} + inline RoomSummary& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline RoomSummary& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } + inline RoomSummary& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } ///@} private: Aws::String m_arn; bool m_arnHasBeenSet = false; - Aws::Utils::DateTime m_createTime; - bool m_createTimeHasBeenSet = false; - Aws::String m_id; bool m_idHasBeenSet = false; - Aws::Vector m_loggingConfigurationIdentifiers; - bool m_loggingConfigurationIdentifiersHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; MessageReviewHandler m_messageReviewHandler; bool m_messageReviewHandlerHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + Aws::Utils::DateTime m_createTime; + bool m_createTimeHasBeenSet = false; + + Aws::Utils::DateTime m_updateTime; + bool m_updateTimeHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; - Aws::Utils::DateTime m_updateTime; - bool m_updateTimeHasBeenSet = false; + Aws::Vector m_loggingConfigurationIdentifiers; + bool m_loggingConfigurationIdentifiersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/SendEventRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/SendEventRequest.h index 58c9d9b1909..fc5ca8ebfe1 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/SendEventRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/SendEventRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -35,22 +35,17 @@ namespace Model ///@{ /** - *

Application-defined metadata to attach to the event sent to clients. The - * maximum length of the metadata is 1 KB total.

+ *

Identifier of the room to which the event will be sent. Currently this must + * be an ARN.

*/ - inline const Aws::Map& GetAttributes() const{ return m_attributes; } - inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } - inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } - inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } - inline SendEventRequest& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} - inline SendEventRequest& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} - inline SendEventRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } - inline SendEventRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } - inline SendEventRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } - inline SendEventRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } - inline SendEventRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } - inline SendEventRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } - inline SendEventRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; } + inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; } + inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; } + inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); } + inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); } + inline SendEventRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;} + inline SendEventRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;} + inline SendEventRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;} ///@} ///@{ @@ -69,28 +64,33 @@ namespace Model ///@{ /** - *

Identifier of the room to which the event will be sent. Currently this must - * be an ARN.

+ *

Application-defined metadata to attach to the event sent to clients. The + * maximum length of the metadata is 1 KB total.

*/ - inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; } - inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; } - inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; } - inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); } - inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); } - inline SendEventRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;} - inline SendEventRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;} - inline SendEventRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;} + inline const Aws::Map& GetAttributes() const{ return m_attributes; } + inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } + inline void SetAttributes(const Aws::Map& value) { m_attributesHasBeenSet = true; m_attributes = value; } + inline void SetAttributes(Aws::Map&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } + inline SendEventRequest& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} + inline SendEventRequest& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} + inline SendEventRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } + inline SendEventRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline SendEventRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline SendEventRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; } + inline SendEventRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; } + inline SendEventRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; } + inline SendEventRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; } ///@} private: - Aws::Map m_attributes; - bool m_attributesHasBeenSet = false; + Aws::String m_roomIdentifier; + bool m_roomIdentifierHasBeenSet = false; Aws::String m_eventName; bool m_eventNameHasBeenSet = false; - Aws::String m_roomIdentifier; - bool m_roomIdentifierHasBeenSet = false; + Aws::Map m_attributes; + bool m_attributesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ServiceQuotaExceededException.h index b8c974f2ef8..c147fb38e6b 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ServiceQuotaExceededException.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ServiceQuotaExceededException.h @@ -38,16 +38,6 @@ namespace Model AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

- */ - inline int GetLimit() const{ return m_limit; } - inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } - inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } - inline ServiceQuotaExceededException& WithLimit(int value) { SetLimit(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetMessage() const{ return m_message; } @@ -85,10 +75,17 @@ namespace Model inline ServiceQuotaExceededException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} inline ServiceQuotaExceededException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} ///@} - private: - int m_limit; - bool m_limitHasBeenSet = false; + ///@{ + /** + *

+ */ + inline int GetLimit() const{ return m_limit; } + inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } + inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } + inline ServiceQuotaExceededException& WithLimit(int value) { SetLimit(value); return *this;} + ///@} + private: Aws::String m_message; bool m_messageHasBeenSet = false; @@ -98,6 +95,9 @@ namespace Model ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; + + int m_limit; + bool m_limitHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ThrottlingException.h index ea042483d79..79523931498 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ThrottlingException.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ThrottlingException.h @@ -38,16 +38,6 @@ namespace Model AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

- */ - inline int GetLimit() const{ return m_limit; } - inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } - inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } - inline ThrottlingException& WithLimit(int value) { SetLimit(value); return *this;} - ///@} - ///@{ inline const Aws::String& GetMessage() const{ return m_message; } @@ -85,10 +75,17 @@ namespace Model inline ThrottlingException& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} inline ThrottlingException& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} ///@} - private: - int m_limit; - bool m_limitHasBeenSet = false; + ///@{ + /** + *

+ */ + inline int GetLimit() const{ return m_limit; } + inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } + inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } + inline ThrottlingException& WithLimit(int value) { SetLimit(value); return *this;} + ///@} + private: Aws::String m_message; bool m_messageHasBeenSet = false; @@ -98,6 +95,9 @@ namespace Model ResourceType m_resourceType; bool m_resourceTypeHasBeenSet = false; + + int m_limit; + bool m_limitHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationRequest.h index e0cfb72ceea..fdbf04ea79d 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationRequest.h @@ -6,8 +6,8 @@ #pragma once #include #include -#include #include +#include #include namespace Aws @@ -33,21 +33,6 @@ namespace Model AWS_IVSCHAT_API Aws::String SerializePayload() const override; - ///@{ - /** - *

A complex type that contains a destination configuration for where chat - * content will be logged. There can be only one type of destination - * (cloudWatchLogs, firehose, or s3) in a - * destinationConfiguration.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } - inline UpdateLoggingConfigurationRequest& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline UpdateLoggingConfigurationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - ///@{ /** *

Identifier of the logging configuration to be updated.

@@ -75,16 +60,31 @@ namespace Model inline UpdateLoggingConfigurationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline UpdateLoggingConfigurationRequest& WithName(const char* value) { SetName(value); return *this;} ///@} - private: - DestinationConfiguration m_destinationConfiguration; - bool m_destinationConfigurationHasBeenSet = false; + ///@{ + /** + *

A complex type that contains a destination configuration for where chat + * content will be logged. There can be only one type of destination + * (cloudWatchLogs, firehose, or s3) in a + * destinationConfiguration.

+ */ + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); } + inline UpdateLoggingConfigurationRequest& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline UpdateLoggingConfigurationRequest& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} + ///@} + private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; + + DestinationConfiguration m_destinationConfiguration; + bool m_destinationConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationResult.h index cc298f7eae6..994e7c8246b 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateLoggingConfigurationResult.h @@ -50,6 +50,20 @@ namespace Model inline UpdateLoggingConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;} ///@} + ///@{ + /** + *

Logging-configuration ID, generated by the system. This is a relative + * identifier, the part of the ARN that uniquely identifies the room.

+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline void SetId(const Aws::String& value) { m_id = value; } + inline void SetId(Aws::String&& value) { m_id = std::move(value); } + inline void SetId(const char* value) { m_id.assign(value); } + inline UpdateLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;} + inline UpdateLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline UpdateLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} + ///@} + ///@{ /** *

Time when the logging configuration was created. This is an ISO 8601 @@ -64,30 +78,14 @@ namespace Model ///@{ /** - *

A complex type that contains a destination configuration for where chat - * content will be logged, from the request. There is only one type of destination - * (cloudWatchLogs, firehose, or s3) in a - * destinationConfiguration.

- */ - inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } - inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; } - inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); } - inline UpdateLoggingConfigurationResult& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} - inline UpdateLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} - ///@} - - ///@{ - /** - *

Logging-configuration ID, generated by the system. This is a relative - * identifier, the part of the ARN that uniquely identifies the room.

+ *

Time of the logging configuration’s last update. This is an ISO 8601 + * timestamp; note that this is returned as a string.

*/ - inline const Aws::String& GetId() const{ return m_id; } - inline void SetId(const Aws::String& value) { m_id = value; } - inline void SetId(Aws::String&& value) { m_id = std::move(value); } - inline void SetId(const char* value) { m_id.assign(value); } - inline UpdateLoggingConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;} - inline UpdateLoggingConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} - inline UpdateLoggingConfigurationResult& WithId(const char* value) { SetId(value); return *this;} + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline UpdateLoggingConfigurationResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline UpdateLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -103,6 +101,20 @@ namespace Model inline UpdateLoggingConfigurationResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

A complex type that contains a destination configuration for where chat + * content will be logged, from the request. There is only one type of destination + * (cloudWatchLogs, firehose, or s3) in a + * destinationConfiguration.

+ */ + inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; } + inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfiguration = value; } + inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfiguration = std::move(value); } + inline UpdateLoggingConfigurationResult& WithDestinationConfiguration(const DestinationConfiguration& value) { SetDestinationConfiguration(value); return *this;} + inline UpdateLoggingConfigurationResult& WithDestinationConfiguration(DestinationConfiguration&& value) { SetDestinationConfiguration(std::move(value)); return *this;} + ///@} + ///@{ /** *

The state of the logging configuration. When the state is @@ -134,18 +146,6 @@ namespace Model inline UpdateLoggingConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } ///@} - ///@{ - /** - *

Time of the logging configuration’s last update. This is an ISO 8601 - * timestamp; note that this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - inline UpdateLoggingConfigurationResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline UpdateLoggingConfigurationResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} - ///@} - ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -160,20 +160,20 @@ namespace Model Aws::String m_arn; - Aws::Utils::DateTime m_createTime; + Aws::String m_id; - DestinationConfiguration m_destinationConfiguration; + Aws::Utils::DateTime m_createTime; - Aws::String m_id; + Aws::Utils::DateTime m_updateTime; Aws::String m_name; + DestinationConfiguration m_destinationConfiguration; + UpdateLoggingConfigurationState m_state; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; - Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomRequest.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomRequest.h index ca86b1349fb..0c16bafad41 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomRequest.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomRequest.h @@ -7,8 +7,8 @@ #include #include #include -#include #include +#include #include namespace Aws @@ -50,17 +50,27 @@ namespace Model ///@{ /** - *

Array of logging-configuration identifiers attached to the room.

+ *

Room name. The value does not need to be unique.

*/ - inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } - inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; } - inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; } - inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); } - inline UpdateRoomRequest& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} - inline UpdateRoomRequest& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} - inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } - inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } - inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline UpdateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline UpdateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline UpdateRoomRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

Maximum number of messages per second that can be sent to the room (by all + * clients). Default: 10.

+ */ + inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; } + inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; } + inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; } + inline UpdateRoomRequest& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} ///@} ///@{ @@ -75,17 +85,6 @@ namespace Model inline UpdateRoomRequest& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} ///@} - ///@{ - /** - *

Maximum number of messages per second that can be sent to the room (by all - * clients). Default: 10.

- */ - inline int GetMaximumMessageRatePerSecond() const{ return m_maximumMessageRatePerSecond; } - inline bool MaximumMessageRatePerSecondHasBeenSet() const { return m_maximumMessageRatePerSecondHasBeenSet; } - inline void SetMaximumMessageRatePerSecond(int value) { m_maximumMessageRatePerSecondHasBeenSet = true; m_maximumMessageRatePerSecond = value; } - inline UpdateRoomRequest& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} - ///@} - ///@{ /** *

Configuration information for optional review of messages. Specify an empty @@ -102,36 +101,37 @@ namespace Model ///@{ /** - *

Room name. The value does not need to be unique.

+ *

Array of logging-configuration identifiers attached to the room.

*/ - inline const Aws::String& GetName() const{ return m_name; } - inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } - inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } - inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } - inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } - inline UpdateRoomRequest& WithName(const Aws::String& value) { SetName(value); return *this;} - inline UpdateRoomRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline UpdateRoomRequest& WithName(const char* value) { SetName(value); return *this;} + inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } + inline bool LoggingConfigurationIdentifiersHasBeenSet() const { return m_loggingConfigurationIdentifiersHasBeenSet; } + inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = value; } + inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers = std::move(value); } + inline UpdateRoomRequest& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} + inline UpdateRoomRequest& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} + inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } + inline UpdateRoomRequest& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiersHasBeenSet = true; m_loggingConfigurationIdentifiers.push_back(value); return *this; } ///@} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; - Aws::Vector m_loggingConfigurationIdentifiers; - bool m_loggingConfigurationIdentifiersHasBeenSet = false; - - int m_maximumMessageLength; - bool m_maximumMessageLengthHasBeenSet = false; + Aws::String m_name; + bool m_nameHasBeenSet = false; int m_maximumMessageRatePerSecond; bool m_maximumMessageRatePerSecondHasBeenSet = false; + int m_maximumMessageLength; + bool m_maximumMessageLengthHasBeenSet = false; + MessageReviewHandler m_messageReviewHandler; bool m_messageReviewHandlerHasBeenSet = false; - Aws::String m_name; - bool m_nameHasBeenSet = false; + Aws::Vector m_loggingConfigurationIdentifiers; + bool m_loggingConfigurationIdentifiersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomResult.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomResult.h index 33ec67f1b45..86ec16afef7 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomResult.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/UpdateRoomResult.h @@ -7,9 +7,9 @@ #include #include #include -#include #include #include +#include #include namespace Aws @@ -49,18 +49,6 @@ namespace Model inline UpdateRoomResult& WithArn(const char* value) { SetArn(value); return *this;} ///@} - ///@{ - /** - *

Time when the room was created. This is an ISO 8601 timestamp; note that - * this is returned as a string.

- */ - inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } - inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } - inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } - inline UpdateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} - inline UpdateRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} - ///@} - ///@{ /** *

Room ID, generated by the system. This is a relative identifier, the part of @@ -77,27 +65,39 @@ namespace Model ///@{ /** - *

Array of logging configurations attached to the room, from the request (if - * specified).

+ *

Room name, from the request (if specified).

*/ - inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } - inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } - inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } - inline UpdateRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} - inline UpdateRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} - inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } - inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } - inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline UpdateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline UpdateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline UpdateRoomResult& WithName(const char* value) { SetName(value); return *this;} ///@} ///@{ /** - *

Maximum number of characters in a single message, from the request (if - * specified).

+ *

Time when the room was created. This is an ISO 8601 timestamp; note that + * this is returned as a string.

*/ - inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } - inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } - inline UpdateRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} + inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } + inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; } + inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); } + inline UpdateRoomResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} + inline UpdateRoomResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Time of the room’s last update. This is an ISO 8601 timestamp; note that + * this is returned as a string.

+ */ + inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } + inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } + inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } + inline UpdateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} + inline UpdateRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} ///@} ///@{ @@ -110,6 +110,16 @@ namespace Model inline UpdateRoomResult& WithMaximumMessageRatePerSecond(int value) { SetMaximumMessageRatePerSecond(value); return *this;} ///@} + ///@{ + /** + *

Maximum number of characters in a single message, from the request (if + * specified).

+ */ + inline int GetMaximumMessageLength() const{ return m_maximumMessageLength; } + inline void SetMaximumMessageLength(int value) { m_maximumMessageLength = value; } + inline UpdateRoomResult& WithMaximumMessageLength(int value) { SetMaximumMessageLength(value); return *this;} + ///@} + ///@{ /** *

Configuration information for optional review of messages.

@@ -121,19 +131,6 @@ namespace Model inline UpdateRoomResult& WithMessageReviewHandler(MessageReviewHandler&& value) { SetMessageReviewHandler(std::move(value)); return *this;} ///@} - ///@{ - /** - *

Room name, from the request (if specified).

- */ - inline const Aws::String& GetName() const{ return m_name; } - inline void SetName(const Aws::String& value) { m_name = value; } - inline void SetName(Aws::String&& value) { m_name = std::move(value); } - inline void SetName(const char* value) { m_name.assign(value); } - inline UpdateRoomResult& WithName(const Aws::String& value) { SetName(value); return *this;} - inline UpdateRoomResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} - inline UpdateRoomResult& WithName(const char* value) { SetName(value); return *this;} - ///@} - ///@{ /** *

Tags attached to the resource. Array of maps, each of the form @@ -155,14 +152,17 @@ namespace Model ///@{ /** - *

Time of the room’s last update. This is an ISO 8601 timestamp; note that - * this is returned as a string.

+ *

Array of logging configurations attached to the room, from the request (if + * specified).

*/ - inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; } - inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; } - inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); } - inline UpdateRoomResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;} - inline UpdateRoomResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;} + inline const Aws::Vector& GetLoggingConfigurationIdentifiers() const{ return m_loggingConfigurationIdentifiers; } + inline void SetLoggingConfigurationIdentifiers(const Aws::Vector& value) { m_loggingConfigurationIdentifiers = value; } + inline void SetLoggingConfigurationIdentifiers(Aws::Vector&& value) { m_loggingConfigurationIdentifiers = std::move(value); } + inline UpdateRoomResult& WithLoggingConfigurationIdentifiers(const Aws::Vector& value) { SetLoggingConfigurationIdentifiers(value); return *this;} + inline UpdateRoomResult& WithLoggingConfigurationIdentifiers(Aws::Vector&& value) { SetLoggingConfigurationIdentifiers(std::move(value)); return *this;} + inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const Aws::String& value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } + inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(Aws::String&& value) { m_loggingConfigurationIdentifiers.push_back(std::move(value)); return *this; } + inline UpdateRoomResult& AddLoggingConfigurationIdentifiers(const char* value) { m_loggingConfigurationIdentifiers.push_back(value); return *this; } ///@} ///@{ @@ -179,23 +179,23 @@ namespace Model Aws::String m_arn; - Aws::Utils::DateTime m_createTime; - Aws::String m_id; - Aws::Vector m_loggingConfigurationIdentifiers; + Aws::String m_name; - int m_maximumMessageLength; + Aws::Utils::DateTime m_createTime; + + Aws::Utils::DateTime m_updateTime; int m_maximumMessageRatePerSecond; - MessageReviewHandler m_messageReviewHandler; + int m_maximumMessageLength; - Aws::String m_name; + MessageReviewHandler m_messageReviewHandler; Aws::Map m_tags; - Aws::Utils::DateTime m_updateTime; + Aws::Vector m_loggingConfigurationIdentifiers; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationException.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationException.h index 98bdee28b95..1df645b9de0 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationException.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationException.h @@ -5,9 +5,9 @@ #pragma once #include -#include #include #include +#include #include #include @@ -40,20 +40,6 @@ namespace Model AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

- */ - inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } - inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } - inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } - inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } - inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} - inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} - inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } - inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } - ///@} - ///@{ inline const Aws::String& GetMessage() const{ return m_message; } @@ -77,16 +63,30 @@ namespace Model inline ValidationException& WithReason(const ValidationExceptionReason& value) { SetReason(value); return *this;} inline ValidationException& WithReason(ValidationExceptionReason&& value) { SetReason(std::move(value)); return *this;} ///@} - private: - Aws::Vector m_fieldList; - bool m_fieldListHasBeenSet = false; + ///@{ + /** + *

+ */ + inline const Aws::Vector& GetFieldList() const{ return m_fieldList; } + inline bool FieldListHasBeenSet() const { return m_fieldListHasBeenSet; } + inline void SetFieldList(const Aws::Vector& value) { m_fieldListHasBeenSet = true; m_fieldList = value; } + inline void SetFieldList(Aws::Vector&& value) { m_fieldListHasBeenSet = true; m_fieldList = std::move(value); } + inline ValidationException& WithFieldList(const Aws::Vector& value) { SetFieldList(value); return *this;} + inline ValidationException& WithFieldList(Aws::Vector&& value) { SetFieldList(std::move(value)); return *this;} + inline ValidationException& AddFieldList(const ValidationExceptionField& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(value); return *this; } + inline ValidationException& AddFieldList(ValidationExceptionField&& value) { m_fieldListHasBeenSet = true; m_fieldList.push_back(std::move(value)); return *this; } + ///@} + private: Aws::String m_message; bool m_messageHasBeenSet = false; ValidationExceptionReason m_reason; bool m_reasonHasBeenSet = false; + + Aws::Vector m_fieldList; + bool m_fieldListHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationExceptionField.h b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationExceptionField.h index 0b58046f440..52321ba803a 100644 --- a/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationExceptionField.h +++ b/generated/src/aws-cpp-sdk-ivschat/include/aws/ivschat/model/ValidationExceptionField.h @@ -38,20 +38,6 @@ namespace Model AWS_IVSCHAT_API Aws::Utils::Json::JsonValue Jsonize() const; - ///@{ - /** - *

Explanation of the reason for the validation error.

- */ - inline const Aws::String& GetMessage() const{ return m_message; } - inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } - inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } - inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } - inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } - inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} - inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} - inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} - ///@} - ///@{ /** *

Name of the field which failed validation.

@@ -65,13 +51,27 @@ namespace Model inline ValidationExceptionField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} inline ValidationExceptionField& WithName(const char* value) { SetName(value); return *this;} ///@} - private: - Aws::String m_message; - bool m_messageHasBeenSet = false; + ///@{ + /** + *

Explanation of the reason for the validation error.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ValidationExceptionField& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ValidationExceptionField& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ValidationExceptionField& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + private: Aws::String m_name; bool m_nameHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenRequest.cpp index 88f44751581..ab7e6bb98a3 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenRequest.cpp @@ -13,12 +13,12 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateChatTokenRequest::CreateChatTokenRequest() : - m_attributesHasBeenSet(false), - m_capabilitiesHasBeenSet(false), m_roomIdentifierHasBeenSet(false), + m_userIdHasBeenSet(false), + m_capabilitiesHasBeenSet(false), m_sessionDurationInMinutes(0), m_sessionDurationInMinutesHasBeenSet(false), - m_userIdHasBeenSet(false) + m_attributesHasBeenSet(false) { } @@ -26,14 +26,15 @@ Aws::String CreateChatTokenRequest::SerializePayload() const { JsonValue payload; - if(m_attributesHasBeenSet) + if(m_roomIdentifierHasBeenSet) { - JsonValue attributesJsonMap; - for(auto& attributesItem : m_attributes) - { - attributesJsonMap.WithString(attributesItem.first, attributesItem.second); - } - payload.WithObject("attributes", std::move(attributesJsonMap)); + payload.WithString("roomIdentifier", m_roomIdentifier); + + } + + if(m_userIdHasBeenSet) + { + payload.WithString("userId", m_userId); } @@ -48,21 +49,20 @@ Aws::String CreateChatTokenRequest::SerializePayload() const } - if(m_roomIdentifierHasBeenSet) - { - payload.WithString("roomIdentifier", m_roomIdentifier); - - } - if(m_sessionDurationInMinutesHasBeenSet) { payload.WithInteger("sessionDurationInMinutes", m_sessionDurationInMinutes); } - if(m_userIdHasBeenSet) + if(m_attributesHasBeenSet) { - payload.WithString("userId", m_userId); + JsonValue attributesJsonMap; + for(auto& attributesItem : m_attributes) + { + attributesJsonMap.WithString(attributesItem.first, attributesItem.second); + } + payload.WithObject("attributes", std::move(attributesJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenResult.cpp index 36e7c648e95..a6bd05b595b 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateChatTokenResult.cpp @@ -29,12 +29,6 @@ CreateChatTokenResult::CreateChatTokenResult(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("sessionExpirationTime")) - { - m_sessionExpirationTime = jsonValue.GetString("sessionExpirationTime"); - - } - if(jsonValue.ValueExists("token")) { m_token = jsonValue.GetString("token"); @@ -47,6 +41,12 @@ CreateChatTokenResult& CreateChatTokenResult::operator =(const Aws::AmazonWebSer } + if(jsonValue.ValueExists("sessionExpirationTime")) + { + m_sessionExpirationTime = jsonValue.GetString("sessionExpirationTime"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationRequest.cpp index b6e9113754b..ff091b87e75 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationRequest.cpp @@ -13,8 +13,8 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateLoggingConfigurationRequest::CreateLoggingConfigurationRequest() : - m_destinationConfigurationHasBeenSet(false), m_nameHasBeenSet(false), + m_destinationConfigurationHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String CreateLoggingConfigurationRequest::SerializePayload() const { JsonValue payload; - if(m_destinationConfigurationHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_destinationConfigurationHasBeenSet) { - payload.WithString("name", m_name); + payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationResult.cpp index db662241dcc..089e5eb9724 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateLoggingConfigurationResult.cpp @@ -37,21 +37,21 @@ CreateLoggingConfigurationResult& CreateLoggingConfigurationResult::operator =(c } - if(jsonValue.ValueExists("createTime")) + if(jsonValue.ValueExists("id")) { - m_createTime = jsonValue.GetString("createTime"); + m_id = jsonValue.GetString("id"); } - if(jsonValue.ValueExists("destinationConfiguration")) + if(jsonValue.ValueExists("createTime")) { - m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + m_createTime = jsonValue.GetString("createTime"); } - if(jsonValue.ValueExists("id")) + if(jsonValue.ValueExists("updateTime")) { - m_id = jsonValue.GetString("id"); + m_updateTime = jsonValue.GetString("updateTime"); } @@ -61,6 +61,12 @@ CreateLoggingConfigurationResult& CreateLoggingConfigurationResult::operator =(c } + if(jsonValue.ValueExists("destinationConfiguration")) + { + m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + + } + if(jsonValue.ValueExists("state")) { m_state = CreateLoggingConfigurationStateMapper::GetCreateLoggingConfigurationStateForName(jsonValue.GetString("state")); @@ -76,12 +82,6 @@ CreateLoggingConfigurationResult& CreateLoggingConfigurationResult::operator =(c } } - if(jsonValue.ValueExists("updateTime")) - { - m_updateTime = jsonValue.GetString("updateTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomRequest.cpp index 84e2e335a0e..e7521c5d047 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomRequest.cpp @@ -13,14 +13,14 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateRoomRequest::CreateRoomRequest() : - m_loggingConfigurationIdentifiersHasBeenSet(false), - m_maximumMessageLength(0), - m_maximumMessageLengthHasBeenSet(false), + m_nameHasBeenSet(false), m_maximumMessageRatePerSecond(0), m_maximumMessageRatePerSecondHasBeenSet(false), + m_maximumMessageLength(0), + m_maximumMessageLengthHasBeenSet(false), m_messageReviewHandlerHasBeenSet(false), - m_nameHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_loggingConfigurationIdentifiersHasBeenSet(false) { } @@ -28,20 +28,9 @@ Aws::String CreateRoomRequest::SerializePayload() const { JsonValue payload; - if(m_loggingConfigurationIdentifiersHasBeenSet) - { - Aws::Utils::Array loggingConfigurationIdentifiersJsonList(m_loggingConfigurationIdentifiers.size()); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString(m_loggingConfigurationIdentifiers[loggingConfigurationIdentifiersIndex]); - } - payload.WithArray("loggingConfigurationIdentifiers", std::move(loggingConfigurationIdentifiersJsonList)); - - } - - if(m_maximumMessageLengthHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithInteger("maximumMessageLength", m_maximumMessageLength); + payload.WithString("name", m_name); } @@ -51,15 +40,15 @@ Aws::String CreateRoomRequest::SerializePayload() const } - if(m_messageReviewHandlerHasBeenSet) + if(m_maximumMessageLengthHasBeenSet) { - payload.WithObject("messageReviewHandler", m_messageReviewHandler.Jsonize()); + payload.WithInteger("maximumMessageLength", m_maximumMessageLength); } - if(m_nameHasBeenSet) + if(m_messageReviewHandlerHasBeenSet) { - payload.WithString("name", m_name); + payload.WithObject("messageReviewHandler", m_messageReviewHandler.Jsonize()); } @@ -74,6 +63,17 @@ Aws::String CreateRoomRequest::SerializePayload() const } + if(m_loggingConfigurationIdentifiersHasBeenSet) + { + Aws::Utils::Array loggingConfigurationIdentifiersJsonList(m_loggingConfigurationIdentifiers.size()); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString(m_loggingConfigurationIdentifiers[loggingConfigurationIdentifiersIndex]); + } + payload.WithArray("loggingConfigurationIdentifiers", std::move(loggingConfigurationIdentifiersJsonList)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomResult.cpp index 9d494f110ae..f8e1c989aa5 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/CreateRoomResult.cpp @@ -18,8 +18,8 @@ using namespace Aws::Utils; using namespace Aws; CreateRoomResult::CreateRoomResult() : - m_maximumMessageLength(0), - m_maximumMessageRatePerSecond(0) + m_maximumMessageRatePerSecond(0), + m_maximumMessageLength(0) { } @@ -38,30 +38,27 @@ CreateRoomResult& CreateRoomResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("createTime")) + if(jsonValue.ValueExists("id")) { - m_createTime = jsonValue.GetString("createTime"); + m_id = jsonValue.GetString("id"); } - if(jsonValue.ValueExists("id")) + if(jsonValue.ValueExists("name")) { - m_id = jsonValue.GetString("id"); + m_name = jsonValue.GetString("name"); } - if(jsonValue.ValueExists("loggingConfigurationIdentifiers")) + if(jsonValue.ValueExists("createTime")) { - Aws::Utils::Array loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); - } + m_createTime = jsonValue.GetString("createTime"); + } - if(jsonValue.ValueExists("maximumMessageLength")) + if(jsonValue.ValueExists("updateTime")) { - m_maximumMessageLength = jsonValue.GetInteger("maximumMessageLength"); + m_updateTime = jsonValue.GetString("updateTime"); } @@ -71,15 +68,15 @@ CreateRoomResult& CreateRoomResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("messageReviewHandler")) + if(jsonValue.ValueExists("maximumMessageLength")) { - m_messageReviewHandler = jsonValue.GetObject("messageReviewHandler"); + m_maximumMessageLength = jsonValue.GetInteger("maximumMessageLength"); } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("messageReviewHandler")) { - m_name = jsonValue.GetString("name"); + m_messageReviewHandler = jsonValue.GetObject("messageReviewHandler"); } @@ -92,10 +89,13 @@ CreateRoomResult& CreateRoomResult::operator =(const Aws::AmazonWebServiceResult } } - if(jsonValue.ValueExists("updateTime")) + if(jsonValue.ValueExists("loggingConfigurationIdentifiers")) { - m_updateTime = jsonValue.GetString("updateTime"); - + Aws::Utils::Array loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); + } } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/DeleteMessageRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/DeleteMessageRequest.cpp index 1def92e2316..325cee0d098 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/DeleteMessageRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/DeleteMessageRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteMessageRequest::DeleteMessageRequest() : + m_roomIdentifierHasBeenSet(false), m_idHasBeenSet(false), - m_reasonHasBeenSet(false), - m_roomIdentifierHasBeenSet(false) + m_reasonHasBeenSet(false) { } @@ -23,21 +23,21 @@ Aws::String DeleteMessageRequest::SerializePayload() const { JsonValue payload; - if(m_idHasBeenSet) + if(m_roomIdentifierHasBeenSet) { - payload.WithString("id", m_id); + payload.WithString("roomIdentifier", m_roomIdentifier); } - if(m_reasonHasBeenSet) + if(m_idHasBeenSet) { - payload.WithString("reason", m_reason); + payload.WithString("id", m_id); } - if(m_roomIdentifierHasBeenSet) + if(m_reasonHasBeenSet) { - payload.WithString("roomIdentifier", m_roomIdentifier); + payload.WithString("reason", m_reason); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/DestinationConfiguration.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/DestinationConfiguration.cpp index 7d7983d7c6b..701cf9365aa 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/DestinationConfiguration.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/DestinationConfiguration.cpp @@ -19,9 +19,9 @@ namespace Model { DestinationConfiguration::DestinationConfiguration() : + m_s3HasBeenSet(false), m_cloudWatchLogsHasBeenSet(false), - m_firehoseHasBeenSet(false), - m_s3HasBeenSet(false) + m_firehoseHasBeenSet(false) { } @@ -33,6 +33,13 @@ DestinationConfiguration::DestinationConfiguration(JsonView jsonValue) DestinationConfiguration& DestinationConfiguration::operator =(JsonView jsonValue) { + if(jsonValue.ValueExists("s3")) + { + m_s3 = jsonValue.GetObject("s3"); + + m_s3HasBeenSet = true; + } + if(jsonValue.ValueExists("cloudWatchLogs")) { m_cloudWatchLogs = jsonValue.GetObject("cloudWatchLogs"); @@ -47,13 +54,6 @@ DestinationConfiguration& DestinationConfiguration::operator =(JsonView jsonValu m_firehoseHasBeenSet = true; } - if(jsonValue.ValueExists("s3")) - { - m_s3 = jsonValue.GetObject("s3"); - - m_s3HasBeenSet = true; - } - return *this; } @@ -61,21 +61,21 @@ JsonValue DestinationConfiguration::Jsonize() const { JsonValue payload; - if(m_cloudWatchLogsHasBeenSet) + if(m_s3HasBeenSet) { - payload.WithObject("cloudWatchLogs", m_cloudWatchLogs.Jsonize()); + payload.WithObject("s3", m_s3.Jsonize()); } - if(m_firehoseHasBeenSet) + if(m_cloudWatchLogsHasBeenSet) { - payload.WithObject("firehose", m_firehose.Jsonize()); + payload.WithObject("cloudWatchLogs", m_cloudWatchLogs.Jsonize()); } - if(m_s3HasBeenSet) + if(m_firehoseHasBeenSet) { - payload.WithObject("s3", m_s3.Jsonize()); + payload.WithObject("firehose", m_firehose.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/DisconnectUserRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/DisconnectUserRequest.cpp index 8cc4649f5a3..7a081c467e4 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/DisconnectUserRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/DisconnectUserRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DisconnectUserRequest::DisconnectUserRequest() : - m_reasonHasBeenSet(false), m_roomIdentifierHasBeenSet(false), - m_userIdHasBeenSet(false) + m_userIdHasBeenSet(false), + m_reasonHasBeenSet(false) { } @@ -23,12 +23,6 @@ Aws::String DisconnectUserRequest::SerializePayload() const { JsonValue payload; - if(m_reasonHasBeenSet) - { - payload.WithString("reason", m_reason); - - } - if(m_roomIdentifierHasBeenSet) { payload.WithString("roomIdentifier", m_roomIdentifier); @@ -41,6 +35,12 @@ Aws::String DisconnectUserRequest::SerializePayload() const } + if(m_reasonHasBeenSet) + { + payload.WithString("reason", m_reason); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/GetLoggingConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/GetLoggingConfigurationResult.cpp index db1f19712d9..dfeccaf0b41 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/GetLoggingConfigurationResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/GetLoggingConfigurationResult.cpp @@ -37,21 +37,21 @@ GetLoggingConfigurationResult& GetLoggingConfigurationResult::operator =(const A } - if(jsonValue.ValueExists("createTime")) + if(jsonValue.ValueExists("id")) { - m_createTime = jsonValue.GetString("createTime"); + m_id = jsonValue.GetString("id"); } - if(jsonValue.ValueExists("destinationConfiguration")) + if(jsonValue.ValueExists("createTime")) { - m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + m_createTime = jsonValue.GetString("createTime"); } - if(jsonValue.ValueExists("id")) + if(jsonValue.ValueExists("updateTime")) { - m_id = jsonValue.GetString("id"); + m_updateTime = jsonValue.GetString("updateTime"); } @@ -61,6 +61,12 @@ GetLoggingConfigurationResult& GetLoggingConfigurationResult::operator =(const A } + if(jsonValue.ValueExists("destinationConfiguration")) + { + m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + + } + if(jsonValue.ValueExists("state")) { m_state = LoggingConfigurationStateMapper::GetLoggingConfigurationStateForName(jsonValue.GetString("state")); @@ -76,12 +82,6 @@ GetLoggingConfigurationResult& GetLoggingConfigurationResult::operator =(const A } } - if(jsonValue.ValueExists("updateTime")) - { - m_updateTime = jsonValue.GetString("updateTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/GetRoomResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/GetRoomResult.cpp index 2651f48e7aa..702bf580f78 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/GetRoomResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/GetRoomResult.cpp @@ -18,8 +18,8 @@ using namespace Aws::Utils; using namespace Aws; GetRoomResult::GetRoomResult() : - m_maximumMessageLength(0), - m_maximumMessageRatePerSecond(0) + m_maximumMessageRatePerSecond(0), + m_maximumMessageLength(0) { } @@ -38,30 +38,27 @@ GetRoomResult& GetRoomResult::operator =(const Aws::AmazonWebServiceResult loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); - } + m_createTime = jsonValue.GetString("createTime"); + } - if(jsonValue.ValueExists("maximumMessageLength")) + if(jsonValue.ValueExists("updateTime")) { - m_maximumMessageLength = jsonValue.GetInteger("maximumMessageLength"); + m_updateTime = jsonValue.GetString("updateTime"); } @@ -71,15 +68,15 @@ GetRoomResult& GetRoomResult::operator =(const Aws::AmazonWebServiceResult loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); + } } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ListLoggingConfigurationsRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ListLoggingConfigurationsRequest.cpp index 1fc67724dd8..1b2458fc843 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ListLoggingConfigurationsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ListLoggingConfigurationsRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListLoggingConfigurationsRequest::ListLoggingConfigurationsRequest() : + m_nextTokenHasBeenSet(false), m_maxResults(0), - m_maxResultsHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_maxResultsHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String ListLoggingConfigurationsRequest::SerializePayload() const { JsonValue payload; - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); + payload.WithString("nextToken", m_nextToken); } - if(m_nextTokenHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("nextToken", m_nextToken); + payload.WithInteger("maxResults", m_maxResults); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsRequest.cpp index 9fe33609bb9..b68bdc36daf 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsRequest.cpp @@ -13,12 +13,12 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ListRoomsRequest::ListRoomsRequest() : - m_loggingConfigurationIdentifierHasBeenSet(false), + m_nameHasBeenSet(false), + m_nextTokenHasBeenSet(false), m_maxResults(0), m_maxResultsHasBeenSet(false), m_messageReviewHandlerUriHasBeenSet(false), - m_nameHasBeenSet(false), - m_nextTokenHasBeenSet(false) + m_loggingConfigurationIdentifierHasBeenSet(false) { } @@ -26,33 +26,33 @@ Aws::String ListRoomsRequest::SerializePayload() const { JsonValue payload; - if(m_loggingConfigurationIdentifierHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("loggingConfigurationIdentifier", m_loggingConfigurationIdentifier); + payload.WithString("name", m_name); } - if(m_maxResultsHasBeenSet) + if(m_nextTokenHasBeenSet) { - payload.WithInteger("maxResults", m_maxResults); + payload.WithString("nextToken", m_nextToken); } - if(m_messageReviewHandlerUriHasBeenSet) + if(m_maxResultsHasBeenSet) { - payload.WithString("messageReviewHandlerUri", m_messageReviewHandlerUri); + payload.WithInteger("maxResults", m_maxResults); } - if(m_nameHasBeenSet) + if(m_messageReviewHandlerUriHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("messageReviewHandlerUri", m_messageReviewHandlerUri); } - if(m_nextTokenHasBeenSet) + if(m_loggingConfigurationIdentifierHasBeenSet) { - payload.WithString("nextToken", m_nextToken); + payload.WithString("loggingConfigurationIdentifier", m_loggingConfigurationIdentifier); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsResult.cpp index 63e3575f08f..e819dffa8d9 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ListRoomsResult.cpp @@ -29,12 +29,6 @@ ListRoomsResult::ListRoomsResult(const Aws::AmazonWebServiceResult& r ListRoomsResult& ListRoomsResult::operator =(const Aws::AmazonWebServiceResult& result) { JsonView jsonValue = result.GetPayload().View(); - if(jsonValue.ValueExists("nextToken")) - { - m_nextToken = jsonValue.GetString("nextToken"); - - } - if(jsonValue.ValueExists("rooms")) { Aws::Utils::Array roomsJsonList = jsonValue.GetArray("rooms"); @@ -44,6 +38,12 @@ ListRoomsResult& ListRoomsResult::operator =(const Aws::AmazonWebServiceResult loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); - } - m_loggingConfigurationIdentifiersHasBeenSet = true; + m_name = jsonValue.GetString("name"); + + m_nameHasBeenSet = true; } if(jsonValue.ValueExists("messageReviewHandler")) @@ -76,11 +66,18 @@ RoomSummary& RoomSummary::operator =(JsonView jsonValue) m_messageReviewHandlerHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("createTime")) { - m_name = jsonValue.GetString("name"); + m_createTime = jsonValue.GetString("createTime"); - m_nameHasBeenSet = true; + m_createTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("updateTime")) + { + m_updateTime = jsonValue.GetString("updateTime"); + + m_updateTimeHasBeenSet = true; } if(jsonValue.ValueExists("tags")) @@ -93,11 +90,14 @@ RoomSummary& RoomSummary::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } - if(jsonValue.ValueExists("updateTime")) + if(jsonValue.ValueExists("loggingConfigurationIdentifiers")) { - m_updateTime = jsonValue.GetString("updateTime"); - - m_updateTimeHasBeenSet = true; + Aws::Utils::Array loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); + } + m_loggingConfigurationIdentifiersHasBeenSet = true; } return *this; @@ -113,25 +113,15 @@ JsonValue RoomSummary::Jsonize() const } - if(m_createTimeHasBeenSet) - { - payload.WithString("createTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); - } - if(m_idHasBeenSet) { payload.WithString("id", m_id); } - if(m_loggingConfigurationIdentifiersHasBeenSet) + if(m_nameHasBeenSet) { - Aws::Utils::Array loggingConfigurationIdentifiersJsonList(m_loggingConfigurationIdentifiers.size()); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString(m_loggingConfigurationIdentifiers[loggingConfigurationIdentifiersIndex]); - } - payload.WithArray("loggingConfigurationIdentifiers", std::move(loggingConfigurationIdentifiersJsonList)); + payload.WithString("name", m_name); } @@ -141,10 +131,14 @@ JsonValue RoomSummary::Jsonize() const } - if(m_nameHasBeenSet) + if(m_createTimeHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("createTime", m_createTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + } + if(m_updateTimeHasBeenSet) + { + payload.WithString("updateTime", m_updateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); } if(m_tagsHasBeenSet) @@ -158,9 +152,15 @@ JsonValue RoomSummary::Jsonize() const } - if(m_updateTimeHasBeenSet) + if(m_loggingConfigurationIdentifiersHasBeenSet) { - payload.WithString("updateTime", m_updateTime.ToGmtString(Aws::Utils::DateFormat::ISO_8601)); + Aws::Utils::Array loggingConfigurationIdentifiersJsonList(m_loggingConfigurationIdentifiers.size()); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString(m_loggingConfigurationIdentifiers[loggingConfigurationIdentifiersIndex]); + } + payload.WithArray("loggingConfigurationIdentifiers", std::move(loggingConfigurationIdentifiersJsonList)); + } return payload; diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/SendEventRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/SendEventRequest.cpp index 89514775e45..22a81f7ced9 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/SendEventRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/SendEventRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; SendEventRequest::SendEventRequest() : - m_attributesHasBeenSet(false), + m_roomIdentifierHasBeenSet(false), m_eventNameHasBeenSet(false), - m_roomIdentifierHasBeenSet(false) + m_attributesHasBeenSet(false) { } @@ -23,14 +23,9 @@ Aws::String SendEventRequest::SerializePayload() const { JsonValue payload; - if(m_attributesHasBeenSet) + if(m_roomIdentifierHasBeenSet) { - JsonValue attributesJsonMap; - for(auto& attributesItem : m_attributes) - { - attributesJsonMap.WithString(attributesItem.first, attributesItem.second); - } - payload.WithObject("attributes", std::move(attributesJsonMap)); + payload.WithString("roomIdentifier", m_roomIdentifier); } @@ -40,9 +35,14 @@ Aws::String SendEventRequest::SerializePayload() const } - if(m_roomIdentifierHasBeenSet) + if(m_attributesHasBeenSet) { - payload.WithString("roomIdentifier", m_roomIdentifier); + JsonValue attributesJsonMap; + for(auto& attributesItem : m_attributes) + { + attributesJsonMap.WithString(attributesItem.first, attributesItem.second); + } + payload.WithObject("attributes", std::move(attributesJsonMap)); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ServiceQuotaExceededException.cpp index 04e68303ee2..a26cb52107c 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ServiceQuotaExceededException.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ServiceQuotaExceededException.cpp @@ -19,12 +19,12 @@ namespace Model { ServiceQuotaExceededException::ServiceQuotaExceededException() : - m_limit(0), - m_limitHasBeenSet(false), m_messageHasBeenSet(false), m_resourceIdHasBeenSet(false), m_resourceType(ResourceType::NOT_SET), - m_resourceTypeHasBeenSet(false) + m_resourceTypeHasBeenSet(false), + m_limit(0), + m_limitHasBeenSet(false) { } @@ -36,13 +36,6 @@ ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("limit")) - { - m_limit = jsonValue.GetInteger("limit"); - - m_limitHasBeenSet = true; - } - if(jsonValue.ValueExists("message")) { m_message = jsonValue.GetString("message"); @@ -64,6 +57,13 @@ ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonVie m_resourceTypeHasBeenSet = true; } + if(jsonValue.ValueExists("limit")) + { + m_limit = jsonValue.GetInteger("limit"); + + m_limitHasBeenSet = true; + } + return *this; } @@ -71,12 +71,6 @@ JsonValue ServiceQuotaExceededException::Jsonize() const { JsonValue payload; - if(m_limitHasBeenSet) - { - payload.WithInteger("limit", m_limit); - - } - if(m_messageHasBeenSet) { payload.WithString("message", m_message); @@ -94,6 +88,12 @@ JsonValue ServiceQuotaExceededException::Jsonize() const payload.WithString("resourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); } + if(m_limitHasBeenSet) + { + payload.WithInteger("limit", m_limit); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ThrottlingException.cpp index 193ddf2943a..59c24eeabd4 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ThrottlingException.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ThrottlingException.cpp @@ -19,12 +19,12 @@ namespace Model { ThrottlingException::ThrottlingException() : - m_limit(0), - m_limitHasBeenSet(false), m_messageHasBeenSet(false), m_resourceIdHasBeenSet(false), m_resourceType(ResourceType::NOT_SET), - m_resourceTypeHasBeenSet(false) + m_resourceTypeHasBeenSet(false), + m_limit(0), + m_limitHasBeenSet(false) { } @@ -36,13 +36,6 @@ ThrottlingException::ThrottlingException(JsonView jsonValue) ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("limit")) - { - m_limit = jsonValue.GetInteger("limit"); - - m_limitHasBeenSet = true; - } - if(jsonValue.ValueExists("message")) { m_message = jsonValue.GetString("message"); @@ -64,6 +57,13 @@ ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) m_resourceTypeHasBeenSet = true; } + if(jsonValue.ValueExists("limit")) + { + m_limit = jsonValue.GetInteger("limit"); + + m_limitHasBeenSet = true; + } + return *this; } @@ -71,12 +71,6 @@ JsonValue ThrottlingException::Jsonize() const { JsonValue payload; - if(m_limitHasBeenSet) - { - payload.WithInteger("limit", m_limit); - - } - if(m_messageHasBeenSet) { payload.WithString("message", m_message); @@ -94,6 +88,12 @@ JsonValue ThrottlingException::Jsonize() const payload.WithString("resourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); } + if(m_limitHasBeenSet) + { + payload.WithInteger("limit", m_limit); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationRequest.cpp index db68565435d..7d8a1de0080 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; UpdateLoggingConfigurationRequest::UpdateLoggingConfigurationRequest() : - m_destinationConfigurationHasBeenSet(false), m_identifierHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_destinationConfigurationHasBeenSet(false) { } @@ -23,12 +23,6 @@ Aws::String UpdateLoggingConfigurationRequest::SerializePayload() const { JsonValue payload; - if(m_destinationConfigurationHasBeenSet) - { - payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); - - } - if(m_identifierHasBeenSet) { payload.WithString("identifier", m_identifier); @@ -41,6 +35,12 @@ Aws::String UpdateLoggingConfigurationRequest::SerializePayload() const } + if(m_destinationConfigurationHasBeenSet) + { + payload.WithObject("destinationConfiguration", m_destinationConfiguration.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationResult.cpp index c0a573f2059..f619f081f01 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateLoggingConfigurationResult.cpp @@ -37,21 +37,21 @@ UpdateLoggingConfigurationResult& UpdateLoggingConfigurationResult::operator =(c } - if(jsonValue.ValueExists("createTime")) + if(jsonValue.ValueExists("id")) { - m_createTime = jsonValue.GetString("createTime"); + m_id = jsonValue.GetString("id"); } - if(jsonValue.ValueExists("destinationConfiguration")) + if(jsonValue.ValueExists("createTime")) { - m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + m_createTime = jsonValue.GetString("createTime"); } - if(jsonValue.ValueExists("id")) + if(jsonValue.ValueExists("updateTime")) { - m_id = jsonValue.GetString("id"); + m_updateTime = jsonValue.GetString("updateTime"); } @@ -61,6 +61,12 @@ UpdateLoggingConfigurationResult& UpdateLoggingConfigurationResult::operator =(c } + if(jsonValue.ValueExists("destinationConfiguration")) + { + m_destinationConfiguration = jsonValue.GetObject("destinationConfiguration"); + + } + if(jsonValue.ValueExists("state")) { m_state = UpdateLoggingConfigurationStateMapper::GetUpdateLoggingConfigurationStateForName(jsonValue.GetString("state")); @@ -76,12 +82,6 @@ UpdateLoggingConfigurationResult& UpdateLoggingConfigurationResult::operator =(c } } - if(jsonValue.ValueExists("updateTime")) - { - m_updateTime = jsonValue.GetString("updateTime"); - - } - const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomRequest.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomRequest.cpp index 12c1e49dca6..de834bcb537 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomRequest.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomRequest.cpp @@ -14,13 +14,13 @@ using namespace Aws::Utils; UpdateRoomRequest::UpdateRoomRequest() : m_identifierHasBeenSet(false), - m_loggingConfigurationIdentifiersHasBeenSet(false), - m_maximumMessageLength(0), - m_maximumMessageLengthHasBeenSet(false), + m_nameHasBeenSet(false), m_maximumMessageRatePerSecond(0), m_maximumMessageRatePerSecondHasBeenSet(false), + m_maximumMessageLength(0), + m_maximumMessageLengthHasBeenSet(false), m_messageReviewHandlerHasBeenSet(false), - m_nameHasBeenSet(false) + m_loggingConfigurationIdentifiersHasBeenSet(false) { } @@ -34,26 +34,21 @@ Aws::String UpdateRoomRequest::SerializePayload() const } - if(m_loggingConfigurationIdentifiersHasBeenSet) + if(m_nameHasBeenSet) { - Aws::Utils::Array loggingConfigurationIdentifiersJsonList(m_loggingConfigurationIdentifiers.size()); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString(m_loggingConfigurationIdentifiers[loggingConfigurationIdentifiersIndex]); - } - payload.WithArray("loggingConfigurationIdentifiers", std::move(loggingConfigurationIdentifiersJsonList)); + payload.WithString("name", m_name); } - if(m_maximumMessageLengthHasBeenSet) + if(m_maximumMessageRatePerSecondHasBeenSet) { - payload.WithInteger("maximumMessageLength", m_maximumMessageLength); + payload.WithInteger("maximumMessageRatePerSecond", m_maximumMessageRatePerSecond); } - if(m_maximumMessageRatePerSecondHasBeenSet) + if(m_maximumMessageLengthHasBeenSet) { - payload.WithInteger("maximumMessageRatePerSecond", m_maximumMessageRatePerSecond); + payload.WithInteger("maximumMessageLength", m_maximumMessageLength); } @@ -63,9 +58,14 @@ Aws::String UpdateRoomRequest::SerializePayload() const } - if(m_nameHasBeenSet) + if(m_loggingConfigurationIdentifiersHasBeenSet) { - payload.WithString("name", m_name); + Aws::Utils::Array loggingConfigurationIdentifiersJsonList(m_loggingConfigurationIdentifiers.size()); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString(m_loggingConfigurationIdentifiers[loggingConfigurationIdentifiersIndex]); + } + payload.WithArray("loggingConfigurationIdentifiers", std::move(loggingConfigurationIdentifiersJsonList)); } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomResult.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomResult.cpp index e6af8ef7d14..c48b2106d82 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomResult.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/UpdateRoomResult.cpp @@ -18,8 +18,8 @@ using namespace Aws::Utils; using namespace Aws; UpdateRoomResult::UpdateRoomResult() : - m_maximumMessageLength(0), - m_maximumMessageRatePerSecond(0) + m_maximumMessageRatePerSecond(0), + m_maximumMessageLength(0) { } @@ -38,30 +38,27 @@ UpdateRoomResult& UpdateRoomResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("createTime")) + if(jsonValue.ValueExists("id")) { - m_createTime = jsonValue.GetString("createTime"); + m_id = jsonValue.GetString("id"); } - if(jsonValue.ValueExists("id")) + if(jsonValue.ValueExists("name")) { - m_id = jsonValue.GetString("id"); + m_name = jsonValue.GetString("name"); } - if(jsonValue.ValueExists("loggingConfigurationIdentifiers")) + if(jsonValue.ValueExists("createTime")) { - Aws::Utils::Array loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); - for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) - { - m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); - } + m_createTime = jsonValue.GetString("createTime"); + } - if(jsonValue.ValueExists("maximumMessageLength")) + if(jsonValue.ValueExists("updateTime")) { - m_maximumMessageLength = jsonValue.GetInteger("maximumMessageLength"); + m_updateTime = jsonValue.GetString("updateTime"); } @@ -71,15 +68,15 @@ UpdateRoomResult& UpdateRoomResult::operator =(const Aws::AmazonWebServiceResult } - if(jsonValue.ValueExists("messageReviewHandler")) + if(jsonValue.ValueExists("maximumMessageLength")) { - m_messageReviewHandler = jsonValue.GetObject("messageReviewHandler"); + m_maximumMessageLength = jsonValue.GetInteger("maximumMessageLength"); } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("messageReviewHandler")) { - m_name = jsonValue.GetString("name"); + m_messageReviewHandler = jsonValue.GetObject("messageReviewHandler"); } @@ -92,10 +89,13 @@ UpdateRoomResult& UpdateRoomResult::operator =(const Aws::AmazonWebServiceResult } } - if(jsonValue.ValueExists("updateTime")) + if(jsonValue.ValueExists("loggingConfigurationIdentifiers")) { - m_updateTime = jsonValue.GetString("updateTime"); - + Aws::Utils::Array loggingConfigurationIdentifiersJsonList = jsonValue.GetArray("loggingConfigurationIdentifiers"); + for(unsigned loggingConfigurationIdentifiersIndex = 0; loggingConfigurationIdentifiersIndex < loggingConfigurationIdentifiersJsonList.GetLength(); ++loggingConfigurationIdentifiersIndex) + { + m_loggingConfigurationIdentifiers.push_back(loggingConfigurationIdentifiersJsonList[loggingConfigurationIdentifiersIndex].AsString()); + } } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationException.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationException.cpp index 8fe1b9fb721..5934f2e062f 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationException.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationException.cpp @@ -19,10 +19,10 @@ namespace Model { ValidationException::ValidationException() : - m_fieldListHasBeenSet(false), m_messageHasBeenSet(false), m_reason(ValidationExceptionReason::NOT_SET), - m_reasonHasBeenSet(false) + m_reasonHasBeenSet(false), + m_fieldListHasBeenSet(false) { } @@ -34,16 +34,6 @@ ValidationException::ValidationException(JsonView jsonValue) ValidationException& ValidationException::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("fieldList")) - { - Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); - for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) - { - m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); - } - m_fieldListHasBeenSet = true; - } - if(jsonValue.ValueExists("message")) { m_message = jsonValue.GetString("message"); @@ -58,6 +48,16 @@ ValidationException& ValidationException::operator =(JsonView jsonValue) m_reasonHasBeenSet = true; } + if(jsonValue.ValueExists("fieldList")) + { + Aws::Utils::Array fieldListJsonList = jsonValue.GetArray("fieldList"); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + m_fieldList.push_back(fieldListJsonList[fieldListIndex].AsObject()); + } + m_fieldListHasBeenSet = true; + } + return *this; } @@ -65,17 +65,6 @@ JsonValue ValidationException::Jsonize() const { JsonValue payload; - if(m_fieldListHasBeenSet) - { - Aws::Utils::Array fieldListJsonList(m_fieldList.size()); - for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) - { - fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); - } - payload.WithArray("fieldList", std::move(fieldListJsonList)); - - } - if(m_messageHasBeenSet) { payload.WithString("message", m_message); @@ -87,6 +76,17 @@ JsonValue ValidationException::Jsonize() const payload.WithString("reason", ValidationExceptionReasonMapper::GetNameForValidationExceptionReason(m_reason)); } + if(m_fieldListHasBeenSet) + { + Aws::Utils::Array fieldListJsonList(m_fieldList.size()); + for(unsigned fieldListIndex = 0; fieldListIndex < fieldListJsonList.GetLength(); ++fieldListIndex) + { + fieldListJsonList[fieldListIndex].AsObject(m_fieldList[fieldListIndex].Jsonize()); + } + payload.WithArray("fieldList", std::move(fieldListJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationExceptionField.cpp b/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationExceptionField.cpp index 0bbfc599ec6..80154986210 100644 --- a/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationExceptionField.cpp +++ b/generated/src/aws-cpp-sdk-ivschat/source/model/ValidationExceptionField.cpp @@ -19,8 +19,8 @@ namespace Model { ValidationExceptionField::ValidationExceptionField() : - m_messageHasBeenSet(false), - m_nameHasBeenSet(false) + m_nameHasBeenSet(false), + m_messageHasBeenSet(false) { } @@ -32,18 +32,18 @@ ValidationExceptionField::ValidationExceptionField(JsonView jsonValue) ValidationExceptionField& ValidationExceptionField::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("message")) + if(jsonValue.ValueExists("name")) { - m_message = jsonValue.GetString("message"); + m_name = jsonValue.GetString("name"); - m_messageHasBeenSet = true; + m_nameHasBeenSet = true; } - if(jsonValue.ValueExists("name")) + if(jsonValue.ValueExists("message")) { - m_name = jsonValue.GetString("name"); + m_message = jsonValue.GetString("message"); - m_nameHasBeenSet = true; + m_messageHasBeenSet = true; } return *this; @@ -53,15 +53,15 @@ JsonValue ValidationExceptionField::Jsonize() const { JsonValue payload; - if(m_messageHasBeenSet) + if(m_nameHasBeenSet) { - payload.WithString("message", m_message); + payload.WithString("name", m_name); } - if(m_nameHasBeenSet) + if(m_messageHasBeenSet) { - payload.WithString("name", m_name); + payload.WithString("message", m_message); } diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Algorithm.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Algorithm.h new file mode 100644 index 00000000000..b0028128c53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Algorithm.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace MediaLive +{ +namespace Model +{ + enum class Algorithm + { + NOT_SET, + AES128, + AES192, + AES256 + }; + +namespace AlgorithmMapper +{ +AWS_MEDIALIVE_API Algorithm GetAlgorithmForName(const Aws::String& name); + +AWS_MEDIALIVE_API Aws::String GetNameForAlgorithm(Algorithm value); +} // namespace AlgorithmMapper +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/CreateInputRequest.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/CreateInputRequest.h index 8e4aa5b22b5..1e3287ff116 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/CreateInputRequest.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/CreateInputRequest.h @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -207,6 +208,18 @@ Only specify sources for PULL type Inputs. Leave inline CreateInputRequest& WithVpc(const InputVpcRequest& value) { SetVpc(value); return *this;} inline CreateInputRequest& WithVpc(InputVpcRequest&& value) { SetVpc(std::move(value)); return *this;} ///@} + + ///@{ + /** + * The settings associated with an SRT input. + */ + inline const SrtSettingsRequest& GetSrtSettings() const{ return m_srtSettings; } + inline bool SrtSettingsHasBeenSet() const { return m_srtSettingsHasBeenSet; } + inline void SetSrtSettings(const SrtSettingsRequest& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = value; } + inline void SetSrtSettings(SrtSettingsRequest&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = std::move(value); } + inline CreateInputRequest& WithSrtSettings(const SrtSettingsRequest& value) { SetSrtSettings(value); return *this;} + inline CreateInputRequest& WithSrtSettings(SrtSettingsRequest&& value) { SetSrtSettings(std::move(value)); return *this;} + ///@} private: Aws::Vector m_destinations; @@ -241,6 +254,9 @@ Only specify sources for PULL type Inputs. Leave InputVpcRequest m_vpc; bool m_vpcHasBeenSet = false; + + SrtSettingsRequest m_srtSettings; + bool m_srtSettingsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/DescribeInputResult.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/DescribeInputResult.h index 7cc8e9a0f0f..9b7836c8c8f 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/DescribeInputResult.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/DescribeInputResult.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -263,6 +264,17 @@ during input switch actions. Presently, this inline DescribeInputResult& WithType(InputType&& value) { SetType(std::move(value)); return *this;} ///@} + ///@{ + /** + * The settings associated with an SRT input. + */ + inline const SrtSettings& GetSrtSettings() const{ return m_srtSettings; } + inline void SetSrtSettings(const SrtSettings& value) { m_srtSettings = value; } + inline void SetSrtSettings(SrtSettings&& value) { m_srtSettings = std::move(value); } + inline DescribeInputResult& WithSrtSettings(const SrtSettings& value) { SetSrtSettings(value); return *this;} + inline DescribeInputResult& WithSrtSettings(SrtSettings&& value) { SetSrtSettings(std::move(value)); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -307,6 +319,8 @@ during input switch actions. Presently, this InputType m_type; + SrtSettings m_srtSettings; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Eac3AtmosSettings.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Eac3AtmosSettings.h index 422f4f9ded2..3cdc1bf682e 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Eac3AtmosSettings.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Eac3AtmosSettings.h @@ -42,8 +42,6 @@ namespace Model ///@{ /** * Average bitrate in bits/second. Valid bitrates depend on the coding mode. -// * - * @affectsRightSizing true */ inline double GetBitrate() const{ return m_bitrate; } inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h index f7d9e21c8d9..7291543daa0 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H264Settings.h @@ -166,7 +166,22 @@ namespace Model ///@{ /** - * Optional filters that you can apply to an encode. + * Optional. Both filters reduce bandwidth by removing imperceptible details. You + * can enable one of the filters. We +recommend that you try both filters and + * observe the results to decide which one to use. + +The Temporal Filter reduces + * bandwidth by removing imperceptible details in the content. It combines + * perceptual +filtering and motion compensated temporal filtering (MCTF). It + * operates independently of the compression level. + +The Bandwidth Reduction filter + * is a perceptual filter located within the encoding loop. It adapts to the + * current +compression level to filter imperceptible signals. This filter works + * only when the resolution is 1080p or lower. */ inline const H264FilterSettings& GetFilterSettings() const{ return m_filterSettings; } inline bool FilterSettingsHasBeenSet() const { return m_filterSettingsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h index 31f26b21185..ca2587b99d5 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/H265Settings.h @@ -147,7 +147,22 @@ namespace Model ///@{ /** - * Optional filters that you can apply to an encode. + * Optional. Both filters reduce bandwidth by removing imperceptible details. You + * can enable one of the filters. We +recommend that you try both filters and + * observe the results to decide which one to use. + +The Temporal Filter reduces + * bandwidth by removing imperceptible details in the content. It combines + * perceptual +filtering and motion compensated temporal filtering (MCTF). It + * operates independently of the compression level. + +The Bandwidth Reduction filter + * is a perceptual filter located within the encoding loop. It adapts to the + * current +compression level to filter imperceptible signals. This filter works + * only when the resolution is 1080p or lower. */ inline const H265FilterSettings& GetFilterSettings() const{ return m_filterSettings; } inline bool FilterSettingsHasBeenSet() const { return m_filterSettingsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Input.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Input.h index ad58ea87e0c..d1d2f9860bb 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Input.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/Input.h @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -278,6 +279,18 @@ during input switch actions. Presently, this inline Input& WithType(const InputType& value) { SetType(value); return *this;} inline Input& WithType(InputType&& value) { SetType(std::move(value)); return *this;} ///@} + + ///@{ + /** + * The settings associated with an SRT input. + */ + inline const SrtSettings& GetSrtSettings() const{ return m_srtSettings; } + inline bool SrtSettingsHasBeenSet() const { return m_srtSettingsHasBeenSet; } + inline void SetSrtSettings(const SrtSettings& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = value; } + inline void SetSrtSettings(SrtSettings&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = std::move(value); } + inline Input& WithSrtSettings(const SrtSettings& value) { SetSrtSettings(value); return *this;} + inline Input& WithSrtSettings(SrtSettings&& value) { SetSrtSettings(std::move(value)); return *this;} + ///@} private: Aws::String m_arn; @@ -327,6 +340,9 @@ during input switch actions. Presently, this InputType m_type; bool m_typeHasBeenSet = false; + + SrtSettings m_srtSettings; + bool m_srtSettingsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/InputType.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/InputType.h index 53a59a77a72..7932e685508 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/InputType.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/InputType.h @@ -25,7 +25,8 @@ namespace Model MEDIACONNECT, INPUT_DEVICE, AWS_CDI, - TS_FILE + TS_FILE, + SRT_CALLER }; namespace InputTypeMapper diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryption.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryption.h new file mode 100644 index 00000000000..3a05d9ed94d --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryption.h @@ -0,0 +1,80 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + + /** + * The decryption settings for the SRT caller source. Present only if the source + * has decryption enabled.

See Also:

AWS + * API Reference

+ */ + class SrtCallerDecryption + { + public: + AWS_MEDIALIVE_API SrtCallerDecryption(); + AWS_MEDIALIVE_API SrtCallerDecryption(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API SrtCallerDecryption& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + * The algorithm used to encrypt content. + */ + inline const Algorithm& GetAlgorithm() const{ return m_algorithm; } + inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; } + inline void SetAlgorithm(const Algorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; } + inline void SetAlgorithm(Algorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); } + inline SrtCallerDecryption& WithAlgorithm(const Algorithm& value) { SetAlgorithm(value); return *this;} + inline SrtCallerDecryption& WithAlgorithm(Algorithm&& value) { SetAlgorithm(std::move(value)); return *this;} + ///@} + + ///@{ + /** + * The ARN for the secret in Secrets Manager. Someone in your organization must + * create a secret and provide you with its ARN. The secret holds the passphrase + * that MediaLive uses to decrypt the source content. + */ + inline const Aws::String& GetPassphraseSecretArn() const{ return m_passphraseSecretArn; } + inline bool PassphraseSecretArnHasBeenSet() const { return m_passphraseSecretArnHasBeenSet; } + inline void SetPassphraseSecretArn(const Aws::String& value) { m_passphraseSecretArnHasBeenSet = true; m_passphraseSecretArn = value; } + inline void SetPassphraseSecretArn(Aws::String&& value) { m_passphraseSecretArnHasBeenSet = true; m_passphraseSecretArn = std::move(value); } + inline void SetPassphraseSecretArn(const char* value) { m_passphraseSecretArnHasBeenSet = true; m_passphraseSecretArn.assign(value); } + inline SrtCallerDecryption& WithPassphraseSecretArn(const Aws::String& value) { SetPassphraseSecretArn(value); return *this;} + inline SrtCallerDecryption& WithPassphraseSecretArn(Aws::String&& value) { SetPassphraseSecretArn(std::move(value)); return *this;} + inline SrtCallerDecryption& WithPassphraseSecretArn(const char* value) { SetPassphraseSecretArn(value); return *this;} + ///@} + private: + + Algorithm m_algorithm; + bool m_algorithmHasBeenSet = false; + + Aws::String m_passphraseSecretArn; + bool m_passphraseSecretArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryptionRequest.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryptionRequest.h new file mode 100644 index 00000000000..f9633d39c52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerDecryptionRequest.h @@ -0,0 +1,80 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + + /** + * Complete these parameters only if the content is encrypted.

See Also:

+ * AWS + * API Reference

+ */ + class SrtCallerDecryptionRequest + { + public: + AWS_MEDIALIVE_API SrtCallerDecryptionRequest(); + AWS_MEDIALIVE_API SrtCallerDecryptionRequest(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API SrtCallerDecryptionRequest& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + * The algorithm used to encrypt content. + */ + inline const Algorithm& GetAlgorithm() const{ return m_algorithm; } + inline bool AlgorithmHasBeenSet() const { return m_algorithmHasBeenSet; } + inline void SetAlgorithm(const Algorithm& value) { m_algorithmHasBeenSet = true; m_algorithm = value; } + inline void SetAlgorithm(Algorithm&& value) { m_algorithmHasBeenSet = true; m_algorithm = std::move(value); } + inline SrtCallerDecryptionRequest& WithAlgorithm(const Algorithm& value) { SetAlgorithm(value); return *this;} + inline SrtCallerDecryptionRequest& WithAlgorithm(Algorithm&& value) { SetAlgorithm(std::move(value)); return *this;} + ///@} + + ///@{ + /** + * The ARN for the secret in Secrets Manager. Someone in your organization must + * create a secret and provide you with its ARN. This secret holds the passphrase + * that MediaLive will use to decrypt the source content. + */ + inline const Aws::String& GetPassphraseSecretArn() const{ return m_passphraseSecretArn; } + inline bool PassphraseSecretArnHasBeenSet() const { return m_passphraseSecretArnHasBeenSet; } + inline void SetPassphraseSecretArn(const Aws::String& value) { m_passphraseSecretArnHasBeenSet = true; m_passphraseSecretArn = value; } + inline void SetPassphraseSecretArn(Aws::String&& value) { m_passphraseSecretArnHasBeenSet = true; m_passphraseSecretArn = std::move(value); } + inline void SetPassphraseSecretArn(const char* value) { m_passphraseSecretArnHasBeenSet = true; m_passphraseSecretArn.assign(value); } + inline SrtCallerDecryptionRequest& WithPassphraseSecretArn(const Aws::String& value) { SetPassphraseSecretArn(value); return *this;} + inline SrtCallerDecryptionRequest& WithPassphraseSecretArn(Aws::String&& value) { SetPassphraseSecretArn(std::move(value)); return *this;} + inline SrtCallerDecryptionRequest& WithPassphraseSecretArn(const char* value) { SetPassphraseSecretArn(value); return *this;} + ///@} + private: + + Algorithm m_algorithm; + bool m_algorithmHasBeenSet = false; + + Aws::String m_passphraseSecretArn; + bool m_passphraseSecretArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSource.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSource.h new file mode 100644 index 00000000000..9a9c92ad13d --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSource.h @@ -0,0 +1,129 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + + /** + * The configuration for a source that uses SRT as the connection protocol. In + * terms of establishing the connection, MediaLive is always caller and the + * upstream system is always the listener. In terms of transmission of the source + * content, MediaLive is always the receiver and the upstream system is always the + * sender.

See Also:

AWS + * API Reference

+ */ + class SrtCallerSource + { + public: + AWS_MEDIALIVE_API SrtCallerSource(); + AWS_MEDIALIVE_API SrtCallerSource(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API SrtCallerSource& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const SrtCallerDecryption& GetDecryption() const{ return m_decryption; } + inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; } + inline void SetDecryption(const SrtCallerDecryption& value) { m_decryptionHasBeenSet = true; m_decryption = value; } + inline void SetDecryption(SrtCallerDecryption&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); } + inline SrtCallerSource& WithDecryption(const SrtCallerDecryption& value) { SetDecryption(value); return *this;} + inline SrtCallerSource& WithDecryption(SrtCallerDecryption&& value) { SetDecryption(std::move(value)); return *this;} + ///@} + + ///@{ + /** + * The preferred latency (in milliseconds) for implementing packet loss and + * recovery. Packet recovery is a key feature of SRT. + */ + inline int GetMinimumLatency() const{ return m_minimumLatency; } + inline bool MinimumLatencyHasBeenSet() const { return m_minimumLatencyHasBeenSet; } + inline void SetMinimumLatency(int value) { m_minimumLatencyHasBeenSet = true; m_minimumLatency = value; } + inline SrtCallerSource& WithMinimumLatency(int value) { SetMinimumLatency(value); return *this;} + ///@} + + ///@{ + /** + * The IP address at the upstream system (the listener) that MediaLive (the caller) + * connects to. + */ + inline const Aws::String& GetSrtListenerAddress() const{ return m_srtListenerAddress; } + inline bool SrtListenerAddressHasBeenSet() const { return m_srtListenerAddressHasBeenSet; } + inline void SetSrtListenerAddress(const Aws::String& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = value; } + inline void SetSrtListenerAddress(Aws::String&& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = std::move(value); } + inline void SetSrtListenerAddress(const char* value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress.assign(value); } + inline SrtCallerSource& WithSrtListenerAddress(const Aws::String& value) { SetSrtListenerAddress(value); return *this;} + inline SrtCallerSource& WithSrtListenerAddress(Aws::String&& value) { SetSrtListenerAddress(std::move(value)); return *this;} + inline SrtCallerSource& WithSrtListenerAddress(const char* value) { SetSrtListenerAddress(value); return *this;} + ///@} + + ///@{ + /** + * The port at the upstream system (the listener) that MediaLive (the caller) + * connects to. + */ + inline const Aws::String& GetSrtListenerPort() const{ return m_srtListenerPort; } + inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; } + inline void SetSrtListenerPort(const Aws::String& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = value; } + inline void SetSrtListenerPort(Aws::String&& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = std::move(value); } + inline void SetSrtListenerPort(const char* value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort.assign(value); } + inline SrtCallerSource& WithSrtListenerPort(const Aws::String& value) { SetSrtListenerPort(value); return *this;} + inline SrtCallerSource& WithSrtListenerPort(Aws::String&& value) { SetSrtListenerPort(std::move(value)); return *this;} + inline SrtCallerSource& WithSrtListenerPort(const char* value) { SetSrtListenerPort(value); return *this;} + ///@} + + ///@{ + /** + * The stream ID, if the upstream system uses this identifier. + */ + inline const Aws::String& GetStreamId() const{ return m_streamId; } + inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } + inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } + inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } + inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } + inline SrtCallerSource& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} + inline SrtCallerSource& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} + inline SrtCallerSource& WithStreamId(const char* value) { SetStreamId(value); return *this;} + ///@} + private: + + SrtCallerDecryption m_decryption; + bool m_decryptionHasBeenSet = false; + + int m_minimumLatency; + bool m_minimumLatencyHasBeenSet = false; + + Aws::String m_srtListenerAddress; + bool m_srtListenerAddressHasBeenSet = false; + + Aws::String m_srtListenerPort; + bool m_srtListenerPortHasBeenSet = false; + + Aws::String m_streamId; + bool m_streamIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSourceRequest.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSourceRequest.h new file mode 100644 index 00000000000..c0786d95659 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtCallerSourceRequest.h @@ -0,0 +1,132 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace MediaLive +{ +namespace Model +{ + + /** + * Configures the connection for a source that uses SRT as the connection protocol. + * In terms of establishing the connection, MediaLive is always the caller and the + * upstream system is always the listener. In terms of transmission of the source + * content, MediaLive is always the receiver and the upstream system is always the + * sender.

See Also:

AWS + * API Reference

+ */ + class SrtCallerSourceRequest + { + public: + AWS_MEDIALIVE_API SrtCallerSourceRequest(); + AWS_MEDIALIVE_API SrtCallerSourceRequest(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API SrtCallerSourceRequest& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const SrtCallerDecryptionRequest& GetDecryption() const{ return m_decryption; } + inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; } + inline void SetDecryption(const SrtCallerDecryptionRequest& value) { m_decryptionHasBeenSet = true; m_decryption = value; } + inline void SetDecryption(SrtCallerDecryptionRequest&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); } + inline SrtCallerSourceRequest& WithDecryption(const SrtCallerDecryptionRequest& value) { SetDecryption(value); return *this;} + inline SrtCallerSourceRequest& WithDecryption(SrtCallerDecryptionRequest&& value) { SetDecryption(std::move(value)); return *this;} + ///@} + + ///@{ + /** + * The preferred latency (in milliseconds) for implementing packet loss and + * recovery. Packet recovery is a key feature of SRT. Obtain this value from the + * operator at the upstream system. + */ + inline int GetMinimumLatency() const{ return m_minimumLatency; } + inline bool MinimumLatencyHasBeenSet() const { return m_minimumLatencyHasBeenSet; } + inline void SetMinimumLatency(int value) { m_minimumLatencyHasBeenSet = true; m_minimumLatency = value; } + inline SrtCallerSourceRequest& WithMinimumLatency(int value) { SetMinimumLatency(value); return *this;} + ///@} + + ///@{ + /** + * The IP address at the upstream system (the listener) that MediaLive (the caller) + * will connect to. + */ + inline const Aws::String& GetSrtListenerAddress() const{ return m_srtListenerAddress; } + inline bool SrtListenerAddressHasBeenSet() const { return m_srtListenerAddressHasBeenSet; } + inline void SetSrtListenerAddress(const Aws::String& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = value; } + inline void SetSrtListenerAddress(Aws::String&& value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress = std::move(value); } + inline void SetSrtListenerAddress(const char* value) { m_srtListenerAddressHasBeenSet = true; m_srtListenerAddress.assign(value); } + inline SrtCallerSourceRequest& WithSrtListenerAddress(const Aws::String& value) { SetSrtListenerAddress(value); return *this;} + inline SrtCallerSourceRequest& WithSrtListenerAddress(Aws::String&& value) { SetSrtListenerAddress(std::move(value)); return *this;} + inline SrtCallerSourceRequest& WithSrtListenerAddress(const char* value) { SetSrtListenerAddress(value); return *this;} + ///@} + + ///@{ + /** + * The port at the upstream system (the listener) that MediaLive (the caller) will + * connect to. + */ + inline const Aws::String& GetSrtListenerPort() const{ return m_srtListenerPort; } + inline bool SrtListenerPortHasBeenSet() const { return m_srtListenerPortHasBeenSet; } + inline void SetSrtListenerPort(const Aws::String& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = value; } + inline void SetSrtListenerPort(Aws::String&& value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort = std::move(value); } + inline void SetSrtListenerPort(const char* value) { m_srtListenerPortHasBeenSet = true; m_srtListenerPort.assign(value); } + inline SrtCallerSourceRequest& WithSrtListenerPort(const Aws::String& value) { SetSrtListenerPort(value); return *this;} + inline SrtCallerSourceRequest& WithSrtListenerPort(Aws::String&& value) { SetSrtListenerPort(std::move(value)); return *this;} + inline SrtCallerSourceRequest& WithSrtListenerPort(const char* value) { SetSrtListenerPort(value); return *this;} + ///@} + + ///@{ + /** + * This value is required if the upstream system uses this identifier because + * without it, the SRT handshake between MediaLive (the caller) and the upstream + * system (the listener) might fail. + */ + inline const Aws::String& GetStreamId() const{ return m_streamId; } + inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } + inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; } + inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); } + inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); } + inline SrtCallerSourceRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} + inline SrtCallerSourceRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} + inline SrtCallerSourceRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;} + ///@} + private: + + SrtCallerDecryptionRequest m_decryption; + bool m_decryptionHasBeenSet = false; + + int m_minimumLatency; + bool m_minimumLatencyHasBeenSet = false; + + Aws::String m_srtListenerAddress; + bool m_srtListenerAddressHasBeenSet = false; + + Aws::String m_srtListenerPort; + bool m_srtListenerPortHasBeenSet = false; + + Aws::String m_streamId; + bool m_streamIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettings.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettings.h new file mode 100644 index 00000000000..41d4e820df2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettings.h @@ -0,0 +1,60 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + + /** + * The configured sources for this SRT input.

See Also:

AWS + * API Reference

+ */ + class SrtSettings + { + public: + AWS_MEDIALIVE_API SrtSettings(); + AWS_MEDIALIVE_API SrtSettings(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API SrtSettings& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const Aws::Vector& GetSrtCallerSources() const{ return m_srtCallerSources; } + inline bool SrtCallerSourcesHasBeenSet() const { return m_srtCallerSourcesHasBeenSet; } + inline void SetSrtCallerSources(const Aws::Vector& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = value; } + inline void SetSrtCallerSources(Aws::Vector&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = std::move(value); } + inline SrtSettings& WithSrtCallerSources(const Aws::Vector& value) { SetSrtCallerSources(value); return *this;} + inline SrtSettings& WithSrtCallerSources(Aws::Vector&& value) { SetSrtCallerSources(std::move(value)); return *this;} + inline SrtSettings& AddSrtCallerSources(const SrtCallerSource& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(value); return *this; } + inline SrtSettings& AddSrtCallerSources(SrtCallerSource&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_srtCallerSources; + bool m_srtCallerSourcesHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettingsRequest.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettingsRequest.h new file mode 100644 index 00000000000..5dfc17f0897 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/SrtSettingsRequest.h @@ -0,0 +1,62 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + + /** + * Configures the sources for this SRT input. For a single-pipeline input, include + * one srtCallerSource in the array. For a standard-pipeline input, include two + * srtCallerSource.

See Also:

AWS + * API Reference

+ */ + class SrtSettingsRequest + { + public: + AWS_MEDIALIVE_API SrtSettingsRequest(); + AWS_MEDIALIVE_API SrtSettingsRequest(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API SrtSettingsRequest& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + + inline const Aws::Vector& GetSrtCallerSources() const{ return m_srtCallerSources; } + inline bool SrtCallerSourcesHasBeenSet() const { return m_srtCallerSourcesHasBeenSet; } + inline void SetSrtCallerSources(const Aws::Vector& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = value; } + inline void SetSrtCallerSources(Aws::Vector&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources = std::move(value); } + inline SrtSettingsRequest& WithSrtCallerSources(const Aws::Vector& value) { SetSrtCallerSources(value); return *this;} + inline SrtSettingsRequest& WithSrtCallerSources(Aws::Vector&& value) { SetSrtCallerSources(std::move(value)); return *this;} + inline SrtSettingsRequest& AddSrtCallerSources(const SrtCallerSourceRequest& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(value); return *this; } + inline SrtSettingsRequest& AddSrtCallerSources(SrtCallerSourceRequest&& value) { m_srtCallerSourcesHasBeenSet = true; m_srtCallerSources.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_srtCallerSources; + bool m_srtCallerSourcesHasBeenSet = false; + }; + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/UpdateInputRequest.h b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/UpdateInputRequest.h index ca70b7aa9ff..8c00bb867d9 100644 --- a/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/UpdateInputRequest.h +++ b/generated/src/aws-cpp-sdk-medialive/include/aws/medialive/model/UpdateInputRequest.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -163,6 +164,18 @@ Only specify sources for PULL type Inputs. Leave inline UpdateInputRequest& AddSources(const InputSourceRequest& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } inline UpdateInputRequest& AddSources(InputSourceRequest&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } ///@} + + ///@{ + /** + * The settings associated with an SRT input. + */ + inline const SrtSettingsRequest& GetSrtSettings() const{ return m_srtSettings; } + inline bool SrtSettingsHasBeenSet() const { return m_srtSettingsHasBeenSet; } + inline void SetSrtSettings(const SrtSettingsRequest& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = value; } + inline void SetSrtSettings(SrtSettingsRequest&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = std::move(value); } + inline UpdateInputRequest& WithSrtSettings(const SrtSettingsRequest& value) { SetSrtSettings(value); return *this;} + inline UpdateInputRequest& WithSrtSettings(SrtSettingsRequest&& value) { SetSrtSettings(std::move(value)); return *this;} + ///@} private: Aws::Vector m_destinations; @@ -188,6 +201,9 @@ Only specify sources for PULL type Inputs. Leave Aws::Vector m_sources; bool m_sourcesHasBeenSet = false; + + SrtSettingsRequest m_srtSettings; + bool m_srtSettingsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/Algorithm.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/Algorithm.cpp new file mode 100644 index 00000000000..154185ca3ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/Algorithm.cpp @@ -0,0 +1,79 @@ +/** + * 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 MediaLive + { + namespace Model + { + namespace AlgorithmMapper + { + + static const int AES128_HASH = HashingUtils::HashString("AES128"); + static const int AES192_HASH = HashingUtils::HashString("AES192"); + static const int AES256_HASH = HashingUtils::HashString("AES256"); + + + Algorithm GetAlgorithmForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == AES128_HASH) + { + return Algorithm::AES128; + } + else if (hashCode == AES192_HASH) + { + return Algorithm::AES192; + } + else if (hashCode == AES256_HASH) + { + return Algorithm::AES256; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return Algorithm::NOT_SET; + } + + Aws::String GetNameForAlgorithm(Algorithm enumValue) + { + switch(enumValue) + { + case Algorithm::NOT_SET: + return {}; + case Algorithm::AES128: + return "AES128"; + case Algorithm::AES192: + return "AES192"; + case Algorithm::AES256: + return "AES256"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AlgorithmMapper + } // namespace Model + } // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/CreateInputRequest.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/CreateInputRequest.cpp index 8192ec3428c..439e97f0660 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/CreateInputRequest.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/CreateInputRequest.cpp @@ -25,7 +25,8 @@ CreateInputRequest::CreateInputRequest() : m_tagsHasBeenSet(false), m_type(InputType::NOT_SET), m_typeHasBeenSet(false), - m_vpcHasBeenSet(false) + m_vpcHasBeenSet(false), + m_srtSettingsHasBeenSet(false) { } @@ -128,6 +129,12 @@ Aws::String CreateInputRequest::SerializePayload() const } + if(m_srtSettingsHasBeenSet) + { + payload.WithObject("srtSettings", m_srtSettings.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/DescribeInputResult.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/DescribeInputResult.cpp index 8100666c1a3..bc106ff9197 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/DescribeInputResult.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/DescribeInputResult.cpp @@ -154,6 +154,12 @@ DescribeInputResult& DescribeInputResult::operator =(const Aws::AmazonWebService } + if(jsonValue.ValueExists("srtSettings")) + { + m_srtSettings = jsonValue.GetObject("srtSettings"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/Input.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/Input.cpp index 50d1f014a7d..e6e64b6b719 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/Input.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/Input.cpp @@ -38,7 +38,8 @@ Input::Input() : m_stateHasBeenSet(false), m_tagsHasBeenSet(false), m_type(InputType::NOT_SET), - m_typeHasBeenSet(false) + m_typeHasBeenSet(false), + m_srtSettingsHasBeenSet(false) { } @@ -186,6 +187,13 @@ Input& Input::operator =(JsonView jsonValue) m_typeHasBeenSet = true; } + if(jsonValue.ValueExists("srtSettings")) + { + m_srtSettings = jsonValue.GetObject("srtSettings"); + + m_srtSettingsHasBeenSet = true; + } + return *this; } @@ -325,6 +333,12 @@ JsonValue Input::Jsonize() const payload.WithString("type", InputTypeMapper::GetNameForInputType(m_type)); } + if(m_srtSettingsHasBeenSet) + { + payload.WithObject("srtSettings", m_srtSettings.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/InputType.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/InputType.cpp index 1c9251250f4..d0f25079477 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/InputType.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/InputType.cpp @@ -30,6 +30,7 @@ namespace Aws static const int INPUT_DEVICE_HASH = HashingUtils::HashString("INPUT_DEVICE"); static const int AWS_CDI_HASH = HashingUtils::HashString("AWS_CDI"); static const int TS_FILE_HASH = HashingUtils::HashString("TS_FILE"); + static const int SRT_CALLER_HASH = HashingUtils::HashString("SRT_CALLER"); InputType GetInputTypeForName(const Aws::String& name) @@ -75,6 +76,10 @@ namespace Aws { return InputType::TS_FILE; } + else if (hashCode == SRT_CALLER_HASH) + { + return InputType::SRT_CALLER; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -111,6 +116,8 @@ namespace Aws return "AWS_CDI"; case InputType::TS_FILE: return "TS_FILE"; + case InputType::SRT_CALLER: + return "SRT_CALLER"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryption.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryption.cpp new file mode 100644 index 00000000000..313a1ec673c --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryption.cpp @@ -0,0 +1,73 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + +SrtCallerDecryption::SrtCallerDecryption() : + m_algorithm(Algorithm::NOT_SET), + m_algorithmHasBeenSet(false), + m_passphraseSecretArnHasBeenSet(false) +{ +} + +SrtCallerDecryption::SrtCallerDecryption(JsonView jsonValue) + : SrtCallerDecryption() +{ + *this = jsonValue; +} + +SrtCallerDecryption& SrtCallerDecryption::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("algorithm")) + { + m_algorithm = AlgorithmMapper::GetAlgorithmForName(jsonValue.GetString("algorithm")); + + m_algorithmHasBeenSet = true; + } + + if(jsonValue.ValueExists("passphraseSecretArn")) + { + m_passphraseSecretArn = jsonValue.GetString("passphraseSecretArn"); + + m_passphraseSecretArnHasBeenSet = true; + } + + return *this; +} + +JsonValue SrtCallerDecryption::Jsonize() const +{ + JsonValue payload; + + if(m_algorithmHasBeenSet) + { + payload.WithString("algorithm", AlgorithmMapper::GetNameForAlgorithm(m_algorithm)); + } + + if(m_passphraseSecretArnHasBeenSet) + { + payload.WithString("passphraseSecretArn", m_passphraseSecretArn); + + } + + return payload; +} + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryptionRequest.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryptionRequest.cpp new file mode 100644 index 00000000000..2c47df87038 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerDecryptionRequest.cpp @@ -0,0 +1,73 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + +SrtCallerDecryptionRequest::SrtCallerDecryptionRequest() : + m_algorithm(Algorithm::NOT_SET), + m_algorithmHasBeenSet(false), + m_passphraseSecretArnHasBeenSet(false) +{ +} + +SrtCallerDecryptionRequest::SrtCallerDecryptionRequest(JsonView jsonValue) + : SrtCallerDecryptionRequest() +{ + *this = jsonValue; +} + +SrtCallerDecryptionRequest& SrtCallerDecryptionRequest::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("algorithm")) + { + m_algorithm = AlgorithmMapper::GetAlgorithmForName(jsonValue.GetString("algorithm")); + + m_algorithmHasBeenSet = true; + } + + if(jsonValue.ValueExists("passphraseSecretArn")) + { + m_passphraseSecretArn = jsonValue.GetString("passphraseSecretArn"); + + m_passphraseSecretArnHasBeenSet = true; + } + + return *this; +} + +JsonValue SrtCallerDecryptionRequest::Jsonize() const +{ + JsonValue payload; + + if(m_algorithmHasBeenSet) + { + payload.WithString("algorithm", AlgorithmMapper::GetNameForAlgorithm(m_algorithm)); + } + + if(m_passphraseSecretArnHasBeenSet) + { + payload.WithString("passphraseSecretArn", m_passphraseSecretArn); + + } + + return payload; +} + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSource.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSource.cpp new file mode 100644 index 00000000000..faf32c7b48c --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSource.cpp @@ -0,0 +1,116 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + +SrtCallerSource::SrtCallerSource() : + m_decryptionHasBeenSet(false), + m_minimumLatency(0), + m_minimumLatencyHasBeenSet(false), + m_srtListenerAddressHasBeenSet(false), + m_srtListenerPortHasBeenSet(false), + m_streamIdHasBeenSet(false) +{ +} + +SrtCallerSource::SrtCallerSource(JsonView jsonValue) + : SrtCallerSource() +{ + *this = jsonValue; +} + +SrtCallerSource& SrtCallerSource::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("decryption")) + { + m_decryption = jsonValue.GetObject("decryption"); + + m_decryptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("minimumLatency")) + { + m_minimumLatency = jsonValue.GetInteger("minimumLatency"); + + m_minimumLatencyHasBeenSet = true; + } + + if(jsonValue.ValueExists("srtListenerAddress")) + { + m_srtListenerAddress = jsonValue.GetString("srtListenerAddress"); + + m_srtListenerAddressHasBeenSet = true; + } + + if(jsonValue.ValueExists("srtListenerPort")) + { + m_srtListenerPort = jsonValue.GetString("srtListenerPort"); + + m_srtListenerPortHasBeenSet = true; + } + + if(jsonValue.ValueExists("streamId")) + { + m_streamId = jsonValue.GetString("streamId"); + + m_streamIdHasBeenSet = true; + } + + return *this; +} + +JsonValue SrtCallerSource::Jsonize() const +{ + JsonValue payload; + + if(m_decryptionHasBeenSet) + { + payload.WithObject("decryption", m_decryption.Jsonize()); + + } + + if(m_minimumLatencyHasBeenSet) + { + payload.WithInteger("minimumLatency", m_minimumLatency); + + } + + if(m_srtListenerAddressHasBeenSet) + { + payload.WithString("srtListenerAddress", m_srtListenerAddress); + + } + + if(m_srtListenerPortHasBeenSet) + { + payload.WithString("srtListenerPort", m_srtListenerPort); + + } + + if(m_streamIdHasBeenSet) + { + payload.WithString("streamId", m_streamId); + + } + + return payload; +} + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSourceRequest.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSourceRequest.cpp new file mode 100644 index 00000000000..288afe2b47e --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/SrtCallerSourceRequest.cpp @@ -0,0 +1,116 @@ +/** + * 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 MediaLive +{ +namespace Model +{ + +SrtCallerSourceRequest::SrtCallerSourceRequest() : + m_decryptionHasBeenSet(false), + m_minimumLatency(0), + m_minimumLatencyHasBeenSet(false), + m_srtListenerAddressHasBeenSet(false), + m_srtListenerPortHasBeenSet(false), + m_streamIdHasBeenSet(false) +{ +} + +SrtCallerSourceRequest::SrtCallerSourceRequest(JsonView jsonValue) + : SrtCallerSourceRequest() +{ + *this = jsonValue; +} + +SrtCallerSourceRequest& SrtCallerSourceRequest::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("decryption")) + { + m_decryption = jsonValue.GetObject("decryption"); + + m_decryptionHasBeenSet = true; + } + + if(jsonValue.ValueExists("minimumLatency")) + { + m_minimumLatency = jsonValue.GetInteger("minimumLatency"); + + m_minimumLatencyHasBeenSet = true; + } + + if(jsonValue.ValueExists("srtListenerAddress")) + { + m_srtListenerAddress = jsonValue.GetString("srtListenerAddress"); + + m_srtListenerAddressHasBeenSet = true; + } + + if(jsonValue.ValueExists("srtListenerPort")) + { + m_srtListenerPort = jsonValue.GetString("srtListenerPort"); + + m_srtListenerPortHasBeenSet = true; + } + + if(jsonValue.ValueExists("streamId")) + { + m_streamId = jsonValue.GetString("streamId"); + + m_streamIdHasBeenSet = true; + } + + return *this; +} + +JsonValue SrtCallerSourceRequest::Jsonize() const +{ + JsonValue payload; + + if(m_decryptionHasBeenSet) + { + payload.WithObject("decryption", m_decryption.Jsonize()); + + } + + if(m_minimumLatencyHasBeenSet) + { + payload.WithInteger("minimumLatency", m_minimumLatency); + + } + + if(m_srtListenerAddressHasBeenSet) + { + payload.WithString("srtListenerAddress", m_srtListenerAddress); + + } + + if(m_srtListenerPortHasBeenSet) + { + payload.WithString("srtListenerPort", m_srtListenerPort); + + } + + if(m_streamIdHasBeenSet) + { + payload.WithString("streamId", m_streamId); + + } + + return payload; +} + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/SrtSettings.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/SrtSettings.cpp new file mode 100644 index 00000000000..3af1eaf2f1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/SrtSettings.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 MediaLive +{ +namespace Model +{ + +SrtSettings::SrtSettings() : + m_srtCallerSourcesHasBeenSet(false) +{ +} + +SrtSettings::SrtSettings(JsonView jsonValue) + : SrtSettings() +{ + *this = jsonValue; +} + +SrtSettings& SrtSettings::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("srtCallerSources")) + { + Aws::Utils::Array srtCallerSourcesJsonList = jsonValue.GetArray("srtCallerSources"); + for(unsigned srtCallerSourcesIndex = 0; srtCallerSourcesIndex < srtCallerSourcesJsonList.GetLength(); ++srtCallerSourcesIndex) + { + m_srtCallerSources.push_back(srtCallerSourcesJsonList[srtCallerSourcesIndex].AsObject()); + } + m_srtCallerSourcesHasBeenSet = true; + } + + return *this; +} + +JsonValue SrtSettings::Jsonize() const +{ + JsonValue payload; + + if(m_srtCallerSourcesHasBeenSet) + { + Aws::Utils::Array srtCallerSourcesJsonList(m_srtCallerSources.size()); + for(unsigned srtCallerSourcesIndex = 0; srtCallerSourcesIndex < srtCallerSourcesJsonList.GetLength(); ++srtCallerSourcesIndex) + { + srtCallerSourcesJsonList[srtCallerSourcesIndex].AsObject(m_srtCallerSources[srtCallerSourcesIndex].Jsonize()); + } + payload.WithArray("srtCallerSources", std::move(srtCallerSourcesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/SrtSettingsRequest.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/SrtSettingsRequest.cpp new file mode 100644 index 00000000000..3d8a37645a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-medialive/source/model/SrtSettingsRequest.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 MediaLive +{ +namespace Model +{ + +SrtSettingsRequest::SrtSettingsRequest() : + m_srtCallerSourcesHasBeenSet(false) +{ +} + +SrtSettingsRequest::SrtSettingsRequest(JsonView jsonValue) + : SrtSettingsRequest() +{ + *this = jsonValue; +} + +SrtSettingsRequest& SrtSettingsRequest::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("srtCallerSources")) + { + Aws::Utils::Array srtCallerSourcesJsonList = jsonValue.GetArray("srtCallerSources"); + for(unsigned srtCallerSourcesIndex = 0; srtCallerSourcesIndex < srtCallerSourcesJsonList.GetLength(); ++srtCallerSourcesIndex) + { + m_srtCallerSources.push_back(srtCallerSourcesJsonList[srtCallerSourcesIndex].AsObject()); + } + m_srtCallerSourcesHasBeenSet = true; + } + + return *this; +} + +JsonValue SrtSettingsRequest::Jsonize() const +{ + JsonValue payload; + + if(m_srtCallerSourcesHasBeenSet) + { + Aws::Utils::Array srtCallerSourcesJsonList(m_srtCallerSources.size()); + for(unsigned srtCallerSourcesIndex = 0; srtCallerSourcesIndex < srtCallerSourcesJsonList.GetLength(); ++srtCallerSourcesIndex) + { + srtCallerSourcesJsonList[srtCallerSourcesIndex].AsObject(m_srtCallerSources[srtCallerSourcesIndex].Jsonize()); + } + payload.WithArray("srtCallerSources", std::move(srtCallerSourcesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace MediaLive +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-medialive/source/model/UpdateInputRequest.cpp b/generated/src/aws-cpp-sdk-medialive/source/model/UpdateInputRequest.cpp index 69eec7c9a95..68ec89e01f6 100644 --- a/generated/src/aws-cpp-sdk-medialive/source/model/UpdateInputRequest.cpp +++ b/generated/src/aws-cpp-sdk-medialive/source/model/UpdateInputRequest.cpp @@ -20,7 +20,8 @@ UpdateInputRequest::UpdateInputRequest() : m_mediaConnectFlowsHasBeenSet(false), m_nameHasBeenSet(false), m_roleArnHasBeenSet(false), - m_sourcesHasBeenSet(false) + m_sourcesHasBeenSet(false), + m_srtSettingsHasBeenSet(false) { } @@ -95,6 +96,12 @@ Aws::String UpdateInputRequest::SerializePayload() const } + if(m_srtSettingsHasBeenSet) + { + payload.WithObject("srtSettings", m_srtSettings.Jsonize()); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/RDSClient.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/RDSClient.h index cdc1a39eb37..d62dded540c 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/RDSClient.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/RDSClient.h @@ -3007,7 +3007,13 @@ namespace Aws /** *

Returns a list of resources (for example, DB instances) that have at least - * one pending maintenance action.

See Also:

This API follows an eventual consistency + * model. This means that the result of the + * DescribePendingMaintenanceActions command might not be immediately + * visible to all subsequent RDS commands. Keep this in mind when you use + * DescribePendingMaintenanceActions immediately after using a + * previous API command such as + * ApplyPendingMaintenanceActions.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBClusterRequest.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBClusterRequest.h index d780394e87d..d7f65ff9fa1 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBClusterRequest.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBClusterRequest.h @@ -791,17 +791,17 @@ namespace Model ///@{ /** *

Specifies whether the DB cluster is publicly accessible.

When the DB - * cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves - * to the private IP address from within the DB cluster's virtual private cloud - * (VPC). It resolves to the public IP address from outside of the DB cluster's - * VPC. Access to the DB cluster is ultimately controlled by the security group it - * uses. That public access isn't permitted if the security group assigned to the - * DB cluster doesn't permit it.

When the DB cluster isn't publicly - * accessible, it is an internal DB cluster with a DNS name that resolves to a - * private IP address.

Valid for Cluster Type: Multi-AZ DB clusters only

- *

Default: The default behavior varies depending on whether - * DBSubnetGroupName is specified.

If - * DBSubnetGroupName isn't specified, and + * cluster is publicly accessible and you connect from outside of the DB cluster's + * virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to + * the public IP address. When you connect from within the same VPC as the DB + * cluster, the endpoint resolves to the private IP address. Access to the DB + * cluster is ultimately controlled by the security group it uses. That public + * access isn't permitted if the security group assigned to the DB cluster doesn't + * permit it.

When the DB cluster isn't publicly accessible, it is an + * internal DB cluster with a DNS name that resolves to a private IP address.

+ *

Valid for Cluster Type: Multi-AZ DB clusters only

Default: The default + * behavior varies depending on whether DBSubnetGroupName is + * specified.

If DBSubnetGroupName isn't specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the default VPC in the target Region doesn’t have an internet gateway * attached to it, the DB cluster is private.

  • If the default VPC diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h index 0b955c72e70..56f05acfb23 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/CreateDBInstanceRequest.h @@ -653,15 +653,16 @@ namespace Model ///@{ /** *

    Specifies whether the DB instance is publicly accessible.

    When the DB - * instance is publicly accessible, its Domain Name System (DNS) endpoint resolves - * to the private IP address from within the DB instance's virtual private cloud - * (VPC). It resolves to the public IP address from outside of the DB instance's - * VPC. Access to the DB instance is ultimately controlled by the security group it - * uses. That public access is not permitted if the security group assigned to the - * DB instance doesn't permit it.

    When the DB instance isn't publicly - * accessible, it is an internal DB instance with a DNS name that resolves to a - * private IP address.

    Default: The default behavior varies depending on - * whether DBSubnetGroupName is specified.

    If + * instance is publicly accessible and you connect from outside of the DB + * instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint + * resolves to the public IP address. When you connect from within the same VPC as + * the DB instance, the endpoint resolves to the private IP address. Access to the + * DB instance is ultimately controlled by the security group it uses. That public + * access is not permitted if the security group assigned to the DB instance + * doesn't permit it.

    When the DB instance isn't publicly accessible, it is + * an internal DB instance with a DNS name that resolves to a private IP + * address.

    Default: The default behavior varies depending on whether + * DBSubnetGroupName is specified.

    If * DBSubnetGroupName isn't specified, and * PubliclyAccessible isn't specified, the following applies:

      *
    • If the default VPC in the target Region doesn’t have an internet gateway diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBCluster.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBCluster.h index 2053590bb51..20f7e13daad 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBCluster.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBCluster.h @@ -938,15 +938,16 @@ namespace Model ///@{ /** *

      Indicates whether the DB cluster is publicly accessible.

      When the DB - * cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves - * to the private IP address from within the DB cluster's virtual private cloud - * (VPC). It resolves to the public IP address from outside of the DB cluster's - * VPC. Access to the DB cluster is ultimately controlled by the security group it - * uses. That public access isn't permitted if the security group assigned to the - * DB cluster doesn't permit it.

      When the DB cluster isn't publicly - * accessible, it is an internal DB cluster with a DNS name that resolves to a - * private IP address.

      For more information, see CreateDBCluster.

      - *

      This setting is only for non-Aurora Multi-AZ DB clusters.

      + * cluster is publicly accessible and you connect from outside of the DB cluster's + * virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to + * the public IP address. When you connect from within the same VPC as the DB + * cluster, the endpoint resolves to the private IP address. Access to the DB + * cluster is ultimately controlled by the security group it uses. That public + * access isn't permitted if the security group assigned to the DB cluster doesn't + * permit it.

      When the DB cluster isn't publicly accessible, it is an + * internal DB cluster with a DNS name that resolves to a private IP address.

      + *

      For more information, see CreateDBCluster.

      This setting is only + * for non-Aurora Multi-AZ DB clusters.

      */ inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBInstance.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBInstance.h index fc1c4ca9d3a..1bcf7d2ce1d 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBInstance.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DBInstance.h @@ -538,15 +538,15 @@ namespace Model ///@{ /** *

      Indicates whether the DB instance is publicly accessible.

      When the DB - * cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves - * to the private IP address from within the DB cluster's virtual private cloud - * (VPC). It resolves to the public IP address from outside of the DB cluster's - * VPC. Access to the DB cluster is ultimately controlled by the security group it - * uses. That public access isn't permitted if the security group assigned to the - * DB cluster doesn't permit it.

      When the DB instance isn't publicly - * accessible, it is an internal DB instance with a DNS name that resolves to a - * private IP address.

      For more information, see - * CreateDBInstance.

      + * instance is publicly accessible and you connect from outside of the DB + * instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint + * resolves to the public IP address. When you connect from within the same VPC as + * the DB instance, the endpoint resolves to the private IP address. Access to the + * DB cluster is ultimately controlled by the security group it uses. That public + * access isn't permitted if the security group assigned to the DB cluster doesn't + * permit it.

      When the DB instance isn't publicly accessible, it is an + * internal DB instance with a DNS name that resolves to a private IP address.

      + *

      For more information, see CreateDBInstance.

      */ inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DeleteDBClusterRequest.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DeleteDBClusterRequest.h index 20ce9a4e7d7..649636a94d3 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DeleteDBClusterRequest.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DeleteDBClusterRequest.h @@ -95,7 +95,12 @@ namespace Model /** *

      Specifies whether to remove automated backups immediately after the DB * cluster is deleted. This parameter isn't case-sensitive. The default is to - * remove automated backups immediately after the DB cluster is deleted.

      + * remove automated backups immediately after the DB cluster is deleted.

      + *

      You must delete automated backups for Amazon RDS Multi-AZ DB clusters. + * For more information about managing automated backups for RDS Multi-AZ DB + * clusters, see Managing + * automated backups.

      */ inline bool GetDeleteAutomatedBackups() const{ return m_deleteAutomatedBackups; } inline bool DeleteAutomatedBackupsHasBeenSet() const { return m_deleteAutomatedBackupsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DescribeDBClusterParametersRequest.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DescribeDBClusterParametersRequest.h index 92cfd820991..b9d9032b17f 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DescribeDBClusterParametersRequest.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/DescribeDBClusterParametersRequest.h @@ -60,8 +60,8 @@ namespace Model ///@{ /** *

      A specific source to return parameters for.

      Valid Values:

        - *
      • customer

      • engine

        - *
      • service

      + *
    • user

    • engine

    • + *
    • service

    */ inline const Aws::String& GetSource() const{ return m_source; } inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/ModifyDBInstanceRequest.h b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/ModifyDBInstanceRequest.h index 5ad87495d4f..0d090657e4f 100644 --- a/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/ModifyDBInstanceRequest.h +++ b/generated/src/aws-cpp-sdk-rds/include/aws/rds/model/ModifyDBInstanceRequest.h @@ -756,19 +756,19 @@ namespace Model ///@{ /** *

    Specifies whether the DB instance is publicly accessible.

    When the DB - * cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves - * to the private IP address from within the DB cluster's virtual private cloud - * (VPC). It resolves to the public IP address from outside of the DB cluster's - * VPC. Access to the DB cluster is ultimately controlled by the security group it - * uses. That public access isn't permitted if the security group assigned to the - * DB cluster doesn't permit it.

    When the DB instance isn't publicly - * accessible, it is an internal DB instance with a DNS name that resolves to a - * private IP address.

    PubliclyAccessible only applies to DB - * instances in a VPC. The DB instance must be part of a public subnet and - * PubliclyAccessible must be enabled for it to be publicly - * accessible.

    Changes to the PubliclyAccessible parameter are - * applied immediately regardless of the value of the ApplyImmediately - * parameter.

    + * instance is publicly accessible and you connect from outside of the DB + * instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint + * resolves to the public IP address. When you connect from within the same VPC as + * the DB instance, the endpoint resolves to the private IP address. Access to the + * DB instance is ultimately controlled by the security group it uses. That public + * access isn't permitted if the security group assigned to the DB instance doesn't + * permit it.

    When the DB instance isn't publicly accessible, it is an + * internal DB instance with a DNS name that resolves to a private IP address.

    + *

    PubliclyAccessible only applies to DB instances in a VPC. The + * DB instance must be part of a public subnet and PubliclyAccessible + * must be enabled for it to be publicly accessible.

    Changes to the + * PubliclyAccessible parameter are applied immediately regardless of + * the value of the ApplyImmediately parameter.

    */ inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProcessingInstanceType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProcessingInstanceType.h index 2ca5c55bcb1..e4fc98e085b 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProcessingInstanceType.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/ProcessingInstanceType.h @@ -59,7 +59,23 @@ namespace Model ml_g4dn_4xlarge, ml_g4dn_8xlarge, ml_g4dn_12xlarge, - ml_g4dn_16xlarge + ml_g4dn_16xlarge, + ml_g5_xlarge, + ml_g5_2xlarge, + ml_g5_4xlarge, + ml_g5_8xlarge, + ml_g5_16xlarge, + ml_g5_12xlarge, + ml_g5_24xlarge, + ml_g5_48xlarge, + ml_r5d_large, + ml_r5d_xlarge, + ml_r5d_2xlarge, + ml_r5d_4xlarge, + ml_r5d_8xlarge, + ml_r5d_12xlarge, + ml_r5d_16xlarge, + ml_r5d_24xlarge }; namespace ProcessingInstanceTypeMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h index 39bacc212df..e865321dea4 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h +++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/TrainingInstanceType.h @@ -84,7 +84,27 @@ namespace Model ml_c6i_12xlarge, ml_c6i_16xlarge, ml_c6i_24xlarge, - ml_c6i_32xlarge + ml_c6i_32xlarge, + ml_r5d_large, + ml_r5d_xlarge, + ml_r5d_2xlarge, + ml_r5d_4xlarge, + ml_r5d_8xlarge, + ml_r5d_12xlarge, + ml_r5d_16xlarge, + ml_r5d_24xlarge, + ml_t3_medium, + ml_t3_large, + ml_t3_xlarge, + ml_t3_2xlarge, + ml_r5_large, + ml_r5_xlarge, + ml_r5_2xlarge, + ml_r5_4xlarge, + ml_r5_8xlarge, + ml_r5_12xlarge, + ml_r5_16xlarge, + ml_r5_24xlarge }; namespace TrainingInstanceTypeMapper diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/ProcessingInstanceType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/ProcessingInstanceType.cpp index 5664287bd4c..cab3258475c 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/ProcessingInstanceType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/ProcessingInstanceType.cpp @@ -64,6 +64,22 @@ namespace Aws static const int ml_g4dn_8xlarge_HASH = HashingUtils::HashString("ml.g4dn.8xlarge"); static const int ml_g4dn_12xlarge_HASH = HashingUtils::HashString("ml.g4dn.12xlarge"); static const int ml_g4dn_16xlarge_HASH = HashingUtils::HashString("ml.g4dn.16xlarge"); + static const int ml_g5_xlarge_HASH = HashingUtils::HashString("ml.g5.xlarge"); + static const int ml_g5_2xlarge_HASH = HashingUtils::HashString("ml.g5.2xlarge"); + static const int ml_g5_4xlarge_HASH = HashingUtils::HashString("ml.g5.4xlarge"); + static const int ml_g5_8xlarge_HASH = HashingUtils::HashString("ml.g5.8xlarge"); + static const int ml_g5_16xlarge_HASH = HashingUtils::HashString("ml.g5.16xlarge"); + static const int ml_g5_12xlarge_HASH = HashingUtils::HashString("ml.g5.12xlarge"); + static const int ml_g5_24xlarge_HASH = HashingUtils::HashString("ml.g5.24xlarge"); + static const int ml_g5_48xlarge_HASH = HashingUtils::HashString("ml.g5.48xlarge"); + static const int ml_r5d_large_HASH = HashingUtils::HashString("ml.r5d.large"); + static const int ml_r5d_xlarge_HASH = HashingUtils::HashString("ml.r5d.xlarge"); + static const int ml_r5d_2xlarge_HASH = HashingUtils::HashString("ml.r5d.2xlarge"); + static const int ml_r5d_4xlarge_HASH = HashingUtils::HashString("ml.r5d.4xlarge"); + static const int ml_r5d_8xlarge_HASH = HashingUtils::HashString("ml.r5d.8xlarge"); + static const int ml_r5d_12xlarge_HASH = HashingUtils::HashString("ml.r5d.12xlarge"); + static const int ml_r5d_16xlarge_HASH = HashingUtils::HashString("ml.r5d.16xlarge"); + static const int ml_r5d_24xlarge_HASH = HashingUtils::HashString("ml.r5d.24xlarge"); ProcessingInstanceType GetProcessingInstanceTypeForName(const Aws::String& name) @@ -245,6 +261,70 @@ namespace Aws { return ProcessingInstanceType::ml_g4dn_16xlarge; } + else if (hashCode == ml_g5_xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_xlarge; + } + else if (hashCode == ml_g5_2xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_2xlarge; + } + else if (hashCode == ml_g5_4xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_4xlarge; + } + else if (hashCode == ml_g5_8xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_8xlarge; + } + else if (hashCode == ml_g5_16xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_16xlarge; + } + else if (hashCode == ml_g5_12xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_12xlarge; + } + else if (hashCode == ml_g5_24xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_24xlarge; + } + else if (hashCode == ml_g5_48xlarge_HASH) + { + return ProcessingInstanceType::ml_g5_48xlarge; + } + else if (hashCode == ml_r5d_large_HASH) + { + return ProcessingInstanceType::ml_r5d_large; + } + else if (hashCode == ml_r5d_xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_xlarge; + } + else if (hashCode == ml_r5d_2xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_2xlarge; + } + else if (hashCode == ml_r5d_4xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_4xlarge; + } + else if (hashCode == ml_r5d_8xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_8xlarge; + } + else if (hashCode == ml_r5d_12xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_12xlarge; + } + else if (hashCode == ml_r5d_16xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_16xlarge; + } + else if (hashCode == ml_r5d_24xlarge_HASH) + { + return ProcessingInstanceType::ml_r5d_24xlarge; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -349,6 +429,38 @@ namespace Aws return "ml.g4dn.12xlarge"; case ProcessingInstanceType::ml_g4dn_16xlarge: return "ml.g4dn.16xlarge"; + case ProcessingInstanceType::ml_g5_xlarge: + return "ml.g5.xlarge"; + case ProcessingInstanceType::ml_g5_2xlarge: + return "ml.g5.2xlarge"; + case ProcessingInstanceType::ml_g5_4xlarge: + return "ml.g5.4xlarge"; + case ProcessingInstanceType::ml_g5_8xlarge: + return "ml.g5.8xlarge"; + case ProcessingInstanceType::ml_g5_16xlarge: + return "ml.g5.16xlarge"; + case ProcessingInstanceType::ml_g5_12xlarge: + return "ml.g5.12xlarge"; + case ProcessingInstanceType::ml_g5_24xlarge: + return "ml.g5.24xlarge"; + case ProcessingInstanceType::ml_g5_48xlarge: + return "ml.g5.48xlarge"; + case ProcessingInstanceType::ml_r5d_large: + return "ml.r5d.large"; + case ProcessingInstanceType::ml_r5d_xlarge: + return "ml.r5d.xlarge"; + case ProcessingInstanceType::ml_r5d_2xlarge: + return "ml.r5d.2xlarge"; + case ProcessingInstanceType::ml_r5d_4xlarge: + return "ml.r5d.4xlarge"; + case ProcessingInstanceType::ml_r5d_8xlarge: + return "ml.r5d.8xlarge"; + case ProcessingInstanceType::ml_r5d_12xlarge: + return "ml.r5d.12xlarge"; + case ProcessingInstanceType::ml_r5d_16xlarge: + return "ml.r5d.16xlarge"; + case ProcessingInstanceType::ml_r5d_24xlarge: + return "ml.r5d.24xlarge"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp b/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp index c6a13eee667..e5cf52022c8 100644 --- a/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp +++ b/generated/src/aws-cpp-sdk-sagemaker/source/model/TrainingInstanceType.cpp @@ -89,6 +89,26 @@ namespace Aws static const int ml_c6i_16xlarge_HASH = HashingUtils::HashString("ml.c6i.16xlarge"); static const int ml_c6i_24xlarge_HASH = HashingUtils::HashString("ml.c6i.24xlarge"); static const int ml_c6i_32xlarge_HASH = HashingUtils::HashString("ml.c6i.32xlarge"); + static const int ml_r5d_large_HASH = HashingUtils::HashString("ml.r5d.large"); + static const int ml_r5d_xlarge_HASH = HashingUtils::HashString("ml.r5d.xlarge"); + static const int ml_r5d_2xlarge_HASH = HashingUtils::HashString("ml.r5d.2xlarge"); + static const int ml_r5d_4xlarge_HASH = HashingUtils::HashString("ml.r5d.4xlarge"); + static const int ml_r5d_8xlarge_HASH = HashingUtils::HashString("ml.r5d.8xlarge"); + static const int ml_r5d_12xlarge_HASH = HashingUtils::HashString("ml.r5d.12xlarge"); + static const int ml_r5d_16xlarge_HASH = HashingUtils::HashString("ml.r5d.16xlarge"); + static const int ml_r5d_24xlarge_HASH = HashingUtils::HashString("ml.r5d.24xlarge"); + static const int ml_t3_medium_HASH = HashingUtils::HashString("ml.t3.medium"); + static const int ml_t3_large_HASH = HashingUtils::HashString("ml.t3.large"); + static const int ml_t3_xlarge_HASH = HashingUtils::HashString("ml.t3.xlarge"); + static const int ml_t3_2xlarge_HASH = HashingUtils::HashString("ml.t3.2xlarge"); + static const int ml_r5_large_HASH = HashingUtils::HashString("ml.r5.large"); + static const int ml_r5_xlarge_HASH = HashingUtils::HashString("ml.r5.xlarge"); + static const int ml_r5_2xlarge_HASH = HashingUtils::HashString("ml.r5.2xlarge"); + static const int ml_r5_4xlarge_HASH = HashingUtils::HashString("ml.r5.4xlarge"); + static const int ml_r5_8xlarge_HASH = HashingUtils::HashString("ml.r5.8xlarge"); + static const int ml_r5_12xlarge_HASH = HashingUtils::HashString("ml.r5.12xlarge"); + static const int ml_r5_16xlarge_HASH = HashingUtils::HashString("ml.r5.16xlarge"); + static const int ml_r5_24xlarge_HASH = HashingUtils::HashString("ml.r5.24xlarge"); TrainingInstanceType GetTrainingInstanceTypeForName(const Aws::String& name) @@ -370,6 +390,86 @@ namespace Aws { return TrainingInstanceType::ml_c6i_32xlarge; } + else if (hashCode == ml_r5d_large_HASH) + { + return TrainingInstanceType::ml_r5d_large; + } + else if (hashCode == ml_r5d_xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_xlarge; + } + else if (hashCode == ml_r5d_2xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_2xlarge; + } + else if (hashCode == ml_r5d_4xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_4xlarge; + } + else if (hashCode == ml_r5d_8xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_8xlarge; + } + else if (hashCode == ml_r5d_12xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_12xlarge; + } + else if (hashCode == ml_r5d_16xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_16xlarge; + } + else if (hashCode == ml_r5d_24xlarge_HASH) + { + return TrainingInstanceType::ml_r5d_24xlarge; + } + else if (hashCode == ml_t3_medium_HASH) + { + return TrainingInstanceType::ml_t3_medium; + } + else if (hashCode == ml_t3_large_HASH) + { + return TrainingInstanceType::ml_t3_large; + } + else if (hashCode == ml_t3_xlarge_HASH) + { + return TrainingInstanceType::ml_t3_xlarge; + } + else if (hashCode == ml_t3_2xlarge_HASH) + { + return TrainingInstanceType::ml_t3_2xlarge; + } + else if (hashCode == ml_r5_large_HASH) + { + return TrainingInstanceType::ml_r5_large; + } + else if (hashCode == ml_r5_xlarge_HASH) + { + return TrainingInstanceType::ml_r5_xlarge; + } + else if (hashCode == ml_r5_2xlarge_HASH) + { + return TrainingInstanceType::ml_r5_2xlarge; + } + else if (hashCode == ml_r5_4xlarge_HASH) + { + return TrainingInstanceType::ml_r5_4xlarge; + } + else if (hashCode == ml_r5_8xlarge_HASH) + { + return TrainingInstanceType::ml_r5_8xlarge; + } + else if (hashCode == ml_r5_12xlarge_HASH) + { + return TrainingInstanceType::ml_r5_12xlarge; + } + else if (hashCode == ml_r5_16xlarge_HASH) + { + return TrainingInstanceType::ml_r5_16xlarge; + } + else if (hashCode == ml_r5_24xlarge_HASH) + { + return TrainingInstanceType::ml_r5_24xlarge; + } EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) { @@ -524,6 +624,46 @@ namespace Aws return "ml.c6i.24xlarge"; case TrainingInstanceType::ml_c6i_32xlarge: return "ml.c6i.32xlarge"; + case TrainingInstanceType::ml_r5d_large: + return "ml.r5d.large"; + case TrainingInstanceType::ml_r5d_xlarge: + return "ml.r5d.xlarge"; + case TrainingInstanceType::ml_r5d_2xlarge: + return "ml.r5d.2xlarge"; + case TrainingInstanceType::ml_r5d_4xlarge: + return "ml.r5d.4xlarge"; + case TrainingInstanceType::ml_r5d_8xlarge: + return "ml.r5d.8xlarge"; + case TrainingInstanceType::ml_r5d_12xlarge: + return "ml.r5d.12xlarge"; + case TrainingInstanceType::ml_r5d_16xlarge: + return "ml.r5d.16xlarge"; + case TrainingInstanceType::ml_r5d_24xlarge: + return "ml.r5d.24xlarge"; + case TrainingInstanceType::ml_t3_medium: + return "ml.t3.medium"; + case TrainingInstanceType::ml_t3_large: + return "ml.t3.large"; + case TrainingInstanceType::ml_t3_xlarge: + return "ml.t3.xlarge"; + case TrainingInstanceType::ml_t3_2xlarge: + return "ml.t3.2xlarge"; + case TrainingInstanceType::ml_r5_large: + return "ml.r5.large"; + case TrainingInstanceType::ml_r5_xlarge: + return "ml.r5.xlarge"; + case TrainingInstanceType::ml_r5_2xlarge: + return "ml.r5.2xlarge"; + case TrainingInstanceType::ml_r5_4xlarge: + return "ml.r5.4xlarge"; + case TrainingInstanceType::ml_r5_8xlarge: + return "ml.r5.8xlarge"; + case TrainingInstanceType::ml_r5_12xlarge: + return "ml.r5.12xlarge"; + case TrainingInstanceType::ml_r5_16xlarge: + return "ml.r5.16xlarge"; + case TrainingInstanceType::ml_r5_24xlarge: + return "ml.r5.24xlarge"; default: EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); if(overflowContainer) diff --git a/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/SecretsManagerClient.h b/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/SecretsManagerClient.h index 417cea7011b..c74f107f83b 100644 --- a/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/SecretsManagerClient.h +++ b/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/SecretsManagerClient.h @@ -249,7 +249,13 @@ namespace SecretsManager * and access control in Secrets Manager.

    To encrypt the secret with a * KMS key other than aws/secretsmanager, you need * kms:GenerateDataKey and kms:Decrypt permission to the - * key.

    See Also:

    When you enter commands in a command shell, there is a + * risk of the command history being accessed or utilities having access to your + * command parameters. This is a concern if the command includes the value of a + * secret. Learn how to Mitigate + * the risks of using command-line tools to store Secrets Manager secrets.

    + *

    See Also:

    AWS * API Reference

    */ @@ -684,7 +690,13 @@ namespace SecretsManager * href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions"> * IAM policy actions for Secrets Manager and Authentication - * and access control in Secrets Manager.

    See Also:

    .

    When you enter + * commands in a command shell, there is a risk of the command history being + * accessed or utilities having access to your command parameters. This is a + * concern if the command includes the value of a secret. Learn how to Mitigate + * the risks of using command-line tools to store Secrets Manager secrets.

    + *

    See Also:

    AWS * API Reference

    */ @@ -1036,10 +1048,16 @@ namespace SecretsManager * you must also have kms:GenerateDataKey, kms:Encrypt, * and kms:Decrypt permissions on the key. If you change the KMS key * and you don't have kms:Encrypt permission to the new key, Secrets - * Manager does not re-ecrypt existing secret versions with the new key. For more + * Manager does not re-encrypt existing secret versions with the new key. For more * information, see - * Secret encryption and decryption.

    See Also:

    .

    When you enter commands + * in a command shell, there is a risk of the command history being accessed or + * utilities having access to your command parameters. This is a concern if the + * command includes the value of a secret. Learn how to Mitigate + * the risks of using command-line tools to store Secrets Manager secrets.

    + *

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/model/UpdateSecretRequest.h b/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/model/UpdateSecretRequest.h index b4d340e6868..8e7c4950b0c 100644 --- a/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/model/UpdateSecretRequest.h +++ b/generated/src/aws-cpp-sdk-secretsmanager/include/aws/secretsmanager/model/UpdateSecretRequest.h @@ -100,7 +100,7 @@ namespace Model * new secret versions as well as any existing versions with the staging labels * AWSCURRENT, AWSPENDING, or AWSPREVIOUS. * If you don't have kms:Encrypt permission to the new key, Secrets - * Manager does not re-ecrypt existing secret versions with the new key. For more + * Manager does not re-encrypt existing secret versions with the new key. For more * information about versions and staging labels, see Concepts: * Version.

    A key alias is always prefixed by alias/, for diff --git a/generated/src/aws-cpp-sdk-taxsettings/source/TaxSettingsEndpointRules.cpp b/generated/src/aws-cpp-sdk-taxsettings/source/TaxSettingsEndpointRules.cpp index f3efa4207c8..c6e6bc78bfa 100644 --- a/generated/src/aws-cpp-sdk-taxsettings/source/TaxSettingsEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-taxsettings/source/TaxSettingsEndpointRules.cpp @@ -10,44 +10,44 @@ namespace Aws { namespace TaxSettings { -const size_t TaxSettingsEndpointRules::RulesBlobStrLen = 3712; -const size_t TaxSettingsEndpointRules::RulesBlobSize = 3713; +const size_t TaxSettingsEndpointRules::RulesBlobStrLen = 4137; +const size_t TaxSettingsEndpointRules::RulesBlobSize = 4138; 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','"', -':','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','"', +'e','r','s','"',':','{','"','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','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','"',':','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','"','}','}',',','"','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', @@ -95,70 +95,87 @@ static constexpr RulesBlobT RulesBlob = {{ 'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', 'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', '}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[',']',',','"','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',':','/','/','t','a','x','-','f','i','p','s','.','{','R','e','g','i','o','n', -'}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t', -'a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e', -'"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o', -'n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P', -'S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l', -'e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', -'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t', -'h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e', -'"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', -'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', -'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r', -'u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s', -'"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o', -'n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']', -'}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', -'i','t','i','o','n','s','"',':','[',']',',','"','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',':','/','/','t','a','x','-','f','i','p','s','.','{','R', -'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', -'n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', -'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', -']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s', -' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i', -'o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"', -',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', -'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', -'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', -'t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"', -':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','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',':','/','/','t','a','x', -'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', -'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', -'o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d', -' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ', -'n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t', -'y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r', -'e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','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',':','/','/', -'t','a','x','.','{','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', +'s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"', +'h','t','t','p','s',':','/','/','t','a','x','-','f','i','p','s','.','{','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','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','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"', +'n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','R','e','g', +'i','o','n','"',':','"','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m', +'p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','"','}',']','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F', +'I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a', +'b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ', +'d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b', +'o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"', +':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',', +'t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a', +'l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u', +'a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','r','u','l','e','s', +'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', +'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', +'f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r', +'e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s', +'u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/', +'/','t','a','x','-','f','i','p','s','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','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','"',':','{','"','a','u','t','h','S','c','h', +'e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s', +'i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','{','P','a','r','t','i','t','i','o','n', +'R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i', +'o','n','}','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', 'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', -'t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"', +'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', +'e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', +'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', +'t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e', +'r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e', +'a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':', +'"','U','s','e','F','I','P','S','"','}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':', +'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{', +'"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u', +'e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', +',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A', +'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u', +'a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','t','a','x','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b', +'a','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','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"', +':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n', +'g','R','e','g','i','o','n','"',':','"','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','"','}', +']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', +'"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b','l','e','d',' ','b', +'u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o', +'t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"',',','"','t','y','p', +'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p', +'o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','t','a','x', +'.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i', +'t','G','l','o','b','a','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','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"', +'n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','R','e','g', +'i','o','n','"',':','"','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m', +'p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','"','}',']','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"', 't','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', 's','"',':','[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o', 'n','f','i','g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i', diff --git a/generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/UpdateAccountSettingsRequest.h b/generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/UpdateAccountSettingsRequest.h index 5dc2c6dc67b..81f7e5274c8 100644 --- a/generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/UpdateAccountSettingsRequest.h +++ b/generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/UpdateAccountSettingsRequest.h @@ -53,7 +53,10 @@ namespace Model ///@{ /** - *

    The pricing model for queries in an account.

    + *

    The pricing model for queries in an account.

    The + * QueryPricingModel parameter is used by several Timestream + * operations; however, the UpdateAccountSettings API operation + * doesn't recognize any values other than COMPUTE_UNITS.

    */ inline const QueryPricingModel& GetQueryPricingModel() const{ return m_queryPricingModel; } inline bool QueryPricingModelHasBeenSet() const { return m_queryPricingModelHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h index 8cde2e6306f..62ec24fde7a 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h @@ -304,8 +304,8 @@ namespace Model ///@{ /** - *

    "The tag keys and optional values for the newly created devices for this - * environment."

    + *

    The tag keys and optional values for the newly created devices for this + * environment.

    */ inline const Aws::Map& GetDeviceCreationTags() const{ return m_deviceCreationTags; } inline bool DeviceCreationTagsHasBeenSet() const { return m_deviceCreationTagsHasBeenSet; } diff --git a/generated/tests/taxsettings-gen-tests/TaxSettingsEndpointProviderTests.cpp b/generated/tests/taxsettings-gen-tests/TaxSettingsEndpointProviderTests.cpp index e4450d38838..d67bbabd02b 100644 --- a/generated/tests/taxsettings-gen-tests/TaxSettingsEndpointProviderTests.cpp +++ b/generated/tests/taxsettings-gen-tests/TaxSettingsEndpointProviderTests.cpp @@ -74,12 +74,33 @@ class TaxSettingsEndpointProviderTests : public ::testing::TestWithParam }; Aws::UniquePtrSafeDeleted> TaxSettingsEndpointProviderTests::TEST_CASES; -const size_t TaxSettingsEndpointProviderTests::TEST_CASES_SZ = 25; +const size_t TaxSettingsEndpointProviderTests::TEST_CASES_SZ = 32; Aws::Vector TaxSettingsEndpointProviderTests::getTestCase() { Aws::Vector test_cases = { /*TEST CASE 0*/ + {"For custom endpoint with region not set and fips disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com")}, // params + {}, // tags + {{/*epUrl*/"https://example.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 1*/ + {"For custom endpoint with fips enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com")}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect + }, + /*TEST CASE 2*/ + {"For custom endpoint with fips disabled and dualstack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + }, + /*TEST CASE 3*/ {"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 @@ -88,7 +109,7 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 1*/ + /*TEST CASE 4*/ {"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 @@ -97,7 +118,7 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 2*/ + /*TEST CASE 5*/ {"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 @@ -106,7 +127,7 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 3*/ + /*TEST CASE 6*/ {"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 @@ -115,85 +136,85 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 4*/ - {"For region cn-north-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + /*TEST CASE 7*/ + {"For region cn-northwest-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://tax-fips.cn-north-1.api.amazonwebservices.com.cn", + {{/*epUrl*/"https://tax-fips.cn-northwest-1.api.amazonwebservices.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 5*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 8*/ + {"For region cn-northwest-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://tax-fips.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://tax-fips.cn-northwest-1.amazonaws.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 6*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + /*TEST CASE 9*/ + {"For region cn-northwest-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://tax.cn-north-1.api.amazonwebservices.com.cn", + {{/*epUrl*/"https://tax.cn-northwest-1.api.amazonwebservices.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 7*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 10*/ + {"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://tax.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://tax.cn-northwest-1.amazonaws.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 8*/ - {"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 + /*TEST CASE 11*/ + {"For region us-gov-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://tax-fips.us-gov-east-1.api.aws", + {{/*epUrl*/"https://tax-fips.us-gov-west-1.api.aws", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 9*/ - {"For region us-gov-east-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 12*/ + {"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://tax-fips.us-gov-east-1.amazonaws.com", + {{/*epUrl*/"https://tax-fips.us-gov-west-1.amazonaws.com", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 10*/ - {"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 + /*TEST CASE 13*/ + {"For region us-gov-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://tax.us-gov-east-1.api.aws", + {{/*epUrl*/"https://tax.us-gov-west-1.api.aws", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 11*/ - {"For region us-gov-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 14*/ + {"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://tax.us-gov-east-1.amazonaws.com", + {{/*epUrl*/"https://tax.us-gov-west-1.amazonaws.com", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 12*/ + /*TEST CASE 15*/ {"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 {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, - /*TEST CASE 13*/ + /*TEST CASE 16*/ {"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 @@ -202,13 +223,13 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 14*/ + /*TEST CASE 17*/ {"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 {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect }, - /*TEST CASE 15*/ + /*TEST CASE 18*/ {"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 @@ -217,13 +238,13 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 16*/ + /*TEST CASE 19*/ {"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 17*/ + /*TEST CASE 20*/ {"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 @@ -232,13 +253,13 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 18*/ + /*TEST CASE 21*/ {"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 19*/ + /*TEST CASE 22*/ {"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 @@ -247,37 +268,67 @@ Aws::Vector TaxSettingsEndpointProv {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 20*/ - {"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 + /*TEST CASE 23*/ + {"For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://example.com", + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 24*/ + {"For region eu-isoe-west-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://tax-fips.eu-isoe-west-1.cloud.adc-e.uk", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 21*/ - {"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 + /*TEST CASE 25*/ + {"For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://example.com", + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 26*/ + {"For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://tax.eu-isoe-west-1.cloud.adc-e.uk", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 22*/ - {"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 + /*TEST CASE 27*/ + {"For region us-isof-south-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, - /*TEST CASE 23*/ - {"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 + /*TEST CASE 28*/ + {"For region us-isof-south-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + {{/*epUrl*/"https://tax-fips.us-isof-south-1.csp.hci.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 24*/ + /*TEST CASE 29*/ + {"For region us-isof-south-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 30*/ + {"For region us-isof-south-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://tax.us-isof-south-1.csp.hci.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 31*/ {"Missing region", // documentation {}, // params {}, // tags 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 32df4e28788..45e0e47eff9 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.367" +#define AWS_SDK_VERSION_STRING "1.11.368" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 367 +#define AWS_SDK_VERSION_PATCH 368 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 febf835fd33..800da7ec0ac 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 @@ -3006,6 +3006,23 @@ ], "documentation":"

    When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording whatever recording is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would resume.

    Voice and screen recordings are supported.

    " }, + "SearchAgentStatuses":{ + "name":"SearchAgentStatuses", + "http":{ + "method":"POST", + "requestUri":"/search-agent-statuses" + }, + "input":{"shape":"SearchAgentStatusesRequest"}, + "output":{"shape":"SearchAgentStatusesResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

    Searches AgentStatuses in an Amazon Connect instance, with optional filtering.

    " + }, "SearchAvailablePhoneNumbers":{ "name":"SearchAvailablePhoneNumbers", "http":{ @@ -3210,6 +3227,23 @@ ], "documentation":"

    Searches security profiles in an Amazon Connect instance, with optional filtering.

    " }, + "SearchUserHierarchyGroups":{ + "name":"SearchUserHierarchyGroups", + "http":{ + "method":"POST", + "requestUri":"/search-user-hierarchy-groups" + }, + "input":{"shape":"SearchUserHierarchyGroupsRequest"}, + "output":{"shape":"SearchUserHierarchyGroupsResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ], + "documentation":"

    Searches UserHierarchyGroups in an Amazon Connect instance, with optional filtering.

    The UserHierarchyGroup with \"LevelId\": \"0\" is the foundation for building levels on top of an instance. It is not user-definable, nor is it visible in the UI.

    " + }, "SearchUsers":{ "name":"SearchUsers", "http":{ @@ -4680,6 +4714,10 @@ "min":1 }, "AgentStatusId":{"type":"string"}, + "AgentStatusList":{ + "type":"list", + "member":{"shape":"AgentStatus"} + }, "AgentStatusName":{ "type":"string", "max":127, @@ -4708,6 +4746,38 @@ }, "documentation":"

    Information about the agent's status.

    " }, + "AgentStatusSearchConditionList":{ + "type":"list", + "member":{"shape":"AgentStatusSearchCriteria"} + }, + "AgentStatusSearchCriteria":{ + "type":"structure", + "members":{ + "OrConditions":{ + "shape":"AgentStatusSearchConditionList", + "documentation":"

    A list of conditions which would be applied together with an OR condition.

    " + }, + "AndConditions":{ + "shape":"AgentStatusSearchConditionList", + "documentation":"

    A leaf node condition which can be used to specify a string condition.

    The currently supported values for FieldName are name,

 description, state, type, displayOrder,
 and resourceID.

    " + }, + "StringCondition":{ + "shape":"StringCondition", + "documentation":"

    A leaf node condition which can be used to specify a string condition.

    The currently supported values for FieldName are name,

 description, state, type, displayOrder,
 and resourceID.

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

    The search criteria to be used to return agent statuses.

    " + }, + "AgentStatusSearchFilter":{ + "type":"structure", + "members":{ + "AttributeFilter":{ + "shape":"ControlPlaneAttributeFilter", + "documentation":"

    An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR of AND (List of List) input where:

    • The top level list specifies conditions that need to be applied with OR operator.

    • The inner list specifies conditions that need to be applied with AND operator.

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

    Filters to be applied to search results.

    " + }, "AgentStatusState":{ "type":"string", "enum":[ @@ -6078,6 +6148,20 @@ "type":"string", "max":500 }, + "CommonAttributeAndCondition":{ + "type":"structure", + "members":{ + "TagConditions":{ + "shape":"TagAndConditionList", + "documentation":"

    A leaf node condition which can be used to specify a tag condition.

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

    A list of conditions which would be applied together with an AND condition.

    " + }, + "CommonAttributeOrConditionList":{ + "type":"list", + "member":{"shape":"CommonAttributeAndCondition"} + }, "CommonNameLength127":{ "type":"string", "max":127, @@ -6132,6 +6216,24 @@ "max":10, "min":1 }, + "Condition":{ + "type":"structure", + "members":{ + "StringCondition":{ + "shape":"StringCondition", + "documentation":"

    A leaf node condition which can be used to specify a string condition.

    The currently supported values for FieldName are name and
 value.

    " + }, + "NumberCondition":{ + "shape":"NumberCondition", + "documentation":"

    A leaf node condition which can be used to specify a numeric condition.

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

    A leaf node condition which can be used to specify a ProficiencyName, ProficiencyValue and ProficiencyLimit.

    " + }, + "Conditions":{ + "type":"list", + "member":{"shape":"Condition"} + }, "ConflictException":{ "type":"structure", "members":{ @@ -6812,6 +6914,21 @@ "max":255, "min":1 }, + "ControlPlaneAttributeFilter":{ + "type":"structure", + "members":{ + "OrConditions":{ + "shape":"CommonAttributeOrConditionList", + "documentation":"

    A list of conditions which would be applied together with an OR condition.

    " + }, + "AndCondition":{ + "shape":"CommonAttributeAndCondition", + "documentation":"

    A list of conditions which would be applied together with an AND condition.

    " + }, + "TagCondition":{"shape":"TagCondition"} + }, + "documentation":"

    An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR or AND (List of List) input where:

    • The top level list specifies conditions that need to be applied with OR operator.

    • The inner list specifies conditions that need to be applied with AND operator.

    " + }, "ControlPlaneTagFilter":{ "type":"structure", "members":{ @@ -11801,7 +11918,7 @@ }, "Metrics":{ "shape":"MetricsV2", - "documentation":"

    The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.

    ABANDONMENT_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Abandonment rate

    AGENT_ADHERENT_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherent time

    AGENT_ANSWER_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent answer rate

    AGENT_NON_ADHERENT_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Non-adherent time

    AGENT_NON_RESPONSE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent non-response

    AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

    UI name: Agent non-response without customer abandons

    AGENT_OCCUPANCY

    Unit: Percentage

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Occupancy

    AGENT_SCHEDULE_ADHERENCE

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherence

    AGENT_SCHEDULED_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Scheduled time

    AVG_ABANDON_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue abandon time

    AVG_ACTIVE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average active time

    AVG_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average after contact work time

    Feature is a valid filter but not a valid grouping.

    AVG_AGENT_CONNECTING_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Average agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    AVG_AGENT_PAUSE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average agent pause time

    AVG_CASE_RELATED_CONTACTS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average contacts per case

    AVG_CASE_RESOLUTION_TIME

    Unit: Seconds

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average case resolution time

    AVG_CONTACT_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average contact duration

    Feature is a valid filter but not a valid grouping.

    AVG_CONVERSATION_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average conversation duration

    AVG_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Average flow time

    AVG_GREETING_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent greeting time

    AVG_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

    UI name: Average handle time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME_ALL_CONTACTS

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time all contacts

    AVG_HOLDS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average holds

    Feature is a valid filter but not a valid grouping.

    AVG_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction and customer hold time

    AVG_INTERACTION_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction time

    Feature is a valid filter but not a valid grouping.

    AVG_INTERRUPTIONS_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruptions

    AVG_INTERRUPTION_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruption time

    AVG_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average non-talk time

    AVG_QUEUE_ANSWER_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue answer time

    Feature is a valid filter but not a valid grouping.

    AVG_RESOLUTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average resolution time

    AVG_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average talk time

    AVG_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent talk time

    AVG_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer talk time

    CASES_CREATED

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases created

    CONTACTS_CREATED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts created

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: API contacts handled

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts handled (connected to agent timestamp)

    CONTACTS_HOLD_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts hold disconnect

    CONTACTS_ON_HOLD_AGENT_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold agent disconnect

    CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold customer disconnect

    CONTACTS_PUT_ON_HOLD

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts put on hold

    CONTACTS_TRANSFERRED_OUT_EXTERNAL

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out external

    CONTACTS_TRANSFERRED_OUT_INTERNAL

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out internal

    CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts queued

    CONTACTS_QUEUED_BY_ENQUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

    UI name: Contacts queued (enqueue timestamp)

    CONTACTS_REMOVED_FROM_QUEUE_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: This metric is not available in Amazon Connect admin website.

    CONTACTS_RESOLVED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts resolved in X

    CONTACTS_TRANSFERRED_OUT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out

    Feature is a valid filter but not a valid grouping.

    CONTACTS_TRANSFERRED_OUT_BY_AGENT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out by agent

    CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out queue

    CURRENT_CASES

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Current cases

    FLOWS_OUTCOME

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome

    FLOWS_STARTED

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows started

    MAX_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Maximum flow time

    MAX_QUEUED_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Maximum queued time

    MIN_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Minimum flow time

    PERCENT_CASES_FIRST_CONTACT_RESOLVED

    Unit: Percent

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved on first contact

    PERCENT_CONTACTS_STEP_EXPIRED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_CONTACTS_STEP_JOINED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_FLOWS_OUTCOME

    Unit: Percent

    Valid metric filter key: FLOWS_OUTCOME_TYPE

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome percentage.

    The FLOWS_OUTCOME_TYPE is not a valid grouping.

    PERCENT_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Non-talk time percent

    PERCENT_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Talk time percent

    PERCENT_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Agent talk time percent

    PERCENT_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Customer talk time percent

    REOPENED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases reopened

    RESOLVED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved

    SERVICE_LEVEL

    You can include up to 20 SERVICE_LEVEL metrics in a request.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Service level X

    STEP_CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    SUM_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: After contact work time

    SUM_CONNECTING_TIME_AGENT

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    SUM_CONTACTS_ABANDONED

    Unit: Count

    Metric filter:

    • Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| Disconnect

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: Contact abandoned

    SUM_CONTACTS_ABANDONED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts abandoned in X seconds

    SUM_CONTACTS_ANSWERED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts answered in X seconds

    SUM_CONTACT_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact flow time

    SUM_CONTACT_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent on contact time

    SUM_CONTACTS_DISCONNECTED

    Valid metric filter key: DISCONNECT_REASON

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contact disconnected

    SUM_ERROR_STATUS_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Error status time

    SUM_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact handle time

    SUM_HOLD_TIME

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Customer hold time

    SUM_IDLE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent idle time

    SUM_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Agent interaction and hold time

    SUM_INTERACTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent interaction time

    SUM_NON_PRODUCTIVE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Non-Productive Time

    SUM_ONLINE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Online time

    SUM_RETRY_CALLBACK_ATTEMPTS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Callback attempts

    " + "documentation":"

    The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.

    ABANDONMENT_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Abandonment rate

    AGENT_ADHERENT_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherent time

    AGENT_ANSWER_RATE

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent answer rate

    AGENT_NON_ADHERENT_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Non-adherent time

    AGENT_NON_RESPONSE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent non-response

    AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

    UI name: Agent non-response without customer abandons

    AGENT_OCCUPANCY

    Unit: Percentage

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Occupancy

    AGENT_SCHEDULE_ADHERENCE

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Adherence

    AGENT_SCHEDULED_TIME

    This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Scheduled time

    AVG_ABANDON_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue abandon time

    AVG_ACTIVE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average active time

    AVG_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average after contact work time

    Feature is a valid filter but not a valid grouping.

    AVG_AGENT_CONNECTING_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Average agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    AVG_AGENT_PAUSE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Average agent pause time

    AVG_CASE_RELATED_CONTACTS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average contacts per case

    AVG_CASE_RESOLUTION_TIME

    Unit: Seconds

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Average case resolution time

    AVG_CONTACT_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average contact duration

    Feature is a valid filter but not a valid grouping.

    AVG_CONVERSATION_DURATION

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average conversation duration

    AVG_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Average flow time

    AVG_GREETING_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent greeting time

    AVG_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

    UI name: Average handle time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time

    Feature is a valid filter but not a valid grouping.

    AVG_HOLD_TIME_ALL_CONTACTS

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer hold time all contacts

    AVG_HOLDS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average holds

    Feature is a valid filter but not a valid grouping.

    AVG_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction and customer hold time

    AVG_INTERACTION_TIME

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interaction time

    Feature is a valid filter but not a valid grouping.

    AVG_INTERRUPTIONS_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruptions

    AVG_INTERRUPTION_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent interruption time

    AVG_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average non-talk time

    AVG_QUEUE_ANSWER_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average queue answer time

    Feature is a valid filter but not a valid grouping.

    AVG_RESOLUTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average resolution time

    AVG_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average talk time

    AVG_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average agent talk time

    AVG_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Average customer talk time

    CASES_CREATED

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases created

    CONTACTS_CREATED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts created

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED

    Unit: Count

    Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: API contacts handled

    Feature is a valid filter but not a valid grouping.

    CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

    Unit: Count

    Valid metric filter key: INITIATION_METHOD

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts handled (connected to agent timestamp)

    CONTACTS_HOLD_ABANDONS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts hold disconnect

    CONTACTS_ON_HOLD_AGENT_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold agent disconnect

    CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts hold customer disconnect

    CONTACTS_PUT_ON_HOLD

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts put on hold

    CONTACTS_TRANSFERRED_OUT_EXTERNAL

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out external

    CONTACTS_TRANSFERRED_OUT_INTERNAL

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contacts transferred out internal

    CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts queued

    CONTACTS_QUEUED_BY_ENQUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

    UI name: Contacts queued (enqueue timestamp)

    CONTACTS_REMOVED_FROM_QUEUE_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts removed from queue in X seconds

    CONTACTS_RESOLVED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts resolved in X

    CONTACTS_TRANSFERRED_OUT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out

    Feature is a valid filter but not a valid grouping.

    CONTACTS_TRANSFERRED_OUT_BY_AGENT

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out by agent

    CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contacts transferred out queue

    CURRENT_CASES

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Current cases

    FLOWS_OUTCOME

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome

    FLOWS_STARTED

    Unit: Count

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows started

    MAX_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Maximum flow time

    MAX_QUEUED_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Maximum queued time

    MIN_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Minimum flow time

    PERCENT_CASES_FIRST_CONTACT_RESOLVED

    Unit: Percent

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved on first contact

    PERCENT_CONTACTS_STEP_EXPIRED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_CONTACTS_STEP_JOINED

    Unit: Percent

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    PERCENT_FLOWS_OUTCOME

    Unit: Percent

    Valid metric filter key: FLOWS_OUTCOME_TYPE

    Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

    UI name: Flows outcome percentage.

    The FLOWS_OUTCOME_TYPE is not a valid grouping.

    PERCENT_NON_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Non-talk time percent

    PERCENT_TALK_TIME

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Talk time percent

    PERCENT_TALK_TIME_AGENT

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Agent talk time percent

    PERCENT_TALK_TIME_CUSTOMER

    This metric is available only for contacts analyzed by Contact Lens conversational analytics.

    Unit: Percentage

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Customer talk time percent

    REOPENED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases reopened

    RESOLVED_CASE_ACTIONS

    Unit: Count

    Required filter key: CASE_TEMPLATE_ARN

    Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

    UI name: Cases resolved

    SERVICE_LEVEL

    You can include up to 20 SERVICE_LEVEL metrics in a request.

    Unit: Percent

    Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Service level X

    STEP_CONTACTS_QUEUED

    Unit: Count

    Valid groupings and filters: Queue, RoutingStepExpression

    UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

    SUM_AFTER_CONTACT_WORK_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: After contact work time

    SUM_CONNECTING_TIME_AGENT

    Unit: Seconds

    Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent API connecting time

    The Negate key in Metric Level Filters is not applicable for this metric.

    SUM_CONTACTS_ABANDONED

    Unit: Count

    Metric filter:

    • Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| Disconnect

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

    UI name: Contact abandoned

    SUM_CONTACTS_ABANDONED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts abandoned in X seconds

    SUM_CONTACTS_ANSWERED_IN_X

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

    UI name: Contacts answered in X seconds

    SUM_CONTACT_FLOW_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact flow time

    SUM_CONTACT_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent on contact time

    SUM_CONTACTS_DISCONNECTED

    Valid metric filter key: DISCONNECT_REASON

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Contact disconnected

    SUM_ERROR_STATUS_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Error status time

    SUM_HANDLE_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Contact handle time

    SUM_HOLD_TIME

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Customer hold time

    SUM_IDLE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Agent idle time

    SUM_INTERACTION_AND_HOLD_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

    UI name: Agent interaction and hold time

    SUM_INTERACTION_TIME

    Unit: Seconds

    Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

    UI name: Agent interaction time

    SUM_NON_PRODUCTIVE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Non-Productive Time

    SUM_ONLINE_TIME_AGENT

    Unit: Seconds

    Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

    UI name: Online time

    SUM_RETRY_CALLBACK_ATTEMPTS

    Unit: Count

    Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

    UI name: Callback attempts

    " }, "NextToken":{ "shape":"NextToken2500", @@ -13370,6 +13487,20 @@ } } }, + "ListCondition":{ + "type":"structure", + "members":{ + "TargetListType":{ + "shape":"TargetListType", + "documentation":"

    The type of target list that will be used to filter the users.

    " + }, + "Conditions":{ + "shape":"Conditions", + "documentation":"

    A list of Condition objects which would be applied together with an AND condition.

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

    A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.

    " + }, "ListContactEvaluationsRequest":{ "type":"structure", "required":[ @@ -15565,6 +15696,41 @@ "max":5.0, "min":1.0 }, + "NullableProficiencyLimitValue":{"type":"integer"}, + "NumberComparisonType":{ + "type":"string", + "enum":[ + "GREATER_OR_EQUAL", + "GREATER", + "LESSER_OR_EQUAL", + "LESSER", + "EQUAL", + "NOT_EQUAL", + "RANGE" + ] + }, + "NumberCondition":{ + "type":"structure", + "members":{ + "FieldName":{ + "shape":"String", + "documentation":"

    The name of the field in the number condition.

    " + }, + "MinValue":{ + "shape":"NullableProficiencyLimitValue", + "documentation":"

    The minValue to be used while evaluating the number condition.

    " + }, + "MaxValue":{ + "shape":"NullableProficiencyLimitValue", + "documentation":"

    The maxValue to be used while evaluating the number condition.

    " + }, + "ComparisonType":{ + "shape":"NumberComparisonType", + "documentation":"

    The type of comparison to be made when evaluating the number condition.

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

    A leaf node condition which can be used to specify a numeric condition.

    The currently supported value for FieldName is limit.

    " + }, "NumberReference":{ "type":"structure", "members":{ @@ -18218,6 +18384,50 @@ "min":1, "pattern":"s3://\\S+/.+|https://\\\\S+\\\\.s3\\\\.\\\\S+\\\\.amazonaws\\\\.com/\\\\S+" }, + "SearchAgentStatusesRequest":{ + "type":"structure", + "required":["InstanceId"], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

    " + }, + "NextToken":{ + "shape":"NextToken2500", + "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.

    " + }, + "MaxResults":{ + "shape":"MaxResult100", + "documentation":"

    The maximum number of results to return per page.

    ", + "box":true + }, + "SearchFilter":{ + "shape":"AgentStatusSearchFilter", + "documentation":"

    Filters to be applied to search results.

    " + }, + "SearchCriteria":{ + "shape":"AgentStatusSearchCriteria", + "documentation":"

    The search criteria to be used to return agent statuses.

    " + } + } + }, + "SearchAgentStatusesResponse":{ + "type":"structure", + "members":{ + "AgentStatuses":{ + "shape":"AgentStatusList", + "documentation":"

    The search criteria to be used to return agent statuses.

    " + }, + "NextToken":{ + "shape":"NextToken2500", + "documentation":"

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

    " + }, + "ApproximateTotalCount":{ + "shape":"ApproximateTotalCount", + "documentation":"

    The total number of agent statuses which matched your search query.

    " + } + } + }, "SearchAvailablePhoneNumbersRequest":{ "type":"structure", "required":[ @@ -18708,7 +18918,7 @@ }, "ResourceTypes":{ "shape":"ResourceTypeList", - "documentation":"

    The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.

    " + "documentation":"

    The list of resource types to be used to search tags from. If not provided or if any empty list is provided, this API will search from all supported resource types.

    Supported resource types

    • AGENT

    • ROUTING_PROFILE

    • STANDARD_QUEUE

    • SECURITY_PROFILE

    • OPERATING_HOURS

    • PROMPT

    • CONTACT_FLOW

    • FLOW_MODULE

    " }, "NextToken":{ "shape":"NextToken2500", @@ -18837,6 +19047,50 @@ "max":100, "min":0 }, + "SearchUserHierarchyGroupsRequest":{ + "type":"structure", + "required":["InstanceId"], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "documentation":"

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

    " + }, + "NextToken":{ + "shape":"NextToken2500", + "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.

    " + }, + "MaxResults":{ + "shape":"MaxResult100", + "documentation":"

    The maximum number of results to return per page.

    ", + "box":true + }, + "SearchFilter":{ + "shape":"UserHierarchyGroupSearchFilter", + "documentation":"

    Filters to be applied to search results.

    " + }, + "SearchCriteria":{ + "shape":"UserHierarchyGroupSearchCriteria", + "documentation":"

    The search criteria to be used to return UserHierarchyGroups.

    " + } + } + }, + "SearchUserHierarchyGroupsResponse":{ + "type":"structure", + "members":{ + "UserHierarchyGroups":{ + "shape":"UserHierarchyGroupList", + "documentation":"

    Information about the userHierarchyGroups.

    " + }, + "NextToken":{ + "shape":"NextToken2500", + "documentation":"

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

    " + }, + "ApproximateTotalCount":{ + "shape":"ApproximateTotalCount", + "documentation":"

    The total number of userHierarchyGroups which matched your search query.

    " + } + } + }, "SearchUsersRequest":{ "type":"structure", "required":["InstanceId"], @@ -20050,7 +20304,7 @@ "documentation":"

    The type of comparison to be made when evaluating the string condition.

    " } }, - "documentation":"

    A leaf node condition which can be used to specify a string condition.

    The currently supported values for FieldName are name and description.

    " + "documentation":"

    A leaf node condition which can be used to specify a string condition.

    " }, "StringReference":{ "type":"structure", @@ -20236,7 +20490,7 @@ "type":"string", "max":128, "min":1, - "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" + "pattern":"^(?!aws:)[\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*$" }, "TagKeyList":{ "type":"list", @@ -20336,6 +20590,10 @@ "type":"list", "member":{"shape":"TagSet"} }, + "TargetListType":{ + "type":"string", + "enum":["PROFICIENCIES"] + }, "TaskActionDefinition":{ "type":"structure", "required":[ @@ -22755,6 +23013,42 @@ "type":"list", "member":{"shape":"UserData"} }, + "UserHierarchyGroupList":{ + "type":"list", + "member":{"shape":"HierarchyGroup"} + }, + "UserHierarchyGroupSearchConditionList":{ + "type":"list", + "member":{"shape":"UserHierarchyGroupSearchCriteria"} + }, + "UserHierarchyGroupSearchCriteria":{ + "type":"structure", + "members":{ + "OrConditions":{ + "shape":"UserHierarchyGroupSearchConditionList", + "documentation":"

    A list of conditions which would be applied together with an OR condition.

    " + }, + "AndConditions":{ + "shape":"UserHierarchyGroupSearchConditionList", + "documentation":"

    A list of conditions which would be applied together with an AND condition.

    " + }, + "StringCondition":{ + "shape":"StringCondition", + "documentation":"

    A leaf node condition which can be used to specify a string condition.

    The currently supported values for FieldName are name,

 parentId, levelId, and resourceID.

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

    The search criteria to be used to return userHierarchyGroup.

    " + }, + "UserHierarchyGroupSearchFilter":{ + "type":"structure", + "members":{ + "AttributeFilter":{ + "shape":"ControlPlaneAttributeFilter", + "documentation":"

    An object that can be used to specify Tag conditions inside the SearchFilter. This accepts an OR or AND (List of List) input where:

    • The top level list specifies conditions that need to be applied with OR operator.

    • The inner list specifies conditions that need to be applied with AND operator.

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

    Filters to be applied to search results.

    " + }, "UserId":{"type":"string"}, "UserIdList":{ "type":"list", @@ -22932,6 +23226,10 @@ "shape":"StringCondition", "documentation":"

    A leaf node condition which can be used to specify a string condition.

    The currently supported values for FieldName are Username, FirstName, LastName, RoutingProfileId, SecurityProfileId, ResourceId.

    " }, + "ListCondition":{ + "shape":"ListCondition", + "documentation":"

    A leaf node condition which can be used to specify a List condition to search users with attributes included in Lists like Proficiencies.

    " + }, "HierarchyGroupCondition":{ "shape":"HierarchyGroupCondition", "documentation":"

    A leaf node condition which can be used to specify a hierarchy group condition.

    " diff --git a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json index 25a037c10f9..e3cbd3a0491 100644 --- a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json +++ b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json @@ -770,6 +770,16 @@ "output":{"shape":"CreateIpamResult"}, "documentation":"

    Create an IPAM. Amazon VPC IP Address Manager (IPAM) is a VPC feature that you can use to automate your IP address management workflows including assigning, tracking, troubleshooting, and auditing IP addresses across Amazon Web Services Regions and accounts throughout your Amazon Web Services Organization.

    For more information, see Create an IPAM in the Amazon VPC IPAM User Guide.

    " }, + "CreateIpamExternalResourceVerificationToken":{ + "name":"CreateIpamExternalResourceVerificationToken", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateIpamExternalResourceVerificationTokenRequest"}, + "output":{"shape":"CreateIpamExternalResourceVerificationTokenResult"}, + "documentation":"

    Create a verification token. A verification token is an Amazon Web Services-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to Amazon Web Services (BYOIP).

    " + }, "CreateIpamPool":{ "name":"CreateIpamPool", "http":{ @@ -1524,6 +1534,16 @@ "output":{"shape":"DeleteIpamResult"}, "documentation":"

    Delete an IPAM. Deleting an IPAM removes all monitored data associated with the IPAM including the historical data for CIDRs.

    For more information, see Delete an IPAM in the Amazon VPC IPAM User Guide.

    " }, + "DeleteIpamExternalResourceVerificationToken":{ + "name":"DeleteIpamExternalResourceVerificationToken", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteIpamExternalResourceVerificationTokenRequest"}, + "output":{"shape":"DeleteIpamExternalResourceVerificationTokenResult"}, + "documentation":"

    Delete a verification token. A verification token is an Amazon Web Services-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to Amazon Web Services (BYOIP).

    " + }, "DeleteIpamPool":{ "name":"DeleteIpamPool", "http":{ @@ -2747,6 +2767,16 @@ "output":{"shape":"DescribeIpamByoasnResult"}, "documentation":"

    Describes your Autonomous System Numbers (ASNs), their provisioning statuses, and the BYOIP CIDRs with which they are associated. For more information, see Tutorial: Bring your ASN to IPAM in the Amazon VPC IPAM guide.

    " }, + "DescribeIpamExternalResourceVerificationTokens":{ + "name":"DescribeIpamExternalResourceVerificationTokens", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeIpamExternalResourceVerificationTokensRequest"}, + "output":{"shape":"DescribeIpamExternalResourceVerificationTokensResult"}, + "documentation":"

    Describe verification tokens. A verification token is an Amazon Web Services-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to Amazon Web Services (BYOIP).

    " + }, "DescribeIpamPools":{ "name":"DescribeIpamPools", "http":{ @@ -3035,7 +3065,7 @@ }, "input":{"shape":"DescribePlacementGroupsRequest"}, "output":{"shape":"DescribePlacementGroupsResult"}, - "documentation":"

    Describes the specified placement groups or all of your placement groups. For more information, see Placement groups in the Amazon EC2 User Guide.

    " + "documentation":"

    Describes the specified placement groups or all of your placement groups.

    To describe a specific placement group that is shared with your account, you must specify the ID of the placement group using the GroupId parameter. Specifying the name of a shared placement group using the GroupNames parameter will result in an error.

    For more information, see Placement groups in the Amazon EC2 User Guide.

    " }, "DescribePrefixLists":{ "name":"DescribePrefixLists", @@ -3555,7 +3585,7 @@ }, "input":{"shape":"DescribeVolumesModificationsRequest"}, "output":{"shape":"DescribeVolumesModificationsResult"}, - "documentation":"

    Describes the most recent volume modification request for the specified EBS volumes.

    If a volume has never been modified, some information in the output will be null. If a volume has been modified more than once, the output includes only the most recent modification request.

    For more information, see Monitor the progress of volume modifications in the Amazon EBS User Guide.

    " + "documentation":"

    Describes the most recent volume modification request for the specified EBS volumes.

    For more information, see Monitor the progress of volume modifications in the Amazon EBS User Guide.

    " }, "DescribeVpcAttribute":{ "name":"DescribeVpcAttribute", @@ -4327,7 +4357,7 @@ }, "input":{"shape":"GetConsoleOutputRequest"}, "output":{"shape":"GetConsoleOutputResult"}, - "documentation":"

    Gets the console output for the specified instance. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. For Windows instances, the instance console output includes the last three system event log errors.

    By default, the console output returns buffered information that was posted shortly after an instance transition state (start, stop, reboot, or terminate). This information is available for at least one hour after the most recent post. Only the most recent 64 KB of console output is available.

    You can optionally retrieve the latest serial console output at any time during the instance lifecycle. This option is supported on instance types that use the Nitro hypervisor.

    For more information, see Instance console output in the Amazon EC2 User Guide.

    " + "documentation":"

    Gets the console output for the specified instance. For Linux instances, the instance console output displays the exact console output that would normally be displayed on a physical monitor attached to a computer. For Windows instances, the instance console output includes the last three system event log errors.

    For more information, see Instance console output in the Amazon EC2 User Guide.

    " }, "GetConsoleScreenshot":{ "name":"GetConsoleScreenshot", @@ -13213,6 +13243,40 @@ } } }, + "CreateIpamExternalResourceVerificationTokenRequest":{ + "type":"structure", + "required":["IpamId"], + "members":{ + "DryRun":{ + "shape":"Boolean", + "documentation":"

    A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    " + }, + "IpamId":{ + "shape":"IpamId", + "documentation":"

    The ID of the IPAM that will create the token.

    " + }, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "documentation":"

    Token tags.

    ", + "locationName":"TagSpecification" + }, + "ClientToken":{ + "shape":"String", + "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

    ", + "idempotencyToken":true + } + } + }, + "CreateIpamExternalResourceVerificationTokenResult":{ + "type":"structure", + "members":{ + "IpamExternalResourceVerificationToken":{ + "shape":"IpamExternalResourceVerificationToken", + "documentation":"

    The verification token.

    ", + "locationName":"ipamExternalResourceVerificationToken" + } + } + }, "CreateIpamPoolRequest":{ "type":"structure", "required":[ @@ -13230,7 +13294,7 @@ }, "Locale":{ "shape":"String", - "documentation":"

    In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (supported Local Zones). If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.

    Possible values: Any Amazon Web Services Region, such as us-east-1.

    " + "documentation":"

    The locale for the pool should be one of the following:

    • An Amazon Web Services Region where you want this IPAM pool to be available for allocations.

    • The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations (supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.

    If you do not choose a locale, resources in Regions others than the IPAM's home region cannot use CIDRs from this pool.

    Possible values: Any Amazon Web Services Region or supported Amazon Web Services Local Zone.

    " }, "SourceIpamPoolId":{ "shape":"IpamPoolId", @@ -17046,6 +17110,30 @@ } } }, + "DeleteIpamExternalResourceVerificationTokenRequest":{ + "type":"structure", + "required":["IpamExternalResourceVerificationTokenId"], + "members":{ + "DryRun":{ + "shape":"Boolean", + "documentation":"

    A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    " + }, + "IpamExternalResourceVerificationTokenId":{ + "shape":"IpamExternalResourceVerificationTokenId", + "documentation":"

    The token ID.

    " + } + } + }, + "DeleteIpamExternalResourceVerificationTokenResult":{ + "type":"structure", + "members":{ + "IpamExternalResourceVerificationToken":{ + "shape":"IpamExternalResourceVerificationToken", + "documentation":"

    The verification token.

    ", + "locationName":"ipamExternalResourceVerificationToken" + } + } + }, "DeleteIpamPoolRequest":{ "type":"structure", "required":["IpamPoolId"], @@ -21381,6 +21469,48 @@ } } }, + "DescribeIpamExternalResourceVerificationTokensRequest":{ + "type":"structure", + "members":{ + "DryRun":{ + "shape":"Boolean", + "documentation":"

    A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    " + }, + "Filters":{ + "shape":"FilterList", + "documentation":"

    One or more filters for the request. For more information about filtering, see Filtering CLI output.

    Available filters:

    • ipam-arn

    • ipam-external-resource-verification-token-arn

    • ipam-external-resource-verification-token-id

    • ipam-id

    • ipam-region

    • state

    • status

    • token-name

    • token-value

    ", + "locationName":"Filter" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"

    The token for the next page of results.

    " + }, + "MaxResults":{ + "shape":"IpamMaxResults", + "documentation":"

    The maximum number of tokens to return in one page of results.

    " + }, + "IpamExternalResourceVerificationTokenIds":{ + "shape":"ValueStringList", + "documentation":"

    Verification token IDs.

    ", + "locationName":"IpamExternalResourceVerificationTokenId" + } + } + }, + "DescribeIpamExternalResourceVerificationTokensResult":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"NextToken", + "documentation":"

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    ", + "locationName":"nextToken" + }, + "IpamExternalResourceVerificationTokens":{ + "shape":"IpamExternalResourceVerificationTokenSet", + "documentation":"

    Verification tokens.

    ", + "locationName":"ipamExternalResourceVerificationTokenSet" + } + } + }, "DescribeIpamPoolsRequest":{ "type":"structure", "members":{ @@ -22673,7 +22803,7 @@ }, "GroupNames":{ "shape":"PlacementGroupStringList", - "documentation":"

    The names of the placement groups.

    Default: Describes all your placement groups, or only those otherwise specified.

    ", + "documentation":"

    The names of the placement groups.

    Constraints:

    • You can specify a name only if the placement group is owned by your account.

    • If a placement group is shared with your account, specifying the name results in an error. You must use the GroupId parameter instead.

    ", "locationName":"groupName" }, "GroupIds":{ @@ -29842,7 +29972,7 @@ }, "WeightedCapacity":{ "shape":"Double", - "documentation":"

    The number of units provided by the specified instance type.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    ", + "documentation":"

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    ", "locationName":"weightedCapacity" }, "Priority":{ @@ -29903,7 +30033,7 @@ }, "WeightedCapacity":{ "shape":"Double", - "documentation":"

    The number of units provided by the specified instance type.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    " + "documentation":"

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    " }, "Priority":{ "shape":"Double", @@ -38086,7 +38216,7 @@ }, "NetworkInterfaceAttachmentStatus":{ "shape":"IpamNetworkInterfaceAttachmentStatus", - "documentation":"

    For elastic IP addresses, this is the status of an attached network interface.

    ", + "documentation":"

    For elastic network interfaces, this is the status of whether or not the elastic network interface is attached.

    ", "locationName":"networkInterfaceAttachmentStatus" }, "SampleTime":{ @@ -38133,6 +38263,86 @@ }, "documentation":"

    The discovery failure reason.

    " }, + "IpamExternalResourceVerificationToken":{ + "type":"structure", + "members":{ + "IpamExternalResourceVerificationTokenId":{ + "shape":"IpamExternalResourceVerificationTokenId", + "documentation":"

    The ID of the token.

    ", + "locationName":"ipamExternalResourceVerificationTokenId" + }, + "IpamExternalResourceVerificationTokenArn":{ + "shape":"ResourceArn", + "documentation":"

    Token ARN.

    ", + "locationName":"ipamExternalResourceVerificationTokenArn" + }, + "IpamId":{ + "shape":"IpamId", + "documentation":"

    The ID of the IPAM that created the token.

    ", + "locationName":"ipamId" + }, + "IpamArn":{ + "shape":"ResourceArn", + "documentation":"

    ARN of the IPAM that created the token.

    ", + "locationName":"ipamArn" + }, + "IpamRegion":{ + "shape":"String", + "documentation":"

    Region of the IPAM that created the token.

    ", + "locationName":"ipamRegion" + }, + "TokenValue":{ + "shape":"String", + "documentation":"

    Token value.

    ", + "locationName":"tokenValue" + }, + "TokenName":{ + "shape":"String", + "documentation":"

    Token name.

    ", + "locationName":"tokenName" + }, + "NotAfter":{ + "shape":"MillisecondDateTime", + "documentation":"

    Token expiration.

    ", + "locationName":"notAfter" + }, + "Status":{ + "shape":"TokenState", + "documentation":"

    Token status.

    ", + "locationName":"status" + }, + "Tags":{ + "shape":"TagList", + "documentation":"

    Token tags.

    ", + "locationName":"tagSet" + }, + "State":{ + "shape":"IpamExternalResourceVerificationTokenState", + "documentation":"

    Token state.

    ", + "locationName":"state" + } + }, + "documentation":"

    A verification token is an Amazon Web Services-generated random value that you can use to prove ownership of an external resource. For example, you can use a verification token to validate that you control a public IP address range when you bring an IP address range to Amazon Web Services (BYOIP).

    " + }, + "IpamExternalResourceVerificationTokenId":{"type":"string"}, + "IpamExternalResourceVerificationTokenSet":{ + "type":"list", + "member":{ + "shape":"IpamExternalResourceVerificationToken", + "locationName":"item" + } + }, + "IpamExternalResourceVerificationTokenState":{ + "type":"string", + "enum":[ + "create-in-progress", + "create-complete", + "create-failed", + "delete-in-progress", + "delete-complete", + "delete-failed" + ] + }, "IpamId":{"type":"string"}, "IpamManagementState":{ "type":"string", @@ -38230,7 +38440,7 @@ }, "Locale":{ "shape":"String", - "documentation":"

    The locale of the IPAM pool. In IPAM, the locale is the Amazon Web Services Region or, for IPAM IPv4 pools in the public scope, the network border group for an Amazon Web Services Local Zone where you want to make an IPAM pool available for allocations (supported Local Zones). If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.

    ", + "documentation":"

    The locale of the IPAM pool.

    The locale for the pool should be one of the following:

    • An Amazon Web Services Region where you want this IPAM pool to be available for allocations.

    • The network border group for an Amazon Web Services Local Zone where you want this IPAM pool to be available for allocations (supported Local Zones). This option is only available for IPAM IPv4 pools in the public scope.

    If you choose an Amazon Web Services Region for locale that has not been configured as an operating Region for the IPAM, you'll get an error.

    ", "locationName":"locale" }, "PoolDepth":{ @@ -40458,7 +40668,7 @@ }, "WeightedCapacity":{ "shape":"Double", - "documentation":"

    The number of units provided by the specified instance type.

    When specifying weights, the price used in the lowest-price and price-capacity-optimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    ", + "documentation":"

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowestPrice and priceCapacityOptimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    ", "locationName":"weightedCapacity" }, "Priority":{ @@ -48141,7 +48351,7 @@ }, "CidrAuthorizationContext":{ "shape":"IpamCidrAuthorizationContext", - "documentation":"

    A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.

    " + "documentation":"

    A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option only applies to IPv4 and IPv6 pools in the public scope.

    " }, "NetmaskLength":{ "shape":"Integer", @@ -48151,6 +48361,14 @@ "shape":"String", "documentation":"

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

    ", "idempotencyToken":true + }, + "VerificationMethod":{ + "shape":"VerificationMethod", + "documentation":"

    The method for verifying control of a public IP address range. Defaults to remarks-x509 if not specified. This option only applies to IPv4 and IPv6 pools in the public scope.

    " + }, + "IpamExternalResourceVerificationTokenId":{ + "shape":"IpamExternalResourceVerificationTokenId", + "documentation":"

    Verification token ID. This option only applies to IPv4 and IPv6 pools in the public scope.

    " } } }, @@ -50978,7 +51196,8 @@ "vpc-encryption-control", "ipam-resource-discovery", "ipam-resource-discovery-association", - "instance-connect-endpoint" + "instance-connect-endpoint", + "ipam-external-resource-verification-token" ] }, "ResponseError":{ @@ -54086,7 +54305,7 @@ }, "WeightedCapacity":{ "shape":"Double", - "documentation":"

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    ", + "documentation":"

    The number of units provided by the specified instance type. These are the same units that you chose to set the target capacity in terms of instances, or a performance characteristic such as vCPUs, memory, or I/O.

    If the target capacity divided by this value is not a whole number, Amazon EC2 rounds the number of instances to the next whole number. If this value is not specified, the default is 1.

    When specifying weights, the price used in the lowestPrice and priceCapacityOptimized allocation strategies is per unit hour (where the instance price is divided by the specified weight). However, if all the specified weights are above the requested TargetCapacity, resulting in only 1 instance being launched, the price used is per instance hour.

    ", "locationName":"weightedCapacity" }, "TagSpecifications":{ @@ -55995,6 +56214,13 @@ "permanent-restore-failed" ] }, + "TokenState":{ + "type":"string", + "enum":[ + "valid", + "expired" + ] + }, "TotalLocalStorageGB":{ "type":"structure", "members":{ @@ -58864,6 +59090,13 @@ "locationName":"item" } }, + "VerificationMethod":{ + "type":"string", + "enum":[ + "remarks-x509", + "dns-token" + ] + }, "VerifiedAccessEndpoint":{ "type":"structure", "members":{ @@ -59865,7 +60098,7 @@ }, "ModificationState":{ "shape":"VolumeModificationState", - "documentation":"

    The current modification state. The modification state is null for unmodified volumes.

    ", + "documentation":"

    The current modification state.

    ", "locationName":"modificationState" }, "StatusMessage":{ @@ -59939,7 +60172,7 @@ "locationName":"endTime" } }, - "documentation":"

    Describes the modification status of an EBS volume.

    If the volume has never been modified, some element values will be null.

    " + "documentation":"

    Describes the modification status of an EBS volume.

    " }, "VolumeModificationList":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json b/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json index 4055ed6e6a3..9c5be929ebe 100644 --- a/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json +++ b/tools/code-generation/api-descriptions/firehose-2015-08-04.normal.json @@ -639,6 +639,16 @@ }, "documentation":"

    Describes hints for the buffering to perform before delivering data to the destination. These options are treated as hints, and therefore Firehose might choose to use different values when it is optimal. The SizeInMBs and IntervalInSeconds parameters are optional. However, if specify a value for one of them, you must also provide a value for the other.

    " }, + "CatalogConfiguration":{ + "type":"structure", + "members":{ + "CatalogARN":{ + "shape":"GlueDataCatalogARN", + "documentation":"

    Specifies the Glue catalog ARN indentifier of the destination Apache Iceberg Tables. You must specify the ARN in the format arn:aws:glue:region:account-id:catalog.

    Amazon Data Firehose is in preview release and is subject to change.

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

    Describes the containers where the destination Apache Iceberg Tables are persisted.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, "CloudWatchLoggingOptions":{ "type":"structure", "members":{ @@ -789,6 +799,10 @@ "SnowflakeDestinationConfiguration":{ "shape":"SnowflakeDestinationConfiguration", "documentation":"

    Configure Snowflake destination

    " + }, + "IcebergDestinationConfiguration":{ + "shape":"IcebergDestinationConfiguration", + "documentation":"

    Configure Apache Iceberg Tables destination.

    Amazon Data Firehose is in preview release and is subject to change.

    " } } }, @@ -1133,6 +1147,10 @@ "AmazonOpenSearchServerlessDestinationDescription":{ "shape":"AmazonOpenSearchServerlessDestinationDescription", "documentation":"

    The destination in the Serverless offering for Amazon OpenSearch Service.

    " + }, + "IcebergDestinationDescription":{ + "shape":"IcebergDestinationDescription", + "documentation":"

    Describes a destination in Apache Iceberg Tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " } }, "documentation":"

    Describes the destination for a delivery stream.

    " @@ -1147,6 +1165,36 @@ "min":1, "pattern":"[a-zA-Z0-9-]+" }, + "DestinationTableConfiguration":{ + "type":"structure", + "required":[ + "DestinationTableName", + "DestinationDatabaseName" + ], + "members":{ + "DestinationTableName":{ + "shape":"NonEmptyStringWithoutWhitespace", + "documentation":"

    Specifies the name of the Apache Iceberg Table.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "DestinationDatabaseName":{ + "shape":"NonEmptyStringWithoutWhitespace", + "documentation":"

    The name of the Apache Iceberg database.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "UniqueKeys":{ + "shape":"ListOfNonEmptyStringsWithoutWhitespace", + "documentation":"

    A list of unique keys for a given Apache Iceberg table. Firehose will use these for running Create/Update/Delete operations on the given Iceberg table.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "S3ErrorOutputPrefix":{ + "shape":"ErrorOutputPrefix", + "documentation":"

    The table specific S3 error output prefix. All the errors that occurred while delivering to this table will be prefixed with this value in S3 destination.

    Amazon Data Firehose is in preview release and is subject to change.

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

    Describes the configuration of a destination in Apache Iceberg Tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "DestinationTableConfigurationList":{ + "type":"list", + "member":{"shape":"DestinationTableConfiguration"} + }, "DocumentIdOptions":{ "type":"structure", "required":["DefaultDocumentIdFormat"], @@ -1690,6 +1738,12 @@ "min":0, "pattern":"^$|\\.[0-9a-z!\\-_.*'()]+" }, + "GlueDataCatalogARN":{ + "type":"string", + "max":512, + "min":1, + "pattern":"arn:.*" + }, "HECAcknowledgmentTimeoutInSeconds":{ "type":"integer", "max":600, @@ -1990,6 +2044,99 @@ "pattern":"https://.*", "sensitive":true }, + "IcebergDestinationConfiguration":{ + "type":"structure", + "required":[ + "RoleARN", + "CatalogConfiguration", + "S3Configuration" + ], + "members":{ + "DestinationTableConfigurationList":{ + "shape":"DestinationTableConfigurationList", + "documentation":"

    Provides a list of DestinationTableConfigurations which Firehose uses to deliver data to Apache Iceberg tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "BufferingHints":{"shape":"BufferingHints"}, + "CloudWatchLoggingOptions":{"shape":"CloudWatchLoggingOptions"}, + "ProcessingConfiguration":{"shape":"ProcessingConfiguration"}, + "S3BackupMode":{ + "shape":"IcebergS3BackupMode", + "documentation":"

    Describes how Firehose will backup records. Currently,Firehose only supports FailedDataOnly for preview.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "RetryOptions":{"shape":"RetryOptions"}, + "RoleARN":{ + "shape":"RoleARN", + "documentation":"

    The Amazon Resource Name (ARN) of the Apache Iceberg tables role.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "CatalogConfiguration":{ + "shape":"CatalogConfiguration", + "documentation":"

    Configuration describing where the destination Apache Iceberg Tables are persisted.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "S3Configuration":{"shape":"S3DestinationConfiguration"} + }, + "documentation":"

    Specifies the destination configure settings for Apache Iceberg Table.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "IcebergDestinationDescription":{ + "type":"structure", + "members":{ + "DestinationTableConfigurationList":{ + "shape":"DestinationTableConfigurationList", + "documentation":"

    Provides a list of DestinationTableConfigurations which Firehose uses to deliver data to Apache Iceberg tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "BufferingHints":{"shape":"BufferingHints"}, + "CloudWatchLoggingOptions":{"shape":"CloudWatchLoggingOptions"}, + "ProcessingConfiguration":{"shape":"ProcessingConfiguration"}, + "S3BackupMode":{ + "shape":"IcebergS3BackupMode", + "documentation":"

    Describes how Firehose will backup records. Currently,Firehose only supports FailedDataOnly for preview.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "RetryOptions":{"shape":"RetryOptions"}, + "RoleARN":{ + "shape":"RoleARN", + "documentation":"

    The Amazon Resource Name (ARN) of the Apache Iceberg Tables role.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "CatalogConfiguration":{ + "shape":"CatalogConfiguration", + "documentation":"

    Configuration describing where the destination Iceberg tables are persisted.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "S3DestinationDescription":{"shape":"S3DestinationDescription"} + }, + "documentation":"

    Describes a destination in Apache Iceberg Tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "IcebergDestinationUpdate":{ + "type":"structure", + "members":{ + "DestinationTableConfigurationList":{ + "shape":"DestinationTableConfigurationList", + "documentation":"

    Provides a list of DestinationTableConfigurations which Firehose uses to deliver data to Apache Iceberg tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "BufferingHints":{"shape":"BufferingHints"}, + "CloudWatchLoggingOptions":{"shape":"CloudWatchLoggingOptions"}, + "ProcessingConfiguration":{"shape":"ProcessingConfiguration"}, + "S3BackupMode":{ + "shape":"IcebergS3BackupMode", + "documentation":"

    Describes how Firehose will backup records. Currently,Firehose only supports FailedDataOnly for preview.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "RetryOptions":{"shape":"RetryOptions"}, + "RoleARN":{ + "shape":"RoleARN", + "documentation":"

    The Amazon Resource Name (ARN) of the Apache Iceberg Tables role.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "CatalogConfiguration":{ + "shape":"CatalogConfiguration", + "documentation":"

    Configuration describing where the destination Iceberg tables are persisted.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "S3Configuration":{"shape":"S3DestinationConfiguration"} + }, + "documentation":"

    Describes an update for a destination in Apache Iceberg Tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " + }, + "IcebergS3BackupMode":{ + "type":"string", + "enum":[ + "FailedDataOnly", + "AllData" + ] + }, "InputFormatConfiguration":{ "type":"structure", "members":{ @@ -2235,6 +2382,10 @@ "AuthenticationConfiguration":{ "shape":"AuthenticationConfiguration", "documentation":"

    The authentication configuration of the Amazon MSK cluster.

    " + }, + "ReadFromTimestamp":{ + "shape":"ReadFromTimestamp", + "documentation":"

    The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.

    If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the ReadFromTimestamp parameter to Epoch (1970-01-01T00:00:00Z).

    " } }, "documentation":"

    The configuration for the Amazon MSK cluster to be used as the source for a delivery stream.

    " @@ -2257,6 +2408,10 @@ "DeliveryStartTimestamp":{ "shape":"DeliveryStartTimestamp", "documentation":"

    Firehose starts retrieving records from the topic within the Amazon MSK cluster starting with this timestamp.

    " + }, + "ReadFromTimestamp":{ + "shape":"ReadFromTimestamp", + "documentation":"

    The start date and time in UTC for the offset position within your MSK topic from where Firehose begins to read. By default, this is set to timestamp when Firehose becomes Active.

    If you want to create a Firehose stream with Earliest start position from SDK or CLI, you need to set the ReadFromTimestampUTC parameter to Epoch (1970-01-01T00:00:00Z).

    " } }, "documentation":"

    Details about the Amazon MSK cluster used as the source for a Firehose delivery stream.

    " @@ -2636,6 +2791,7 @@ "type":"string", "min":1 }, + "ReadFromTimestamp":{"type":"timestamp"}, "Record":{ "type":"structure", "required":["Data"], @@ -3113,6 +3269,30 @@ "pattern":".+?\\.snowflakecomputing\\.com", "sensitive":true }, + "SnowflakeBufferingHints":{ + "type":"structure", + "members":{ + "SizeInMBs":{ + "shape":"SnowflakeBufferingSizeInMBs", + "documentation":"

    Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 1.

    " + }, + "IntervalInSeconds":{ + "shape":"SnowflakeBufferingIntervalInSeconds", + "documentation":"

    Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 0.

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

    Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.

    " + }, + "SnowflakeBufferingIntervalInSeconds":{ + "type":"integer", + "max":900, + "min":0 + }, + "SnowflakeBufferingSizeInMBs":{ + "type":"integer", + "max":128, + "min":1 + }, "SnowflakeContentColumnName":{ "type":"string", "max":255, @@ -3210,6 +3390,10 @@ "SecretsManagerConfiguration":{ "shape":"SecretsManagerConfiguration", "documentation":"

    The configuration that defines how you access secrets for Snowflake.

    " + }, + "BufferingHints":{ + "shape":"SnowflakeBufferingHints", + "documentation":"

    Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.

    " } }, "documentation":"

    Configure Snowflake destination

    " @@ -3275,6 +3459,10 @@ "SecretsManagerConfiguration":{ "shape":"SecretsManagerConfiguration", "documentation":"

    The configuration that defines how you access secrets for Snowflake.

    " + }, + "BufferingHints":{ + "shape":"SnowflakeBufferingHints", + "documentation":"

    Describes the buffering to perform before delivering data to the Snowflake destination. If you do not specify any value, Firehose uses the default values.

    " } }, "documentation":"

    Optional Snowflake destination description

    " @@ -3344,6 +3532,10 @@ "SecretsManagerConfiguration":{ "shape":"SecretsManagerConfiguration", "documentation":"

    Describes the Secrets Manager configuration in Snowflake.

    " + }, + "BufferingHints":{ + "shape":"SnowflakeBufferingHints", + "documentation":"

    Describes the buffering to perform before delivering data to the Snowflake destination.

    " } }, "documentation":"

    Update to configuration settings

    " @@ -3846,6 +4038,10 @@ "SnowflakeDestinationUpdate":{ "shape":"SnowflakeDestinationUpdate", "documentation":"

    Update to the Snowflake destination configuration settings.

    " + }, + "IcebergDestinationUpdate":{ + "shape":"IcebergDestinationUpdate", + "documentation":"

    Describes an update for a destination in Apache Iceberg Tables.

    Amazon Data Firehose is in preview release and is subject to change.

    " } } }, diff --git a/tools/code-generation/api-descriptions/ivschat-2020-07-14.normal.json b/tools/code-generation/api-descriptions/ivschat-2020-07-14.normal.json index b7ec1b2ec78..0232cb940f2 100644 --- a/tools/code-generation/api-descriptions/ivschat-2020-07-14.normal.json +++ b/tools/code-generation/api-descriptions/ivschat-2020-07-14.normal.json @@ -2,9 +2,10 @@ "version":"2.0", "metadata":{ "apiVersion":"2020-07-14", + "auth":["aws.auth#sigv4"], "endpointPrefix":"ivschat", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"ivschat", "serviceFullName":"Amazon Interactive Video Service Chat", "serviceId":"ivschat", @@ -321,7 +322,7 @@ "type":"string", "max":63, "min":3, - "pattern":"^[a-z0-9-.]+$" + "pattern":"[a-z0-9-.]+" }, "ChatToken":{ "type":"string", @@ -388,35 +389,31 @@ "userId" ], "members":{ - "attributes":{ - "shape":"ChatTokenAttributes", - "documentation":"

    Application-provided attributes to encode into the token and attach to a chat session. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.

    " + "roomIdentifier":{ + "shape":"RoomIdentifier", + "documentation":"

    Identifier of the room that the client is trying to access. Currently this must be an ARN.

    " + }, + "userId":{ + "shape":"UserID", + "documentation":"

    Application-provided ID that uniquely identifies the user associated with this token. This can be any UTF-8 encoded text.

    " }, "capabilities":{ "shape":"ChatTokenCapabilities", "documentation":"

    Set of capabilities that the user is allowed to perform in the room. Default: None (the capability to view messages is implicitly included in all requests).

    " }, - "roomIdentifier":{ - "shape":"RoomIdentifier", - "documentation":"

    Identifier of the room that the client is trying to access. Currently this must be an ARN.

    " - }, "sessionDurationInMinutes":{ "shape":"SessionDurationInMinutes", "documentation":"

    Session duration (in minutes), after which the session expires. Default: 60 (1 hour).

    " }, - "userId":{ - "shape":"UserID", - "documentation":"

    Application-provided ID that uniquely identifies the user associated with this token. This can be any UTF-8 encoded text.

    " + "attributes":{ + "shape":"ChatTokenAttributes", + "documentation":"

    Application-provided attributes to encode into the token and attach to a chat session. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total.

    " } } }, "CreateChatTokenResponse":{ "type":"structure", "members":{ - "sessionExpirationTime":{ - "shape":"Time", - "documentation":"

    Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.

    " - }, "token":{ "shape":"ChatToken", "documentation":"

    The issued client token, encrypted.

    " @@ -424,6 +421,10 @@ "tokenExpirationTime":{ "shape":"Time", "documentation":"

    Time after which the token is no longer valid and cannot be used to connect to a room. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + }, + "sessionExpirationTime":{ + "shape":"Time", + "documentation":"

    Time after which an end user's session is no longer valid. This is an ISO 8601 timestamp; note that this is returned as a string.

    " } } }, @@ -431,14 +432,14 @@ "type":"structure", "required":["destinationConfiguration"], "members":{ - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged. There can be only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " - }, "name":{ "shape":"LoggingConfigurationName", "documentation":"

    Logging-configuration name. The value does not need to be unique.

    " }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged. There can be only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

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

    Tags to attach to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints on tags beyond what is documented there.

    " @@ -452,22 +453,26 @@ "shape":"LoggingConfigurationArn", "documentation":"

    Logging-configuration ARN, assigned by the system.

    " }, + "id":{ + "shape":"LoggingConfigurationID", + "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.

    " + }, "createTime":{ "shape":"Time", "documentation":"

    Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged, from the request. There is only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " - }, - "id":{ - "shape":"LoggingConfigurationID", - "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.

    " + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "name":{ "shape":"LoggingConfigurationName", "documentation":"

    Logging-configuration name, from the request (if specified).

    " }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged, from the request. There is only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " + }, "state":{ "shape":"CreateLoggingConfigurationState", "documentation":"

    The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log chat content.

    " @@ -475,10 +480,6 @@ "tags":{ "shape":"Tags", "documentation":"

    Tags attached to the resource, from the request (if specified). Array of maps, each of the form string:string (key:value).

    " - }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " } } }, @@ -489,29 +490,29 @@ "CreateRoomRequest":{ "type":"structure", "members":{ - "loggingConfigurationIdentifiers":{ - "shape":"LoggingConfigurationIdentifierList", - "documentation":"

    Array of logging-configuration identifiers attached to the room.

    " - }, - "maximumMessageLength":{ - "shape":"RoomMaxMessageLength", - "documentation":"

    Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Room name. The value does not need to be unique.

    " }, "maximumMessageRatePerSecond":{ "shape":"RoomMaxMessageRatePerSecond", "documentation":"

    Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

    " }, + "maximumMessageLength":{ + "shape":"RoomMaxMessageLength", + "documentation":"

    Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    " + }, "messageReviewHandler":{ "shape":"MessageReviewHandler", "documentation":"

    Configuration information for optional review of messages.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Room name. The value does not need to be unique.

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

    Tags to attach to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.

    " + }, + "loggingConfigurationIdentifiers":{ + "shape":"LoggingConfigurationIdentifierList", + "documentation":"

    Array of logging-configuration identifiers attached to the room.

    " } } }, @@ -522,41 +523,41 @@ "shape":"RoomArn", "documentation":"

    Room ARN, assigned by the system.

    " }, - "createTime":{ - "shape":"Time", - "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " - }, "id":{ "shape":"RoomID", "documentation":"

    Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " }, - "loggingConfigurationIdentifiers":{ - "shape":"LoggingConfigurationIdentifierList", - "documentation":"

    Array of logging configurations attached to the room, from the request (if specified).

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Room name, from the request (if specified).

    " }, - "maximumMessageLength":{ - "shape":"RoomMaxMessageLength", - "documentation":"

    Maximum number of characters in a single message, from the request (if specified).

    " + "createTime":{ + "shape":"Time", + "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + }, + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "maximumMessageRatePerSecond":{ "shape":"RoomMaxMessageRatePerSecond", "documentation":"

    Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).

    " }, + "maximumMessageLength":{ + "shape":"RoomMaxMessageLength", + "documentation":"

    Maximum number of characters in a single message, from the request (if specified).

    " + }, "messageReviewHandler":{ "shape":"MessageReviewHandler", "documentation":"

    Configuration information for optional review of messages.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Room name, from the request (if specified).

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

    Tags attached to the resource, from the request (if specified).

    " }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + "loggingConfigurationIdentifiers":{ + "shape":"LoggingConfigurationIdentifierList", + "documentation":"

    Array of logging configurations attached to the room, from the request (if specified).

    " } } }, @@ -573,10 +574,14 @@ "DeleteMessageRequest":{ "type":"structure", "required":[ - "id", - "roomIdentifier" + "roomIdentifier", + "id" ], "members":{ + "roomIdentifier":{ + "shape":"RoomIdentifier", + "documentation":"

    Identifier of the room where the message should be deleted. Currently this must be an ARN.

    " + }, "id":{ "shape":"MessageID", "documentation":"

    ID of the message to be deleted. This is the Id field in the received message (see Message (Subscribe) in the Chat Messaging API).

    " @@ -584,10 +589,6 @@ "reason":{ "shape":"Reason", "documentation":"

    Reason for deleting the message.

    " - }, - "roomIdentifier":{ - "shape":"RoomIdentifier", - "documentation":"

    Identifier of the room where the message should be deleted. Currently this must be an ARN.

    " } } }, @@ -614,11 +615,15 @@ "type":"string", "max":64, "min":1, - "pattern":"^[a-zA-Z0-9_.-]+$" + "pattern":"[a-zA-Z0-9_.-]+" }, "DestinationConfiguration":{ "type":"structure", "members":{ + "s3":{ + "shape":"S3DestinationConfiguration", + "documentation":"

    An Amazon S3 destination configuration where chat activity will be logged.

    " + }, "cloudWatchLogs":{ "shape":"CloudWatchLogsDestinationConfiguration", "documentation":"

    An Amazon CloudWatch Logs destination configuration where chat activity will be logged.

    " @@ -626,10 +631,6 @@ "firehose":{ "shape":"FirehoseDestinationConfiguration", "documentation":"

    An Amazon Kinesis Data Firehose destination configuration where chat activity will be logged.

    " - }, - "s3":{ - "shape":"S3DestinationConfiguration", - "documentation":"

    An Amazon S3 destination configuration where chat activity will be logged.

    " } }, "documentation":"

    A complex type that describes a location where chat logs will be stored. Each member represents the configuration of one log destination. For logging, you define only one type of destination (for CloudWatch Logs, Kinesis Firehose, or S3).

    ", @@ -642,10 +643,6 @@ "userId" ], "members":{ - "reason":{ - "shape":"Reason", - "documentation":"

    Reason for disconnecting the user.

    " - }, "roomIdentifier":{ "shape":"RoomIdentifier", "documentation":"

    Identifier of the room from which the user's clients should be disconnected. Currently this must be an ARN.

    " @@ -653,6 +650,10 @@ "userId":{ "shape":"UserID", "documentation":"

    ID of the user (connection) to disconnect from the room.

    " + }, + "reason":{ + "shape":"Reason", + "documentation":"

    Reason for disconnecting the user.

    " } } }, @@ -708,22 +709,26 @@ "shape":"LoggingConfigurationArn", "documentation":"

    Logging-configuration ARN, from the request (if identifier was an ARN).

    " }, + "id":{ + "shape":"LoggingConfigurationID", + "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.

    " + }, "createTime":{ "shape":"Time", "documentation":"

    Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged. There is only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " - }, - "id":{ - "shape":"LoggingConfigurationID", - "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the logging configuration.

    " + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "name":{ "shape":"LoggingConfigurationName", "documentation":"

    Logging-configuration name. This value does not need to be unique.

    " }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged. There is only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " + }, "state":{ "shape":"LoggingConfigurationState", "documentation":"

    The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log chat content.

    " @@ -731,10 +736,6 @@ "tags":{ "shape":"Tags", "documentation":"

    Tags attached to the resource. Array of maps, each of the form string:string (key:value).

    " - }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " } } }, @@ -755,41 +756,41 @@ "shape":"RoomArn", "documentation":"

    Room ARN, from the request (if identifier was an ARN).

    " }, - "createTime":{ - "shape":"Time", - "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " - }, "id":{ "shape":"RoomID", "documentation":"

    Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " }, - "loggingConfigurationIdentifiers":{ - "shape":"LoggingConfigurationIdentifierList", - "documentation":"

    Array of logging configurations attached to the room.

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Room name. The value does not need to be unique.

    " }, - "maximumMessageLength":{ - "shape":"RoomMaxMessageLength", - "documentation":"

    Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    " + "createTime":{ + "shape":"Time", + "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + }, + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "maximumMessageRatePerSecond":{ "shape":"RoomMaxMessageRatePerSecond", "documentation":"

    Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

    " }, + "maximumMessageLength":{ + "shape":"RoomMaxMessageLength", + "documentation":"

    Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    " + }, "messageReviewHandler":{ "shape":"MessageReviewHandler", "documentation":"

    Configuration information for optional review of messages.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Room name. The value does not need to be unique.

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

    Tags attached to the resource. Array of maps, each of the form string:string (key:value).

    " }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + "loggingConfigurationIdentifiers":{ + "shape":"LoggingConfigurationIdentifierList", + "documentation":"

    Array of logging configurations attached to the room.

    " } } }, @@ -797,7 +798,7 @@ "type":"string", "max":12, "min":12, - "pattern":"^[a-zA-Z0-9]+$" + "pattern":"[a-zA-Z0-9]+" }, "InternalServerException":{ "type":"structure", @@ -814,19 +815,19 @@ "type":"string", "max":170, "min":0, - "pattern":"^$|^arn:aws:lambda:[a-z0-9-]+:[0-9]{12}:function:.+" + "pattern":"$|^arn:aws:lambda:[a-z0-9-]+:[0-9]{12}:function:.+.*" }, "Limit":{"type":"integer"}, "ListLoggingConfigurationsRequest":{ "type":"structure", "members":{ - "maxResults":{ - "shape":"MaxLoggingConfigurationResults", - "documentation":"

    Maximum number of logging configurations to return. Default: 50.

    " - }, "nextToken":{ "shape":"PaginationToken", "documentation":"

    The first logging configurations to retrieve. This is used for pagination; see the nextToken response field.

    " + }, + "maxResults":{ + "shape":"MaxLoggingConfigurationResults", + "documentation":"

    Maximum number of logging configurations to return. Default: 50.

    " } } }, @@ -847,9 +848,13 @@ "ListRoomsRequest":{ "type":"structure", "members":{ - "loggingConfigurationIdentifier":{ - "shape":"LoggingConfigurationIdentifier", - "documentation":"

    Logging-configuration identifier.

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Filters the list to match the specified room name.

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    The first room to retrieve. This is used for pagination; see the nextToken response field.

    " }, "maxResults":{ "shape":"MaxRoomResults", @@ -859,13 +864,9 @@ "shape":"LambdaArn", "documentation":"

    Filters the list to match the specified message review handler URI.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Filters the list to match the specified room name.

    " - }, - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

    The first room to retrieve. This is used for pagination; see the nextToken response field.

    " + "loggingConfigurationIdentifier":{ + "shape":"LoggingConfigurationIdentifier", + "documentation":"

    Logging-configuration identifier.

    " } } }, @@ -873,13 +874,13 @@ "type":"structure", "required":["rooms"], "members":{ - "nextToken":{ - "shape":"PaginationToken", - "documentation":"

    If there are more rooms than maxResults, use nextToken in the request to get the next set.

    " - }, "rooms":{ "shape":"RoomList", "documentation":"

    List of the matching rooms (summary information only).

    " + }, + "nextToken":{ + "shape":"PaginationToken", + "documentation":"

    If there are more rooms than maxResults, use nextToken in the request to get the next set.

    " } } }, @@ -909,25 +910,25 @@ "type":"string", "max":512, "min":1, - "pattern":"^[\\.\\-_/#A-Za-z0-9]+$" + "pattern":"[\\.\\-_/#A-Za-z0-9]+" }, "LoggingConfigurationArn":{ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+" }, "LoggingConfigurationID":{ "type":"string", "max":12, "min":12, - "pattern":"^[a-zA-Z0-9]+$" + "pattern":"[a-zA-Z0-9]+" }, "LoggingConfigurationIdentifier":{ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivschat:[a-z0-9-]+:[0-9]+:logging-configuration/[a-zA-Z0-9-]+" }, "LoggingConfigurationIdentifierList":{ "type":"list", @@ -943,7 +944,7 @@ "type":"string", "max":128, "min":0, - "pattern":"^[a-zA-Z0-9-_]*$" + "pattern":"[a-zA-Z0-9-_]*" }, "LoggingConfigurationState":{ "type":"string", @@ -964,22 +965,26 @@ "shape":"LoggingConfigurationArn", "documentation":"

    Logging-configuration ARN.

    " }, + "id":{ + "shape":"LoggingConfigurationID", + "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " + }, "createTime":{ "shape":"Time", "documentation":"

    Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged.

    " - }, - "id":{ - "shape":"LoggingConfigurationID", - "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "name":{ "shape":"LoggingConfigurationName", "documentation":"

    Logging-configuration name. The value does not need to be unique.

    " }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged.

    " + }, "state":{ "shape":"LoggingConfigurationState", "documentation":"

    The state of the logging configuration. When this is ACTIVE, the configuration is ready for logging chat content.

    " @@ -987,10 +992,6 @@ "tags":{ "shape":"Tags", "documentation":"

    Tags to attach to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints on tags beyond what is documented there.

    " - }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " } }, "documentation":"

    Summary information about a logging configuration.

    " @@ -1011,18 +1012,18 @@ "type":"string", "max":12, "min":12, - "pattern":"^[a-zA-Z0-9]+$" + "pattern":"[a-zA-Z0-9]+" }, "MessageReviewHandler":{ "type":"structure", "members":{ - "fallbackResult":{ - "shape":"FallbackResult", - "documentation":"

    Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW.

    " - }, "uri":{ "shape":"LambdaArn", "documentation":"

    Identifier of the message review handler. Currently this must be an ARN of a lambda function.

    " + }, + "fallbackResult":{ + "shape":"FallbackResult", + "documentation":"

    Specifies the fallback behavior (whether the message is allowed or denied) if the handler does not return a valid response, encounters an error, or times out. (For the timeout period, see Service Quotas.) If allowed, the message is delivered with returned content to all users connected to the room. If denied, the message is not delivered to any user. Default: ALLOW.

    " } }, "documentation":"

    Configuration information for optional message review.

    " @@ -1054,11 +1055,11 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivschat:[a-z0-9-]+:[0-9]+:[a-z-]/[a-zA-Z0-9-]+" }, "ResourceId":{ "type":"string", - "pattern":"^[a-zA-Z0-9]+$" + "pattern":"[a-zA-Z0-9]+" }, "ResourceNotFoundException":{ "type":"structure", @@ -1093,19 +1094,19 @@ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+" }, "RoomID":{ "type":"string", "max":12, "min":12, - "pattern":"^[a-zA-Z0-9]+$" + "pattern":"[a-zA-Z0-9]+" }, "RoomIdentifier":{ "type":"string", "max":128, "min":1, - "pattern":"^arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+$" + "pattern":"arn:aws:ivschat:[a-z0-9-]+:[0-9]+:room/[a-zA-Z0-9-]+" }, "RoomList":{ "type":"list", @@ -1127,7 +1128,7 @@ "type":"string", "max":128, "min":0, - "pattern":"^[a-zA-Z0-9-_]*$" + "pattern":"[a-zA-Z0-9-_]*" }, "RoomSummary":{ "type":"structure", @@ -1136,33 +1137,33 @@ "shape":"RoomArn", "documentation":"

    Room ARN.

    " }, - "createTime":{ - "shape":"Time", - "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " - }, "id":{ "shape":"RoomID", "documentation":"

    Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " }, - "loggingConfigurationIdentifiers":{ - "shape":"LoggingConfigurationIdentifierList", - "documentation":"

    List of logging-configuration identifiers attached to the room.

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Room name. The value does not need to be unique.

    " }, "messageReviewHandler":{ "shape":"MessageReviewHandler", "documentation":"

    Configuration information for optional review of messages.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Room name. The value does not need to be unique.

    " + "createTime":{ + "shape":"Time", + "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + }, + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

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

    Tags attached to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.

    " }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + "loggingConfigurationIdentifiers":{ + "shape":"LoggingConfigurationIdentifierList", + "documentation":"

    List of logging-configuration identifiers attached to the room.

    " } }, "documentation":"

    Summary information about a room.

    " @@ -1181,21 +1182,21 @@ "SendEventRequest":{ "type":"structure", "required":[ - "eventName", - "roomIdentifier" + "roomIdentifier", + "eventName" ], "members":{ - "attributes":{ - "shape":"EventAttributes", - "documentation":"

    Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.

    " + "roomIdentifier":{ + "shape":"RoomIdentifier", + "documentation":"

    Identifier of the room to which the event will be sent. Currently this must be an ARN.

    " }, "eventName":{ "shape":"EventName", "documentation":"

    Application-defined name of the event to send to clients.

    " }, - "roomIdentifier":{ - "shape":"RoomIdentifier", - "documentation":"

    Identifier of the room to which the event will be sent. Currently this must be an ARN.

    " + "attributes":{ + "shape":"EventAttributes", + "documentation":"

    Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.

    " } } }, @@ -1211,16 +1212,12 @@ "ServiceQuotaExceededException":{ "type":"structure", "required":[ - "limit", "message", "resourceId", - "resourceType" + "resourceType", + "limit" ], "members":{ - "limit":{ - "shape":"Limit", - "documentation":"

    " - }, "message":{"shape":"ErrorMessage"}, "resourceId":{ "shape":"ResourceId", @@ -1229,6 +1226,10 @@ "resourceType":{ "shape":"ResourceType", "documentation":"

    " + }, + "limit":{ + "shape":"Limit", + "documentation":"

    " } }, "documentation":"

    ", @@ -1295,16 +1296,12 @@ "ThrottlingException":{ "type":"structure", "required":[ - "limit", "message", "resourceId", - "resourceType" + "resourceType", + "limit" ], "members":{ - "limit":{ - "shape":"Limit", - "documentation":"

    " - }, "message":{"shape":"ErrorMessage"}, "resourceId":{ "shape":"ResourceId", @@ -1313,6 +1310,10 @@ "resourceType":{ "shape":"ResourceType", "documentation":"

    " + }, + "limit":{ + "shape":"Limit", + "documentation":"

    " } }, "documentation":"

    ", @@ -1356,10 +1357,6 @@ "type":"structure", "required":["identifier"], "members":{ - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged. There can be only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " - }, "identifier":{ "shape":"LoggingConfigurationIdentifier", "documentation":"

    Identifier of the logging configuration to be updated.

    " @@ -1367,6 +1364,10 @@ "name":{ "shape":"LoggingConfigurationName", "documentation":"

    Logging-configuration name. The value does not need to be unique.

    " + }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged. There can be only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " } } }, @@ -1377,22 +1378,26 @@ "shape":"LoggingConfigurationArn", "documentation":"

    Logging-configuration ARN, from the request (if identifier was an ARN).

    " }, + "id":{ + "shape":"LoggingConfigurationID", + "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " + }, "createTime":{ "shape":"Time", "documentation":"

    Time when the logging configuration was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, - "destinationConfiguration":{ - "shape":"DestinationConfiguration", - "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged, from the request. There is only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " - }, - "id":{ - "shape":"LoggingConfigurationID", - "documentation":"

    Logging-configuration ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "name":{ "shape":"LoggingConfigurationName", "documentation":"

    Logging-configuration name, from the request (if specified).

    " }, + "destinationConfiguration":{ + "shape":"DestinationConfiguration", + "documentation":"

    A complex type that contains a destination configuration for where chat content will be logged, from the request. There is only one type of destination (cloudWatchLogs, firehose, or s3) in a destinationConfiguration.

    " + }, "state":{ "shape":"UpdateLoggingConfigurationState", "documentation":"

    The state of the logging configuration. When the state is ACTIVE, the configuration is ready to log chat content.

    " @@ -1400,10 +1405,6 @@ "tags":{ "shape":"Tags", "documentation":"

    Tags attached to the resource. Array of maps, each of the form string:string (key:value).

    " - }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the logging configuration’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " } } }, @@ -1419,25 +1420,25 @@ "shape":"RoomIdentifier", "documentation":"

    Identifier of the room to be updated. Currently this must be an ARN.

    " }, - "loggingConfigurationIdentifiers":{ - "shape":"LoggingConfigurationIdentifierList", - "documentation":"

    Array of logging-configuration identifiers attached to the room.

    " - }, - "maximumMessageLength":{ - "shape":"RoomMaxMessageLength", - "documentation":"

    The maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Room name. The value does not need to be unique.

    " }, "maximumMessageRatePerSecond":{ "shape":"RoomMaxMessageRatePerSecond", "documentation":"

    Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

    " }, + "maximumMessageLength":{ + "shape":"RoomMaxMessageLength", + "documentation":"

    The maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    " + }, "messageReviewHandler":{ "shape":"MessageReviewHandler", "documentation":"

    Configuration information for optional review of messages. Specify an empty uri string to disassociate a message review handler from the specified room.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Room name. The value does not need to be unique.

    " + "loggingConfigurationIdentifiers":{ + "shape":"LoggingConfigurationIdentifierList", + "documentation":"

    Array of logging-configuration identifiers attached to the room.

    " } } }, @@ -1448,41 +1449,41 @@ "shape":"RoomArn", "documentation":"

    Room ARN, from the request (if identifier was an ARN).

    " }, - "createTime":{ - "shape":"Time", - "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " - }, "id":{ "shape":"RoomID", "documentation":"

    Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    " }, - "loggingConfigurationIdentifiers":{ - "shape":"LoggingConfigurationIdentifierList", - "documentation":"

    Array of logging configurations attached to the room, from the request (if specified).

    " + "name":{ + "shape":"RoomName", + "documentation":"

    Room name, from the request (if specified).

    " }, - "maximumMessageLength":{ - "shape":"RoomMaxMessageLength", - "documentation":"

    Maximum number of characters in a single message, from the request (if specified).

    " + "createTime":{ + "shape":"Time", + "documentation":"

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + }, + "updateTime":{ + "shape":"Time", + "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " }, "maximumMessageRatePerSecond":{ "shape":"RoomMaxMessageRatePerSecond", "documentation":"

    Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).

    " }, + "maximumMessageLength":{ + "shape":"RoomMaxMessageLength", + "documentation":"

    Maximum number of characters in a single message, from the request (if specified).

    " + }, "messageReviewHandler":{ "shape":"MessageReviewHandler", "documentation":"

    Configuration information for optional review of messages.

    " }, - "name":{ - "shape":"RoomName", - "documentation":"

    Room name, from the request (if specified).

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

    Tags attached to the resource. Array of maps, each of the form string:string (key:value).

    " }, - "updateTime":{ - "shape":"Time", - "documentation":"

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

    " + "loggingConfigurationIdentifiers":{ + "shape":"LoggingConfigurationIdentifierList", + "documentation":"

    Array of logging configurations attached to the room, from the request (if specified).

    " } } }, @@ -1499,14 +1500,14 @@ "reason" ], "members":{ - "fieldList":{ - "shape":"ValidationExceptionFieldList", - "documentation":"

    " - }, "message":{"shape":"ErrorMessage"}, "reason":{ "shape":"ValidationExceptionReason", "documentation":"

    " + }, + "fieldList":{ + "shape":"ValidationExceptionFieldList", + "documentation":"

    " } }, "documentation":"

    ", @@ -1519,17 +1520,17 @@ "ValidationExceptionField":{ "type":"structure", "required":[ - "message", - "name" + "name", + "message" ], "members":{ - "message":{ - "shape":"ErrorMessage", - "documentation":"

    Explanation of the reason for the validation error.

    " - }, "name":{ "shape":"FieldName", "documentation":"

    Name of the field which failed validation.

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

    Explanation of the reason for the validation error.

    " } }, "documentation":"

    This object is used in the ValidationException error.

    " @@ -1547,5 +1548,5 @@ ] } }, - "documentation":"

    Introduction

    The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat resources. You also need to integrate with the Amazon IVS Chat Messaging API, to enable users to interact with chat rooms in real time.

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

    Notes on terminology:

    • You create service applications using the Amazon IVS Chat API. We refer to these as applications.

    • You create front-end client applications (browser and Android/iOS apps) using the Amazon IVS Chat Messaging API. We refer to these as clients.

    Key Concepts

    • LoggingConfiguration — A configuration that allows customers to store and record sent messages in a chat room.

    • Room — The central Amazon IVS Chat resource through which clients connect to and exchange chat messages.

    Tagging

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

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

    The Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Room.

    At most 50 tags can be applied to a resource.

    API Access Security

    Your Amazon IVS Chat applications (service applications and clients) must be authenticated and authorized to access Amazon IVS Chat resources. Note the differences between these concepts:

    • Authentication is about verifying identity. Requests to the Amazon IVS Chat API must be signed to verify your identity.

    • Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS Chat API requests.

    Users (viewers) connect to a room using secure access tokens that you create using the CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for every user’s chat session, passing identity and authorization information about the user.

    Signing API Requests

    HTTP API requests must be signed with an AWS SigV4 signature using your AWS security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API directly, it’s your responsibility to sign the requests.

    You generate a signature using valid AWS credentials for an IAM role that has permission to perform the requested action. For example, DeleteMessage requests must be made using an IAM role that has the ivschat:DeleteMessage permission.

    For more information:

    Amazon Resource Names (ARNs)

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

    Messaging Endpoints

    • DeleteMessage — Sends an event to a specific room which directs clients to delete a specific message; that is, unrender it from view and delete it from the client’s chat history. This event’s EventName is aws:DELETE_MESSAGE. This replicates the DeleteMessage WebSocket operation in the Amazon IVS Chat Messaging API.

    • DisconnectUser — Disconnects all connections using a specified user ID from a room. This replicates the DisconnectUser WebSocket operation in the Amazon IVS Chat Messaging API.

    • SendEvent — Sends an event to a room. Use this within your application’s business logic to send events to clients of a room; e.g., to notify clients to change the way the chat UI is rendered.

    Chat Token Endpoint

    • CreateChatToken — Creates an encrypted token that is used by a chat participant to establish an individual WebSocket chat connection to a room. When the token is used to connect to chat, the connection is valid for the session duration specified in the request. The token becomes invalid at the token-expiration timestamp included in the response.

    Room Endpoints

    • CreateRoom — Creates a room that allows clients to connect and pass messages.

    • DeleteRoom — Deletes the specified room.

    • GetRoom — Gets the specified room.

    • ListRooms — Gets summary information about all your rooms in the AWS region where the API request is processed.

    • UpdateRoom — Updates a room’s configuration.

    Logging Configuration Endpoints

    Tags Endpoints

    • ListTagsForResource — Gets information about AWS tags for the specified ARN.

    • TagResource — Adds or updates tags for the AWS resource with the specified ARN.

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

    All the above are HTTP operations. There is a separate messaging API for managing Chat resources; see the Amazon IVS Chat Messaging API Reference.

    " + "documentation":"

    Introduction

    The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat resources. You also need to integrate with the Amazon IVS Chat Messaging API, to enable users to interact with chat rooms in real time.

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

    This document describes HTTP operations. There is a separate messaging API for managing Chat resources; see the Amazon IVS Chat Messaging API Reference.

    Notes on terminology:

    • You create service applications using the Amazon IVS Chat API. We refer to these as applications.

    • You create front-end client applications (browser and Android/iOS apps) using the Amazon IVS Chat Messaging API. We refer to these as clients.

    Resources

    The following resources are part of Amazon IVS Chat:

    • LoggingConfiguration — A configuration that allows customers to store and record sent messages in a chat room. See the Logging Configuration endpoints for more information.

    • Room — The central Amazon IVS Chat resource through which clients connect to and exchange chat messages. See the Room endpoints for more information.

    Tagging

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

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

    The Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Room.

    At most 50 tags can be applied to a resource.

    API Access Security

    Your Amazon IVS Chat applications (service applications and clients) must be authenticated and authorized to access Amazon IVS Chat resources. Note the differences between these concepts:

    • Authentication is about verifying identity. Requests to the Amazon IVS Chat API must be signed to verify your identity.

    • Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS Chat API requests.

    Users (viewers) connect to a room using secure access tokens that you create using the CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for every user’s chat session, passing identity and authorization information about the user.

    Signing API Requests

    HTTP API requests must be signed with an AWS SigV4 signature using your AWS security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API directly, it’s your responsibility to sign the requests.

    You generate a signature using valid AWS credentials for an IAM role that has permission to perform the requested action. For example, DeleteMessage requests must be made using an IAM role that has the ivschat:DeleteMessage permission.

    For more information:

    Amazon Resource Names (ARNs)

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

    " } diff --git a/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json b/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json index 7f9f2da0d5a..f437325088b 100644 --- a/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json +++ b/tools/code-generation/api-descriptions/medialive-2017-10-14.normal.json @@ -9,7 +9,10 @@ "uid": "medialive-2017-10-14", "signatureVersion": "v4", "serviceAbbreviation": "MediaLive", - "jsonVersion": "1.1" + "jsonVersion": "1.1", + "auth": [ + "aws.auth#sigv4" + ] }, "operations": { "AcceptInputDeviceTransfer": { @@ -855,7 +858,7 @@ }, { "shape": "NotFoundException", - "documentation": "The multiplex that you are trying to delete doesn\u2019t exist. Check the ID and try again." + "documentation": "The multiplex that you are trying to delete doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -905,7 +908,7 @@ }, { "shape": "NotFoundException", - "documentation": "The program that you are trying to delete doesn\u2019t exist. Check the ID and try again." + "documentation": "The program that you are trying to delete doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -1353,7 +1356,7 @@ }, { "shape": "NotFoundException", - "documentation": "The multiplex that you are trying to describe doesn\u2019t exist. Check the ID and try again." + "documentation": "The multiplex that you are trying to describe doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -1399,7 +1402,7 @@ }, { "shape": "NotFoundException", - "documentation": "MediaLive can't describe the program. The multiplex or the program that you specified doesn\u2019t exist. Check the IDs and try again." + "documentation": "MediaLive can't describe the program. The multiplex or the program that you specified doesn’t exist. Check the IDs and try again." }, { "shape": "GatewayTimeoutException", @@ -1847,7 +1850,7 @@ }, { "shape": "NotFoundException", - "documentation": "MediaLive can't provide the list of programs. The multiplex that you specified doesn\u2019t exist. Check the ID and try again." + "documentation": "MediaLive can't provide the list of programs. The multiplex that you specified doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -2118,7 +2121,7 @@ "documentation": "Request limit exceeded on reboot device calls to the input device service." } ], - "documentation": "Send a reboot command to the specified input device. The device will begin rebooting within a few seconds of sending the command. When the reboot is complete, the device\u2019s connection status will change to connected." + "documentation": "Send a reboot command to the specified input device. The device will begin rebooting within a few seconds of sending the command. When the reboot is complete, the device’s connection status will change to connected." }, "RejectInputDeviceTransfer": { "name": "RejectInputDeviceTransfer", @@ -2357,7 +2360,7 @@ }, { "shape": "NotFoundException", - "documentation": "The multiplex that you are trying to start doesn\u2019t exist. Check the ID and try again." + "documentation": "The multiplex that you are trying to start doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -2507,7 +2510,7 @@ }, { "shape": "NotFoundException", - "documentation": "The multiplex that you are trying to stop doesn\u2019t exist. Check the ID and try again." + "documentation": "The multiplex that you are trying to stop doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -2903,7 +2906,7 @@ }, { "shape": "NotFoundException", - "documentation": "The multiplex that you are trying to update doesn\u2019t exist. Check the ID and try again." + "documentation": "The multiplex that you are trying to update doesn’t exist. Check the ID and try again." }, { "shape": "GatewayTimeoutException", @@ -2953,7 +2956,7 @@ }, { "shape": "NotFoundException", - "documentation": "MediaLive can't update the program. The multiplex or the program that you specified doesn\u2019t exist. Check the IDs and try again." + "documentation": "MediaLive can't update the program. The multiplex or the program that you specified doesn’t exist. Check the IDs and try again." }, { "shape": "GatewayTimeoutException", @@ -4681,7 +4684,7 @@ "ProgramSelection": { "shape": "DolbyEProgramSelection", "locationName": "programSelection", - "documentation": "Applies only to Dolby E. Enter the program ID (according to the metadata in the audio) of the Dolby E program to extract from the specified track. One program extracted per audio selector. To select multiple programs, create multiple selectors with the same Track and different Program numbers. \u201cAll channels\u201d means to ignore the program IDs and include all the channels in this selector; useful if metadata is known to be incorrect." + "documentation": "Applies only to Dolby E. Enter the program ID (according to the metadata in the audio) of the Dolby E program to extract from the specified track. One program extracted per audio selector. To select multiple programs, create multiple selectors with the same Track and different Program numbers. “All channels” means to ignore the program IDs and include all the channels in this selector; useful if metadata is known to be incorrect." } }, "documentation": "Audio Dolby EDecode", @@ -6447,6 +6450,11 @@ "Vpc": { "shape": "InputVpcRequest", "locationName": "vpc" + }, + "SrtSettings": { + "shape": "SrtSettingsRequest", + "locationName": "srtSettings", + "documentation": "The settings associated with an SRT input." } }, "documentation": "Placeholder documentation for CreateInput" @@ -6507,6 +6515,11 @@ "Vpc": { "shape": "InputVpcRequest", "locationName": "vpc" + }, + "SrtSettings": { + "shape": "SrtSettingsRequest", + "locationName": "srtSettings", + "documentation": "The settings associated with an SRT input." } }, "documentation": "The name of the input" @@ -7651,6 +7664,11 @@ "Type": { "shape": "InputType", "locationName": "type" + }, + "SrtSettings": { + "shape": "SrtSettings", + "locationName": "srtSettings", + "documentation": "The settings associated with an SRT input." } }, "documentation": "Placeholder documentation for DescribeInputResponse" @@ -8439,7 +8457,7 @@ "Bitrate": { "shape": "__double", "locationName": "bitrate", - "documentation": "Average bitrate in bits/second. Valid bitrates depend on the coding mode.\n// * @affectsRightSizing true" + "documentation": "Average bitrate in bits/second. Valid bitrates depend on the coding mode." }, "CodingMode": { "shape": "Eac3AtmosCodingMode", @@ -8724,7 +8742,7 @@ "FontFamily": { "shape": "__string", "locationName": "fontFamily", - "documentation": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to \"monospaced\". (If styleControl is set to exclude, the font family is always set to \"monospaced\".)\n\nYou specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.\n\n- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as \u201cArial\u201d), or a generic font family (such as \u201cserif\u201d), or \u201cdefault\u201d (to let the downstream player choose the font).\n- Leave blank to set the family to \u201cmonospace\u201d." + "documentation": "Specifies the font family to include in the font data attached to the EBU-TT captions. Valid only if styleControl is set to include. If you leave this field empty, the font family is set to \"monospaced\". (If styleControl is set to exclude, the font family is always set to \"monospaced\".)\n\nYou specify only the font family. All other style information (color, bold, position and so on) is copied from the input captions. The size is always set to 100% to allow the downstream player to choose the size.\n\n- Enter a list of font families, as a comma-separated list of font names, in order of preference. The name can be a font family (such as “Arial”), or a generic font family (such as “serif”), or “default” (to let the downstream player choose the font).\n- Leave blank to set the family to “monospace”." }, "StyleControl": { "shape": "EbuTtDDestinationStyleControl", @@ -8900,7 +8918,7 @@ "JamSyncTime": { "shape": "__string", "locationName": "jamSyncTime", - "documentation": "Optional. Enter a time for the jam sync. The default is midnight UTC. When epoch locking is enabled, MediaLive performs a daily jam sync on every output encode to ensure timecodes don\u2019t diverge from the wall clock. The jam sync applies only to encodes with frame rate of 29.97 or 59.94 FPS. To override, enter a time in HH:MM:SS in UTC. Always set the MM:SS portion to 00:00." + "documentation": "Optional. Enter a time for the jam sync. The default is midnight UTC. When epoch locking is enabled, MediaLive performs a daily jam sync on every output encode to ensure timecodes don’t diverge from the wall clock. The jam sync applies only to encodes with frame rate of 29.97 or 59.94 FPS. To override, enter a time in HH:MM:SS in UTC. Always set the MM:SS portion to 00:00." } }, "documentation": "Epoch Locking Settings" @@ -9558,7 +9576,7 @@ "FilterSettings": { "shape": "H264FilterSettings", "locationName": "filterSettings", - "documentation": "Optional filters that you can apply to an encode." + "documentation": "Optional. Both filters reduce bandwidth by removing imperceptible details. You can enable one of the filters. We\nrecommend that you try both filters and observe the results to decide which one to use.\n\nThe Temporal Filter reduces bandwidth by removing imperceptible details in the content. It combines perceptual\nfiltering and motion compensated temporal filtering (MCTF). It operates independently of the compression level.\n\nThe Bandwidth Reduction filter is a perceptual filter located within the encoding loop. It adapts to the current\ncompression level to filter imperceptible signals. This filter works only when the resolution is 1080p or lower." }, "FixedAfd": { "shape": "FixedAfd", @@ -9952,7 +9970,7 @@ "FilterSettings": { "shape": "H265FilterSettings", "locationName": "filterSettings", - "documentation": "Optional filters that you can apply to an encode." + "documentation": "Optional. Both filters reduce bandwidth by removing imperceptible details. You can enable one of the filters. We\nrecommend that you try both filters and observe the results to decide which one to use.\n\nThe Temporal Filter reduces bandwidth by removing imperceptible details in the content. It combines perceptual\nfiltering and motion compensated temporal filtering (MCTF). It operates independently of the compression level.\n\nThe Bandwidth Reduction filter is a perceptual filter located within the encoding loop. It adapts to the current\ncompression level to filter imperceptible signals. This filter works only when the resolution is 1080p or lower." }, "FixedAfd": { "shape": "FixedAfd", @@ -10971,6 +10989,11 @@ "Type": { "shape": "InputType", "locationName": "type" + }, + "SrtSettings": { + "shape": "SrtSettings", + "locationName": "srtSettings", + "documentation": "The settings associated with an SRT input." } }, "documentation": "Placeholder documentation for Input" @@ -12079,7 +12102,8 @@ "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", - "TS_FILE" + "TS_FILE", + "SRT_CALLER" ] }, "InputVpcRequest": { @@ -17426,6 +17450,11 @@ "shape": "__listOfInputSourceRequest", "locationName": "sources", "documentation": "The source URLs for a PULL-type input. Every PULL type input needs\nexactly two source URLs for redundancy.\nOnly specify sources for PULL type Inputs. Leave Destinations empty." + }, + "SrtSettings": { + "shape": "SrtSettingsRequest", + "locationName": "srtSettings", + "documentation": "The settings associated with an SRT input." } }, "documentation": "Placeholder documentation for UpdateInput" @@ -17620,6 +17649,11 @@ "shape": "__listOfInputSourceRequest", "locationName": "sources", "documentation": "The source URLs for a PULL-type input. Every PULL type input needs\nexactly two source URLs for redundancy.\nOnly specify sources for PULL type Inputs. Leave Destinations empty." + }, + "SrtSettings": { + "shape": "SrtSettingsRequest", + "locationName": "srtSettings", + "documentation": "The settings associated with an SRT input." } }, "documentation": "A request to update an input.", @@ -23700,7 +23734,142 @@ "ALL_OUTPUT_GROUPS", "SCTE35_ENABLED_OUTPUT_GROUPS" ] + }, + "Algorithm": { + "type": "string", + "enum": [ + "AES128", + "AES192", + "AES256" + ], + "documentation": "Placeholder documentation for Algorithm" + }, + "SrtCallerDecryption": { + "type": "structure", + "members": { + "Algorithm": { + "shape": "Algorithm", + "locationName": "algorithm", + "documentation": "The algorithm used to encrypt content." + }, + "PassphraseSecretArn": { + "shape": "__string", + "locationName": "passphraseSecretArn", + "documentation": "The ARN for the secret in Secrets Manager. Someone in your organization must create a secret and provide you with its ARN. The secret holds the passphrase that MediaLive uses to decrypt the source content." + } + }, + "documentation": "The decryption settings for the SRT caller source. Present only if the source has decryption enabled." + }, + "SrtCallerDecryptionRequest": { + "type": "structure", + "members": { + "Algorithm": { + "shape": "Algorithm", + "locationName": "algorithm", + "documentation": "The algorithm used to encrypt content." + }, + "PassphraseSecretArn": { + "shape": "__string", + "locationName": "passphraseSecretArn", + "documentation": "The ARN for the secret in Secrets Manager. Someone in your organization must create a secret and provide you with its ARN. This secret holds the passphrase that MediaLive will use to decrypt the source content." + } + }, + "documentation": "Complete these parameters only if the content is encrypted." + }, + "SrtCallerSource": { + "type": "structure", + "members": { + "Decryption": { + "shape": "SrtCallerDecryption", + "locationName": "decryption" + }, + "MinimumLatency": { + "shape": "__integer", + "locationName": "minimumLatency", + "documentation": "The preferred latency (in milliseconds) for implementing packet loss and recovery. Packet recovery is a key feature of SRT." + }, + "SrtListenerAddress": { + "shape": "__string", + "locationName": "srtListenerAddress", + "documentation": "The IP address at the upstream system (the listener) that MediaLive (the caller) connects to." + }, + "SrtListenerPort": { + "shape": "__string", + "locationName": "srtListenerPort", + "documentation": "The port at the upstream system (the listener) that MediaLive (the caller) connects to." + }, + "StreamId": { + "shape": "__string", + "locationName": "streamId", + "documentation": "The stream ID, if the upstream system uses this identifier." + } + }, + "documentation": "The configuration for a source that uses SRT as the connection protocol. In terms of establishing the connection, MediaLive is always caller and the upstream system is always the listener. In terms of transmission of the source content, MediaLive is always the receiver and the upstream system is always the sender." + }, + "SrtCallerSourceRequest": { + "type": "structure", + "members": { + "Decryption": { + "shape": "SrtCallerDecryptionRequest", + "locationName": "decryption" + }, + "MinimumLatency": { + "shape": "__integer", + "locationName": "minimumLatency", + "documentation": "The preferred latency (in milliseconds) for implementing packet loss and recovery. Packet recovery is a key feature of SRT. Obtain this value from the operator at the upstream system." + }, + "SrtListenerAddress": { + "shape": "__string", + "locationName": "srtListenerAddress", + "documentation": "The IP address at the upstream system (the listener) that MediaLive (the caller) will connect to." + }, + "SrtListenerPort": { + "shape": "__string", + "locationName": "srtListenerPort", + "documentation": "The port at the upstream system (the listener) that MediaLive (the caller) will connect to." + }, + "StreamId": { + "shape": "__string", + "locationName": "streamId", + "documentation": "This value is required if the upstream system uses this identifier because without it, the SRT handshake between MediaLive (the caller) and the upstream system (the listener) might fail." + } + }, + "documentation": "Configures the connection for a source that uses SRT as the connection protocol. In terms of establishing the connection, MediaLive is always the caller and the upstream system is always the listener. In terms of transmission of the source content, MediaLive is always the receiver and the upstream system is always the sender." + }, + "SrtSettings": { + "type": "structure", + "members": { + "SrtCallerSources": { + "shape": "__listOfSrtCallerSource", + "locationName": "srtCallerSources" + } + }, + "documentation": "The configured sources for this SRT input." + }, + "SrtSettingsRequest": { + "type": "structure", + "members": { + "SrtCallerSources": { + "shape": "__listOfSrtCallerSourceRequest", + "locationName": "srtCallerSources" + } + }, + "documentation": "Configures the sources for this SRT input. For a single-pipeline input, include one srtCallerSource in the array. For a standard-pipeline input, include two srtCallerSource." + }, + "__listOfSrtCallerSource": { + "type": "list", + "member": { + "shape": "SrtCallerSource" + }, + "documentation": "Placeholder documentation for __listOfSrtCallerSource" + }, + "__listOfSrtCallerSourceRequest": { + "type": "list", + "member": { + "shape": "SrtCallerSourceRequest" + }, + "documentation": "Placeholder documentation for __listOfSrtCallerSourceRequest" } }, "documentation": "API for AWS Elemental MediaLive" -} +} \ No newline at end of file diff --git a/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json b/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json index 1f6c52fcf06..cb59b6a8def 100644 --- a/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json +++ b/tools/code-generation/api-descriptions/rds-2014-10-31.normal.json @@ -1684,7 +1684,7 @@ "errors":[ {"shape":"ResourceNotFoundFault"} ], - "documentation":"

    Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.

    " + "documentation":"

    Returns a list of resources (for example, DB instances) that have at least one pending maintenance action.

    This API follows an eventual consistency model. This means that the result of the DescribePendingMaintenanceActions command might not be immediately visible to all subsequent RDS commands. Keep this in mind when you use DescribePendingMaintenanceActions immediately after using a previous API command such as ApplyPendingMaintenanceActions.

    " }, "DescribeReservedDBInstances":{ "name":"DescribeReservedDBInstances", @@ -4268,7 +4268,7 @@ }, "PubliclyAccessible":{ "shape":"BooleanOptional", - "documentation":"

    Specifies whether the DB cluster is publicly accessible.

    When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address.

    Valid for Cluster Type: Multi-AZ DB clusters only

    Default: The default behavior varies depending on whether DBSubnetGroupName is specified.

    If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, the following applies:

    • If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB cluster is private.

    • If the default VPC in the target Region has an internet gateway attached to it, the DB cluster is public.

    If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, the following applies:

    • If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB cluster is private.

    • If the subnets are part of a VPC that has an internet gateway attached to it, the DB cluster is public.

    " + "documentation":"

    Specifies whether the DB cluster is publicly accessible.

    When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address.

    Valid for Cluster Type: Multi-AZ DB clusters only

    Default: The default behavior varies depending on whether DBSubnetGroupName is specified.

    If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, the following applies:

    • If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB cluster is private.

    • If the default VPC in the target Region has an internet gateway attached to it, the DB cluster is public.

    If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, the following applies:

    • If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB cluster is private.

    • If the subnets are part of a VPC that has an internet gateway attached to it, the DB cluster is public.

    " }, "AutoMinorVersionUpgrade":{ "shape":"BooleanOptional", @@ -4503,7 +4503,7 @@ }, "PubliclyAccessible":{ "shape":"BooleanOptional", - "documentation":"

    Specifies whether the DB instance is publicly accessible.

    When the DB instance is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB instance's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB instance's VPC. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.

    When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

    Default: The default behavior varies depending on whether DBSubnetGroupName is specified.

    If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, the following applies:

    • If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is private.

    • If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.

    If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, the following applies:

    • If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is private.

    • If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.

    " + "documentation":"

    Specifies whether the DB instance is publicly accessible.

    When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn't permit it.

    When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

    Default: The default behavior varies depending on whether DBSubnetGroupName is specified.

    If DBSubnetGroupName isn't specified, and PubliclyAccessible isn't specified, the following applies:

    • If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is private.

    • If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public.

    If DBSubnetGroupName is specified, and PubliclyAccessible isn't specified, the following applies:

    • If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is private.

    • If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public.

    " }, "Tags":{ "shape":"TagList", @@ -5643,7 +5643,7 @@ }, "PubliclyAccessible":{ "shape":"BooleanOptional", - "documentation":"

    Indicates whether the DB cluster is publicly accessible.

    When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address.

    For more information, see CreateDBCluster.

    This setting is only for non-Aurora Multi-AZ DB clusters.

    " + "documentation":"

    Indicates whether the DB cluster is publicly accessible.

    When the DB cluster is publicly accessible and you connect from outside of the DB cluster's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB cluster, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB cluster isn't publicly accessible, it is an internal DB cluster with a DNS name that resolves to a private IP address.

    For more information, see CreateDBCluster.

    This setting is only for non-Aurora Multi-AZ DB clusters.

    " }, "AutoMinorVersionUpgrade":{ "shape":"Boolean", @@ -6819,7 +6819,7 @@ }, "PubliclyAccessible":{ "shape":"Boolean", - "documentation":"

    Indicates whether the DB instance is publicly accessible.

    When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

    For more information, see CreateDBInstance.

    " + "documentation":"

    Indicates whether the DB instance is publicly accessible.

    When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

    For more information, see CreateDBInstance.

    " }, "StatusInfos":{ "shape":"DBInstanceStatusInfoList", @@ -8713,7 +8713,7 @@ }, "DeleteAutomatedBackups":{ "shape":"BooleanOptional", - "documentation":"

    Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.

    " + "documentation":"

    Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.

    You must delete automated backups for Amazon RDS Multi-AZ DB clusters. For more information about managing automated backups for RDS Multi-AZ DB clusters, see Managing automated backups.

    " } }, "documentation":"

    " @@ -9182,7 +9182,7 @@ }, "Source":{ "shape":"String", - "documentation":"

    A specific source to return parameters for.

    Valid Values:

    • customer

    • engine

    • service

    " + "documentation":"

    A specific source to return parameters for.

    Valid Values:

    • user

    • engine

    • service

    " }, "Filters":{ "shape":"FilterList", @@ -12563,7 +12563,7 @@ }, "PubliclyAccessible":{ "shape":"BooleanOptional", - "documentation":"

    Specifies whether the DB instance is publicly accessible.

    When the DB cluster is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB cluster's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB cluster's VPC. Access to the DB cluster is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.

    When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

    PubliclyAccessible only applies to DB instances in a VPC. The DB instance must be part of a public subnet and PubliclyAccessible must be enabled for it to be publicly accessible.

    Changes to the PubliclyAccessible parameter are applied immediately regardless of the value of the ApplyImmediately parameter.

    " + "documentation":"

    Specifies whether the DB instance is publicly accessible.

    When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB instance doesn't permit it.

    When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.

    PubliclyAccessible only applies to DB instances in a VPC. The DB instance must be part of a public subnet and PubliclyAccessible must be enabled for it to be publicly accessible.

    Changes to the PubliclyAccessible parameter are applied immediately regardless of the value of the ApplyImmediately parameter.

    " }, "MonitoringRoleArn":{ "shape":"String", diff --git a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json index e56dc5afc29..87ea35704c4 100644 --- a/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json +++ b/tools/code-generation/api-descriptions/sagemaker-2017-07-24.normal.json @@ -31172,7 +31172,23 @@ "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", - "ml.g4dn.16xlarge" + "ml.g4dn.16xlarge", + "ml.g5.xlarge", + "ml.g5.2xlarge", + "ml.g5.4xlarge", + "ml.g5.8xlarge", + "ml.g5.16xlarge", + "ml.g5.12xlarge", + "ml.g5.24xlarge", + "ml.g5.48xlarge", + "ml.r5d.large", + "ml.r5d.xlarge", + "ml.r5d.2xlarge", + "ml.r5d.4xlarge", + "ml.r5d.8xlarge", + "ml.r5d.12xlarge", + "ml.r5d.16xlarge", + "ml.r5d.24xlarge" ] }, "ProcessingJob":{ @@ -36145,7 +36161,27 @@ "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", - "ml.c6i.32xlarge" + "ml.c6i.32xlarge", + "ml.r5d.large", + "ml.r5d.xlarge", + "ml.r5d.2xlarge", + "ml.r5d.4xlarge", + "ml.r5d.8xlarge", + "ml.r5d.12xlarge", + "ml.r5d.16xlarge", + "ml.r5d.24xlarge", + "ml.t3.medium", + "ml.t3.large", + "ml.t3.xlarge", + "ml.t3.2xlarge", + "ml.r5.large", + "ml.r5.xlarge", + "ml.r5.2xlarge", + "ml.r5.4xlarge", + "ml.r5.8xlarge", + "ml.r5.12xlarge", + "ml.r5.16xlarge", + "ml.r5.24xlarge" ] }, "TrainingInstanceTypes":{ 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 1acf43a5f71..2e5e3182483 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 @@ -69,7 +69,7 @@ {"shape":"PreconditionNotMetException"}, {"shape":"DecryptionFailure"} ], - "documentation":"

    Creates a new secret. A secret can be a password, a set of credentials such as a user name and password, an OAuth token, or other secret information that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret.

    For secrets that use managed rotation, you need to create the secret through the managing service. For more information, see Secrets Manager secrets managed by other Amazon Web Services services.

    For information about creating a secret in the console, see Create a secret.

    To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it.

    For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must make sure the JSON you store in the SecretString matches the JSON structure of a database secret.

    If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

    If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key.

    Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

    Required permissions: secretsmanager:CreateSecret. If you include tags in the secret, you also need secretsmanager:TagResource. To add replica Regions, you must also have secretsmanager:ReplicateSecretToRegions. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

    To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

    " + "documentation":"

    Creates a new secret. A secret can be a password, a set of credentials such as a user name and password, an OAuth token, or other secret information that you store in an encrypted form in Secrets Manager. The secret also includes the connection information to access a database or other service, which Secrets Manager doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the important information needed to manage the secret.

    For secrets that use managed rotation, you need to create the secret through the managing service. For more information, see Secrets Manager secrets managed by other Amazon Web Services services.

    For information about creating a secret in the console, see Create a secret.

    To create a secret, you can provide the secret value to be encrypted in either the SecretString parameter or the SecretBinary parameter, but not both. If you include SecretString or SecretBinary then Secrets Manager creates an initial secret version and automatically attaches the staging label AWSCURRENT to it.

    For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must make sure the JSON you store in the SecretString matches the JSON structure of a database secret.

    If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

    If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't use aws/secretsmanager to encrypt the secret, and you must create and use a customer managed KMS key.

    Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

    Required permissions: secretsmanager:CreateSecret. If you include tags in the secret, you also need secretsmanager:TagResource. To add replica Regions, you must also have secretsmanager:ReplicateSecretToRegions. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

    To encrypt the secret with a KMS key other than aws/secretsmanager, you need kms:GenerateDataKey and kms:Decrypt permission to the key.

    When you enter commands in a command shell, there is a risk of the command history being accessed or utilities having access to your command parameters. This is a concern if the command includes the value of a secret. Learn how to Mitigate the risks of using command-line tools to store Secrets Manager secrets.

    " }, "DeleteResourcePolicy":{ "name":"DeleteResourcePolicy", @@ -234,7 +234,7 @@ {"shape":"InternalServiceError"}, {"shape":"DecryptionFailure"} ], - "documentation":"

    Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value.

    We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

    You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it. If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from.

    This operation is idempotent. If you call this operation with a ClientRequestToken that matches an existing version's VersionId, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones.

    Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary, SecretString, or RotationToken because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

    Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

    " + "documentation":"

    Creates a new version with a new encrypted secret value and attaches it to the secret. The version can contain a new SecretString value or a new SecretBinary value.

    We recommend you avoid calling PutSecretValue at a sustained rate of more than once every 10 minutes. When you update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you call PutSecretValue more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

    You can specify the staging labels to attach to the new version in VersionStages. If you don't include VersionStages, then Secrets Manager automatically moves the staging label AWSCURRENT to this version. If this operation creates the first version for the secret, then Secrets Manager automatically attaches the staging label AWSCURRENT to it. If this operation moves the staging label AWSCURRENT from another version to this version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to the version that AWSCURRENT was removed from.

    This operation is idempotent. If you call this operation with a ClientRequestToken that matches an existing version's VersionId, and you specify the same secret data, the operation succeeds but does nothing. However, if the secret data is different, then the operation fails because you can't modify an existing version; you can only create new ones.

    Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary, SecretString, or RotationToken because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

    Required permissions: secretsmanager:PutSecretValue. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager.

    When you enter commands in a command shell, there is a risk of the command history being accessed or utilities having access to your command parameters. This is a concern if the command includes the value of a secret. Learn how to Mitigate the risks of using command-line tools to store Secrets Manager secrets.

    " }, "RemoveRegionsFromReplication":{ "name":"RemoveRegionsFromReplication", @@ -366,7 +366,7 @@ {"shape":"PreconditionNotMetException"}, {"shape":"DecryptionFailure"} ], - "documentation":"

    Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.

    To change the rotation configuration of a secret, use RotateSecret instead.

    To change a secret so that it is managed by another service, you need to recreate the secret in that service. See Secrets Manager secrets managed by other Amazon Web Services services.

    We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

    If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically moves the staging label AWSCURRENT to the new version. Then it attaches the label AWSPREVIOUS to the version that AWSCURRENT was removed from.

    If you call this operation with a ClientRequestToken that matches an existing version's VersionId, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage.

    Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

    Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey, kms:Encrypt, and kms:Decrypt permissions on the key. If you change the KMS key and you don't have kms:Encrypt permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information, see Secret encryption and decryption.

    " + "documentation":"

    Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use PutSecretValue.

    To change the rotation configuration of a secret, use RotateSecret instead.

    To change a secret so that it is managed by another service, you need to recreate the secret in that service. See Secrets Manager secrets managed by other Amazon Web Services services.

    We recommend you avoid calling UpdateSecret at a sustained rate of more than once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not remove versions created less than 24 hours ago. If you update the secret value more than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach the quota for secret versions.

    If you include SecretString or SecretBinary to create a new secret version, Secrets Manager automatically moves the staging label AWSCURRENT to the new version. Then it attaches the label AWSPREVIOUS to the version that AWSCURRENT was removed from.

    If you call this operation with a ClientRequestToken that matches an existing version's VersionId, the operation results in an error. You can't modify an existing version, you can only create a new version. To remove a version, remove all staging labels from it. See UpdateSecretVersionStage.

    Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters except SecretBinary or SecretString because it might be logged. For more information, see Logging Secrets Manager events with CloudTrail.

    Required permissions: secretsmanager:UpdateSecret. For more information, see IAM policy actions for Secrets Manager and Authentication and access control in Secrets Manager. If you use a customer managed key, you must also have kms:GenerateDataKey, kms:Encrypt, and kms:Decrypt permissions on the key. If you change the KMS key and you don't have kms:Encrypt permission to the new key, Secrets Manager does not re-encrypt existing secret versions with the new key. For more information, see Secret encryption and decryption.

    When you enter commands in a command shell, there is a risk of the command history being accessed or utilities having access to your command parameters. This is a concern if the command includes the value of a secret. Learn how to Mitigate the risks of using command-line tools to store Secrets Manager secrets.

    " }, "UpdateSecretVersionStage":{ "name":"UpdateSecretVersionStage", @@ -1810,7 +1810,7 @@ }, "KmsKeyId":{ "shape":"KmsKeyIdType", - "documentation":"

    The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt new secret versions as well as any existing versions with the staging labels AWSCURRENT, AWSPENDING, or AWSPREVIOUS. If you don't have kms:Encrypt permission to the new key, Secrets Manager does not re-ecrypt existing secret versions with the new key. For more information about versions and staging labels, see Concepts: Version.

    A key alias is always prefixed by alias/, for example alias/aws/secretsmanager. For more information, see About aliases.

    If you set this to an empty string, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

    You can only use the Amazon Web Services managed key aws/secretsmanager if you call this operation using credentials from the same Amazon Web Services account that owns the secret. If the secret is in a different account, then you must use a customer managed key and provide the ARN of that KMS key in this field. The user making the call must have permissions to both the secret and the KMS key in their respective accounts.

    " + "documentation":"

    The ARN, key ID, or alias of the KMS key that Secrets Manager uses to encrypt new secret versions as well as any existing versions with the staging labels AWSCURRENT, AWSPENDING, or AWSPREVIOUS. If you don't have kms:Encrypt permission to the new key, Secrets Manager does not re-encrypt existing secret versions with the new key. For more information about versions and staging labels, see Concepts: Version.

    A key alias is always prefixed by alias/, for example alias/aws/secretsmanager. For more information, see About aliases.

    If you set this to an empty string, Secrets Manager uses the Amazon Web Services managed key aws/secretsmanager. If this key doesn't already exist in your account, then Secrets Manager creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access to use aws/secretsmanager. Creating aws/secretsmanager can result in a one-time significant delay in returning the result.

    You can only use the Amazon Web Services managed key aws/secretsmanager if you call this operation using credentials from the same Amazon Web Services account that owns the secret. If the secret is in a different account, then you must use a customer managed key and provide the ARN of that KMS key in this field. The user making the call must have permissions to both the secret and the KMS key in their respective accounts.

    " }, "SecretBinary":{ "shape":"SecretBinaryType", diff --git a/tools/code-generation/api-descriptions/taxsettings-2018-05-10.normal.json b/tools/code-generation/api-descriptions/taxsettings-2018-05-10.normal.json index 8596a4869e8..31e0ca5a69b 100644 --- a/tools/code-generation/api-descriptions/taxsettings-2018-05-10.normal.json +++ b/tools/code-generation/api-descriptions/taxsettings-2018-05-10.normal.json @@ -10,7 +10,8 @@ "serviceId":"TaxSettings", "signatureVersion":"v4", "signingName":"tax", - "uid":"taxsettings-2018-05-10" + "uid":"taxsettings-2018-05-10", + "auth":["aws.auth#sigv4"] }, "operations":{ "BatchDeleteTaxRegistration":{ diff --git a/tools/code-generation/api-descriptions/timestream-query-2018-11-01.normal.json b/tools/code-generation/api-descriptions/timestream-query-2018-11-01.normal.json index 51a7a97cdf3..2d8acf6c5ce 100644 --- a/tools/code-generation/api-descriptions/timestream-query-2018-11-01.normal.json +++ b/tools/code-generation/api-descriptions/timestream-query-2018-11-01.normal.json @@ -12,7 +12,8 @@ "signatureVersion":"v4", "signingName":"timestream", "targetPrefix":"Timestream_20181101", - "uid":"timestream-query-2018-11-01" + "uid":"timestream-query-2018-11-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "CancelQuery":{ @@ -1581,7 +1582,7 @@ }, "QueryPricingModel":{ "shape":"QueryPricingModel", - "documentation":"

    The pricing model for queries in an account.

    " + "documentation":"

    The pricing model for queries in an account.

    The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

    " } } }, diff --git a/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json b/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json index 41171b3dec5..0442a76e609 100644 --- a/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json +++ b/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json @@ -2,6 +2,7 @@ "version":"2.0", "metadata":{ "apiVersion":"2023-08-22", + "auth":["aws.auth#sigv4"], "endpointPrefix":"thinclient", "protocol":"rest-json", "protocols":["rest-json"], @@ -837,7 +838,7 @@ }, "deviceCreationTags":{ "shape":"DeviceCreationTagsMap", - "documentation":"

    \"The tag keys and optional values for the newly created devices for this environment.\"

    " + "documentation":"

    The tag keys and optional values for the newly created devices for this environment.

    " } }, "documentation":"

    Describes an environment.

    " diff --git a/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-rule-set.json b/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-rule-set.json index 177f908c8b1..dbd7cc6df07 100644 --- a/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-rule-set.json @@ -1,12 +1,6 @@ { "version": "1.0", "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, @@ -26,6 +20,12 @@ "required": false, "documentation": "Override the endpoint used to send this request", "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" } }, "rules": [ @@ -177,18 +177,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://tax-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://tax-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -211,6 +212,15 @@ }, true ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] } ], "rules": [ @@ -235,18 +245,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://tax-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://tax-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -261,6 +272,15 @@ }, { "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, { "fn": "booleanEquals", "argv": [ @@ -293,18 +313,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://tax.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://tax.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -319,18 +340,19 @@ }, { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://tax.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://tax.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" diff --git a/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-tests.json b/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-tests.json index 9ea2f41d529..f3593c11dac 100644 --- a/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-tests.json +++ b/tools/code-generation/endpoints/taxsettings-2018-05-10.endpoint-tests.json @@ -1,9 +1,50 @@ { "testCases": [ + { + "documentation": "For custom endpoint with region not set and fips disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips enabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": true + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false, + "UseDualStack": true + } + }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://tax-fips.us-east-1.api.aws" } }, @@ -17,6 +58,14 @@ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://tax-fips.us-east-1.amazonaws.com" } }, @@ -30,6 +79,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://tax.us-east-1.api.aws" } }, @@ -43,6 +100,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://tax.us-east-1.amazonaws.com" } }, @@ -53,105 +118,169 @@ } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://tax-fips.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://tax-fips.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tax-fips.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://tax-fips.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://tax.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://tax.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://tax.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://tax.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://tax-fips.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://tax-fips.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": true } }, { - "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://tax-fips.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://tax-fips.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://tax.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://tax.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": true } }, { - "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://tax.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://tax.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } @@ -171,6 +300,14 @@ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://tax-fips.us-iso-east-1.c2s.ic.gov" } }, @@ -195,6 +332,14 @@ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://tax.us-iso-east-1.c2s.ic.gov" } }, @@ -219,6 +364,14 @@ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://tax-fips.us-isob-east-1.sc2s.sgov.gov" } }, @@ -243,6 +396,14 @@ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://tax.us-isob-east-1.sc2s.sgov.gov" } }, @@ -253,54 +414,131 @@ } }, { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-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": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://tax-fips.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { - "Region": "us-east-1", + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://tax.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://tax-fips.us-isof-south-1.csp.hci.ic.gov" + } }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isof-south-1", "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" + "UseDualStack": true + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://tax.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false, + "UseDualStack": false } }, {