From f8efa6a44259c444ac574070ffe5c4f794ff4671 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation
Date: Wed, 20 Nov 2024 19:10:16 +0000
Subject: [PATCH] Added data protection settings with support for inline data
redaction. This release supports Metadata Enforcement Rule feature for Create
Subscription Request action. Enabling call caching feature that allows
customers to reuse previously computed results from a set of completed tasks
in a new workflow run. This release adds support for Provisioning Timestream
Compute Units (TCUs), a new feature that allows provisioning dedicated
compute resources for your queries, providing predictable and cost-effective
query performance. Add Node 22.x (node22.x) support to AWS Lambda Added
support for Rocky Linux 8 on Amazon WorkSpaces Personal. This release adds
support for scale storage on the DB instance using a Blue/Green Deployment.
This release adds support for configuring Load balancer Capacity Unit
reservations This release adds support for exclusion tags for Recycle Bin,
which allows you to identify resources that are to be excluded, or ignored,
by a Region-level retention rule. This release adds action type "Delete" to
the GetRecommendation, ListRecommendations and ListRecommendationSummaries
APIs to support new EBS and ECS recommendations with action type "Delete".
Add support to import data from commercially available discovery tools
without file manipulation. This release enables AWS Compute Optimizer to
analyze and generate optimization recommendations for Amazon Aurora database
instances. It also enables Compute Optimizer to identify idle Amazon EC2
instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and
Amazon RDS databases. Releasing new Prompt Optimization to enhance your
prompts for improved performance This release adds support for the
Availability Zone rebalancing feature on Amazon ECS. With this release,
customers can express their desire to launch instances only in an ODCR or
ODCR group rather than OnDemand capacity. Customers can express their
baseline instances' CPU-performance in attribute-based Instance Requirements
configuration by referencing an instance family. With this release, customers
can prioritize launching instances into ODCRs using targets from ASGs or
Launch Templates. Customers can express their baseline instances'
CPU-performance in attribute-based Instance Requirements configuration by
referencing an instance family that meets their needs. Adds support for child
enabled baselines which allow you to see the enabled baseline status for
individual accounts. This release adds the ability to reconfigure concurrent
job settings for existing queues and create queues with custom concurrent job
settings. Add support for gRPC, VPC origins, and Anycast IP Lists. Allow
LoggingConfig IncludeCookies to be set regardless of whether the
LoggingConfig is enabled. MediaPackage v2 now supports the Media Quality
Confidence Score (MQCS) published from MediaLive. Customers can control input
switching based on the MQCS and publishing HTTP Headers for the MQCS via the
API.
---
VERSION | 2 +-
.../aws/autoscaling/model/AutoScalingGroup.h | 16 +
.../model/BaselinePerformanceFactorsRequest.h | 69 ++
.../model/CapacityReservationPreference.h | 33 +
.../model/CapacityReservationSpecification.h | 92 ++
.../model/CapacityReservationTarget.h | 85 ++
.../model/CpuPerformanceFactorRequest.h | 69 ++
.../model/CreateAutoScalingGroupRequest.h | 16 +
.../autoscaling/model/InstanceRequirements.h | 16 +
.../model/PerformanceFactorReferenceRequest.h | 86 ++
.../model/UpdateAutoScalingGroupRequest.h | 16 +
.../source/model/AutoScalingGroup.cpp | 22 +-
.../BaselinePerformanceFactorsRequest.cpp | 74 ++
.../model/CapacityReservationPreference.cpp | 86 ++
.../CapacityReservationSpecification.cpp | 91 ++
.../model/CapacityReservationTarget.cpp | 114 +++
.../model/CpuPerformanceFactorRequest.cpp | 88 ++
.../model/CreateAutoScalingGroupRequest.cpp | 8 +-
.../source/model/InstanceRequirements.cpp | 22 +-
.../PerformanceFactorReferenceRequest.cpp | 70 ++
.../model/UpdateAutoScalingGroupRequest.cpp | 8 +-
.../BedrockAgentRuntimeClient.h | 38 +-
.../BedrockAgentRuntimeServiceClientModel.h | 4 +
.../model/ActionGroupInvocationInput.h | 4 +-
.../model/AnalyzePromptEvent.h | 62 ++
.../bedrock-agent-runtime/model/InputPrompt.h | 60 ++
.../model/OptimizePromptHandler.h | 86 ++
.../model/OptimizePromptInitialResponse.h | 38 +
.../model/OptimizePromptRequest.h | 98 ++
.../model/OptimizedPrompt.h | 60 ++
.../model/OptimizedPromptEvent.h | 59 ++
.../model/OptimizedPromptStream.h | 180 ++++
.../bedrock-agent-runtime/model/TextPrompt.h | 62 ++
.../source/BedrockAgentRuntimeClient.cpp | 31 +
.../source/model/AnalyzePromptEvent.cpp | 59 ++
.../source/model/InputPrompt.cpp | 59 ++
.../source/model/OptimizePromptHandler.cpp | 267 +++++
.../model/OptimizePromptInitialResponse.cpp | 52 +
.../source/model/OptimizePromptRequest.cpp | 43 +
.../source/model/OptimizedPrompt.cpp | 59 ++
.../source/model/OptimizedPromptEvent.cpp | 59 ++
.../source/model/TextPrompt.cpp | 59 ++
.../include/aws/cloudfront/CloudFrontClient.h | 280 +++++
.../include/aws/cloudfront/CloudFrontErrors.h | 1 +
.../cloudfront/CloudFrontServiceClientModel.h | 56 +
.../aws/cloudfront/model/AnycastIpList.h | 161 +++
.../model/AnycastIpListCollection.h | 144 +++
.../cloudfront/model/AnycastIpListSummary.h | 144 +++
.../aws/cloudfront/model/CacheBehavior.h | 16 +
.../CreateAnycastIpList2020_05_31Request.h | 84 ++
.../CreateAnycastIpList2020_05_31Result.h | 83 ++
.../model/CreateVpcOrigin2020_05_31Request.h | 68 ++
.../model/CreateVpcOrigin2020_05_31Result.h | 96 ++
.../cloudfront/model/DefaultCacheBehavior.h | 16 +
.../DeleteAnycastIpList2020_05_31Request.h | 76 ++
.../model/DeleteVpcOrigin2020_05_31Request.h | 75 ++
.../model/DeleteVpcOrigin2020_05_31Result.h | 81 ++
.../aws/cloudfront/model/DistributionConfig.h | 18 +
.../cloudfront/model/DistributionSummary.h | 18 +
.../model/GetAnycastIpList2020_05_31Request.h | 56 +
.../model/GetAnycastIpList2020_05_31Result.h | 82 ++
.../model/GetVpcOrigin2020_05_31Request.h | 56 +
.../model/GetVpcOrigin2020_05_31Result.h | 81 ++
.../include/aws/cloudfront/model/GrpcConfig.h | 65 ++
.../ListAnycastIpLists2020_05_31Request.h | 79 ++
.../ListAnycastIpLists2020_05_31Result.h | 66 ++
...utionsByAnycastIpListId2020_05_31Request.h | 100 ++
...butionsByAnycastIpListId2020_05_31Result.h | 64 ++
...tributionsByVpcOriginId2020_05_31Request.h | 96 ++
...stributionsByVpcOriginId2020_05_31Result.h | 64 ++
.../model/ListVpcOrigins2020_05_31Request.h | 79 ++
.../model/ListVpcOrigins2020_05_31Result.h | 66 ++
.../aws/cloudfront/model/LoggingConfig.h | 19 +-
.../include/aws/cloudfront/model/Origin.h | 16 +
.../cloudfront/model/StreamingLoggingConfig.h | 2 +-
.../model/UpdateVpcOrigin2020_05_31Request.h | 91 ++
.../model/UpdateVpcOrigin2020_05_31Result.h | 81 ++
.../include/aws/cloudfront/model/VpcOrigin.h | 142 +++
.../aws/cloudfront/model/VpcOriginConfig.h | 61 ++
.../model/VpcOriginEndpointConfig.h | 136 +++
.../aws/cloudfront/model/VpcOriginList.h | 139 +++
.../aws/cloudfront/model/VpcOriginSummary.h | 160 +++
.../source/CloudFrontClient.cpp | 365 +++++++
.../source/CloudFrontErrors.cpp | 6 +
.../source/model/AnycastIpList.cpp | 155 +++
.../source/model/AnycastIpListCollection.cpp | 148 +++
.../source/model/AnycastIpListSummary.cpp | 132 +++
.../source/model/CacheBehavior.cpp | 15 +-
.../CreateAnycastIpList2020_05_31Request.cpp | 56 +
.../CreateAnycastIpList2020_05_31Result.cpp | 52 +
.../CreateVpcOrigin2020_05_31Request.cpp | 46 +
.../model/CreateVpcOrigin2020_05_31Result.cpp | 58 ++
.../source/model/DefaultCacheBehavior.cpp | 15 +-
.../DeleteAnycastIpList2020_05_31Request.cpp | 42 +
.../DeleteVpcOrigin2020_05_31Request.cpp | 42 +
.../model/DeleteVpcOrigin2020_05_31Result.cpp | 52 +
.../source/model/DistributionConfig.cpp | 15 +-
.../source/model/DistributionSummary.cpp | 15 +-
.../GetAnycastIpList2020_05_31Request.cpp | 27 +
.../GetAnycastIpList2020_05_31Result.cpp | 52 +
.../model/GetVpcOrigin2020_05_31Request.cpp | 27 +
.../model/GetVpcOrigin2020_05_31Result.cpp | 52 +
.../source/model/GrpcConfig.cpp | 67 ++
.../ListAnycastIpLists2020_05_31Request.cpp | 50 +
.../ListAnycastIpLists2020_05_31Result.cpp | 46 +
...ionsByAnycastIpListId2020_05_31Request.cpp | 50 +
...tionsByAnycastIpListId2020_05_31Result.cpp | 46 +
...ibutionsByVpcOriginId2020_05_31Request.cpp | 50 +
...ributionsByVpcOriginId2020_05_31Result.cpp | 46 +
.../model/ListVpcOrigins2020_05_31Request.cpp | 49 +
.../model/ListVpcOrigins2020_05_31Result.cpp | 46 +
.../source/model/Origin.cpp | 13 +
.../UpdateVpcOrigin2020_05_31Request.cpp | 54 +
.../model/UpdateVpcOrigin2020_05_31Result.cpp | 52 +
.../source/model/VpcOrigin.cpp | 129 +++
.../source/model/VpcOriginConfig.cpp | 64 ++
.../source/model/VpcOriginEndpointConfig.cpp | 136 +++
.../source/model/VpcOriginList.cpp | 148 +++
.../source/model/VpcOriginSummary.cpp | 142 +++
.../ComputeOptimizerClient.h | 63 ++
.../ComputeOptimizerServiceClientModel.h | 11 +
.../aws/compute-optimizer/model/Dimension.h | 31 +
.../model/ExportIdleRecommendationsRequest.h | 163 +++
.../model/ExportIdleRecommendationsResult.h | 81 ++
.../model/ExportableIdleField.h | 49 +
.../model/ExportableRDSDBField.h | 13 +-
.../model/GetIdleRecommendationsRequest.h | 149 +++
.../model/GetIdleRecommendationsResult.h | 100 ++
.../model/IdleEstimatedMonthlySavings.h | 73 ++
.../aws/compute-optimizer/model/IdleFinding.h | 31 +
.../compute-optimizer/model/IdleMetricName.h | 38 +
.../model/IdleRecommendation.h | 245 +++++
.../model/IdleRecommendationError.h | 112 ++
.../model/IdleRecommendationFilter.h | 93 ++
.../model/IdleRecommendationFilterName.h | 31 +
.../model/IdleRecommendationResourceType.h | 34 +
.../model/IdleSavingsOpportunity.h | 75 ++
.../IdleSavingsOpportunityAfterDiscounts.h | 78 ++
.../aws/compute-optimizer/model/IdleSummary.h | 73 ++
.../model/IdleUtilizationMetric.h | 101 ++
.../aws/compute-optimizer/model/Order.h | 31 +
.../aws/compute-optimizer/model/OrderBy.h | 75 ++
.../model/RDSCurrentInstancePerformanceRisk.h | 33 +
.../compute-optimizer/model/RDSDBMetricName.h | 10 +-
.../model/RDSDBRecommendation.h | 46 +
.../model/RDSInstanceFindingReasonCode.h | 7 +-
.../model/RecommendationSummary.h | 44 +
.../compute-optimizer/model/ResourceType.h | 3 +-
.../model/VolumeConfiguration.h | 10 +-
.../source/ComputeOptimizerClient.cpp | 54 +
.../source/model/Dimension.cpp | 72 ++
.../ExportIdleRecommendationsRequest.cpp | 94 ++
.../model/ExportIdleRecommendationsResult.cpp | 54 +
.../source/model/ExportableIdleField.cpp | 198 ++++
.../source/model/ExportableRDSDBField.cpp | 77 ++
.../model/GetIdleRecommendationsRequest.cpp | 94 ++
.../model/GetIdleRecommendationsResult.cpp | 66 ++
.../model/IdleEstimatedMonthlySavings.cpp | 74 ++
.../source/model/IdleFinding.cpp | 72 ++
.../source/model/IdleMetricName.cpp | 121 +++
.../source/model/IdleRecommendation.cpp | 229 +++++
.../source/model/IdleRecommendationError.cpp | 101 ++
.../source/model/IdleRecommendationFilter.cpp | 81 ++
.../model/IdleRecommendationFilterName.cpp | 72 ++
.../model/IdleRecommendationResourceType.cpp | 93 ++
.../source/model/IdleSavingsOpportunity.cpp | 74 ++
.../IdleSavingsOpportunityAfterDiscounts.cpp | 74 ++
.../source/model/IdleSummary.cpp | 74 ++
.../source/model/IdleUtilizationMetric.cpp | 88 ++
.../source/model/Order.cpp | 72 ++
.../source/model/OrderBy.cpp | 73 ++
.../RDSCurrentInstancePerformanceRisk.cpp | 86 ++
.../source/model/RDSDBMetricName.cpp | 56 +
.../source/model/RDSDBRecommendation.cpp | 43 +
.../model/RDSInstanceFindingReasonCode.cpp | 35 +
.../source/model/RecommendationSummary.cpp | 50 +
.../source/model/ResourceType.cpp | 7 +
.../model/EnabledBaselineDetails.h | 20 +
.../model/EnabledBaselineFilter.h | 19 +
.../model/EnabledBaselineSummary.h | 18 +
.../model/ListEnabledBaselinesRequest.h | 14 +
.../source/model/EnabledBaselineDetails.cpp | 14 +
.../source/model/EnabledBaselineFilter.cpp | 22 +
.../source/model/EnabledBaselineSummary.cpp | 14 +
.../model/ListEnabledBaselinesRequest.cpp | 8 +
.../cost-optimization-hub/model/ActionType.h | 3 +-
.../source/model/ActionType.cpp | 7 +
.../include/aws/datazone/DataZoneClient.h | 160 +++
.../aws/datazone/DataZoneServiceClientModel.h | 25 +
.../model/AcceptSubscriptionRequestResult.h | 33 +-
.../aws/datazone/model/AssetTypesForRule.h | 79 ++
.../aws/datazone/model/CreateRuleRequest.h | 173 ++++
.../aws/datazone/model/CreateRuleResult.h | 210 ++++
.../model/CreateSubscriptionRequestRequest.h | 18 +
.../model/CreateSubscriptionRequestResult.h | 33 +-
.../aws/datazone/model/DeleteRuleRequest.h | 73 ++
.../aws/datazone/model/DeleteRuleResult.h | 52 +
.../aws/datazone/model/DomainUnitTarget.h | 74 ++
.../aws/datazone/model/GetRuleRequest.h | 97 ++
.../aws/datazone/model/GetRuleResult.h | 253 +++++
.../GetSubscriptionRequestDetailsResult.h | 33 +-
.../aws/datazone/model/ListRulesRequest.h | 229 +++++
.../aws/datazone/model/ListRulesResult.h | 89 ++
.../model/MetadataFormEnforcementDetail.h | 62 ++
.../datazone/model/MetadataFormReference.h | 78 ++
.../aws/datazone/model/MetadataFormSummary.h | 95 ++
.../aws/datazone/model/ProjectsForRule.h | 80 ++
.../model/RejectSubscriptionRequestResult.h | 33 +-
.../include/aws/datazone/model/RuleAction.h | 30 +
.../include/aws/datazone/model/RuleDetail.h | 59 ++
.../include/aws/datazone/model/RuleScope.h | 88 ++
.../datazone/model/RuleScopeSelectionMode.h | 31 +
.../include/aws/datazone/model/RuleSummary.h | 208 ++++
.../include/aws/datazone/model/RuleTarget.h | 59 ++
.../aws/datazone/model/RuleTargetType.h | 30 +
.../include/aws/datazone/model/RuleType.h | 30 +
.../model/SubscriptionRequestSummary.h | 37 +-
.../aws/datazone/model/UpdateRuleRequest.h | 152 +++
.../aws/datazone/model/UpdateRuleResult.h | 239 +++++
.../model/UpdateSubscriptionRequestResult.h | 33 +-
.../source/DataZoneClient.cpp | 205 ++++
.../model/AcceptSubscriptionRequestResult.cpp | 15 +
.../source/model/AssetTypesForRule.cpp | 81 ++
.../source/model/CreateRuleRequest.cpp | 79 ++
.../source/model/CreateRuleResult.cpp | 112 ++
.../CreateSubscriptionRequestRequest.cpp | 12 +
.../model/CreateSubscriptionRequestResult.cpp | 15 +
.../source/model/DeleteRuleRequest.cpp | 28 +
.../source/model/DeleteRuleResult.cpp | 42 +
.../source/model/DomainUnitTarget.cpp | 74 ++
.../source/model/GetRuleRequest.cpp | 43 +
.../source/model/GetRuleResult.cpp | 130 +++
.../GetSubscriptionRequestDetailsResult.cpp | 15 +
.../source/model/ListRulesRequest.cpp | 112 ++
.../source/model/ListRulesResult.cpp | 57 ++
.../model/MetadataFormEnforcementDetail.cpp | 67 ++
.../source/model/MetadataFormReference.cpp | 73 ++
.../source/model/MetadataFormSummary.cpp | 87 ++
.../source/model/ProjectsForRule.cpp | 81 ++
.../model/RejectSubscriptionRequestResult.cpp | 15 +
.../source/model/RuleAction.cpp | 65 ++
.../source/model/RuleDetail.cpp | 59 ++
.../source/model/RuleScope.cpp | 88 ++
.../source/model/RuleScopeSelectionMode.cpp | 72 ++
.../source/model/RuleSummary.cpp | 184 ++++
.../source/model/RuleTarget.cpp | 59 ++
.../source/model/RuleTargetType.cpp | 65 ++
.../source/model/RuleType.cpp | 65 ++
.../model/SubscriptionRequestSummary.cpp | 36 +
.../source/model/UpdateRuleRequest.cpp | 66 ++
.../source/model/UpdateRuleResult.cpp | 123 +++
.../model/UpdateSubscriptionRequestResult.cpp | 15 +
.../model/CreateApplicationRequest.h | 21 +-
.../discovery/model/CreateApplicationResult.h | 2 +-
.../aws/discovery/model/FileClassification.h | 33 +
.../aws/discovery/model/ImportStatus.h | 1 +
.../include/aws/discovery/model/ImportTask.h | 16 +
.../discovery/model/ImportTaskFilterName.h | 3 +-
.../model/UpdateApplicationRequest.h | 17 +
.../source/model/CreateApplicationRequest.cpp | 9 +-
.../source/model/FileClassification.cpp | 86 ++
.../source/model/ImportStatus.cpp | 7 +
.../source/model/ImportTask.cpp | 14 +
.../source/model/ImportTaskFilterName.cpp | 7 +
.../source/model/UpdateApplicationRequest.cpp | 9 +-
.../include/aws/ec2/EC2Client.h | 5 +-
.../ec2/model/BaselinePerformanceFactors.h | 69 ++
.../model/BaselinePerformanceFactorsRequest.h | 69 ++
.../ec2/model/CapacityReservationPreference.h | 1 +
.../model/CapacityReservationSpecification.h | 35 +-
.../include/aws/ec2/model/CpuManufacturer.h | 3 +-
.../aws/ec2/model/CpuPerformanceFactor.h | 69 ++
.../ec2/model/CpuPerformanceFactorRequest.h | 69 ++
.../aws/ec2/model/InstanceRequirements.h | 23 +
.../ec2/model/InstanceRequirementsRequest.h | 23 +
.../ec2/model/PerformanceFactorReference.h | 90 ++
.../model/PerformanceFactorReferenceRequest.h | 90 ++
.../aws/ec2/model/RunInstancesRequest.h | 3 +-
.../model/BaselinePerformanceFactors.cpp | 74 ++
.../BaselinePerformanceFactorsRequest.cpp | 74 ++
.../model/CapacityReservationPreference.cpp | 9 +-
.../source/model/CpuManufacturer.cpp | 7 +
.../source/model/CpuPerformanceFactor.cpp | 88 ++
.../model/CpuPerformanceFactorRequest.cpp | 88 ++
.../source/model/InstanceRequirements.cpp | 22 +-
.../model/InstanceRequirementsRequest.cpp | 22 +-
.../model/PerformanceFactorReference.cpp | 70 ++
.../PerformanceFactorReferenceRequest.cpp | 70 ++
.../include/aws/ecs/ECSClient.h | 2 +-
.../ecs/model/AvailabilityZoneRebalancing.h | 31 +
.../aws/ecs/model/CreateServiceRequest.h | 20 +
.../aws/ecs/model/DeploymentController.h | 30 +-
.../include/aws/ecs/model/Service.h | 20 +
.../aws/ecs/model/UpdateServiceRequest.h | 20 +
.../model/AvailabilityZoneRebalancing.cpp | 72 ++
.../source/model/CreateServiceRequest.cpp | 7 +
.../aws-cpp-sdk-ecs/source/model/Service.cpp | 16 +-
.../source/model/UpdateServiceRequest.cpp | 7 +
.../ElasticLoadBalancingv2Client.h | 54 +
.../ElasticLoadBalancingv2Errors.h | 5 +
...ElasticLoadBalancingv2ServiceClientModel.h | 10 +
.../model/CapacityReservationStateEnum.h | 33 +
.../model/CapacityReservationStatus.h | 79 ++
.../DescribeCapacityReservationRequest.h | 60 ++
.../model/DescribeCapacityReservationResult.h | 106 ++
.../model/MinimumLoadBalancerCapacity.h | 57 ++
.../model/ModifyCapacityReservationRequest.h | 89 ++
.../model/ModifyCapacityReservationResult.h | 106 ++
.../model/ZonalCapacityReservationState.h | 93 ++
.../source/ElasticLoadBalancingv2Client.cpp | 54 +
.../source/ElasticLoadBalancingv2Errors.cpp | 25 +
.../model/CapacityReservationStateEnum.cpp | 86 ++
.../model/CapacityReservationStatus.cpp | 87 ++
.../DescribeCapacityReservationRequest.cpp | 35 +
.../DescribeCapacityReservationResult.cpp | 77 ++
.../model/MinimumLoadBalancerCapacity.cpp | 71 ++
.../ModifyCapacityReservationRequest.cpp | 48 +
.../model/ModifyCapacityReservationResult.cpp | 77 ++
.../model/ZonalCapacityReservationState.cpp | 107 ++
.../include/aws/lambda/model/Runtime.h | 3 +-
.../source/model/Runtime.cpp | 7 +
.../mediaconvert/model/CreateQueueRequest.h | 17 +
.../aws/mediaconvert/model/ListQueuesResult.h | 25 +
.../include/aws/mediaconvert/model/Queue.h | 34 +
.../aws/mediaconvert/model/ServiceOverride.h | 115 +++
.../mediaconvert/model/UpdateQueueRequest.h | 17 +
.../source/model/CreateQueueRequest.cpp | 8 +
.../source/model/ListQueuesResult.cpp | 17 +-
.../source/model/Queue.cpp | 37 +
.../source/model/ServiceOverride.cpp | 101 ++
.../source/model/UpdateQueueRequest.cpp | 8 +
.../model/CreateChannelRequest.h | 36 +
.../model/CreateChannelResult.h | 32 +
.../model/CreateHlsManifestConfiguration.h | 5 +-
...CreateLowLatencyHlsManifestConfiguration.h | 5 +-
.../mediapackagev2/model/GetChannelResult.h | 32 +
.../model/GetHlsManifestConfiguration.h | 5 +-
.../GetLowLatencyHlsManifestConfiguration.h | 5 +-
.../model/InputSwitchConfiguration.h | 59 ++
.../model/OutputHeaderConfiguration.h | 58 ++
.../model/UpdateChannelRequest.h | 36 +
.../model/UpdateChannelResult.h | 32 +
.../model/ValidationExceptionType.h | 4 +-
.../source/model/CreateChannelRequest.cpp | 14 +
.../source/model/CreateChannelResult.cpp | 12 +
.../source/model/GetChannelResult.cpp | 12 +
.../source/model/InputSwitchConfiguration.cpp | 60 ++
.../model/OutputHeaderConfiguration.cpp | 60 ++
.../source/model/UpdateChannelRequest.cpp | 16 +-
.../source/model/UpdateChannelResult.cpp | 12 +
.../source/model/ValidationExceptionType.cpp | 14 +
.../include/aws/omics/OmicsClient.h | 174 +++-
.../aws/omics/OmicsServiceClientModel.h | 24 +
.../include/aws/omics/model/CacheBehavior.h | 31 +
.../aws/omics/model/CreateRunCacheRequest.h | 180 ++++
.../aws/omics/model/CreateRunCacheResult.h | 117 +++
.../aws/omics/model/DeleteRunCacheRequest.h | 56 +
.../aws/omics/model/GetRunCacheRequest.h | 56 +
.../aws/omics/model/GetRunCacheResult.h | 205 ++++
.../include/aws/omics/model/GetRunResult.h | 44 +
.../aws/omics/model/GetRunTaskResult.h | 27 +
.../aws/omics/model/ListRunCachesRequest.h | 76 ++
.../aws/omics/model/ListRunCachesResult.h | 85 ++
.../aws/omics/model/RunCacheListItem.h | 160 +++
.../include/aws/omics/model/RunCacheStatus.h | 32 +
.../include/aws/omics/model/StartRunRequest.h | 50 +-
.../include/aws/omics/model/StartRunResult.h | 2 +-
.../include/aws/omics/model/TaskListItem.h | 31 +
.../aws/omics/model/UpdateRunCacheRequest.h | 106 ++
.../aws-cpp-sdk-omics/source/OmicsClient.cpp | 168 +++
.../source/model/CacheBehavior.cpp | 72 ++
.../source/model/CreateRunCacheRequest.cpp | 83 ++
.../source/model/CreateRunCacheResult.cpp | 71 ++
.../source/model/DeleteRunCacheRequest.cpp | 27 +
.../source/model/GetRunCacheRequest.cpp | 27 +
.../source/model/GetRunCacheResult.cpp | 108 ++
.../source/model/GetRunResult.cpp | 19 +
.../source/model/GetRunTaskResult.cpp | 13 +
.../source/model/ListRunCachesRequest.cpp | 50 +
.../source/model/ListRunCachesResult.cpp | 57 ++
.../source/model/RunCacheListItem.cpp | 142 +++
.../source/model/RunCacheStatus.cpp | 79 ++
.../source/model/StartRunRequest.cpp | 14 +
.../source/model/TaskListItem.cpp | 29 +
.../source/model/UpdateRunCacheRequest.cpp | 50 +
.../include/aws/rbin/RecycleBinClient.h | 26 +-
.../aws/rbin/model/CreateRuleRequest.h | 44 +-
.../include/aws/rbin/model/CreateRuleResult.h | 43 +-
.../include/aws/rbin/model/GetRuleResult.h | 43 +-
.../include/aws/rbin/model/ListRulesRequest.h | 23 +-
.../include/aws/rbin/model/LockRuleResult.h | 43 +-
.../include/aws/rbin/model/ResourceTag.h | 5 +-
.../include/aws/rbin/model/RuleSummary.h | 22 +-
.../include/aws/rbin/model/UnlockRuleResult.h | 43 +-
.../aws/rbin/model/UpdateRuleRequest.h | 44 +-
.../include/aws/rbin/model/UpdateRuleResult.h | 43 +-
.../source/model/CreateRuleRequest.cpp | 14 +-
.../source/model/CreateRuleResult.cpp | 9 +
.../source/model/GetRuleResult.cpp | 9 +
.../source/model/ListRulesRequest.cpp | 14 +-
.../source/model/LockRuleResult.cpp | 9 +
.../source/model/UnlockRuleResult.cpp | 9 +
.../source/model/UpdateRuleRequest.cpp | 14 +-
.../source/model/UpdateRuleResult.cpp | 9 +
.../include/aws/rds/RDSClient.h | 17 +-
.../model/CreateBlueGreenDeploymentRequest.h | 68 ++
.../CreateBlueGreenDeploymentRequest.cpp | 29 +-
.../timestream-query/TimestreamQueryClient.h | 14 +-
...AccountSettingsNotificationConfiguration.h | 78 ++
.../aws/timestream-query/model/ComputeMode.h | 31 +
.../model/DescribeAccountSettingsResult.h | 24 +-
.../aws/timestream-query/model/LastUpdate.h | 95 ++
.../timestream-query/model/LastUpdateStatus.h | 32 +
.../model/NotificationConfiguration.h | 4 +-
.../model/ProvisionedCapacityRequest.h | 75 ++
.../model/ProvisionedCapacityResponse.h | 93 ++
.../model/QueryComputeRequest.h | 79 ++
.../model/QueryComputeResponse.h | 79 ++
.../model/UpdateAccountSettingsRequest.h | 31 +-
.../model/UpdateAccountSettingsResult.h | 14 +
...countSettingsNotificationConfiguration.cpp | 73 ++
.../source/model/ComputeMode.cpp | 72 ++
.../model/DescribeAccountSettingsResult.cpp | 6 +
.../source/model/LastUpdate.cpp | 88 ++
.../source/model/LastUpdateStatus.cpp | 79 ++
.../model/ProvisionedCapacityRequest.cpp | 74 ++
.../model/ProvisionedCapacityResponse.cpp | 88 ++
.../source/model/QueryComputeRequest.cpp | 73 ++
.../source/model/QueryComputeResponse.cpp | 73 ++
.../model/UpdateAccountSettingsRequest.cpp | 9 +-
.../model/UpdateAccountSettingsResult.cpp | 6 +
.../aws/workspaces-web/WorkSpacesWebClient.h | 178 ++++
.../WorkSpacesWebServiceClientModel.h | 37 +
.../AssociateDataProtectionSettingsRequest.h | 79 ++
.../AssociateDataProtectionSettingsResult.h | 82 ++
.../CreateDataProtectionSettingsRequest.h | 173 ++++
.../CreateDataProtectionSettingsResult.h | 67 ++
.../aws/workspaces-web/model/CustomPattern.h | 120 +++
.../model/DataProtectionSettings.h | 189 ++++
.../model/DataProtectionSettingsSummary.h | 111 ++
.../DeleteDataProtectionSettingsRequest.h | 56 +
.../DeleteDataProtectionSettingsResult.h | 52 +
...isassociateDataProtectionSettingsRequest.h | 56 +
...DisassociateDataProtectionSettingsResult.h | 52 +
.../model/GetDataProtectionSettingsRequest.h | 56 +
.../model/GetDataProtectionSettingsResult.h | 66 ++
.../model/InlineRedactionConfiguration.h | 126 +++
.../model/InlineRedactionPattern.h | 157 +++
.../model/ListDataProtectionSettingsRequest.h | 76 ++
.../model/ListDataProtectionSettingsResult.h | 85 ++
.../include/aws/workspaces-web/model/Portal.h | 17 +
.../aws/workspaces-web/model/PortalSummary.h | 17 +
.../model/RedactionPlaceHolder.h | 80 ++
.../model/RedactionPlaceHolderType.h | 30 +
.../UpdateDataProtectionSettingsRequest.h | 130 +++
.../UpdateDataProtectionSettingsResult.h | 66 ++
.../source/WorkSpacesWebClient.cpp | 233 +++++
...AssociateDataProtectionSettingsRequest.cpp | 42 +
.../AssociateDataProtectionSettingsResult.cpp | 54 +
.../CreateDataProtectionSettingsRequest.cpp | 88 ++
.../CreateDataProtectionSettingsResult.cpp | 48 +
.../source/model/CustomPattern.cpp | 101 ++
.../source/model/DataProtectionSettings.cpp | 172 ++++
.../model/DataProtectionSettingsSummary.cpp | 100 ++
.../DeleteDataProtectionSettingsRequest.cpp | 27 +
.../DeleteDataProtectionSettingsResult.cpp | 42 +
...associateDataProtectionSettingsRequest.cpp | 27 +
...sassociateDataProtectionSettingsResult.cpp | 42 +
.../GetDataProtectionSettingsRequest.cpp | 27 +
.../model/GetDataProtectionSettingsResult.cpp | 48 +
.../model/InlineRedactionConfiguration.cpp | 126 +++
.../source/model/InlineRedactionPattern.cpp | 146 +++
.../ListDataProtectionSettingsRequest.cpp | 50 +
.../ListDataProtectionSettingsResult.cpp | 57 ++
.../source/model/Portal.cpp | 14 +
.../source/model/PortalSummary.cpp | 14 +
.../source/model/RedactionPlaceHolder.cpp | 73 ++
.../source/model/RedactionPlaceHolderType.cpp | 65 ++
.../UpdateDataProtectionSettingsRequest.cpp | 58 ++
.../UpdateDataProtectionSettingsResult.cpp | 48 +
.../include/aws/workspaces/WorkSpacesClient.h | 10 +-
.../AcceptAccountLinkInvitationRequest.h | 2 +-
.../CreateAccountLinkInvitationRequest.h | 2 +-
.../DeleteAccountLinkInvitationRequest.h | 2 +-
.../model/ImportWorkspaceImageRequest.h | 17 +-
.../workspaces/model/OperatingSystemName.h | 3 +-
.../workspaces/model/WorkspaceProperties.h | 7 +-
.../source/model/OperatingSystemName.cpp | 7 +
.../include/aws/core/VersionConfig.h | 4 +-
.../autoscaling-2011-01-01.normal.json | 100 ++
...drock-agent-runtime-2023-07-26.normal.json | 159 ++-
.../cloudfront-2020-05-31.normal.json | 962 +++++++++++++++++-
.../compute-optimizer-2019-11-01.normal.json | 474 ++++++++-
.../controltower-2018-05-10.normal.json | 26 +
...st-optimization-hub-2022-07-26.normal.json | 3 +-
.../datazone-2018-05-10.normal.json | 860 +++++++++++++++-
.../discovery-2015-11-01.normal.json | 43 +-
.../ec2-2016-11-15.normal.json | 99 +-
.../ecs-2014-11-13.normal.json | 25 +-
...sticloadbalancingv2-2015-12-01.normal.json | 231 ++++-
.../lambda-2015-03-31.normal.json | 3 +-
.../mediaconvert-2017-08-29.normal.json | 62 ++
.../mediapackagev2-2022-12-25.normal.json | 72 +-
.../omics-2022-11-28.normal.json | 461 ++++++++-
.../rbin-2021-06-15.normal.json | 76 +-
.../rds-2014-10-31.normal.json | 19 +-
.../timestream-query-2018-11-01.normal.json | 139 ++-
.../workspaces-2015-04-08.normal.json | 19 +-
.../workspaces-web-2020-07-08.normal.json | 582 +++++++++++
509 files changed, 33925 insertions(+), 360 deletions(-)
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/BaselinePerformanceFactorsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationPreference.h
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationSpecification.h
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationTarget.h
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CpuPerformanceFactorRequest.h
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PerformanceFactorReferenceRequest.h
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/source/model/BaselinePerformanceFactorsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationPreference.cpp
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationSpecification.cpp
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationTarget.cpp
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/source/model/CpuPerformanceFactorRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-autoscaling/source/model/PerformanceFactorReferenceRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AnalyzePromptEvent.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InputPrompt.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptHandler.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptInitialResponse.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptRequest.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPrompt.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptEvent.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptStream.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TextPrompt.h
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AnalyzePromptEvent.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InputPrompt.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptHandler.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptInitialResponse.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPrompt.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPromptEvent.cpp
create mode 100644 generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TextPrompt.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/AnycastIpList.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/AnycastIpListCollection.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/AnycastIpListSummary.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CreateAnycastIpList2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CreateAnycastIpList2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CreateVpcOrigin2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CreateVpcOrigin2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DeleteAnycastIpList2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DeleteVpcOrigin2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DeleteVpcOrigin2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/GetAnycastIpList2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/GetAnycastIpList2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/GetVpcOrigin2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/GetVpcOrigin2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/GrpcConfig.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListAnycastIpLists2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListAnycastIpLists2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListDistributionsByAnycastIpListId2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListDistributionsByAnycastIpListId2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListDistributionsByVpcOriginId2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListDistributionsByVpcOriginId2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListVpcOrigins2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/ListVpcOrigins2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/UpdateVpcOrigin2020_05_31Request.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/UpdateVpcOrigin2020_05_31Result.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOrigin.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginConfig.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginEndpointConfig.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginList.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginSummary.h
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/AnycastIpList.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/AnycastIpListCollection.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/AnycastIpListSummary.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/CreateAnycastIpList2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/CreateAnycastIpList2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/CreateVpcOrigin2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/CreateVpcOrigin2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteAnycastIpList2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteVpcOrigin2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/DeleteVpcOrigin2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/GetAnycastIpList2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/GetAnycastIpList2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/GetVpcOrigin2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/GetVpcOrigin2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/GrpcConfig.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListAnycastIpLists2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListAnycastIpLists2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByAnycastIpListId2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByAnycastIpListId2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByVpcOriginId2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListDistributionsByVpcOriginId2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListVpcOrigins2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/ListVpcOrigins2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateVpcOrigin2020_05_31Request.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/UpdateVpcOrigin2020_05_31Result.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOrigin.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginConfig.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginEndpointConfig.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginList.cpp
create mode 100644 generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginSummary.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/Dimension.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/ExportIdleRecommendationsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/ExportIdleRecommendationsResult.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/ExportableIdleField.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/GetIdleRecommendationsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/GetIdleRecommendationsResult.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleEstimatedMonthlySavings.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleFinding.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleMetricName.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleRecommendation.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleRecommendationError.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleRecommendationFilter.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleRecommendationFilterName.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleRecommendationResourceType.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleSavingsOpportunity.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleSavingsOpportunityAfterDiscounts.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleSummary.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/IdleUtilizationMetric.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/Order.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/OrderBy.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/include/aws/compute-optimizer/model/RDSCurrentInstancePerformanceRisk.h
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/Dimension.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/ExportIdleRecommendationsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/ExportIdleRecommendationsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/ExportableIdleField.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/GetIdleRecommendationsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/GetIdleRecommendationsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleEstimatedMonthlySavings.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleFinding.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleMetricName.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleRecommendation.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleRecommendationError.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleRecommendationFilter.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleRecommendationFilterName.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleRecommendationResourceType.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleSavingsOpportunity.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleSavingsOpportunityAfterDiscounts.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleSummary.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/IdleUtilizationMetric.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/Order.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/OrderBy.cpp
create mode 100644 generated/src/aws-cpp-sdk-compute-optimizer/source/model/RDSCurrentInstancePerformanceRisk.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/AssetTypesForRule.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateRuleRequest.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/CreateRuleResult.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteRuleRequest.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DeleteRuleResult.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/DomainUnitTarget.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetRuleRequest.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/GetRuleResult.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListRulesRequest.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ListRulesResult.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataFormEnforcementDetail.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataFormReference.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/MetadataFormSummary.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/ProjectsForRule.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleAction.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleDetail.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleScope.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleScopeSelectionMode.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleSummary.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleTarget.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleTargetType.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/RuleType.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateRuleRequest.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/include/aws/datazone/model/UpdateRuleResult.h
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/AssetTypesForRule.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateRuleRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/CreateRuleResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteRuleRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DeleteRuleResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/DomainUnitTarget.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetRuleRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/GetRuleResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListRulesRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ListRulesResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataFormEnforcementDetail.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataFormReference.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/MetadataFormSummary.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/ProjectsForRule.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleAction.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleDetail.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleScope.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleScopeSelectionMode.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleSummary.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleTarget.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleTargetType.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/RuleType.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateRuleRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-datazone/source/model/UpdateRuleResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-discovery/include/aws/discovery/model/FileClassification.h
create mode 100644 generated/src/aws-cpp-sdk-discovery/source/model/FileClassification.cpp
create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/BaselinePerformanceFactors.h
create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/BaselinePerformanceFactorsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CpuPerformanceFactor.h
create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/CpuPerformanceFactorRequest.h
create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/PerformanceFactorReference.h
create mode 100644 generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/PerformanceFactorReferenceRequest.h
create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/BaselinePerformanceFactors.cpp
create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/BaselinePerformanceFactorsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/CpuPerformanceFactor.cpp
create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/CpuPerformanceFactorRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/PerformanceFactorReference.cpp
create mode 100644 generated/src/aws-cpp-sdk-ec2/source/model/PerformanceFactorReferenceRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/AvailabilityZoneRebalancing.h
create mode 100644 generated/src/aws-cpp-sdk-ecs/source/model/AvailabilityZoneRebalancing.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/CapacityReservationStateEnum.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/CapacityReservationStatus.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeCapacityReservationRequest.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/DescribeCapacityReservationResult.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/MinimumLoadBalancerCapacity.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyCapacityReservationRequest.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ModifyCapacityReservationResult.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/include/aws/elasticloadbalancingv2/model/ZonalCapacityReservationState.h
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/CapacityReservationStateEnum.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/CapacityReservationStatus.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeCapacityReservationRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/DescribeCapacityReservationResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/MinimumLoadBalancerCapacity.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyCapacityReservationRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ModifyCapacityReservationResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-elasticloadbalancingv2/source/model/ZonalCapacityReservationState.cpp
create mode 100644 generated/src/aws-cpp-sdk-mediaconvert/include/aws/mediaconvert/model/ServiceOverride.h
create mode 100644 generated/src/aws-cpp-sdk-mediaconvert/source/model/ServiceOverride.cpp
create mode 100644 generated/src/aws-cpp-sdk-mediapackagev2/include/aws/mediapackagev2/model/InputSwitchConfiguration.h
create mode 100644 generated/src/aws-cpp-sdk-mediapackagev2/include/aws/mediapackagev2/model/OutputHeaderConfiguration.h
create mode 100644 generated/src/aws-cpp-sdk-mediapackagev2/source/model/InputSwitchConfiguration.cpp
create mode 100644 generated/src/aws-cpp-sdk-mediapackagev2/source/model/OutputHeaderConfiguration.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/CacheBehavior.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/CreateRunCacheRequest.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/CreateRunCacheResult.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/DeleteRunCacheRequest.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/GetRunCacheRequest.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/GetRunCacheResult.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListRunCachesRequest.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/ListRunCachesResult.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/RunCacheListItem.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/RunCacheStatus.h
create mode 100644 generated/src/aws-cpp-sdk-omics/include/aws/omics/model/UpdateRunCacheRequest.h
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/CacheBehavior.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/CreateRunCacheRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/CreateRunCacheResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/DeleteRunCacheRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/GetRunCacheRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/GetRunCacheResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/ListRunCachesRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/ListRunCachesResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/RunCacheListItem.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/RunCacheStatus.cpp
create mode 100644 generated/src/aws-cpp-sdk-omics/source/model/UpdateRunCacheRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/AccountSettingsNotificationConfiguration.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/ComputeMode.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/LastUpdate.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/LastUpdateStatus.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/ProvisionedCapacityRequest.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/ProvisionedCapacityResponse.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/QueryComputeRequest.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/include/aws/timestream-query/model/QueryComputeResponse.h
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/AccountSettingsNotificationConfiguration.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/ComputeMode.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/LastUpdate.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/LastUpdateStatus.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/ProvisionedCapacityRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/ProvisionedCapacityResponse.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/QueryComputeRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-timestream-query/source/model/QueryComputeResponse.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/AssociateDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/AssociateDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/CreateDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/CreateDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/CustomPattern.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/DataProtectionSettings.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/DataProtectionSettingsSummary.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/DeleteDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/DeleteDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/DisassociateDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/DisassociateDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/GetDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/GetDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/InlineRedactionConfiguration.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/InlineRedactionPattern.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/ListDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/ListDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/RedactionPlaceHolder.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/RedactionPlaceHolderType.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/UpdateDataProtectionSettingsRequest.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/UpdateDataProtectionSettingsResult.h
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/AssociateDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/AssociateDataProtectionSettingsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/CreateDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/CreateDataProtectionSettingsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/CustomPattern.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/DataProtectionSettings.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/DataProtectionSettingsSummary.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/DeleteDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/DeleteDataProtectionSettingsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/DisassociateDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/DisassociateDataProtectionSettingsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/GetDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/GetDataProtectionSettingsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/InlineRedactionConfiguration.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/InlineRedactionPattern.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/ListDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/ListDataProtectionSettingsResult.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/RedactionPlaceHolder.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/RedactionPlaceHolderType.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/UpdateDataProtectionSettingsRequest.cpp
create mode 100644 generated/src/aws-cpp-sdk-workspaces-web/source/model/UpdateDataProtectionSettingsResult.cpp
diff --git a/VERSION b/VERSION
index 8b6be517197..f49eecfceab 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.11.451
\ No newline at end of file
+1.11.452
\ No newline at end of file
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingGroup.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingGroup.h
index 3fc17f23037..9498d5f5fef 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingGroup.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingGroup.h
@@ -15,6 +15,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -525,6 +526,18 @@ namespace Model
inline AutoScalingGroup& WithAvailabilityZoneImpairmentPolicy(const AvailabilityZoneImpairmentPolicy& value) { SetAvailabilityZoneImpairmentPolicy(value); return *this;}
inline AutoScalingGroup& WithAvailabilityZoneImpairmentPolicy(AvailabilityZoneImpairmentPolicy&& value) { SetAvailabilityZoneImpairmentPolicy(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * The capacity reservation specification.
+ */
+ inline const CapacityReservationSpecification& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; }
+ inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; }
+ inline void SetCapacityReservationSpecification(const CapacityReservationSpecification& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; }
+ inline void SetCapacityReservationSpecification(CapacityReservationSpecification&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); }
+ inline AutoScalingGroup& WithCapacityReservationSpecification(const CapacityReservationSpecification& value) { SetCapacityReservationSpecification(value); return *this;}
+ inline AutoScalingGroup& WithCapacityReservationSpecification(CapacityReservationSpecification&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_autoScalingGroupName;
@@ -637,6 +650,9 @@ namespace Model
AvailabilityZoneImpairmentPolicy m_availabilityZoneImpairmentPolicy;
bool m_availabilityZoneImpairmentPolicyHasBeenSet = false;
+
+ CapacityReservationSpecification m_capacityReservationSpecification;
+ bool m_capacityReservationSpecificationHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/BaselinePerformanceFactorsRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/BaselinePerformanceFactorsRequest.h
new file mode 100644
index 00000000000..0c4d68e496a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/BaselinePerformanceFactorsRequest.h
@@ -0,0 +1,69 @@
+/**
+ * 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 Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace AutoScaling
+{
+namespace Model
+{
+
+ /**
+ * The baseline performance to consider, using an instance family as a baseline
+ * reference. The instance family establishes the lowest acceptable level of
+ * performance. Auto Scaling uses this baseline to guide instance type selection,
+ * but there is no guarantee that the selected instance types will always exceed
+ * the baseline for every application.
Currently, this parameter only
+ * supports CPU performance as a baseline performance factor. For example,
+ * specifying c6i
uses the CPU performance of the c6i
+ * family as the baseline reference.
See Also:
AWS
+ * API Reference
+ */
+ class BaselinePerformanceFactorsRequest
+ {
+ public:
+ AWS_AUTOSCALING_API BaselinePerformanceFactorsRequest();
+ AWS_AUTOSCALING_API BaselinePerformanceFactorsRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_AUTOSCALING_API BaselinePerformanceFactorsRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
+
+
+ ///@{
+ /**
+ * The CPU performance to consider, using an instance family as the baseline
+ * reference.
+ */
+ inline const CpuPerformanceFactorRequest& GetCpu() const{ return m_cpu; }
+ inline bool CpuHasBeenSet() const { return m_cpuHasBeenSet; }
+ inline void SetCpu(const CpuPerformanceFactorRequest& value) { m_cpuHasBeenSet = true; m_cpu = value; }
+ inline void SetCpu(CpuPerformanceFactorRequest&& value) { m_cpuHasBeenSet = true; m_cpu = std::move(value); }
+ inline BaselinePerformanceFactorsRequest& WithCpu(const CpuPerformanceFactorRequest& value) { SetCpu(value); return *this;}
+ inline BaselinePerformanceFactorsRequest& WithCpu(CpuPerformanceFactorRequest&& value) { SetCpu(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ CpuPerformanceFactorRequest m_cpu;
+ bool m_cpuHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationPreference.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationPreference.h
new file mode 100644
index 00000000000..097696bfba4
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationPreference.h
@@ -0,0 +1,33 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace AutoScaling
+{
+namespace Model
+{
+ enum class CapacityReservationPreference
+ {
+ NOT_SET,
+ capacity_reservations_only,
+ capacity_reservations_first,
+ none,
+ default_
+ };
+
+namespace CapacityReservationPreferenceMapper
+{
+AWS_AUTOSCALING_API CapacityReservationPreference GetCapacityReservationPreferenceForName(const Aws::String& name);
+
+AWS_AUTOSCALING_API Aws::String GetNameForCapacityReservationPreference(CapacityReservationPreference value);
+} // namespace CapacityReservationPreferenceMapper
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationSpecification.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationSpecification.h
new file mode 100644
index 00000000000..c193116d739
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationSpecification.h
@@ -0,0 +1,92 @@
+/**
+ * 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 Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace AutoScaling
+{
+namespace Model
+{
+
+ /**
+ * Describes the Capacity Reservation preference and targeting options. If you
+ * specify open
or none
for
+ * CapacityReservationPreference
, do not specify a
+ * CapacityReservationTarget
.
See Also:
AWS
+ * API Reference
+ */
+ class CapacityReservationSpecification
+ {
+ public:
+ AWS_AUTOSCALING_API CapacityReservationSpecification();
+ AWS_AUTOSCALING_API CapacityReservationSpecification(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_AUTOSCALING_API CapacityReservationSpecification& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
+
+
+ ///@{
+ /**
+ * The capacity reservation preference. The following options are available:
+ *
-
capacity-reservations-only
- Auto Scaling will
+ * only launch instances into a Capacity Reservation or Capacity Reservation
+ * resource group. If capacity isn't available, instances will fail to launch.
+ * -
capacity-reservations-first
- Auto Scaling will try
+ * to launch instances into a Capacity Reservation or Capacity Reservation resource
+ * group first. If capacity isn't available, instances will run in On-Demand
+ * capacity.
-
none
- Auto Scaling will not launch
+ * instances into a Capacity Reservation. Instances will run in On-Demand capacity.
+ *
-
default
- Auto Scaling uses the Capacity
+ * Reservation preference from your launch template or an open Capacity
+ * Reservation.
+ */
+ inline const CapacityReservationPreference& GetCapacityReservationPreference() const{ return m_capacityReservationPreference; }
+ inline bool CapacityReservationPreferenceHasBeenSet() const { return m_capacityReservationPreferenceHasBeenSet; }
+ inline void SetCapacityReservationPreference(const CapacityReservationPreference& value) { m_capacityReservationPreferenceHasBeenSet = true; m_capacityReservationPreference = value; }
+ inline void SetCapacityReservationPreference(CapacityReservationPreference&& value) { m_capacityReservationPreferenceHasBeenSet = true; m_capacityReservationPreference = std::move(value); }
+ inline CapacityReservationSpecification& WithCapacityReservationPreference(const CapacityReservationPreference& value) { SetCapacityReservationPreference(value); return *this;}
+ inline CapacityReservationSpecification& WithCapacityReservationPreference(CapacityReservationPreference&& value) { SetCapacityReservationPreference(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Describes a target Capacity Reservation or Capacity Reservation resource
+ * group.
+ */
+ inline const CapacityReservationTarget& GetCapacityReservationTarget() const{ return m_capacityReservationTarget; }
+ inline bool CapacityReservationTargetHasBeenSet() const { return m_capacityReservationTargetHasBeenSet; }
+ inline void SetCapacityReservationTarget(const CapacityReservationTarget& value) { m_capacityReservationTargetHasBeenSet = true; m_capacityReservationTarget = value; }
+ inline void SetCapacityReservationTarget(CapacityReservationTarget&& value) { m_capacityReservationTargetHasBeenSet = true; m_capacityReservationTarget = std::move(value); }
+ inline CapacityReservationSpecification& WithCapacityReservationTarget(const CapacityReservationTarget& value) { SetCapacityReservationTarget(value); return *this;}
+ inline CapacityReservationSpecification& WithCapacityReservationTarget(CapacityReservationTarget&& value) { SetCapacityReservationTarget(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ CapacityReservationPreference m_capacityReservationPreference;
+ bool m_capacityReservationPreferenceHasBeenSet = false;
+
+ CapacityReservationTarget m_capacityReservationTarget;
+ bool m_capacityReservationTargetHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationTarget.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationTarget.h
new file mode 100644
index 00000000000..a5402a3fb24
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CapacityReservationTarget.h
@@ -0,0 +1,85 @@
+/**
+ * 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 Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace AutoScaling
+{
+namespace Model
+{
+
+ /**
+ * The target for the Capacity Reservation. Specify Capacity Reservations IDs
+ * or Capacity Reservation resource group ARNs.
See Also:
AWS
+ * API Reference
+ */
+ class CapacityReservationTarget
+ {
+ public:
+ AWS_AUTOSCALING_API CapacityReservationTarget();
+ AWS_AUTOSCALING_API CapacityReservationTarget(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_AUTOSCALING_API CapacityReservationTarget& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
+
+
+ ///@{
+ /**
+ * The Capacity Reservation IDs to launch instances into.
+ */
+ inline const Aws::Vector& GetCapacityReservationIds() const{ return m_capacityReservationIds; }
+ inline bool CapacityReservationIdsHasBeenSet() const { return m_capacityReservationIdsHasBeenSet; }
+ inline void SetCapacityReservationIds(const Aws::Vector& value) { m_capacityReservationIdsHasBeenSet = true; m_capacityReservationIds = value; }
+ inline void SetCapacityReservationIds(Aws::Vector&& value) { m_capacityReservationIdsHasBeenSet = true; m_capacityReservationIds = std::move(value); }
+ inline CapacityReservationTarget& WithCapacityReservationIds(const Aws::Vector& value) { SetCapacityReservationIds(value); return *this;}
+ inline CapacityReservationTarget& WithCapacityReservationIds(Aws::Vector&& value) { SetCapacityReservationIds(std::move(value)); return *this;}
+ inline CapacityReservationTarget& AddCapacityReservationIds(const Aws::String& value) { m_capacityReservationIdsHasBeenSet = true; m_capacityReservationIds.push_back(value); return *this; }
+ inline CapacityReservationTarget& AddCapacityReservationIds(Aws::String&& value) { m_capacityReservationIdsHasBeenSet = true; m_capacityReservationIds.push_back(std::move(value)); return *this; }
+ inline CapacityReservationTarget& AddCapacityReservationIds(const char* value) { m_capacityReservationIdsHasBeenSet = true; m_capacityReservationIds.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The resource group ARNs of the Capacity Reservation to launch instances
+ * into.
+ */
+ inline const Aws::Vector& GetCapacityReservationResourceGroupArns() const{ return m_capacityReservationResourceGroupArns; }
+ inline bool CapacityReservationResourceGroupArnsHasBeenSet() const { return m_capacityReservationResourceGroupArnsHasBeenSet; }
+ inline void SetCapacityReservationResourceGroupArns(const Aws::Vector& value) { m_capacityReservationResourceGroupArnsHasBeenSet = true; m_capacityReservationResourceGroupArns = value; }
+ inline void SetCapacityReservationResourceGroupArns(Aws::Vector&& value) { m_capacityReservationResourceGroupArnsHasBeenSet = true; m_capacityReservationResourceGroupArns = std::move(value); }
+ inline CapacityReservationTarget& WithCapacityReservationResourceGroupArns(const Aws::Vector& value) { SetCapacityReservationResourceGroupArns(value); return *this;}
+ inline CapacityReservationTarget& WithCapacityReservationResourceGroupArns(Aws::Vector&& value) { SetCapacityReservationResourceGroupArns(std::move(value)); return *this;}
+ inline CapacityReservationTarget& AddCapacityReservationResourceGroupArns(const Aws::String& value) { m_capacityReservationResourceGroupArnsHasBeenSet = true; m_capacityReservationResourceGroupArns.push_back(value); return *this; }
+ inline CapacityReservationTarget& AddCapacityReservationResourceGroupArns(Aws::String&& value) { m_capacityReservationResourceGroupArnsHasBeenSet = true; m_capacityReservationResourceGroupArns.push_back(std::move(value)); return *this; }
+ inline CapacityReservationTarget& AddCapacityReservationResourceGroupArns(const char* value) { m_capacityReservationResourceGroupArnsHasBeenSet = true; m_capacityReservationResourceGroupArns.push_back(value); return *this; }
+ ///@}
+ private:
+
+ Aws::Vector m_capacityReservationIds;
+ bool m_capacityReservationIdsHasBeenSet = false;
+
+ Aws::Vector m_capacityReservationResourceGroupArns;
+ bool m_capacityReservationResourceGroupArnsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CpuPerformanceFactorRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CpuPerformanceFactorRequest.h
new file mode 100644
index 00000000000..e7396eac9cf
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CpuPerformanceFactorRequest.h
@@ -0,0 +1,69 @@
+/**
+ * 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 Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace AutoScaling
+{
+namespace Model
+{
+
+ /**
+ * The CPU performance to consider, using an instance family as the baseline
+ * reference.
See Also:
AWS
+ * API Reference
+ */
+ class CpuPerformanceFactorRequest
+ {
+ public:
+ AWS_AUTOSCALING_API CpuPerformanceFactorRequest();
+ AWS_AUTOSCALING_API CpuPerformanceFactorRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_AUTOSCALING_API CpuPerformanceFactorRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
+
+
+ ///@{
+ /**
+ * Specify an instance family to use as the baseline reference for CPU
+ * performance. All instance types that match your specified attributes will be
+ * compared against the CPU performance of the referenced instance family,
+ * regardless of CPU manufacturer or architecture differences.
+ * Currently only one instance family can be specified in the list.
+ */
+ inline const Aws::Vector& GetReferences() const{ return m_references; }
+ inline bool ReferencesHasBeenSet() const { return m_referencesHasBeenSet; }
+ inline void SetReferences(const Aws::Vector& value) { m_referencesHasBeenSet = true; m_references = value; }
+ inline void SetReferences(Aws::Vector&& value) { m_referencesHasBeenSet = true; m_references = std::move(value); }
+ inline CpuPerformanceFactorRequest& WithReferences(const Aws::Vector& value) { SetReferences(value); return *this;}
+ inline CpuPerformanceFactorRequest& WithReferences(Aws::Vector&& value) { SetReferences(std::move(value)); return *this;}
+ inline CpuPerformanceFactorRequest& AddReferences(const PerformanceFactorReferenceRequest& value) { m_referencesHasBeenSet = true; m_references.push_back(value); return *this; }
+ inline CpuPerformanceFactorRequest& AddReferences(PerformanceFactorReferenceRequest&& value) { m_referencesHasBeenSet = true; m_references.push_back(std::move(value)); return *this; }
+ ///@}
+ private:
+
+ Aws::Vector m_references;
+ bool m_referencesHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h
index 9eaa9fefbcc..34b8686296f 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h
@@ -13,6 +13,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -586,6 +587,18 @@ namespace Model
inline void SetSkipZonalShiftValidation(bool value) { m_skipZonalShiftValidationHasBeenSet = true; m_skipZonalShiftValidation = value; }
inline CreateAutoScalingGroupRequest& WithSkipZonalShiftValidation(bool value) { SetSkipZonalShiftValidation(value); return *this;}
///@}
+
+ ///@{
+ /**
+ * The capacity reservation specification for the Auto Scaling group.
+ */
+ inline const CapacityReservationSpecification& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; }
+ inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; }
+ inline void SetCapacityReservationSpecification(const CapacityReservationSpecification& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; }
+ inline void SetCapacityReservationSpecification(CapacityReservationSpecification&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); }
+ inline CreateAutoScalingGroupRequest& WithCapacityReservationSpecification(const CapacityReservationSpecification& value) { SetCapacityReservationSpecification(value); return *this;}
+ inline CreateAutoScalingGroupRequest& WithCapacityReservationSpecification(CapacityReservationSpecification&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_autoScalingGroupName;
@@ -680,6 +693,9 @@ namespace Model
bool m_skipZonalShiftValidation;
bool m_skipZonalShiftValidationHasBeenSet = false;
+
+ CapacityReservationSpecification m_capacityReservationSpecification;
+ bool m_capacityReservationSpecificationHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h
index 5b746d898e6..a85e8c04dfc 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h
@@ -19,6 +19,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -518,6 +519,18 @@ namespace Model
inline InstanceRequirements& AddAllowedInstanceTypes(Aws::String&& value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(std::move(value)); return *this; }
inline InstanceRequirements& AddAllowedInstanceTypes(const char* value) { m_allowedInstanceTypesHasBeenSet = true; m_allowedInstanceTypes.push_back(value); return *this; }
///@}
+
+ ///@{
+ /**
+ * The baseline performance factors for the instance requirements.
+ */
+ inline const BaselinePerformanceFactorsRequest& GetBaselinePerformanceFactors() const{ return m_baselinePerformanceFactors; }
+ inline bool BaselinePerformanceFactorsHasBeenSet() const { return m_baselinePerformanceFactorsHasBeenSet; }
+ inline void SetBaselinePerformanceFactors(const BaselinePerformanceFactorsRequest& value) { m_baselinePerformanceFactorsHasBeenSet = true; m_baselinePerformanceFactors = value; }
+ inline void SetBaselinePerformanceFactors(BaselinePerformanceFactorsRequest&& value) { m_baselinePerformanceFactorsHasBeenSet = true; m_baselinePerformanceFactors = std::move(value); }
+ inline InstanceRequirements& WithBaselinePerformanceFactors(const BaselinePerformanceFactorsRequest& value) { SetBaselinePerformanceFactors(value); return *this;}
+ inline InstanceRequirements& WithBaselinePerformanceFactors(BaselinePerformanceFactorsRequest&& value) { SetBaselinePerformanceFactors(std::move(value)); return *this;}
+ ///@}
private:
VCpuCountRequest m_vCpuCount;
@@ -591,6 +604,9 @@ namespace Model
Aws::Vector m_allowedInstanceTypes;
bool m_allowedInstanceTypesHasBeenSet = false;
+
+ BaselinePerformanceFactorsRequest m_baselinePerformanceFactors;
+ bool m_baselinePerformanceFactorsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PerformanceFactorReferenceRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PerformanceFactorReferenceRequest.h
new file mode 100644
index 00000000000..c30fefe19a7
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PerformanceFactorReferenceRequest.h
@@ -0,0 +1,86 @@
+/**
+ * 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 Xml
+{
+ class XmlNode;
+} // namespace Xml
+} // namespace Utils
+namespace AutoScaling
+{
+namespace Model
+{
+
+ /**
+ * Specify an instance family to use as the baseline reference for CPU
+ * performance. All instance types that All instance types that match your
+ * specified attributes will be compared against the CPU performance of the
+ * referenced instance family, regardless of CPU manufacturer or architecture
+ * differences.
Currently only one instance family can be specified
+ * in the list.
See Also:
AWS
+ * API Reference
+ */
+ class PerformanceFactorReferenceRequest
+ {
+ public:
+ AWS_AUTOSCALING_API PerformanceFactorReferenceRequest();
+ AWS_AUTOSCALING_API PerformanceFactorReferenceRequest(const Aws::Utils::Xml::XmlNode& xmlNode);
+ AWS_AUTOSCALING_API PerformanceFactorReferenceRequest& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
+
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
+ AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
+
+
+ ///@{
+ /**
+ * The instance family to use as a baseline reference.
Make sure
+ * that you specify the correct value for the instance family. The instance family
+ * is everything before the period (.) in the instance type name. For example, in
+ * the instance c6i.large
, the instance family is c6i
,
+ * not c6
. For more information, see Amazon
+ * EC2 instance type naming conventions in Amazon EC2 Instance
+ * Types.
The following instance types are not supported
+ * for performance protection.
If you performance protection by specifying
+ * a supported instance family, the returned instance types will exclude the
+ * preceding unsupported instance families.
If you specify an unsupported
+ * instance family as a value for baseline performance, the API returns an empty
+ * response.
+ */
+ inline const Aws::String& GetInstanceFamily() const{ return m_instanceFamily; }
+ inline bool InstanceFamilyHasBeenSet() const { return m_instanceFamilyHasBeenSet; }
+ inline void SetInstanceFamily(const Aws::String& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = value; }
+ inline void SetInstanceFamily(Aws::String&& value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily = std::move(value); }
+ inline void SetInstanceFamily(const char* value) { m_instanceFamilyHasBeenSet = true; m_instanceFamily.assign(value); }
+ inline PerformanceFactorReferenceRequest& WithInstanceFamily(const Aws::String& value) { SetInstanceFamily(value); return *this;}
+ inline PerformanceFactorReferenceRequest& WithInstanceFamily(Aws::String&& value) { SetInstanceFamily(std::move(value)); return *this;}
+ inline PerformanceFactorReferenceRequest& WithInstanceFamily(const char* value) { SetInstanceFamily(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_instanceFamily;
+ bool m_instanceFamilyHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h
index 1573474e998..86781168c89 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h
+++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h
@@ -13,6 +13,7 @@
#include
#include
#include
+#include
#include
namespace Aws
@@ -445,6 +446,18 @@ namespace Model
inline void SetSkipZonalShiftValidation(bool value) { m_skipZonalShiftValidationHasBeenSet = true; m_skipZonalShiftValidation = value; }
inline UpdateAutoScalingGroupRequest& WithSkipZonalShiftValidation(bool value) { SetSkipZonalShiftValidation(value); return *this;}
///@}
+
+ ///@{
+ /**
+ * The capacity reservation specification for the Auto Scaling group.
+ */
+ inline const CapacityReservationSpecification& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; }
+ inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; }
+ inline void SetCapacityReservationSpecification(const CapacityReservationSpecification& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; }
+ inline void SetCapacityReservationSpecification(CapacityReservationSpecification&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); }
+ inline UpdateAutoScalingGroupRequest& WithCapacityReservationSpecification(const CapacityReservationSpecification& value) { SetCapacityReservationSpecification(value); return *this;}
+ inline UpdateAutoScalingGroupRequest& WithCapacityReservationSpecification(CapacityReservationSpecification&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_autoScalingGroupName;
@@ -521,6 +534,9 @@ namespace Model
bool m_skipZonalShiftValidation;
bool m_skipZonalShiftValidationHasBeenSet = false;
+
+ CapacityReservationSpecification m_capacityReservationSpecification;
+ bool m_capacityReservationSpecificationHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/AutoScalingGroup.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/AutoScalingGroup.cpp
index 93599496cd7..fadde1b9a1f 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/source/model/AutoScalingGroup.cpp
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/AutoScalingGroup.cpp
@@ -68,7 +68,8 @@ AutoScalingGroup::AutoScalingGroup() :
m_trafficSourcesHasBeenSet(false),
m_instanceMaintenancePolicyHasBeenSet(false),
m_availabilityZoneDistributionHasBeenSet(false),
- m_availabilityZoneImpairmentPolicyHasBeenSet(false)
+ m_availabilityZoneImpairmentPolicyHasBeenSet(false),
+ m_capacityReservationSpecificationHasBeenSet(false)
{
}
@@ -360,6 +361,12 @@ AutoScalingGroup& AutoScalingGroup::operator =(const XmlNode& xmlNode)
m_availabilityZoneImpairmentPolicy = availabilityZoneImpairmentPolicyNode;
m_availabilityZoneImpairmentPolicyHasBeenSet = true;
}
+ XmlNode capacityReservationSpecificationNode = resultNode.FirstChild("CapacityReservationSpecification");
+ if(!capacityReservationSpecificationNode.IsNull())
+ {
+ m_capacityReservationSpecification = capacityReservationSpecificationNode;
+ m_capacityReservationSpecificationHasBeenSet = true;
+ }
}
return *this;
@@ -610,6 +617,13 @@ void AutoScalingGroup::OutputToStream(Aws::OStream& oStream, const char* locatio
m_availabilityZoneImpairmentPolicy.OutputToStream(oStream, availabilityZoneImpairmentPolicyLocationAndMemberSs.str().c_str());
}
+ if(m_capacityReservationSpecificationHasBeenSet)
+ {
+ Aws::StringStream capacityReservationSpecificationLocationAndMemberSs;
+ capacityReservationSpecificationLocationAndMemberSs << location << index << locationValue << ".CapacityReservationSpecification";
+ m_capacityReservationSpecification.OutputToStream(oStream, capacityReservationSpecificationLocationAndMemberSs.str().c_str());
+ }
+
}
void AutoScalingGroup::OutputToStream(Aws::OStream& oStream, const char* location) const
@@ -820,6 +834,12 @@ void AutoScalingGroup::OutputToStream(Aws::OStream& oStream, const char* locatio
availabilityZoneImpairmentPolicyLocationAndMember += ".AvailabilityZoneImpairmentPolicy";
m_availabilityZoneImpairmentPolicy.OutputToStream(oStream, availabilityZoneImpairmentPolicyLocationAndMember.c_str());
}
+ if(m_capacityReservationSpecificationHasBeenSet)
+ {
+ Aws::String capacityReservationSpecificationLocationAndMember(location);
+ capacityReservationSpecificationLocationAndMember += ".CapacityReservationSpecification";
+ m_capacityReservationSpecification.OutputToStream(oStream, capacityReservationSpecificationLocationAndMember.c_str());
+ }
}
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/BaselinePerformanceFactorsRequest.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/BaselinePerformanceFactorsRequest.cpp
new file mode 100644
index 00000000000..8a049e4442a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/BaselinePerformanceFactorsRequest.cpp
@@ -0,0 +1,74 @@
+/**
+ * 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 AutoScaling
+{
+namespace Model
+{
+
+BaselinePerformanceFactorsRequest::BaselinePerformanceFactorsRequest() :
+ m_cpuHasBeenSet(false)
+{
+}
+
+BaselinePerformanceFactorsRequest::BaselinePerformanceFactorsRequest(const XmlNode& xmlNode)
+ : BaselinePerformanceFactorsRequest()
+{
+ *this = xmlNode;
+}
+
+BaselinePerformanceFactorsRequest& BaselinePerformanceFactorsRequest::operator =(const XmlNode& xmlNode)
+{
+ XmlNode resultNode = xmlNode;
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode cpuNode = resultNode.FirstChild("Cpu");
+ if(!cpuNode.IsNull())
+ {
+ m_cpu = cpuNode;
+ m_cpuHasBeenSet = true;
+ }
+ }
+
+ return *this;
+}
+
+void BaselinePerformanceFactorsRequest::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const
+{
+ if(m_cpuHasBeenSet)
+ {
+ Aws::StringStream cpuLocationAndMemberSs;
+ cpuLocationAndMemberSs << location << index << locationValue << ".Cpu";
+ m_cpu.OutputToStream(oStream, cpuLocationAndMemberSs.str().c_str());
+ }
+
+}
+
+void BaselinePerformanceFactorsRequest::OutputToStream(Aws::OStream& oStream, const char* location) const
+{
+ if(m_cpuHasBeenSet)
+ {
+ Aws::String cpuLocationAndMember(location);
+ cpuLocationAndMember += ".Cpu";
+ m_cpu.OutputToStream(oStream, cpuLocationAndMember.c_str());
+ }
+}
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationPreference.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationPreference.cpp
new file mode 100644
index 00000000000..c9b803e2243
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationPreference.cpp
@@ -0,0 +1,86 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace AutoScaling
+ {
+ namespace Model
+ {
+ namespace CapacityReservationPreferenceMapper
+ {
+
+ static const int capacity_reservations_only_HASH = HashingUtils::HashString("capacity-reservations-only");
+ static const int capacity_reservations_first_HASH = HashingUtils::HashString("capacity-reservations-first");
+ static const int none_HASH = HashingUtils::HashString("none");
+ static const int default__HASH = HashingUtils::HashString("default");
+
+
+ CapacityReservationPreference GetCapacityReservationPreferenceForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == capacity_reservations_only_HASH)
+ {
+ return CapacityReservationPreference::capacity_reservations_only;
+ }
+ else if (hashCode == capacity_reservations_first_HASH)
+ {
+ return CapacityReservationPreference::capacity_reservations_first;
+ }
+ else if (hashCode == none_HASH)
+ {
+ return CapacityReservationPreference::none;
+ }
+ else if (hashCode == default__HASH)
+ {
+ return CapacityReservationPreference::default_;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return CapacityReservationPreference::NOT_SET;
+ }
+
+ Aws::String GetNameForCapacityReservationPreference(CapacityReservationPreference enumValue)
+ {
+ switch(enumValue)
+ {
+ case CapacityReservationPreference::NOT_SET:
+ return {};
+ case CapacityReservationPreference::capacity_reservations_only:
+ return "capacity-reservations-only";
+ case CapacityReservationPreference::capacity_reservations_first:
+ return "capacity-reservations-first";
+ case CapacityReservationPreference::none:
+ return "none";
+ case CapacityReservationPreference::default_:
+ return "default";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace CapacityReservationPreferenceMapper
+ } // namespace Model
+ } // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationSpecification.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationSpecification.cpp
new file mode 100644
index 00000000000..12a01c72873
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationSpecification.cpp
@@ -0,0 +1,91 @@
+/**
+ * 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 AutoScaling
+{
+namespace Model
+{
+
+CapacityReservationSpecification::CapacityReservationSpecification() :
+ m_capacityReservationPreference(CapacityReservationPreference::NOT_SET),
+ m_capacityReservationPreferenceHasBeenSet(false),
+ m_capacityReservationTargetHasBeenSet(false)
+{
+}
+
+CapacityReservationSpecification::CapacityReservationSpecification(const XmlNode& xmlNode)
+ : CapacityReservationSpecification()
+{
+ *this = xmlNode;
+}
+
+CapacityReservationSpecification& CapacityReservationSpecification::operator =(const XmlNode& xmlNode)
+{
+ XmlNode resultNode = xmlNode;
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode capacityReservationPreferenceNode = resultNode.FirstChild("CapacityReservationPreference");
+ if(!capacityReservationPreferenceNode.IsNull())
+ {
+ m_capacityReservationPreference = CapacityReservationPreferenceMapper::GetCapacityReservationPreferenceForName(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(capacityReservationPreferenceNode.GetText()).c_str()).c_str());
+ m_capacityReservationPreferenceHasBeenSet = true;
+ }
+ XmlNode capacityReservationTargetNode = resultNode.FirstChild("CapacityReservationTarget");
+ if(!capacityReservationTargetNode.IsNull())
+ {
+ m_capacityReservationTarget = capacityReservationTargetNode;
+ m_capacityReservationTargetHasBeenSet = true;
+ }
+ }
+
+ return *this;
+}
+
+void CapacityReservationSpecification::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const
+{
+ if(m_capacityReservationPreferenceHasBeenSet)
+ {
+ oStream << location << index << locationValue << ".CapacityReservationPreference=" << CapacityReservationPreferenceMapper::GetNameForCapacityReservationPreference(m_capacityReservationPreference) << "&";
+ }
+
+ if(m_capacityReservationTargetHasBeenSet)
+ {
+ Aws::StringStream capacityReservationTargetLocationAndMemberSs;
+ capacityReservationTargetLocationAndMemberSs << location << index << locationValue << ".CapacityReservationTarget";
+ m_capacityReservationTarget.OutputToStream(oStream, capacityReservationTargetLocationAndMemberSs.str().c_str());
+ }
+
+}
+
+void CapacityReservationSpecification::OutputToStream(Aws::OStream& oStream, const char* location) const
+{
+ if(m_capacityReservationPreferenceHasBeenSet)
+ {
+ oStream << location << ".CapacityReservationPreference=" << CapacityReservationPreferenceMapper::GetNameForCapacityReservationPreference(m_capacityReservationPreference) << "&";
+ }
+ if(m_capacityReservationTargetHasBeenSet)
+ {
+ Aws::String capacityReservationTargetLocationAndMember(location);
+ capacityReservationTargetLocationAndMember += ".CapacityReservationTarget";
+ m_capacityReservationTarget.OutputToStream(oStream, capacityReservationTargetLocationAndMember.c_str());
+ }
+}
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationTarget.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationTarget.cpp
new file mode 100644
index 00000000000..29efac2961c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/CapacityReservationTarget.cpp
@@ -0,0 +1,114 @@
+/**
+ * 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 AutoScaling
+{
+namespace Model
+{
+
+CapacityReservationTarget::CapacityReservationTarget() :
+ m_capacityReservationIdsHasBeenSet(false),
+ m_capacityReservationResourceGroupArnsHasBeenSet(false)
+{
+}
+
+CapacityReservationTarget::CapacityReservationTarget(const XmlNode& xmlNode)
+ : CapacityReservationTarget()
+{
+ *this = xmlNode;
+}
+
+CapacityReservationTarget& CapacityReservationTarget::operator =(const XmlNode& xmlNode)
+{
+ XmlNode resultNode = xmlNode;
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode capacityReservationIdsNode = resultNode.FirstChild("CapacityReservationIds");
+ if(!capacityReservationIdsNode.IsNull())
+ {
+ XmlNode capacityReservationIdsMember = capacityReservationIdsNode.FirstChild("member");
+ while(!capacityReservationIdsMember.IsNull())
+ {
+ m_capacityReservationIds.push_back(capacityReservationIdsMember.GetText());
+ capacityReservationIdsMember = capacityReservationIdsMember.NextNode("member");
+ }
+
+ m_capacityReservationIdsHasBeenSet = true;
+ }
+ XmlNode capacityReservationResourceGroupArnsNode = resultNode.FirstChild("CapacityReservationResourceGroupArns");
+ if(!capacityReservationResourceGroupArnsNode.IsNull())
+ {
+ XmlNode capacityReservationResourceGroupArnsMember = capacityReservationResourceGroupArnsNode.FirstChild("member");
+ while(!capacityReservationResourceGroupArnsMember.IsNull())
+ {
+ m_capacityReservationResourceGroupArns.push_back(capacityReservationResourceGroupArnsMember.GetText());
+ capacityReservationResourceGroupArnsMember = capacityReservationResourceGroupArnsMember.NextNode("member");
+ }
+
+ m_capacityReservationResourceGroupArnsHasBeenSet = true;
+ }
+ }
+
+ return *this;
+}
+
+void CapacityReservationTarget::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const
+{
+ if(m_capacityReservationIdsHasBeenSet)
+ {
+ unsigned capacityReservationIdsIdx = 1;
+ for(auto& item : m_capacityReservationIds)
+ {
+ oStream << location << index << locationValue << ".CapacityReservationIds.member." << capacityReservationIdsIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";
+ }
+ }
+
+ if(m_capacityReservationResourceGroupArnsHasBeenSet)
+ {
+ unsigned capacityReservationResourceGroupArnsIdx = 1;
+ for(auto& item : m_capacityReservationResourceGroupArns)
+ {
+ oStream << location << index << locationValue << ".CapacityReservationResourceGroupArns.member." << capacityReservationResourceGroupArnsIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";
+ }
+ }
+
+}
+
+void CapacityReservationTarget::OutputToStream(Aws::OStream& oStream, const char* location) const
+{
+ if(m_capacityReservationIdsHasBeenSet)
+ {
+ unsigned capacityReservationIdsIdx = 1;
+ for(auto& item : m_capacityReservationIds)
+ {
+ oStream << location << ".CapacityReservationIds.member." << capacityReservationIdsIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";
+ }
+ }
+ if(m_capacityReservationResourceGroupArnsHasBeenSet)
+ {
+ unsigned capacityReservationResourceGroupArnsIdx = 1;
+ for(auto& item : m_capacityReservationResourceGroupArns)
+ {
+ oStream << location << ".CapacityReservationResourceGroupArns.member." << capacityReservationResourceGroupArnsIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";
+ }
+ }
+}
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/CpuPerformanceFactorRequest.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/CpuPerformanceFactorRequest.cpp
new file mode 100644
index 00000000000..51df8108ecc
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/CpuPerformanceFactorRequest.cpp
@@ -0,0 +1,88 @@
+/**
+ * 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 AutoScaling
+{
+namespace Model
+{
+
+CpuPerformanceFactorRequest::CpuPerformanceFactorRequest() :
+ m_referencesHasBeenSet(false)
+{
+}
+
+CpuPerformanceFactorRequest::CpuPerformanceFactorRequest(const XmlNode& xmlNode)
+ : CpuPerformanceFactorRequest()
+{
+ *this = xmlNode;
+}
+
+CpuPerformanceFactorRequest& CpuPerformanceFactorRequest::operator =(const XmlNode& xmlNode)
+{
+ XmlNode resultNode = xmlNode;
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode referencesNode = resultNode.FirstChild("Reference");
+ if(!referencesNode.IsNull())
+ {
+ XmlNode referencesMember = referencesNode.FirstChild("item");
+ while(!referencesMember.IsNull())
+ {
+ m_references.push_back(referencesMember);
+ referencesMember = referencesMember.NextNode("item");
+ }
+
+ m_referencesHasBeenSet = true;
+ }
+ }
+
+ return *this;
+}
+
+void CpuPerformanceFactorRequest::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const
+{
+ if(m_referencesHasBeenSet)
+ {
+ unsigned referencesIdx = 1;
+ for(auto& item : m_references)
+ {
+ Aws::StringStream referencesSs;
+ referencesSs << location << index << locationValue << ".item." << referencesIdx++;
+ item.OutputToStream(oStream, referencesSs.str().c_str());
+ }
+ }
+
+}
+
+void CpuPerformanceFactorRequest::OutputToStream(Aws::OStream& oStream, const char* location) const
+{
+ if(m_referencesHasBeenSet)
+ {
+ unsigned referencesIdx = 1;
+ for(auto& item : m_references)
+ {
+ Aws::StringStream referencesSs;
+ referencesSs << location << ".Reference." << referencesIdx++;
+ item.OutputToStream(oStream, referencesSs.str().c_str());
+ }
+ }
+}
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/CreateAutoScalingGroupRequest.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/CreateAutoScalingGroupRequest.cpp
index 7e0bbd74ead..cb04dcd298f 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/source/model/CreateAutoScalingGroupRequest.cpp
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/CreateAutoScalingGroupRequest.cpp
@@ -51,7 +51,8 @@ CreateAutoScalingGroupRequest::CreateAutoScalingGroupRequest() :
m_availabilityZoneDistributionHasBeenSet(false),
m_availabilityZoneImpairmentPolicyHasBeenSet(false),
m_skipZonalShiftValidation(false),
- m_skipZonalShiftValidationHasBeenSet(false)
+ m_skipZonalShiftValidationHasBeenSet(false),
+ m_capacityReservationSpecificationHasBeenSet(false)
{
}
@@ -302,6 +303,11 @@ Aws::String CreateAutoScalingGroupRequest::SerializePayload() const
ss << "SkipZonalShiftValidation=" << std::boolalpha << m_skipZonalShiftValidation << "&";
}
+ if(m_capacityReservationSpecificationHasBeenSet)
+ {
+ m_capacityReservationSpecification.OutputToStream(ss, "CapacityReservationSpecification");
+ }
+
ss << "Version=2011-01-01";
return ss.str();
}
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/InstanceRequirements.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/InstanceRequirements.cpp
index c2c396c9b04..93b8585ce98 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/source/model/InstanceRequirements.cpp
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/InstanceRequirements.cpp
@@ -51,7 +51,8 @@ InstanceRequirements::InstanceRequirements() :
m_acceleratorNamesHasBeenSet(false),
m_acceleratorTotalMemoryMiBHasBeenSet(false),
m_networkBandwidthGbpsHasBeenSet(false),
- m_allowedInstanceTypesHasBeenSet(false)
+ m_allowedInstanceTypesHasBeenSet(false),
+ m_baselinePerformanceFactorsHasBeenSet(false)
{
}
@@ -259,6 +260,12 @@ InstanceRequirements& InstanceRequirements::operator =(const XmlNode& xmlNode)
m_allowedInstanceTypesHasBeenSet = true;
}
+ XmlNode baselinePerformanceFactorsNode = resultNode.FirstChild("BaselinePerformanceFactors");
+ if(!baselinePerformanceFactorsNode.IsNull())
+ {
+ m_baselinePerformanceFactors = baselinePerformanceFactorsNode;
+ m_baselinePerformanceFactorsHasBeenSet = true;
+ }
}
return *this;
@@ -436,6 +443,13 @@ void InstanceRequirements::OutputToStream(Aws::OStream& oStream, const char* loc
}
}
+ if(m_baselinePerformanceFactorsHasBeenSet)
+ {
+ Aws::StringStream baselinePerformanceFactorsLocationAndMemberSs;
+ baselinePerformanceFactorsLocationAndMemberSs << location << index << locationValue << ".BaselinePerformanceFactors";
+ m_baselinePerformanceFactors.OutputToStream(oStream, baselinePerformanceFactorsLocationAndMemberSs.str().c_str());
+ }
+
}
void InstanceRequirements::OutputToStream(Aws::OStream& oStream, const char* location) const
@@ -586,6 +600,12 @@ void InstanceRequirements::OutputToStream(Aws::OStream& oStream, const char* loc
oStream << location << ".AllowedInstanceTypes.member." << allowedInstanceTypesIdx++ << "=" << StringUtils::URLEncode(item.c_str()) << "&";
}
}
+ if(m_baselinePerformanceFactorsHasBeenSet)
+ {
+ Aws::String baselinePerformanceFactorsLocationAndMember(location);
+ baselinePerformanceFactorsLocationAndMember += ".BaselinePerformanceFactors";
+ m_baselinePerformanceFactors.OutputToStream(oStream, baselinePerformanceFactorsLocationAndMember.c_str());
+ }
}
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/PerformanceFactorReferenceRequest.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/PerformanceFactorReferenceRequest.cpp
new file mode 100644
index 00000000000..29439ecd8ba
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/PerformanceFactorReferenceRequest.cpp
@@ -0,0 +1,70 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Xml;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace AutoScaling
+{
+namespace Model
+{
+
+PerformanceFactorReferenceRequest::PerformanceFactorReferenceRequest() :
+ m_instanceFamilyHasBeenSet(false)
+{
+}
+
+PerformanceFactorReferenceRequest::PerformanceFactorReferenceRequest(const XmlNode& xmlNode)
+ : PerformanceFactorReferenceRequest()
+{
+ *this = xmlNode;
+}
+
+PerformanceFactorReferenceRequest& PerformanceFactorReferenceRequest::operator =(const XmlNode& xmlNode)
+{
+ XmlNode resultNode = xmlNode;
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode instanceFamilyNode = resultNode.FirstChild("InstanceFamily");
+ if(!instanceFamilyNode.IsNull())
+ {
+ m_instanceFamily = Aws::Utils::Xml::DecodeEscapedXmlText(instanceFamilyNode.GetText());
+ m_instanceFamilyHasBeenSet = true;
+ }
+ }
+
+ return *this;
+}
+
+void PerformanceFactorReferenceRequest::OutputToStream(Aws::OStream& oStream, const char* location, unsigned index, const char* locationValue) const
+{
+ if(m_instanceFamilyHasBeenSet)
+ {
+ oStream << location << index << locationValue << ".InstanceFamily=" << StringUtils::URLEncode(m_instanceFamily.c_str()) << "&";
+ }
+
+}
+
+void PerformanceFactorReferenceRequest::OutputToStream(Aws::OStream& oStream, const char* location) const
+{
+ if(m_instanceFamilyHasBeenSet)
+ {
+ oStream << location << ".InstanceFamily=" << StringUtils::URLEncode(m_instanceFamily.c_str()) << "&";
+ }
+}
+
+} // namespace Model
+} // namespace AutoScaling
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-autoscaling/source/model/UpdateAutoScalingGroupRequest.cpp b/generated/src/aws-cpp-sdk-autoscaling/source/model/UpdateAutoScalingGroupRequest.cpp
index 40d901f2f98..2ceb25eb3b7 100644
--- a/generated/src/aws-cpp-sdk-autoscaling/source/model/UpdateAutoScalingGroupRequest.cpp
+++ b/generated/src/aws-cpp-sdk-autoscaling/source/model/UpdateAutoScalingGroupRequest.cpp
@@ -45,7 +45,8 @@ UpdateAutoScalingGroupRequest::UpdateAutoScalingGroupRequest() :
m_availabilityZoneDistributionHasBeenSet(false),
m_availabilityZoneImpairmentPolicyHasBeenSet(false),
m_skipZonalShiftValidation(false),
- m_skipZonalShiftValidationHasBeenSet(false)
+ m_skipZonalShiftValidationHasBeenSet(false),
+ m_capacityReservationSpecificationHasBeenSet(false)
{
}
@@ -204,6 +205,11 @@ Aws::String UpdateAutoScalingGroupRequest::SerializePayload() const
ss << "SkipZonalShiftValidation=" << std::boolalpha << m_skipZonalShiftValidation << "&";
}
+ if(m_capacityReservationSpecificationHasBeenSet)
+ {
+ m_capacityReservationSpecification.OutputToStream(ss, "CapacityReservationSpecification");
+ }
+
ss << "Version=2011-01-01";
return ss.str();
}
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h
index 8e7e0babbca..0c8c850ba5a 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/BedrockAgentRuntimeClient.h
@@ -182,9 +182,11 @@ namespace BedrockAgentRuntime
* output of each node as a stream. If there's an error, the error is returned. For
* more information, see Test
- * a flow in Amazon Bedrock in the Amazon Bedrock User Guide. The
- * CLI doesn't support streaming operations in Amazon Bedrock, including
- * InvokeFlow
.
See Also:
in the Amazon
+ * Bedrock User Guide. The CLI doesn't support streaming
+ * operations in Amazon Bedrock, including InvokeFlow
.
+ * See Also:
AWS
* API Reference
*/
@@ -208,6 +210,36 @@ namespace BedrockAgentRuntime
return SubmitAsync(&BedrockAgentRuntimeClient::InvokeFlow, request, handler, context);
}
+ /**
+ * Optimizes a prompt for the task that you specify. For more information, see
+ * Optimize
+ * a prompt in the Amazon
+ * Bedrock User Guide.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::OptimizePromptOutcome OptimizePrompt(Model::OptimizePromptRequest& request) const;
+
+ /**
+ * A Callable wrapper for OptimizePrompt that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::OptimizePromptOutcomeCallable OptimizePromptCallable(OptimizePromptRequestT& request) const
+ {
+ return SubmitCallable(&BedrockAgentRuntimeClient::OptimizePrompt, request);
+ }
+
+ /**
+ * An Async wrapper for OptimizePrompt that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void OptimizePromptAsync(OptimizePromptRequestT& request, const OptimizePromptResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&BedrockAgentRuntimeClient::OptimizePrompt, request, handler, context);
+ }
+
/**
* Queries a knowledge base and retrieves information from it.
See
* Also:
GetAgentMemoryOutcome;
typedef Aws::Utils::Outcome InvokeAgentOutcome;
typedef Aws::Utils::Outcome InvokeFlowOutcome;
+ typedef Aws::Utils::Outcome OptimizePromptOutcome;
typedef Aws::Utils::Outcome RetrieveOutcome;
typedef Aws::Utils::Outcome RetrieveAndGenerateOutcome;
/* End of service model Outcome class definitions */
@@ -85,6 +87,7 @@ namespace Aws
typedef std::future GetAgentMemoryOutcomeCallable;
typedef std::future InvokeAgentOutcomeCallable;
typedef std::future InvokeFlowOutcomeCallable;
+ typedef std::future OptimizePromptOutcomeCallable;
typedef std::future RetrieveOutcomeCallable;
typedef std::future RetrieveAndGenerateOutcomeCallable;
/* End of service model Outcome callable definitions */
@@ -97,6 +100,7 @@ namespace Aws
typedef std::function&) > GetAgentMemoryResponseReceivedHandler;
typedef std::function&) > InvokeAgentResponseReceivedHandler;
typedef std::function&) > InvokeFlowResponseReceivedHandler;
+ typedef std::function&) > OptimizePromptResponseReceivedHandler;
typedef std::function&) > RetrieveResponseReceivedHandler;
typedef std::function&) > RetrieveAndGenerateResponseReceivedHandler;
/* End of service model async handlers definitions */
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ActionGroupInvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ActionGroupInvocationInput.h
index 4b08e32035d..d39574082ad 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ActionGroupInvocationInput.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ActionGroupInvocationInput.h
@@ -31,7 +31,9 @@ namespace Model
* Contains information about the action group being invoked. For more
* information about the possible structures, see the InvocationInput tab in OrchestrationTrace
- * in the Amazon Bedrock User Guide.
See Also:
Amazon
+ * Bedrock User Guide.See Also:
AWS
* API Reference
*/
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AnalyzePromptEvent.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AnalyzePromptEvent.h
new file mode 100644
index 00000000000..2fd25edbec6
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/AnalyzePromptEvent.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
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * An event in which the prompt was analyzed in preparation for
+ * optimization.
See Also:
AWS
+ * API Reference
+ */
+ class AnalyzePromptEvent
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API AnalyzePromptEvent();
+ AWS_BEDROCKAGENTRUNTIME_API AnalyzePromptEvent(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API AnalyzePromptEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * A message describing the analysis of the prompt.
+ */
+ 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 AnalyzePromptEvent& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
+ inline AnalyzePromptEvent& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
+ inline AnalyzePromptEvent& WithMessage(const char* value) { SetMessage(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_message;
+ bool m_messageHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InputPrompt.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InputPrompt.h
new file mode 100644
index 00000000000..89d1ded4ffd
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InputPrompt.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
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * Contains information about the prompt to optimize.
See Also:
+ * AWS
+ * API Reference
+ */
+ class InputPrompt
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API InputPrompt();
+ AWS_BEDROCKAGENTRUNTIME_API InputPrompt(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API InputPrompt& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Contains information about the text prompt to optimize.
+ */
+ inline const TextPrompt& GetTextPrompt() const{ return m_textPrompt; }
+ inline bool TextPromptHasBeenSet() const { return m_textPromptHasBeenSet; }
+ inline void SetTextPrompt(const TextPrompt& value) { m_textPromptHasBeenSet = true; m_textPrompt = value; }
+ inline void SetTextPrompt(TextPrompt&& value) { m_textPromptHasBeenSet = true; m_textPrompt = std::move(value); }
+ inline InputPrompt& WithTextPrompt(const TextPrompt& value) { SetTextPrompt(value); return *this;}
+ inline InputPrompt& WithTextPrompt(TextPrompt&& value) { SetTextPrompt(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ TextPrompt m_textPrompt;
+ bool m_textPromptHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptHandler.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptHandler.h
new file mode 100644
index 00000000000..3604299cb3a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptHandler.h
@@ -0,0 +1,86 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+ enum class OptimizePromptEventType
+ {
+ INITIAL_RESPONSE,
+ ANALYZEPROMPTEVENT,
+ OPTIMIZEDPROMPTEVENT,
+ UNKNOWN
+ };
+
+ class OptimizePromptHandler : public Aws::Utils::Event::EventStreamHandler
+ {
+ typedef std::function OptimizePromptInitialResponseCallback;
+ typedef std::function OptimizePromptInitialResponseCallbackEx;
+ typedef std::function AnalyzePromptEventCallback;
+ typedef std::function OptimizedPromptEventCallback;
+ typedef std::function& error)> ErrorCallback;
+
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptHandler();
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptHandler& operator=(const OptimizePromptHandler&) = default;
+
+ AWS_BEDROCKAGENTRUNTIME_API virtual void OnEvent() override;
+
+ ///@{
+ /**
+ * Sets an initial response callback. This callback gets called on the initial OptimizePrompt Operation response.
+ * This can be either "initial-response" decoded event frame or decoded HTTP headers received on connection.
+ * This callback may get called more than once (i.e. on connection headers received and then on the initial-response event received).
+ * @param callback
+ */
+ inline void SetInitialResponseCallbackEx(const OptimizePromptInitialResponseCallbackEx& callback) { m_onInitialResponse = callback; }
+ /**
+ * Sets an initial response callback (a legacy one that does not distinguish whether response originates from headers or from the event).
+ */
+ inline void SetInitialResponseCallback(const OptimizePromptInitialResponseCallback& noArgCallback)
+ {
+ m_onInitialResponse = [noArgCallback](const OptimizePromptInitialResponse& rs, const Utils::Event::InitialResponseType) { return noArgCallback(rs); };
+ }
+ ///@}
+ inline void SetAnalyzePromptEventCallback(const AnalyzePromptEventCallback& callback) { m_onAnalyzePromptEvent = callback; }
+ inline void SetOptimizedPromptEventCallback(const OptimizedPromptEventCallback& callback) { m_onOptimizedPromptEvent = callback; }
+ inline void SetOnErrorCallback(const ErrorCallback& callback) { m_onError = callback; }
+
+ inline OptimizePromptInitialResponseCallbackEx& GetInitialResponseCallbackEx() { return m_onInitialResponse; }
+
+ private:
+ AWS_BEDROCKAGENTRUNTIME_API void HandleEventInMessage();
+ AWS_BEDROCKAGENTRUNTIME_API void HandleErrorInMessage();
+ AWS_BEDROCKAGENTRUNTIME_API void MarshallError(const Aws::String& errorCode, const Aws::String& errorMessage);
+
+ OptimizePromptInitialResponseCallbackEx m_onInitialResponse;
+ AnalyzePromptEventCallback m_onAnalyzePromptEvent;
+ OptimizedPromptEventCallback m_onOptimizedPromptEvent;
+ ErrorCallback m_onError;
+ };
+
+namespace OptimizePromptEventMapper
+{
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptEventType GetOptimizePromptEventTypeForName(const Aws::String& name);
+
+ AWS_BEDROCKAGENTRUNTIME_API Aws::String GetNameForOptimizePromptEventType(OptimizePromptEventType value);
+} // namespace OptimizePromptEventMapper
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptInitialResponse.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptInitialResponse.h
new file mode 100644
index 00000000000..f9afdbae5b5
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptInitialResponse.h
@@ -0,0 +1,38 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ class OptimizePromptInitialResponse
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptInitialResponse();
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptInitialResponse(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptInitialResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptInitialResponse(const Http::HeaderValueCollection& responseHeaders);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptRequest.h
new file mode 100644
index 00000000000..8ee371980ac
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizePromptRequest.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
+#include
+#include
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ */
+ class OptimizePromptRequest : public BedrockAgentRuntimeRequest
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API OptimizePromptRequest();
+
+ // 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 "OptimizePrompt"; }
+
+ AWS_BEDROCKAGENTRUNTIME_API Aws::String SerializePayload() const override;
+
+ /**
+ * Underlying Event Stream Decoder.
+ */
+ inline Aws::Utils::Event::EventStreamDecoder& GetEventStreamDecoder() { return m_decoder; }
+
+ /**
+ * Underlying Event Stream Handler which is used to define callback functions.
+ */
+ inline const OptimizePromptHandler& GetEventStreamHandler() const { return m_handler; }
+
+ /**
+ * Underlying Event Stream Handler which is used to define callback functions.
+ */
+ inline void SetEventStreamHandler(const OptimizePromptHandler& value) { m_handler = value; m_decoder.ResetEventStreamHandler(&m_handler); }
+
+ /**
+ * Underlying Event Stream Handler which is used to define callback functions.
+ */
+ inline OptimizePromptRequest& WithEventStreamHandler(const OptimizePromptHandler& value) { SetEventStreamHandler(value); return *this; }
+
+
+ ///@{
+ /**
+ * Contains the prompt to optimize.
+ */
+ inline const InputPrompt& GetInput() const{ return m_input; }
+ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
+ inline void SetInput(const InputPrompt& value) { m_inputHasBeenSet = true; m_input = value; }
+ inline void SetInput(InputPrompt&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
+ inline OptimizePromptRequest& WithInput(const InputPrompt& value) { SetInput(value); return *this;}
+ inline OptimizePromptRequest& WithInput(InputPrompt&& value) { SetInput(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The unique identifier of the model that you want to optimize the prompt
+ * for.
+ */
+ inline const Aws::String& GetTargetModelId() const{ return m_targetModelId; }
+ inline bool TargetModelIdHasBeenSet() const { return m_targetModelIdHasBeenSet; }
+ inline void SetTargetModelId(const Aws::String& value) { m_targetModelIdHasBeenSet = true; m_targetModelId = value; }
+ inline void SetTargetModelId(Aws::String&& value) { m_targetModelIdHasBeenSet = true; m_targetModelId = std::move(value); }
+ inline void SetTargetModelId(const char* value) { m_targetModelIdHasBeenSet = true; m_targetModelId.assign(value); }
+ inline OptimizePromptRequest& WithTargetModelId(const Aws::String& value) { SetTargetModelId(value); return *this;}
+ inline OptimizePromptRequest& WithTargetModelId(Aws::String&& value) { SetTargetModelId(std::move(value)); return *this;}
+ inline OptimizePromptRequest& WithTargetModelId(const char* value) { SetTargetModelId(value); return *this;}
+ ///@}
+ private:
+
+ InputPrompt m_input;
+ bool m_inputHasBeenSet = false;
+
+ Aws::String m_targetModelId;
+ bool m_targetModelIdHasBeenSet = false;
+ OptimizePromptHandler m_handler;
+ Aws::Utils::Event::EventStreamDecoder m_decoder;
+
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPrompt.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPrompt.h
new file mode 100644
index 00000000000..dc09c34045c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPrompt.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
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * Contains information about the optimized prompt.
See Also:
+ * AWS
+ * API Reference
+ */
+ class OptimizedPrompt
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPrompt();
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPrompt(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPrompt& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Contains information about the text in the prompt that was optimized.
+ */
+ inline const TextPrompt& GetTextPrompt() const{ return m_textPrompt; }
+ inline bool TextPromptHasBeenSet() const { return m_textPromptHasBeenSet; }
+ inline void SetTextPrompt(const TextPrompt& value) { m_textPromptHasBeenSet = true; m_textPrompt = value; }
+ inline void SetTextPrompt(TextPrompt&& value) { m_textPromptHasBeenSet = true; m_textPrompt = std::move(value); }
+ inline OptimizedPrompt& WithTextPrompt(const TextPrompt& value) { SetTextPrompt(value); return *this;}
+ inline OptimizedPrompt& WithTextPrompt(TextPrompt&& value) { SetTextPrompt(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ TextPrompt m_textPrompt;
+ bool m_textPromptHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptEvent.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptEvent.h
new file mode 100644
index 00000000000..8d604194677
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptEvent.h
@@ -0,0 +1,59 @@
+/**
+ * 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 BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * An event in which the prompt was optimized.
See Also:
AWS
+ * API Reference
+ */
+ class OptimizedPromptEvent
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptEvent();
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptEvent(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptEvent& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Contains information about the optimized prompt.
+ */
+ inline const OptimizedPrompt& GetOptimizedPrompt() const{ return m_optimizedPrompt; }
+ inline bool OptimizedPromptHasBeenSet() const { return m_optimizedPromptHasBeenSet; }
+ inline void SetOptimizedPrompt(const OptimizedPrompt& value) { m_optimizedPromptHasBeenSet = true; m_optimizedPrompt = value; }
+ inline void SetOptimizedPrompt(OptimizedPrompt&& value) { m_optimizedPromptHasBeenSet = true; m_optimizedPrompt = std::move(value); }
+ inline OptimizedPromptEvent& WithOptimizedPrompt(const OptimizedPrompt& value) { SetOptimizedPrompt(value); return *this;}
+ inline OptimizedPromptEvent& WithOptimizedPrompt(OptimizedPrompt&& value) { SetOptimizedPrompt(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ OptimizedPrompt m_optimizedPrompt;
+ bool m_optimizedPromptHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptStream.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptStream.h
new file mode 100644
index 00000000000..4441d0fac5e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/OptimizedPromptStream.h
@@ -0,0 +1,180 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * The stream containing events in the prompt optimization
+ * process.
See Also:
AWS
+ * API Reference
+ */
+ class OptimizedPromptStream
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptStream();
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptStream(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API OptimizedPromptStream& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The request is denied because of missing access permissions. Check your
+ * permissions and retry your request.
+ */
+ inline const AccessDeniedException& GetAccessDeniedException() const{ return m_accessDeniedException; }
+ inline bool AccessDeniedExceptionHasBeenSet() const { return m_accessDeniedExceptionHasBeenSet; }
+ inline void SetAccessDeniedException(const AccessDeniedException& value) { m_accessDeniedExceptionHasBeenSet = true; m_accessDeniedException = value; }
+ inline void SetAccessDeniedException(AccessDeniedException&& value) { m_accessDeniedExceptionHasBeenSet = true; m_accessDeniedException = std::move(value); }
+ inline OptimizedPromptStream& WithAccessDeniedException(const AccessDeniedException& value) { SetAccessDeniedException(value); return *this;}
+ inline OptimizedPromptStream& WithAccessDeniedException(AccessDeniedException&& value) { SetAccessDeniedException(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An event in which the prompt was analyzed in preparation for
+ * optimization.
+ */
+ inline const AnalyzePromptEvent& GetAnalyzePromptEvent() const{ return m_analyzePromptEvent; }
+ inline bool AnalyzePromptEventHasBeenSet() const { return m_analyzePromptEventHasBeenSet; }
+ inline void SetAnalyzePromptEvent(const AnalyzePromptEvent& value) { m_analyzePromptEventHasBeenSet = true; m_analyzePromptEvent = value; }
+ inline void SetAnalyzePromptEvent(AnalyzePromptEvent&& value) { m_analyzePromptEventHasBeenSet = true; m_analyzePromptEvent = std::move(value); }
+ inline OptimizedPromptStream& WithAnalyzePromptEvent(const AnalyzePromptEvent& value) { SetAnalyzePromptEvent(value); return *this;}
+ inline OptimizedPromptStream& WithAnalyzePromptEvent(AnalyzePromptEvent&& value) { SetAnalyzePromptEvent(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * There was an issue with a dependency due to a server issue. Retry your
+ * request.
+ */
+ inline const BadGatewayException& GetBadGatewayException() const{ return m_badGatewayException; }
+ inline bool BadGatewayExceptionHasBeenSet() const { return m_badGatewayExceptionHasBeenSet; }
+ inline void SetBadGatewayException(const BadGatewayException& value) { m_badGatewayExceptionHasBeenSet = true; m_badGatewayException = value; }
+ inline void SetBadGatewayException(BadGatewayException&& value) { m_badGatewayExceptionHasBeenSet = true; m_badGatewayException = std::move(value); }
+ inline OptimizedPromptStream& WithBadGatewayException(const BadGatewayException& value) { SetBadGatewayException(value); return *this;}
+ inline OptimizedPromptStream& WithBadGatewayException(BadGatewayException&& value) { SetBadGatewayException(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * There was an issue with a dependency. Check the resource configurations and
+ * retry the request.
+ */
+ inline const DependencyFailedException& GetDependencyFailedException() const{ return m_dependencyFailedException; }
+ inline bool DependencyFailedExceptionHasBeenSet() const { return m_dependencyFailedExceptionHasBeenSet; }
+ inline void SetDependencyFailedException(const DependencyFailedException& value) { m_dependencyFailedExceptionHasBeenSet = true; m_dependencyFailedException = value; }
+ inline void SetDependencyFailedException(DependencyFailedException&& value) { m_dependencyFailedExceptionHasBeenSet = true; m_dependencyFailedException = std::move(value); }
+ inline OptimizedPromptStream& WithDependencyFailedException(const DependencyFailedException& value) { SetDependencyFailedException(value); return *this;}
+ inline OptimizedPromptStream& WithDependencyFailedException(DependencyFailedException&& value) { SetDependencyFailedException(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An internal server error occurred. Retry your request.
+ */
+ inline const InternalServerException& GetInternalServerException() const{ return m_internalServerException; }
+ inline bool InternalServerExceptionHasBeenSet() const { return m_internalServerExceptionHasBeenSet; }
+ inline void SetInternalServerException(const InternalServerException& value) { m_internalServerExceptionHasBeenSet = true; m_internalServerException = value; }
+ inline void SetInternalServerException(InternalServerException&& value) { m_internalServerExceptionHasBeenSet = true; m_internalServerException = std::move(value); }
+ inline OptimizedPromptStream& WithInternalServerException(const InternalServerException& value) { SetInternalServerException(value); return *this;}
+ inline OptimizedPromptStream& WithInternalServerException(InternalServerException&& value) { SetInternalServerException(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An event in which the prompt was optimized.
+ */
+ inline const OptimizedPromptEvent& GetOptimizedPromptEvent() const{ return m_optimizedPromptEvent; }
+ inline bool OptimizedPromptEventHasBeenSet() const { return m_optimizedPromptEventHasBeenSet; }
+ inline void SetOptimizedPromptEvent(const OptimizedPromptEvent& value) { m_optimizedPromptEventHasBeenSet = true; m_optimizedPromptEvent = value; }
+ inline void SetOptimizedPromptEvent(OptimizedPromptEvent&& value) { m_optimizedPromptEventHasBeenSet = true; m_optimizedPromptEvent = std::move(value); }
+ inline OptimizedPromptStream& WithOptimizedPromptEvent(const OptimizedPromptEvent& value) { SetOptimizedPromptEvent(value); return *this;}
+ inline OptimizedPromptStream& WithOptimizedPromptEvent(OptimizedPromptEvent&& value) { SetOptimizedPromptEvent(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Your request was throttled because of service-wide limitations. Resubmit your
+ * request later or in a different region. You can also purchase Provisioned
+ * Throughput to increase the rate or number of tokens you can process.
+ */
+ inline const ThrottlingException& GetThrottlingException() const{ return m_throttlingException; }
+ inline bool ThrottlingExceptionHasBeenSet() const { return m_throttlingExceptionHasBeenSet; }
+ inline void SetThrottlingException(const ThrottlingException& value) { m_throttlingExceptionHasBeenSet = true; m_throttlingException = value; }
+ inline void SetThrottlingException(ThrottlingException&& value) { m_throttlingExceptionHasBeenSet = true; m_throttlingException = std::move(value); }
+ inline OptimizedPromptStream& WithThrottlingException(const ThrottlingException& value) { SetThrottlingException(value); return *this;}
+ inline OptimizedPromptStream& WithThrottlingException(ThrottlingException&& value) { SetThrottlingException(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Input validation failed. Check your request parameters and retry the
+ * request.
+ */
+ inline const ValidationException& GetValidationException() const{ return m_validationException; }
+ inline bool ValidationExceptionHasBeenSet() const { return m_validationExceptionHasBeenSet; }
+ inline void SetValidationException(const ValidationException& value) { m_validationExceptionHasBeenSet = true; m_validationException = value; }
+ inline void SetValidationException(ValidationException&& value) { m_validationExceptionHasBeenSet = true; m_validationException = std::move(value); }
+ inline OptimizedPromptStream& WithValidationException(const ValidationException& value) { SetValidationException(value); return *this;}
+ inline OptimizedPromptStream& WithValidationException(ValidationException&& value) { SetValidationException(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ AccessDeniedException m_accessDeniedException;
+ bool m_accessDeniedExceptionHasBeenSet = false;
+
+ AnalyzePromptEvent m_analyzePromptEvent;
+ bool m_analyzePromptEventHasBeenSet = false;
+
+ BadGatewayException m_badGatewayException;
+ bool m_badGatewayExceptionHasBeenSet = false;
+
+ DependencyFailedException m_dependencyFailedException;
+ bool m_dependencyFailedExceptionHasBeenSet = false;
+
+ InternalServerException m_internalServerException;
+ bool m_internalServerExceptionHasBeenSet = false;
+
+ OptimizedPromptEvent m_optimizedPromptEvent;
+ bool m_optimizedPromptEventHasBeenSet = false;
+
+ ThrottlingException m_throttlingException;
+ bool m_throttlingExceptionHasBeenSet = false;
+
+ ValidationException m_validationException;
+ bool m_validationExceptionHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TextPrompt.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TextPrompt.h
new file mode 100644
index 00000000000..f62ee08b303
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/TextPrompt.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
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+ /**
+ * Contains information about the text prompt to optimize.
See
+ * Also:
AWS
+ * API Reference
+ */
+ class TextPrompt
+ {
+ public:
+ AWS_BEDROCKAGENTRUNTIME_API TextPrompt();
+ AWS_BEDROCKAGENTRUNTIME_API TextPrompt(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API TextPrompt& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_BEDROCKAGENTRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The text in the text prompt to optimize.
+ */
+ inline const Aws::String& GetText() const{ return m_text; }
+ inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
+ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
+ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
+ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
+ inline TextPrompt& WithText(const Aws::String& value) { SetText(value); return *this;}
+ inline TextPrompt& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
+ inline TextPrompt& WithText(const char* value) { SetText(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_text;
+ bool m_textHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeClient.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeClient.cpp
index 63238b2f569..ff8c256b182 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeClient.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/BedrockAgentRuntimeClient.cpp
@@ -26,6 +26,7 @@
#include
#include
#include
+#include
#include
#include
@@ -357,6 +358,36 @@ InvokeFlowOutcome BedrockAgentRuntimeClient::InvokeFlow(InvokeFlowRequest& reque
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+OptimizePromptOutcome BedrockAgentRuntimeClient::OptimizePrompt(OptimizePromptRequest& request) const
+{
+ AWS_OPERATION_GUARD(OptimizePrompt);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, OptimizePrompt, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, OptimizePrompt, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, OptimizePrompt, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".OptimizePrompt",
+ {{ 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(
+ [&]()-> OptimizePromptOutcome {
+ 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, OptimizePrompt, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/optimize-prompt");
+ request.SetResponseStreamFactory(
+ [&] { request.GetEventStreamDecoder().Reset(); return Aws::New(ALLOCATION_TAG, request.GetEventStreamDecoder()); }
+ );
+ return OptimizePromptOutcome(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()}});
+}
+
RetrieveOutcome BedrockAgentRuntimeClient::Retrieve(const RetrieveRequest& request) const
{
AWS_OPERATION_GUARD(Retrieve);
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AnalyzePromptEvent.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AnalyzePromptEvent.cpp
new file mode 100644
index 00000000000..06ff5c780b9
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/AnalyzePromptEvent.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 BedrockAgentRuntime
+{
+namespace Model
+{
+
+AnalyzePromptEvent::AnalyzePromptEvent() :
+ m_messageHasBeenSet(false)
+{
+}
+
+AnalyzePromptEvent::AnalyzePromptEvent(JsonView jsonValue)
+ : AnalyzePromptEvent()
+{
+ *this = jsonValue;
+}
+
+AnalyzePromptEvent& AnalyzePromptEvent::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("message"))
+ {
+ m_message = jsonValue.GetString("message");
+
+ m_messageHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue AnalyzePromptEvent::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_messageHasBeenSet)
+ {
+ payload.WithString("message", m_message);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InputPrompt.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InputPrompt.cpp
new file mode 100644
index 00000000000..98f79bcccf6
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/InputPrompt.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 BedrockAgentRuntime
+{
+namespace Model
+{
+
+InputPrompt::InputPrompt() :
+ m_textPromptHasBeenSet(false)
+{
+}
+
+InputPrompt::InputPrompt(JsonView jsonValue)
+ : InputPrompt()
+{
+ *this = jsonValue;
+}
+
+InputPrompt& InputPrompt::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("textPrompt"))
+ {
+ m_textPrompt = jsonValue.GetObject("textPrompt");
+
+ m_textPromptHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue InputPrompt::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_textPromptHasBeenSet)
+ {
+ payload.WithObject("textPrompt", m_textPrompt.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptHandler.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptHandler.cpp
new file mode 100644
index 00000000000..38e64335d77
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptHandler.cpp
@@ -0,0 +1,267 @@
+/**
+ * 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::BedrockAgentRuntime::Model;
+using namespace Aws::Utils::Event;
+using namespace Aws::Utils::Json;
+
+AWS_CORE_API extern const char MESSAGE_LOWER_CASE[];
+AWS_CORE_API extern const char MESSAGE_CAMEL_CASE[];
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+ using namespace Aws::Client;
+
+ static const char OPTIMIZEPROMPT_HANDLER_CLASS_TAG[] = "OptimizePromptHandler";
+
+ OptimizePromptHandler::OptimizePromptHandler() : EventStreamHandler()
+ {
+ m_onInitialResponse = [&](const OptimizePromptInitialResponse&, const Utils::Event::InitialResponseType eventType)
+ {
+ AWS_LOGSTREAM_TRACE(OPTIMIZEPROMPT_HANDLER_CLASS_TAG,
+ "OptimizePrompt initial response received from "
+ << (eventType == Utils::Event::InitialResponseType::ON_EVENT ? "event" : "http headers"));
+ };
+
+ m_onAnalyzePromptEvent = [&](const AnalyzePromptEvent&)
+ {
+ AWS_LOGSTREAM_TRACE(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "AnalyzePromptEvent received.");
+ };
+
+ m_onOptimizedPromptEvent = [&](const OptimizedPromptEvent&)
+ {
+ AWS_LOGSTREAM_TRACE(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "OptimizedPromptEvent received.");
+ };
+
+ m_onError = [&](const AWSError& error)
+ {
+ AWS_LOGSTREAM_TRACE(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "BedrockAgentRuntime Errors received, " << error);
+ };
+ }
+
+ void OptimizePromptHandler::OnEvent()
+ {
+ // Handler internal error during event stream decoding.
+ if (!*this)
+ {
+ AWSError error = EventStreamErrorsMapper::GetAwsErrorForEventStreamError(GetInternalError());
+ error.SetMessage(GetEventPayloadAsString());
+ m_onError(AWSError(error));
+ return;
+ }
+
+ const auto& headers = GetEventHeaders();
+ auto messageTypeHeaderIter = headers.find(MESSAGE_TYPE_HEADER);
+ if (messageTypeHeaderIter == headers.end())
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Header: " << MESSAGE_TYPE_HEADER << " not found in the message.");
+ return;
+ }
+
+ switch (Aws::Utils::Event::Message::GetMessageTypeForName(messageTypeHeaderIter->second.GetEventHeaderValueAsString()))
+ {
+ case Aws::Utils::Event::Message::MessageType::EVENT:
+ HandleEventInMessage();
+ break;
+ case Aws::Utils::Event::Message::MessageType::REQUEST_LEVEL_ERROR:
+ case Aws::Utils::Event::Message::MessageType::REQUEST_LEVEL_EXCEPTION:
+ {
+ HandleErrorInMessage();
+ break;
+ }
+ default:
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG,
+ "Unexpected message type: " << messageTypeHeaderIter->second.GetEventHeaderValueAsString());
+ break;
+ }
+ }
+
+ void OptimizePromptHandler::HandleEventInMessage()
+ {
+ const auto& headers = GetEventHeaders();
+ auto eventTypeHeaderIter = headers.find(EVENT_TYPE_HEADER);
+ if (eventTypeHeaderIter == headers.end())
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Header: " << EVENT_TYPE_HEADER << " not found in the message.");
+ return;
+ }
+ switch (OptimizePromptEventMapper::GetOptimizePromptEventTypeForName(eventTypeHeaderIter->second.GetEventHeaderValueAsString()))
+ {
+
+ case OptimizePromptEventType::INITIAL_RESPONSE:
+ {
+ OptimizePromptInitialResponse event(GetEventHeadersAsHttpHeaders());
+ m_onInitialResponse(event, Utils::Event::InitialResponseType::ON_EVENT);
+ break;
+ }
+
+ case OptimizePromptEventType::ANALYZEPROMPTEVENT:
+ {
+ JsonValue json(GetEventPayloadAsString());
+ if (!json.WasParseSuccessful())
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Unable to generate a proper AnalyzePromptEvent object from the response in JSON format.");
+ break;
+ }
+
+ m_onAnalyzePromptEvent(AnalyzePromptEvent{json.View()});
+ break;
+ }
+ case OptimizePromptEventType::OPTIMIZEDPROMPTEVENT:
+ {
+ JsonValue json(GetEventPayloadAsString());
+ if (!json.WasParseSuccessful())
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Unable to generate a proper OptimizedPromptEvent object from the response in JSON format.");
+ break;
+ }
+
+ m_onOptimizedPromptEvent(OptimizedPromptEvent{json.View()});
+ break;
+ }
+ default:
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG,
+ "Unexpected event type: " << eventTypeHeaderIter->second.GetEventHeaderValueAsString());
+ break;
+ }
+ }
+
+ void OptimizePromptHandler::HandleErrorInMessage()
+ {
+ const auto& headers = GetEventHeaders();
+ Aws::String errorCode;
+ Aws::String errorMessage;
+ auto errorHeaderIter = headers.find(ERROR_CODE_HEADER);
+ if (errorHeaderIter == headers.end())
+ {
+ errorHeaderIter = headers.find(EXCEPTION_TYPE_HEADER);
+ if (errorHeaderIter == headers.end())
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG,
+ "Error type was not found in the event message.");
+ return;
+ }
+ }
+
+ errorCode = errorHeaderIter->second.GetEventHeaderValueAsString();
+ errorHeaderIter = headers.find(ERROR_MESSAGE_HEADER);
+ if (errorHeaderIter == headers.end())
+ {
+ errorHeaderIter = headers.find(EXCEPTION_TYPE_HEADER);
+ if (errorHeaderIter == headers.end())
+ {
+ AWS_LOGSTREAM_ERROR(OPTIMIZEPROMPT_HANDLER_CLASS_TAG,
+ "Error description was not found in the event message.");
+ return;
+ }
+
+ JsonValue exceptionPayload(GetEventPayloadAsString());
+ if (!exceptionPayload.WasParseSuccessful())
+ {
+ AWS_LOGSTREAM_ERROR(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Unable to generate a proper ValidationException object from the response in JSON format.");
+ auto contentTypeIter = headers.find(Aws::Utils::Event::CONTENT_TYPE_HEADER);
+ if (contentTypeIter != headers.end())
+ {
+ AWS_LOGSTREAM_DEBUG(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Error content-type: " << contentTypeIter->second.GetEventHeaderValueAsString());
+ }
+ return;
+ }
+
+ JsonView payloadView(exceptionPayload);
+ errorMessage = payloadView.ValueExists(MESSAGE_CAMEL_CASE) ?
+ payloadView.GetString(MESSAGE_CAMEL_CASE) :
+ payloadView.ValueExists(MESSAGE_LOWER_CASE) ?
+ payloadView.GetString(MESSAGE_LOWER_CASE) : "";
+
+ }
+ else
+ {
+ errorMessage = errorHeaderIter->second.GetEventHeaderValueAsString();
+ }
+ MarshallError(errorCode, errorMessage);
+ }
+
+ void OptimizePromptHandler::MarshallError(const Aws::String& errorCode, const Aws::String& errorMessage)
+ {
+ BedrockAgentRuntimeErrorMarshaller errorMarshaller;
+ AWSError error;
+
+ if (errorCode.empty())
+ {
+ error = AWSError(CoreErrors::UNKNOWN, "", errorMessage, false);
+ }
+ else
+ {
+ error = errorMarshaller.FindErrorByName(errorCode.c_str());
+ if (error.GetErrorType() != CoreErrors::UNKNOWN)
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Encountered AWSError '" << errorCode.c_str() << "': " << errorMessage.c_str());
+ error.SetExceptionName(errorCode);
+ error.SetMessage(errorMessage);
+ }
+ else
+ {
+ AWS_LOGSTREAM_WARN(OPTIMIZEPROMPT_HANDLER_CLASS_TAG, "Encountered Unknown AWSError '" << errorCode.c_str() << "': " << errorMessage.c_str());
+ error = AWSError(CoreErrors::UNKNOWN, errorCode, "Unable to parse ExceptionName: " + errorCode + " Message: " + errorMessage, false);
+ }
+ }
+
+ m_onError(AWSError(error));
+ }
+
+namespace OptimizePromptEventMapper
+{
+ static const int INITIAL_RESPONSE_HASH = Aws::Utils::HashingUtils::HashString("initial-response");
+ static const int ANALYZEPROMPTEVENT_HASH = Aws::Utils::HashingUtils::HashString("analyzePromptEvent");
+ static const int OPTIMIZEDPROMPTEVENT_HASH = Aws::Utils::HashingUtils::HashString("optimizedPromptEvent");
+
+ OptimizePromptEventType GetOptimizePromptEventTypeForName(const Aws::String& name)
+ {
+ int hashCode = Aws::Utils::HashingUtils::HashString(name.c_str());
+
+ if (hashCode == INITIAL_RESPONSE_HASH)
+ {
+ return OptimizePromptEventType::INITIAL_RESPONSE;
+ }
+ else if (hashCode == ANALYZEPROMPTEVENT_HASH)
+ {
+ return OptimizePromptEventType::ANALYZEPROMPTEVENT;
+ }
+ else if (hashCode == OPTIMIZEDPROMPTEVENT_HASH)
+ {
+ return OptimizePromptEventType::OPTIMIZEDPROMPTEVENT;
+ }
+ return OptimizePromptEventType::UNKNOWN;
+ }
+
+ Aws::String GetNameForOptimizePromptEventType(OptimizePromptEventType value)
+ {
+ switch (value)
+ {
+ case OptimizePromptEventType::INITIAL_RESPONSE:
+ return "initial-response";
+ case OptimizePromptEventType::ANALYZEPROMPTEVENT:
+ return "analyzePromptEvent";
+ case OptimizePromptEventType::OPTIMIZEDPROMPTEVENT:
+ return "optimizedPromptEvent";
+ default:
+ return "Unknown";
+ }
+ }
+} // namespace OptimizePromptEventMapper
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptInitialResponse.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptInitialResponse.cpp
new file mode 100644
index 00000000000..39e3f403342
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptInitialResponse.cpp
@@ -0,0 +1,52 @@
+/**
+ * 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::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace BedrockAgentRuntime
+{
+namespace Model
+{
+
+OptimizePromptInitialResponse::OptimizePromptInitialResponse()
+{
+}
+
+OptimizePromptInitialResponse::OptimizePromptInitialResponse(JsonView jsonValue)
+{
+ *this = jsonValue;
+}
+
+OptimizePromptInitialResponse& OptimizePromptInitialResponse::operator =(JsonView jsonValue)
+{
+ AWS_UNREFERENCED_PARAM(jsonValue);
+ return *this;
+}
+
+OptimizePromptInitialResponse::OptimizePromptInitialResponse(const Http::HeaderValueCollection& headers) : OptimizePromptInitialResponse()
+{
+ AWS_UNREFERENCED_PARAM(headers);
+}
+
+JsonValue OptimizePromptInitialResponse::Jsonize() const
+{
+ JsonValue payload;
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptRequest.cpp
new file mode 100644
index 00000000000..3bb0fbd2272
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizePromptRequest.cpp
@@ -0,0 +1,43 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::BedrockAgentRuntime::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+OptimizePromptRequest::OptimizePromptRequest() :
+ m_inputHasBeenSet(false),
+ m_targetModelIdHasBeenSet(false),
+ m_handler(), m_decoder(Aws::Utils::Event::EventStreamDecoder(&m_handler))
+{
+}
+
+Aws::String OptimizePromptRequest::SerializePayload() const
+{
+ JsonValue payload;
+
+ if(m_inputHasBeenSet)
+ {
+ payload.WithObject("input", m_input.Jsonize());
+
+ }
+
+ if(m_targetModelIdHasBeenSet)
+ {
+ payload.WithString("targetModelId", m_targetModelId);
+
+ }
+
+ return payload.View().WriteReadable();
+}
+
+
+
+
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPrompt.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPrompt.cpp
new file mode 100644
index 00000000000..bc81cbbbbb7
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPrompt.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 BedrockAgentRuntime
+{
+namespace Model
+{
+
+OptimizedPrompt::OptimizedPrompt() :
+ m_textPromptHasBeenSet(false)
+{
+}
+
+OptimizedPrompt::OptimizedPrompt(JsonView jsonValue)
+ : OptimizedPrompt()
+{
+ *this = jsonValue;
+}
+
+OptimizedPrompt& OptimizedPrompt::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("textPrompt"))
+ {
+ m_textPrompt = jsonValue.GetObject("textPrompt");
+
+ m_textPromptHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue OptimizedPrompt::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_textPromptHasBeenSet)
+ {
+ payload.WithObject("textPrompt", m_textPrompt.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPromptEvent.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPromptEvent.cpp
new file mode 100644
index 00000000000..d52e9d3ba03
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/OptimizedPromptEvent.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 BedrockAgentRuntime
+{
+namespace Model
+{
+
+OptimizedPromptEvent::OptimizedPromptEvent() :
+ m_optimizedPromptHasBeenSet(false)
+{
+}
+
+OptimizedPromptEvent::OptimizedPromptEvent(JsonView jsonValue)
+ : OptimizedPromptEvent()
+{
+ *this = jsonValue;
+}
+
+OptimizedPromptEvent& OptimizedPromptEvent::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("optimizedPrompt"))
+ {
+ m_optimizedPrompt = jsonValue.GetObject("optimizedPrompt");
+
+ m_optimizedPromptHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue OptimizedPromptEvent::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_optimizedPromptHasBeenSet)
+ {
+ payload.WithObject("optimizedPrompt", m_optimizedPrompt.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TextPrompt.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TextPrompt.cpp
new file mode 100644
index 00000000000..e50dc8a8c0a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/TextPrompt.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 BedrockAgentRuntime
+{
+namespace Model
+{
+
+TextPrompt::TextPrompt() :
+ m_textHasBeenSet(false)
+{
+}
+
+TextPrompt::TextPrompt(JsonView jsonValue)
+ : TextPrompt()
+{
+ *this = jsonValue;
+}
+
+TextPrompt& TextPrompt::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("text"))
+ {
+ m_text = jsonValue.GetString("text");
+
+ m_textHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue TextPrompt::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_textHasBeenSet)
+ {
+ payload.WithString("text", m_text);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace BedrockAgentRuntime
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontClient.h b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontClient.h
index 97d2bc07c33..9788c3d7939 100644
--- a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontClient.h
+++ b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontClient.h
@@ -158,6 +158,31 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::CopyDistribution2020_05_31, request, handler, context);
}
+ /**
+ * Creates an Anycast static IP list.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::CreateAnycastIpList2020_05_31Outcome CreateAnycastIpList2020_05_31(const Model::CreateAnycastIpList2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for CreateAnycastIpList2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::CreateAnycastIpList2020_05_31OutcomeCallable CreateAnycastIpList2020_05_31Callable(const CreateAnycastIpList2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::CreateAnycastIpList2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for CreateAnycastIpList2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void CreateAnycastIpList2020_05_31Async(const CreateAnycastIpList2020_05_31RequestT& request, const CreateAnycastIpList2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::CreateAnycastIpList2020_05_31, request, handler, context);
+ }
+
/**
* Creates a cache policy.
After you create a cache policy, you can
* attach it to one or more cache behaviors. When it's attached to a cache
@@ -759,6 +784,56 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::CreateStreamingDistributionWithTags2020_05_31, request, handler, context);
}
+ /**
+ *
Create an Amazon CloudFront VPC origin.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::CreateVpcOrigin2020_05_31Outcome CreateVpcOrigin2020_05_31(const Model::CreateVpcOrigin2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for CreateVpcOrigin2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::CreateVpcOrigin2020_05_31OutcomeCallable CreateVpcOrigin2020_05_31Callable(const CreateVpcOrigin2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::CreateVpcOrigin2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for CreateVpcOrigin2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void CreateVpcOrigin2020_05_31Async(const CreateVpcOrigin2020_05_31RequestT& request, const CreateVpcOrigin2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::CreateVpcOrigin2020_05_31, request, handler, context);
+ }
+
+ /**
+ * Deletes an Anycast static IP list.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::DeleteAnycastIpList2020_05_31Outcome DeleteAnycastIpList2020_05_31(const Model::DeleteAnycastIpList2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for DeleteAnycastIpList2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DeleteAnycastIpList2020_05_31OutcomeCallable DeleteAnycastIpList2020_05_31Callable(const DeleteAnycastIpList2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::DeleteAnycastIpList2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for DeleteAnycastIpList2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DeleteAnycastIpList2020_05_31Async(const DeleteAnycastIpList2020_05_31RequestT& request, const DeleteAnycastIpList2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::DeleteAnycastIpList2020_05_31, request, handler, context);
+ }
+
/**
* Deletes a cache policy.
You cannot delete a cache policy if it's
* attached to a cache behavior. First update your distributions to remove the
@@ -1230,6 +1305,31 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::DeleteStreamingDistribution2020_05_31, request, handler, context);
}
+ /**
+ *
Delete an Amazon CloudFront VPC origin.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::DeleteVpcOrigin2020_05_31Outcome DeleteVpcOrigin2020_05_31(const Model::DeleteVpcOrigin2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for DeleteVpcOrigin2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DeleteVpcOrigin2020_05_31OutcomeCallable DeleteVpcOrigin2020_05_31Callable(const DeleteVpcOrigin2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::DeleteVpcOrigin2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for DeleteVpcOrigin2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DeleteVpcOrigin2020_05_31Async(const DeleteVpcOrigin2020_05_31RequestT& request, const DeleteVpcOrigin2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::DeleteVpcOrigin2020_05_31, request, handler, context);
+ }
+
/**
* Gets configuration information and metadata about a CloudFront function, but
* not the function's code. To get a function's code, use
@@ -1285,6 +1385,31 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::DescribeKeyValueStore2020_05_31, request, handler, context);
}
+ /**
+ *
Gets an Anycast static IP list.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::GetAnycastIpList2020_05_31Outcome GetAnycastIpList2020_05_31(const Model::GetAnycastIpList2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for GetAnycastIpList2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetAnycastIpList2020_05_31OutcomeCallable GetAnycastIpList2020_05_31Callable(const GetAnycastIpList2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::GetAnycastIpList2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for GetAnycastIpList2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetAnycastIpList2020_05_31Async(const GetAnycastIpList2020_05_31RequestT& request, const GetAnycastIpList2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::GetAnycastIpList2020_05_31, request, handler, context);
+ }
+
/**
* Gets a cache policy, including the following metadata:
-
The
* policy's identifier.
-
The date and time when the policy was
@@ -2057,6 +2182,57 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::GetStreamingDistributionConfig2020_05_31, request, handler, context);
}
+ /**
+ *
Get the details of an Amazon CloudFront VPC origin.
See Also:
+ * AWS
+ * API Reference
+ */
+ virtual Model::GetVpcOrigin2020_05_31Outcome GetVpcOrigin2020_05_31(const Model::GetVpcOrigin2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for GetVpcOrigin2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetVpcOrigin2020_05_31OutcomeCallable GetVpcOrigin2020_05_31Callable(const GetVpcOrigin2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::GetVpcOrigin2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for GetVpcOrigin2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetVpcOrigin2020_05_31Async(const GetVpcOrigin2020_05_31RequestT& request, const GetVpcOrigin2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::GetVpcOrigin2020_05_31, request, handler, context);
+ }
+
+ /**
+ * Lists your Anycast static IP lists.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListAnycastIpLists2020_05_31Outcome ListAnycastIpLists2020_05_31(const Model::ListAnycastIpLists2020_05_31Request& request = {}) const;
+
+ /**
+ * A Callable wrapper for ListAnycastIpLists2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListAnycastIpLists2020_05_31OutcomeCallable ListAnycastIpLists2020_05_31Callable(const ListAnycastIpLists2020_05_31RequestT& request = {}) const
+ {
+ return SubmitCallable(&CloudFrontClient::ListAnycastIpLists2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for ListAnycastIpLists2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListAnycastIpLists2020_05_31Async(const ListAnycastIpLists2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListAnycastIpLists2020_05_31RequestT& request = {}) const
+ {
+ return SubmitAsync(&CloudFrontClient::ListAnycastIpLists2020_05_31, request, handler, context);
+ }
+
/**
* Gets a list of cache policies.
You can optionally apply a filter to
* return only the managed policies created by Amazon Web Services, or only the
@@ -2223,6 +2399,32 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::ListDistributions2020_05_31, request, handler, context);
}
+ /**
+ *
Lists the distributions in your account that are associated with the
+ * specified AnycastIpListId
.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListDistributionsByAnycastIpListId2020_05_31Outcome ListDistributionsByAnycastIpListId2020_05_31(const Model::ListDistributionsByAnycastIpListId2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for ListDistributionsByAnycastIpListId2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListDistributionsByAnycastIpListId2020_05_31OutcomeCallable ListDistributionsByAnycastIpListId2020_05_31Callable(const ListDistributionsByAnycastIpListId2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::ListDistributionsByAnycastIpListId2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for ListDistributionsByAnycastIpListId2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListDistributionsByAnycastIpListId2020_05_31Async(const ListDistributionsByAnycastIpListId2020_05_31RequestT& request, const ListDistributionsByAnycastIpListId2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::ListDistributionsByAnycastIpListId2020_05_31, request, handler, context);
+ }
+
/**
* Gets a list of distribution IDs for distributions that have a cache behavior
* that's associated with the specified cache policy.
You can optionally
@@ -2386,6 +2588,32 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::ListDistributionsByResponseHeadersPolicyId2020_05_31, request, handler, context);
}
+ /**
+ *
List CloudFront distributions by their VPC origin ID.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListDistributionsByVpcOriginId2020_05_31Outcome ListDistributionsByVpcOriginId2020_05_31(const Model::ListDistributionsByVpcOriginId2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for ListDistributionsByVpcOriginId2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListDistributionsByVpcOriginId2020_05_31OutcomeCallable ListDistributionsByVpcOriginId2020_05_31Callable(const ListDistributionsByVpcOriginId2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::ListDistributionsByVpcOriginId2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for ListDistributionsByVpcOriginId2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListDistributionsByVpcOriginId2020_05_31Async(const ListDistributionsByVpcOriginId2020_05_31RequestT& request, const ListDistributionsByVpcOriginId2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::ListDistributionsByVpcOriginId2020_05_31, request, handler, context);
+ }
+
/**
* List the distributions that are associated with a specified WAF web
* ACL.
See Also:
List the CloudFront VPC origins in your account.See Also:
+ * AWS
+ * API Reference
+ */
+ virtual Model::ListVpcOrigins2020_05_31Outcome ListVpcOrigins2020_05_31(const Model::ListVpcOrigins2020_05_31Request& request = {}) const;
+
+ /**
+ * A Callable wrapper for ListVpcOrigins2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListVpcOrigins2020_05_31OutcomeCallable ListVpcOrigins2020_05_31Callable(const ListVpcOrigins2020_05_31RequestT& request = {}) const
+ {
+ return SubmitCallable(&CloudFrontClient::ListVpcOrigins2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for ListVpcOrigins2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListVpcOrigins2020_05_31Async(const ListVpcOrigins2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListVpcOrigins2020_05_31RequestT& request = {}) const
+ {
+ return SubmitAsync(&CloudFrontClient::ListVpcOrigins2020_05_31, request, handler, context);
+ }
+
/**
* Publishes a CloudFront function by copying the function code from the
* DEVELOPMENT
stage to LIVE
. This automatically updates
@@ -3411,6 +3665,32 @@ namespace CloudFront
return SubmitAsync(&CloudFrontClient::UpdateStreamingDistribution2020_05_31, request, handler, context);
}
+ /**
+ *
Update an Amazon CloudFront VPC origin in your account.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::UpdateVpcOrigin2020_05_31Outcome UpdateVpcOrigin2020_05_31(const Model::UpdateVpcOrigin2020_05_31Request& request) const;
+
+ /**
+ * A Callable wrapper for UpdateVpcOrigin2020_05_31 that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::UpdateVpcOrigin2020_05_31OutcomeCallable UpdateVpcOrigin2020_05_31Callable(const UpdateVpcOrigin2020_05_31RequestT& request) const
+ {
+ return SubmitCallable(&CloudFrontClient::UpdateVpcOrigin2020_05_31, request);
+ }
+
+ /**
+ * An Async wrapper for UpdateVpcOrigin2020_05_31 that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void UpdateVpcOrigin2020_05_31Async(const UpdateVpcOrigin2020_05_31RequestT& request, const UpdateVpcOrigin2020_05_31ResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFrontClient::UpdateVpcOrigin2020_05_31, request, handler, context);
+ }
+
void OverrideEndpoint(const Aws::String& endpoint);
std::shared_ptr& accessEndpointProvider();
diff --git a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontErrors.h b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontErrors.h
index 0bd898d5f78..6466d7d9c97 100644
--- a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontErrors.h
+++ b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontErrors.h
@@ -52,6 +52,7 @@ enum class CloudFrontErrors
CACHE_POLICY_IN_USE,
CANNOT_CHANGE_IMMUTABLE_PUBLIC_KEY_FIELDS,
CANNOT_DELETE_ENTITY_WHILE_IN_USE,
+ CANNOT_UPDATE_ENTITY_WHILE_IN_USE,
CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_ALREADY_EXISTS,
CLOUD_FRONT_ORIGIN_ACCESS_IDENTITY_IN_USE,
CONTINUOUS_DEPLOYMENT_POLICY_ALREADY_EXISTS,
diff --git a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontServiceClientModel.h b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontServiceClientModel.h
index b47f2b5113d..4287145ca66 100644
--- a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/CloudFrontServiceClientModel.h
@@ -19,6 +19,7 @@
/* Service model headers required in CloudFrontClient header */
#include
+#include
#include
#include
#include
@@ -38,9 +39,12 @@
#include
#include
#include
+#include
#include
+#include
#include
#include
+#include
#include