Skip to content

Commit 6762e82

Browse files
Fixed stop sequence limit for converse API.
Release shows new route types such as filtered and advertisement. AWS X-Ray Features: Support Sampling Rate Boost On Anomaly
1 parent a08451f commit 6762e82

36 files changed

+1760
-962
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.11.637
1+
1.11.638

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/DescribeVpcEndpointAssociationsRequest.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ namespace Model
7878
* Resource Name (ARN) of the associated service network. Only VPC endpoints of
7979
* type service network will be returned.</p> </li> <li> <p>
8080
* <code>resource-configuration-group-arn</code> - The Amazon Resource Name (ARN)
81-
* of the resource configuration of type GROUP.</p> </li> <li> <p>
82-
* <code>service-network-resource-association-id</code> - The ID of the
83-
* association.</p> </li> </ul>
81+
* of the resource configuration of type GROUP.</p> </li> </ul>
8482
*/
8583
inline const Aws::Vector<Filter>& GetFilters() const { return m_filters; }
8684
inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayOptions.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,11 @@ namespace Model
145145

146146
///@{
147147
/**
148-
* <p>Enable or disable automatic propagation of routes to the default propagation
149-
* route table.</p>
148+
* <p>Indicates whether resource attachments automatically propagate routes to the
149+
* default propagation route table. Enabled by default. If
150+
* <code>defaultRouteTablePropagation</code> is set to <code>enable</code>, Amazon
151+
* Web Services Transit Gateway will create the default transit gateway route
152+
* table.</p>
150153
*/
151154
inline DefaultRouteTablePropagationValue GetDefaultRouteTablePropagation() const { return m_defaultRouteTablePropagation; }
152155
inline bool DefaultRouteTablePropagationHasBeenSet() const { return m_defaultRouteTablePropagationHasBeenSet; }

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RouteOrigin.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ namespace Model
1818
NOT_SET,
1919
CreateRouteTable,
2020
CreateRoute,
21-
EnableVgwRoutePropagation
21+
EnableVgwRoutePropagation,
22+
Advertisement
2223
};
2324

2425
namespace RouteOriginMapper

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RouteState.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ namespace Model
1717
{
1818
NOT_SET,
1919
active,
20-
blackhole
20+
blackhole,
21+
filtered
2122
};
2223

2324
namespace RouteStateMapper

generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayOptions.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ namespace Model
8686
///@{
8787
/**
8888
* <p>Indicates whether resource attachments are automatically associated with the
89-
* default association route table. Enabled by default. If
90-
* <code>defaultRouteTableAssociation</code> is set to <code>enable</code>, Amazon
91-
* Web Services Transit Gateway will create the default transit gateway route
89+
* default association route table. Enabled by default. Either
90+
* <code>defaultRouteTableAssociation</code> or
91+
* <code>defaultRouteTablePropagation</code> must be set to <code>enable</code> for
92+
* Amazon Web Services Transit Gateway to create the default transit gateway route
9293
* table.</p>
9394
*/
9495
inline DefaultRouteTableAssociationValue GetDefaultRouteTableAssociation() const { return m_defaultRouteTableAssociation; }
@@ -114,7 +115,7 @@ namespace Model
114115
* <p>Indicates whether resource attachments automatically propagate routes to the
115116
* default propagation route table. Enabled by default. If
116117
* <code>defaultRouteTablePropagation</code> is set to <code>enable</code>, Amazon
117-
* Web Services Transit Gateway will create the default transit gateway route
118+
* Web Services Transit Gateway creates the default transit gateway route
118119
* table.</p>
119120
*/
120121
inline DefaultRouteTablePropagationValue GetDefaultRouteTablePropagation() const { return m_defaultRouteTablePropagation; }

generated/src/aws-cpp-sdk-ec2/source/model/RouteOrigin.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ namespace Aws
2323
static const int CreateRouteTable_HASH = HashingUtils::HashString("CreateRouteTable");
2424
static const int CreateRoute_HASH = HashingUtils::HashString("CreateRoute");
2525
static const int EnableVgwRoutePropagation_HASH = HashingUtils::HashString("EnableVgwRoutePropagation");
26+
static const int Advertisement_HASH = HashingUtils::HashString("Advertisement");
2627

2728

2829
RouteOrigin GetRouteOriginForName(const Aws::String& name)
@@ -40,6 +41,10 @@ namespace Aws
4041
{
4142
return RouteOrigin::EnableVgwRoutePropagation;
4243
}
44+
else if (hashCode == Advertisement_HASH)
45+
{
46+
return RouteOrigin::Advertisement;
47+
}
4348
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
4449
if(overflowContainer)
4550
{
@@ -62,6 +67,8 @@ namespace Aws
6267
return "CreateRoute";
6368
case RouteOrigin::EnableVgwRoutePropagation:
6469
return "EnableVgwRoutePropagation";
70+
case RouteOrigin::Advertisement:
71+
return "Advertisement";
6572
default:
6673
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
6774
if(overflowContainer)

generated/src/aws-cpp-sdk-ec2/source/model/RouteState.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace Aws
2222

2323
static const int active_HASH = HashingUtils::HashString("active");
2424
static const int blackhole_HASH = HashingUtils::HashString("blackhole");
25+
static const int filtered_HASH = HashingUtils::HashString("filtered");
2526

2627

2728
RouteState GetRouteStateForName(const Aws::String& name)
@@ -35,6 +36,10 @@ namespace Aws
3536
{
3637
return RouteState::blackhole;
3738
}
39+
else if (hashCode == filtered_HASH)
40+
{
41+
return RouteState::filtered;
42+
}
3843
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
3944
if(overflowContainer)
4045
{
@@ -55,6 +60,8 @@ namespace Aws
5560
return "active";
5661
case RouteState::blackhole:
5762
return "blackhole";
63+
case RouteState::filtered:
64+
return "filtered";
5865
default:
5966
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
6067
if(overflowContainer)

generated/src/aws-cpp-sdk-xray/include/aws/xray/XRayClient.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -686,9 +686,9 @@ namespace XRay
686686

687687
/**
688688
* <p> Retrieves the current destination of data sent to
689-
* <code>PutTraceSegments</code> and <i>OpenTelemetry</i> API. The Transaction
690-
* Search feature requires a CloudWatchLogs destination. For more information, see
691-
* <a
689+
* <code>PutTraceSegments</code> and <i>OpenTelemetry protocol (OTLP)</i> endpoint.
690+
* The Transaction Search feature requires a CloudWatchLogs destination. For more
691+
* information, see <a
692692
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html">Transaction
693693
* Search</a> and <a
694694
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-OpenTelemetry-Sections.html">OpenTelemetry</a>.
@@ -785,17 +785,17 @@ namespace XRay
785785
* CloudWatch log group generated by Transaction Search. For information on what
786786
* each trace returns, see <a
787787
* href="https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html">BatchGetTraces</a>.
788-
* </p> <p>This API does not initiate a retrieval job. To start a trace retrieval,
789-
* use <code>StartTraceRetrieval</code>, which generates the required
788+
* </p> <p>This API does not initiate a retrieval process. To start a trace
789+
* retrieval, use <code>StartTraceRetrieval</code>, which generates the required
790790
* <code>RetrievalToken</code>.</p> <p> When the <code>RetrievalStatus</code> is
791791
* not <i>COMPLETE</i>, the API will return an empty response. Retry the request
792792
* once the retrieval has completed to access the full list of traces.</p> <p>For
793793
* cross-account observability, this API can retrieve traces from linked accounts
794-
* when CloudWatch log is the destination across relevant accounts. For more
794+
* when CloudWatch log is set as the destination across relevant accounts. For more
795795
* details, see <a
796796
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html">CloudWatch
797797
* cross-account observability</a>.</p> <p>For retrieving data from X-Ray directly
798-
* as opposed to the Transaction-Search Log group, see <a
798+
* as opposed to the Transaction Search generated log group, see <a
799799
* href="https://docs.aws.amazon.com/xray/latest/api/API_BatchGetTraces.html">BatchGetTraces</a>.</p><p><h3>See
800800
* Also:</h3> <a
801801
* href="http://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListRetrievedTraces">AWS
@@ -996,7 +996,7 @@ namespace XRay
996996

997997
/**
998998
* <p> Initiates a trace retrieval process using the specified time range and for
999-
* the give trace IDs on Transaction Search generated by the CloudWatch log group.
999+
* the given trace IDs in the Transaction Search generated CloudWatch log group.
10001000
* For more information, see <a
10011001
* href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Transaction-Search.html">Transaction
10021002
* Search</a>. </p> <p>API returns a <code>RetrievalToken</code>, which can be used

generated/src/aws-cpp-sdk-xray/include/aws/xray/model/GetSamplingTargetsRequest.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <aws/xray/XRayRequest.h>
99
#include <aws/core/utils/memory/stl/AWSVector.h>
1010
#include <aws/xray/model/SamplingStatisticsDocument.h>
11+
#include <aws/xray/model/SamplingBoostStatisticsDocument.h>
1112
#include <utility>
1213

1314
namespace Aws
@@ -46,10 +47,27 @@ namespace Model
4647
template<typename SamplingStatisticsDocumentsT = SamplingStatisticsDocument>
4748
GetSamplingTargetsRequest& AddSamplingStatisticsDocuments(SamplingStatisticsDocumentsT&& value) { m_samplingStatisticsDocumentsHasBeenSet = true; m_samplingStatisticsDocuments.emplace_back(std::forward<SamplingStatisticsDocumentsT>(value)); return *this; }
4849
///@}
50+
51+
///@{
52+
/**
53+
* <p>Information about rules that the service is using to boost sampling rate.</p>
54+
*/
55+
inline const Aws::Vector<SamplingBoostStatisticsDocument>& GetSamplingBoostStatisticsDocuments() const { return m_samplingBoostStatisticsDocuments; }
56+
inline bool SamplingBoostStatisticsDocumentsHasBeenSet() const { return m_samplingBoostStatisticsDocumentsHasBeenSet; }
57+
template<typename SamplingBoostStatisticsDocumentsT = Aws::Vector<SamplingBoostStatisticsDocument>>
58+
void SetSamplingBoostStatisticsDocuments(SamplingBoostStatisticsDocumentsT&& value) { m_samplingBoostStatisticsDocumentsHasBeenSet = true; m_samplingBoostStatisticsDocuments = std::forward<SamplingBoostStatisticsDocumentsT>(value); }
59+
template<typename SamplingBoostStatisticsDocumentsT = Aws::Vector<SamplingBoostStatisticsDocument>>
60+
GetSamplingTargetsRequest& WithSamplingBoostStatisticsDocuments(SamplingBoostStatisticsDocumentsT&& value) { SetSamplingBoostStatisticsDocuments(std::forward<SamplingBoostStatisticsDocumentsT>(value)); return *this;}
61+
template<typename SamplingBoostStatisticsDocumentsT = SamplingBoostStatisticsDocument>
62+
GetSamplingTargetsRequest& AddSamplingBoostStatisticsDocuments(SamplingBoostStatisticsDocumentsT&& value) { m_samplingBoostStatisticsDocumentsHasBeenSet = true; m_samplingBoostStatisticsDocuments.emplace_back(std::forward<SamplingBoostStatisticsDocumentsT>(value)); return *this; }
63+
///@}
4964
private:
5065

5166
Aws::Vector<SamplingStatisticsDocument> m_samplingStatisticsDocuments;
5267
bool m_samplingStatisticsDocumentsHasBeenSet = false;
68+
69+
Aws::Vector<SamplingBoostStatisticsDocument> m_samplingBoostStatisticsDocuments;
70+
bool m_samplingBoostStatisticsDocumentsHasBeenSet = false;
5371
};
5472

5573
} // namespace Model

0 commit comments

Comments
 (0)