& result);
+
+
+ ///@{
+ /**
+ * The ID of the instance that was updated.
+ */
+ inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
+ inline void SetInstanceId(const Aws::String& value) { m_instanceId = value; }
+ inline void SetInstanceId(Aws::String&& value) { m_instanceId = std::move(value); }
+ inline void SetInstanceId(const char* value) { m_instanceId.assign(value); }
+ inline ModifyInstanceCpuOptionsResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
+ inline ModifyInstanceCpuOptionsResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
+ inline ModifyInstanceCpuOptionsResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The number of CPU cores that are running for the specified instance after the
+ * update.
+ */
+ inline int GetCoreCount() const{ return m_coreCount; }
+ inline void SetCoreCount(int value) { m_coreCount = value; }
+ inline ModifyInstanceCpuOptionsResponse& WithCoreCount(int value) { SetCoreCount(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The number of threads that are running per CPU core for the specified
+ * instance after the update.
+ */
+ inline int GetThreadsPerCore() const{ return m_threadsPerCore; }
+ inline void SetThreadsPerCore(int value) { m_threadsPerCore = value; }
+ inline ModifyInstanceCpuOptionsResponse& WithThreadsPerCore(int value) { SetThreadsPerCore(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
+ inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
+ inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
+ inline ModifyInstanceCpuOptionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
+ inline ModifyInstanceCpuOptionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_instanceId;
+
+ int m_coreCount;
+
+ int m_threadsPerCore;
+
+ ResponseMetadata m_responseMetadata;
+ };
+
+} // namespace Model
+} // namespace EC2
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceCreditSpecificationRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceCreditSpecificationRequest.h
index eaccce84f38..c540ba6280a 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceCreditSpecificationRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceCreditSpecificationRequest.h
@@ -40,7 +40,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceEventStartTimeRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceEventStartTimeRequest.h
index 81e997c5656..d745f9fb464 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceEventStartTimeRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceEventStartTimeRequest.h
@@ -39,7 +39,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h
index c12886f109d..304bcd4fac9 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyInstanceMetadataDefaultsRequest.h
@@ -97,7 +97,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayOptions.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayOptions.h
index ca5387e246c..d4ba5302cc8 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayOptions.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayOptions.h
@@ -103,12 +103,15 @@ namespace Model
///@{
/**
- * Enables you to reference a security group across VPCs attached to a transit
- * gateway to simplify security group management.
This option is disabled
- * by default.
For more information about security group referencing, see Security
- * group referencing in the Amazon Web Services Transit Gateways
- * Guide.
+ * This parameter is in preview and may not be available for your
+ * account.
Enables you to reference a security group across VPCs
+ * attached to a transit gateway. Use this option to simplify security group
+ * management and control of instance-to-instance traffic across VPCs that are
+ * connected by transit gateway. You can also use this option to migrate from VPC
+ * peering (which was the only option that supported security group referencing) to
+ * transit gateways (which now also support security group referencing). This
+ * option is disabled by default and there are no additional costs to use this
+ * feature.
*/
inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayVpcAttachmentRequestOptions.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayVpcAttachmentRequestOptions.h
index 645eb1e940d..8522bf7890b 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayVpcAttachmentRequestOptions.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ModifyTransitGatewayVpcAttachmentRequestOptions.h
@@ -56,12 +56,15 @@ namespace Model
///@{
/**
- * Enables you to reference a security group across VPCs attached to a transit
- * gateway to simplify security group management.
This option is disabled
- * by default.
For more information about security group referencing, see Security
- * group referencing in the Amazon Web Services Transit Gateways
- * Guide.
+ * This parameter is in preview and may not be available for your
+ * account.
Enables you to reference a security group across VPCs
+ * attached to a transit gateway. Use this option to simplify security group
+ * management and control of instance-to-instance traffic across VPCs that are
+ * connected by transit gateway. You can also use this option to migrate from VPC
+ * peering (which was the only option that supported security group referencing) to
+ * transit gateways (which now also support security group referencing). This
+ * option is disabled by default and there are no additional costs to use this
+ * feature.
*/
inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/MonitorInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/MonitorInstancesRequest.h
index d56d9e2dde1..d2bbdcf8644 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/MonitorInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/MonitorInstancesRequest.h
@@ -54,7 +54,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RebootInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RebootInstancesRequest.h
index ea537403764..8bb96c23721 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RebootInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RebootInstancesRequest.h
@@ -54,7 +54,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ReportInstanceStatusRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ReportInstanceStatusRequest.h
index b0434447747..308ac21050a 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ReportInstanceStatusRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ReportInstanceStatusRequest.h
@@ -56,7 +56,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResetInstanceAttributeRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResetInstanceAttributeRequest.h
index 4754be05965..d1ad43cf959 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResetInstanceAttributeRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/ResetInstanceAttributeRequest.h
@@ -53,7 +53,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h
index bf0222b9e5b..438dfd6ddb0 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/RunInstancesRequest.h
@@ -373,7 +373,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SendDiagnosticInterruptRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SendDiagnosticInterruptRequest.h
index 32a2715ed67..596c7a1a765 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SendDiagnosticInterruptRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/SendDiagnosticInterruptRequest.h
@@ -52,7 +52,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StartInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StartInstancesRequest.h
index c100a0ecee9..fe047dece9e 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StartInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StartInstancesRequest.h
@@ -68,7 +68,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StopInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StopInstancesRequest.h
index 859ff05b64d..f2a3f7d799b 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StopInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/StopInstancesRequest.h
@@ -69,7 +69,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TerminateInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TerminateInstancesRequest.h
index e465bcee668..842a7d7f4c3 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TerminateInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TerminateInstancesRequest.h
@@ -55,7 +55,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayOptions.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayOptions.h
index 4751338207b..0dd4370122b 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayOptions.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayOptions.h
@@ -166,12 +166,15 @@ namespace Model
///@{
/**
- * Enables you to reference a security group across VPCs attached to a transit
- * gateway to simplify security group management.
This option is enabled by
- * default.
For more information about security group referencing, see Security
- * group referencing in the Amazon Web Services Transit Gateways
- * Guide.
+ * This parameter is in preview and may not be available for your
+ * account.
Enables you to reference a security group across VPCs
+ * attached to a transit gateway. Use this option to simplify security group
+ * management and control of instance-to-instance traffic across VPCs that are
+ * connected by transit gateway. You can also use this option to migrate from VPC
+ * peering (which was the only option that supported security group referencing) to
+ * transit gateways (which now also support security group referencing). This
+ * option is disabled by default and there are no additional costs to use this
+ * feature.
*/
inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayRequestOptions.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayRequestOptions.h
index 6c729d48302..9d9ce7de2c1 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayRequestOptions.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayRequestOptions.h
@@ -125,12 +125,15 @@ namespace Model
///@{
/**
- * Enables you to reference a security group across VPCs attached to a transit
- * gateway to simplify security group management.
This option is disabled
- * by default.
For more information about security group referencing, see Security
- * group referencing in the Amazon Web Services Transit Gateways
- * Guide.
+ * This parameter is in preview and may not be available for your
+ * account.
Enables you to reference a security group across VPCs
+ * attached to a transit gateway. Use this option to simplify security group
+ * management and control of instance-to-instance traffic across VPCs that are
+ * connected by transit gateway. You can also use this option to migrate from VPC
+ * peering (which was the only option that supported security group referencing) to
+ * transit gateways (which now also support security group referencing). This
+ * option is disabled by default and there are no additional costs to use this
+ * feature.
*/
inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayVpcAttachmentOptions.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayVpcAttachmentOptions.h
index d3a882f8298..248eaad6261 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayVpcAttachmentOptions.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/TransitGatewayVpcAttachmentOptions.h
@@ -56,12 +56,15 @@ namespace Model
///@{
/**
- * Enables you to reference a security group across VPCs attached to a transit
- * gateway to simplify security group management.
This option is disabled
- * by default.
For more information about security group referencing, see Security
- * group referencing in the Amazon Web Services Transit Gateways
- * Guide.
+ * This parameter is in preview and may not be available for your
+ * account.
Enables you to reference a security group across VPCs
+ * attached to a transit gateway. Use this option to simplify security group
+ * management and control of instance-to-instance traffic across VPCs that are
+ * connected by transit gateway. You can also use this option to migrate from VPC
+ * peering (which was the only option that supported security group referencing) to
+ * transit gateways (which now also support security group referencing). This
+ * option is disabled by default and there are no additional costs to use this
+ * feature.
*/
inline const SecurityGroupReferencingSupportValue& GetSecurityGroupReferencingSupport() const{ return m_securityGroupReferencingSupport; }
inline bool SecurityGroupReferencingSupportHasBeenSet() const { return m_securityGroupReferencingSupportHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/UnmonitorInstancesRequest.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/UnmonitorInstancesRequest.h
index 88d09a4f648..95c252f8b4d 100644
--- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/UnmonitorInstancesRequest.h
+++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/UnmonitorInstancesRequest.h
@@ -54,7 +54,7 @@ namespace Model
///@{
/**
- * Checks whether you have the required permissions for the action, without
+ *
Checks whether you have the required permissions for the operation, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp
index ae7c54b5dfb..bc0ebab6fb1 100644
--- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp
+++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client5.cpp
@@ -27,6 +27,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -120,7 +121,6 @@
#include
#include
#include
-#include
#include
@@ -293,6 +293,32 @@ ModifyInstanceCapacityReservationAttributesOutcome EC2Client::ModifyInstanceCapa
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+ModifyInstanceCpuOptionsOutcome EC2Client::ModifyInstanceCpuOptions(const ModifyInstanceCpuOptionsRequest& request) const
+{
+ AWS_OPERATION_GUARD(ModifyInstanceCpuOptions);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, ModifyInstanceCpuOptions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ModifyInstanceCpuOptions, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, ModifyInstanceCpuOptions, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(),
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> ModifyInstanceCpuOptionsOutcome {
+ 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, ModifyInstanceCpuOptions, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ return ModifyInstanceCpuOptionsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
ModifyInstanceCreditSpecificationOutcome EC2Client::ModifyInstanceCreditSpecification(const ModifyInstanceCreditSpecificationRequest& request) const
{
AWS_OPERATION_GUARD(ModifyInstanceCreditSpecification);
@@ -2711,29 +2737,3 @@ RestoreAddressToClassicOutcome EC2Client::RestoreAddressToClassic(const RestoreA
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
-RestoreImageFromRecycleBinOutcome EC2Client::RestoreImageFromRecycleBin(const RestoreImageFromRecycleBinRequest& request) const
-{
- AWS_OPERATION_GUARD(RestoreImageFromRecycleBin);
- AWS_OPERATION_CHECK_PTR(m_endpointProvider, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
- AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
- auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
- AWS_OPERATION_CHECK_PTR(meter, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::NOT_INITIALIZED);
- auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(),
- {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
- smithy::components::tracing::SpanKind::CLIENT);
- return TracingUtils::MakeCallWithTiming(
- [&]()-> RestoreImageFromRecycleBinOutcome {
- 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, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- return RestoreImageFromRecycleBinOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
- },
- TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
- *meter,
- {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
-}
-
diff --git a/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp b/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp
index 30047985c49..14608a8ad69 100644
--- a/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp
+++ b/generated/src/aws-cpp-sdk-ec2/source/EC2Client6.cpp
@@ -21,6 +21,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -64,6 +65,32 @@ using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;
+RestoreImageFromRecycleBinOutcome EC2Client::RestoreImageFromRecycleBin(const RestoreImageFromRecycleBinRequest& request) const
+{
+ AWS_OPERATION_GUARD(RestoreImageFromRecycleBin);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + "." + request.GetServiceRequestName(),
+ {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }},
+ smithy::components::tracing::SpanKind::CLIENT);
+ return TracingUtils::MakeCallWithTiming(
+ [&]()-> RestoreImageFromRecycleBinOutcome {
+ 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, RestoreImageFromRecycleBin, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ return RestoreImageFromRecycleBinOutcome(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()}});
+}
+
RestoreManagedPrefixListVersionOutcome EC2Client::RestoreManagedPrefixListVersion(const RestoreManagedPrefixListVersionRequest& request) const
{
AWS_OPERATION_GUARD(RestoreManagedPrefixListVersion);
diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ModifyInstanceCpuOptionsRequest.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ModifyInstanceCpuOptionsRequest.cpp
new file mode 100644
index 00000000000..7b928d00fb1
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-ec2/source/model/ModifyInstanceCpuOptionsRequest.cpp
@@ -0,0 +1,56 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+
+using namespace Aws::EC2::Model;
+using namespace Aws::Utils;
+
+ModifyInstanceCpuOptionsRequest::ModifyInstanceCpuOptionsRequest() :
+ m_instanceIdHasBeenSet(false),
+ m_coreCount(0),
+ m_coreCountHasBeenSet(false),
+ m_threadsPerCore(0),
+ m_threadsPerCoreHasBeenSet(false),
+ m_dryRun(false),
+ m_dryRunHasBeenSet(false)
+{
+}
+
+Aws::String ModifyInstanceCpuOptionsRequest::SerializePayload() const
+{
+ Aws::StringStream ss;
+ ss << "Action=ModifyInstanceCpuOptions&";
+ if(m_instanceIdHasBeenSet)
+ {
+ ss << "InstanceId=" << StringUtils::URLEncode(m_instanceId.c_str()) << "&";
+ }
+
+ if(m_coreCountHasBeenSet)
+ {
+ ss << "CoreCount=" << m_coreCount << "&";
+ }
+
+ if(m_threadsPerCoreHasBeenSet)
+ {
+ ss << "ThreadsPerCore=" << m_threadsPerCore << "&";
+ }
+
+ if(m_dryRunHasBeenSet)
+ {
+ ss << "DryRun=" << std::boolalpha << m_dryRun << "&";
+ }
+
+ ss << "Version=2016-11-15";
+ return ss.str();
+}
+
+
+void ModifyInstanceCpuOptionsRequest::DumpBodyToUrl(Aws::Http::URI& uri ) const
+{
+ uri.SetQueryString(SerializePayload());
+}
diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/ModifyInstanceCpuOptionsResponse.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/ModifyInstanceCpuOptionsResponse.cpp
new file mode 100644
index 00000000000..1f2cd50c75c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-ec2/source/model/ModifyInstanceCpuOptionsResponse.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
+
+#include
+
+using namespace Aws::EC2::Model;
+using namespace Aws::Utils::Xml;
+using namespace Aws::Utils::Logging;
+using namespace Aws::Utils;
+using namespace Aws;
+
+ModifyInstanceCpuOptionsResponse::ModifyInstanceCpuOptionsResponse() :
+ m_coreCount(0),
+ m_threadsPerCore(0)
+{
+}
+
+ModifyInstanceCpuOptionsResponse::ModifyInstanceCpuOptionsResponse(const Aws::AmazonWebServiceResult& result)
+ : ModifyInstanceCpuOptionsResponse()
+{
+ *this = result;
+}
+
+ModifyInstanceCpuOptionsResponse& ModifyInstanceCpuOptionsResponse::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ const XmlDocument& xmlDocument = result.GetPayload();
+ XmlNode rootNode = xmlDocument.GetRootElement();
+ XmlNode resultNode = rootNode;
+ if (!rootNode.IsNull() && (rootNode.GetName() != "ModifyInstanceCpuOptionsResponse"))
+ {
+ resultNode = rootNode.FirstChild("ModifyInstanceCpuOptionsResponse");
+ }
+
+ if(!resultNode.IsNull())
+ {
+ XmlNode instanceIdNode = resultNode.FirstChild("instanceId");
+ if(!instanceIdNode.IsNull())
+ {
+ m_instanceId = Aws::Utils::Xml::DecodeEscapedXmlText(instanceIdNode.GetText());
+ }
+ XmlNode coreCountNode = resultNode.FirstChild("coreCount");
+ if(!coreCountNode.IsNull())
+ {
+ m_coreCount = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(coreCountNode.GetText()).c_str()).c_str());
+ }
+ XmlNode threadsPerCoreNode = resultNode.FirstChild("threadsPerCore");
+ if(!threadsPerCoreNode.IsNull())
+ {
+ m_threadsPerCore = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(threadsPerCoreNode.GetText()).c_str()).c_str());
+ }
+ }
+
+ if (!rootNode.IsNull()) {
+ XmlNode requestIdNode = rootNode.FirstChild("requestId");
+ if (!requestIdNode.IsNull())
+ {
+ m_responseMetadata.SetRequestId(StringUtils::Trim(requestIdNode.GetText().c_str()));
+ }
+ AWS_LOGSTREAM_DEBUG("Aws::EC2::Model::ModifyInstanceCpuOptionsResponse", "x-amzn-request-id: " << m_responseMetadata.GetRequestId() );
+ }
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h
index a479f35dd25..e088857e94d 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/IoTClient.h
@@ -180,8 +180,8 @@ namespace IoT
}
/**
- * Associates a software bill of materials (SBOM) with a specific software
- * package version.
Requires permission to access the Associates the selected software bill of materials (SBOM) with a specific
+ * software package version.
Requires permission to access the AssociateSbomWithPackageVersion
* action.
See Also:
AWS
@@ -614,7 +614,11 @@ namespace IoT
}
/**
- * Creates a billing group.
Requires permission to access the Creates a billing group. If this call is made multiple times using the same
+ * billing group name and configuration, the call will succeed. If this call is
+ * made with the same billing group name but different configuration a
+ * ResourceAlreadyExistsException
is thrown.
Requires
+ * permission to access the CreateBillingGroup
* action.
See Also:
AWS
@@ -1232,7 +1236,15 @@ namespace IoT
/**
* Creates a role alias.
Requires permission to access the CreateRoleAlias
- * action.
See Also:
The value of
+ * credentialDurationSeconds
must be less than or equal to the
+ * maximum session duration of the IAM role that the role alias references. For
+ * more information, see
+ * Modifying a role maximum session duration (Amazon Web Services API) from the
+ * Amazon Web Services Identity and Access Management User Guide.
+ * See Also:
AWS
* API Reference
*/
@@ -1409,7 +1421,11 @@ namespace IoT
}
/**
- * Creates a new thing type.
Requires permission to access the Creates a new thing type. If this call is made multiple times using the same
+ * thing type name and configuration, the call will succeed. If this call is made
+ * with the same thing type name but different configuration a
+ * ResourceAlreadyExistsException
is thrown.
Requires
+ * permission to access the CreateThingType
* action.
See Also:
AWS
@@ -3545,8 +3561,8 @@ namespace IoT
}
/**
- * Disassociates a software bill of materials (SBOM) from a specific software
- * package version.
Requires permission to access the Disassociates the selected software bill of materials (SBOM) from a specific
+ * software package version.
Requires permission to access the DisassociateSbomWithPackageVersion
* action.
See Also:
AWS
@@ -7111,7 +7127,15 @@ namespace IoT
/**
* Updates a role alias.
Requires permission to access the UpdateRoleAlias
- * action.
See Also:
The value of
+ * credentialDurationSeconds
must be less than or equal to the
+ * maximum session duration of the IAM role that the role alias references. For
+ * more information, see
+ * Modifying a role maximum session duration (Amazon Web Services API) from the
+ * Amazon Web Services Identity and Access Management User Guide.
+ * See Also:
AWS
* API Reference
*/
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ApplicationProtocol.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ApplicationProtocol.h
new file mode 100644
index 00000000000..44eb86f516b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ApplicationProtocol.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 IoT
+{
+namespace Model
+{
+ enum class ApplicationProtocol
+ {
+ NOT_SET,
+ SECURE_MQTT,
+ MQTT_WSS,
+ HTTPS,
+ DEFAULT
+ };
+
+namespace ApplicationProtocolMapper
+{
+AWS_IOT_API ApplicationProtocol GetApplicationProtocolForName(const Aws::String& name);
+
+AWS_IOT_API Aws::String GetNameForApplicationProtocol(ApplicationProtocol value);
+} // namespace ApplicationProtocolMapper
+} // namespace Model
+} // namespace IoT
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AssociateSbomWithPackageVersionResult.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AssociateSbomWithPackageVersionResult.h
index 5530dbaadec..e4f12e379e5 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AssociateSbomWithPackageVersionResult.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AssociateSbomWithPackageVersionResult.h
@@ -71,8 +71,9 @@ namespace Model
///@{
/**
- * The status of the initial validation for the SBOM against the Software
- * Package Data Exchange (SPDX) and CycloneDX industry standard format.
+ * The status of the initial validation for the software bill of materials
+ * against the Software Package Data Exchange (SPDX) and CycloneDX industry
+ * standard formats.
*/
inline const SbomValidationStatus& GetSbomValidationStatus() const{ return m_sbomValidationStatus; }
inline void SetSbomValidationStatus(const SbomValidationStatus& value) { m_sbomValidationStatus = value; }
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AuthenticationType.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AuthenticationType.h
new file mode 100644
index 00000000000..76edc9a9052
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/AuthenticationType.h
@@ -0,0 +1,34 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace IoT
+{
+namespace Model
+{
+ enum class AuthenticationType
+ {
+ NOT_SET,
+ CUSTOM_AUTH_X509,
+ CUSTOM_AUTH,
+ AWS_X509,
+ AWS_SIGV4,
+ DEFAULT
+ };
+
+namespace AuthenticationTypeMapper
+{
+AWS_IOT_API AuthenticationType GetAuthenticationTypeForName(const Aws::String& name);
+
+AWS_IOT_API Aws::String GetNameForAuthenticationType(AuthenticationType value);
+} // namespace AuthenticationTypeMapper
+} // namespace Model
+} // namespace IoT
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ClientCertificateConfig.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ClientCertificateConfig.h
new file mode 100644
index 00000000000..0aa7b2ed6d9
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ClientCertificateConfig.h
@@ -0,0 +1,63 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace IoT
+{
+namespace Model
+{
+
+ /**
+ * An object that specifies the client certificate configuration for a
+ * domain.
See Also:
AWS
+ * API Reference
+ */
+ class ClientCertificateConfig
+ {
+ public:
+ AWS_IOT_API ClientCertificateConfig();
+ AWS_IOT_API ClientCertificateConfig(Aws::Utils::Json::JsonView jsonValue);
+ AWS_IOT_API ClientCertificateConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The ARN of the Lambda function that IoT invokes after mutual TLS
+ * authentication during the connection.
+ */
+ inline const Aws::String& GetClientCertificateCallbackArn() const{ return m_clientCertificateCallbackArn; }
+ inline bool ClientCertificateCallbackArnHasBeenSet() const { return m_clientCertificateCallbackArnHasBeenSet; }
+ inline void SetClientCertificateCallbackArn(const Aws::String& value) { m_clientCertificateCallbackArnHasBeenSet = true; m_clientCertificateCallbackArn = value; }
+ inline void SetClientCertificateCallbackArn(Aws::String&& value) { m_clientCertificateCallbackArnHasBeenSet = true; m_clientCertificateCallbackArn = std::move(value); }
+ inline void SetClientCertificateCallbackArn(const char* value) { m_clientCertificateCallbackArnHasBeenSet = true; m_clientCertificateCallbackArn.assign(value); }
+ inline ClientCertificateConfig& WithClientCertificateCallbackArn(const Aws::String& value) { SetClientCertificateCallbackArn(value); return *this;}
+ inline ClientCertificateConfig& WithClientCertificateCallbackArn(Aws::String&& value) { SetClientCertificateCallbackArn(std::move(value)); return *this;}
+ inline ClientCertificateConfig& WithClientCertificateCallbackArn(const char* value) { SetClientCertificateCallbackArn(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_clientCertificateCallbackArn;
+ bool m_clientCertificateCallbackArnHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace IoT
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateDomainConfigurationRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateDomainConfigurationRequest.h
index 000b0f6912b..81b300fbba8 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateDomainConfigurationRequest.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreateDomainConfigurationRequest.h
@@ -12,6 +12,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
#include
@@ -167,6 +170,67 @@ namespace Model
inline CreateDomainConfigurationRequest& WithServerCertificateConfig(const ServerCertificateConfig& value) { SetServerCertificateConfig(value); return *this;}
inline CreateDomainConfigurationRequest& WithServerCertificateConfig(ServerCertificateConfig&& value) { SetServerCertificateConfig(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * An enumerated string that specifies the authentication type.
+ */
+ inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
+ inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
+ inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
+ inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
+ inline CreateDomainConfigurationRequest& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
+ inline CreateDomainConfigurationRequest& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An enumerated string that specifies the application-layer protocol.
+ */
+ inline const ApplicationProtocol& GetApplicationProtocol() const{ return m_applicationProtocol; }
+ inline bool ApplicationProtocolHasBeenSet() const { return m_applicationProtocolHasBeenSet; }
+ inline void SetApplicationProtocol(const ApplicationProtocol& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = value; }
+ inline void SetApplicationProtocol(ApplicationProtocol&& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = std::move(value); }
+ inline CreateDomainConfigurationRequest& WithApplicationProtocol(const ApplicationProtocol& value) { SetApplicationProtocol(value); return *this;}
+ inline CreateDomainConfigurationRequest& WithApplicationProtocol(ApplicationProtocol&& value) { SetApplicationProtocol(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An object that specifies the client certificate configuration for a domain.
+ */
+ inline const ClientCertificateConfig& GetClientCertificateConfig() const{ return m_clientCertificateConfig; }
+ inline bool ClientCertificateConfigHasBeenSet() const { return m_clientCertificateConfigHasBeenSet; }
+ inline void SetClientCertificateConfig(const ClientCertificateConfig& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = value; }
+ inline void SetClientCertificateConfig(ClientCertificateConfig&& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = std::move(value); }
+ inline CreateDomainConfigurationRequest& WithClientCertificateConfig(const ClientCertificateConfig& value) { SetClientCertificateConfig(value); return *this;}
+ inline CreateDomainConfigurationRequest& WithClientCertificateConfig(ClientCertificateConfig&& value) { SetClientCertificateConfig(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_domainConfigurationName;
@@ -195,6 +259,15 @@ namespace Model
ServerCertificateConfig m_serverCertificateConfig;
bool m_serverCertificateConfigHasBeenSet = false;
+
+ AuthenticationType m_authenticationType;
+ bool m_authenticationTypeHasBeenSet = false;
+
+ ApplicationProtocol m_applicationProtocol;
+ bool m_applicationProtocolHasBeenSet = false;
+
+ ClientCertificateConfig m_clientCertificateConfig;
+ bool m_clientCertificateConfigHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreatePackageVersionRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreatePackageVersionRequest.h
index 868ead3ac48..3fa47f3bcce 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreatePackageVersionRequest.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/CreatePackageVersionRequest.h
@@ -122,7 +122,7 @@ namespace Model
///@{
/**
* The inline job document associated with a software package version used for a
- * quick job deployment via IoT Jobs.
+ * quick job deployment.
*/
inline const Aws::String& GetRecipe() const{ return m_recipe; }
inline bool RecipeHasBeenSet() const { return m_recipeHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeDomainConfigurationResult.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeDomainConfigurationResult.h
index dd8ccb099a1..1bd5bfbb15a 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeDomainConfigurationResult.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/DescribeDomainConfigurationResult.h
@@ -14,6 +14,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
#include
@@ -172,6 +175,64 @@ namespace Model
inline DescribeDomainConfigurationResult& WithServerCertificateConfig(ServerCertificateConfig&& value) { SetServerCertificateConfig(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * An enumerated string that specifies the authentication type.
+ */
+ inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
+ inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationType = value; }
+ inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationType = std::move(value); }
+ inline DescribeDomainConfigurationResult& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
+ inline DescribeDomainConfigurationResult& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An enumerated string that specifies the application-layer protocol.
+ */
+ inline const ApplicationProtocol& GetApplicationProtocol() const{ return m_applicationProtocol; }
+ inline void SetApplicationProtocol(const ApplicationProtocol& value) { m_applicationProtocol = value; }
+ inline void SetApplicationProtocol(ApplicationProtocol&& value) { m_applicationProtocol = std::move(value); }
+ inline DescribeDomainConfigurationResult& WithApplicationProtocol(const ApplicationProtocol& value) { SetApplicationProtocol(value); return *this;}
+ inline DescribeDomainConfigurationResult& WithApplicationProtocol(ApplicationProtocol&& value) { SetApplicationProtocol(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An object that specifies the client certificate configuration for a domain.
+ */
+ inline const ClientCertificateConfig& GetClientCertificateConfig() const{ return m_clientCertificateConfig; }
+ inline void SetClientCertificateConfig(const ClientCertificateConfig& value) { m_clientCertificateConfig = value; }
+ inline void SetClientCertificateConfig(ClientCertificateConfig&& value) { m_clientCertificateConfig = std::move(value); }
+ inline DescribeDomainConfigurationResult& WithClientCertificateConfig(const ClientCertificateConfig& value) { SetClientCertificateConfig(value); return *this;}
+ inline DescribeDomainConfigurationResult& WithClientCertificateConfig(ClientCertificateConfig&& value) { SetClientCertificateConfig(std::move(value)); return *this;}
+ ///@}
+
///@{
inline const Aws::String& GetRequestId() const{ return m_requestId; }
@@ -206,6 +267,12 @@ namespace Model
ServerCertificateConfig m_serverCertificateConfig;
+ AuthenticationType m_authenticationType;
+
+ ApplicationProtocol m_applicationProtocol;
+
+ ClientCertificateConfig m_clientCertificateConfig;
+
Aws::String m_requestId;
};
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/GetPackageVersionResult.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/GetPackageVersionResult.h
index 52d903a93ce..d506cf0f95b 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/GetPackageVersionResult.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/GetPackageVersionResult.h
@@ -194,7 +194,7 @@ namespace Model
///@{
/**
* The inline job document associated with a software package version used for a
- * quick job deployment via IoT Jobs.
+ * quick job deployment.
*/
inline const Aws::String& GetRecipe() const{ return m_recipe; }
inline void SetRecipe(const Aws::String& value) { m_recipe = value; }
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/PackageVersionArtifact.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/PackageVersionArtifact.h
index f98aee38697..e46a2ba11cf 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/PackageVersionArtifact.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/PackageVersionArtifact.h
@@ -24,7 +24,7 @@ namespace Model
{
/**
- * The Amazon S3 location for the artifacts associated with a software package
+ *
A specific package version artifact associated with a software package
* version.
See Also:
AWS
* API Reference
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Sbom.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Sbom.h
index 96817a1f667..882adf4e4c2 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Sbom.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/Sbom.h
@@ -24,8 +24,8 @@ namespace Model
{
/**
- * The Amazon S3 location for the software bill of materials associated with a
- * software package version.
See Also:
A specific software bill of matrerials associated with a software package
+ * version.See Also:
AWS API
* Reference
*/
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingDocument.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingDocument.h
index fcdbf168ced..57642521b8f 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingDocument.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/ThingDocument.h
@@ -84,7 +84,7 @@ namespace Model
///@{
/**
- * Thing group names.
+ * Thing group and billing group names.
*/
inline const Aws::Vector& GetThingGroupNames() const{ return m_thingGroupNames; }
inline bool ThingGroupNamesHasBeenSet() const { return m_thingGroupNamesHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateDomainConfigurationRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateDomainConfigurationRequest.h
index 23741595072..1cb1f0a00b9 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateDomainConfigurationRequest.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdateDomainConfigurationRequest.h
@@ -11,6 +11,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
namespace Aws
@@ -107,6 +110,67 @@ namespace Model
inline UpdateDomainConfigurationRequest& WithServerCertificateConfig(const ServerCertificateConfig& value) { SetServerCertificateConfig(value); return *this;}
inline UpdateDomainConfigurationRequest& WithServerCertificateConfig(ServerCertificateConfig&& value) { SetServerCertificateConfig(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * An enumerated string that specifies the authentication type.
+ */
+ inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
+ inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
+ inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
+ inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
+ inline UpdateDomainConfigurationRequest& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
+ inline UpdateDomainConfigurationRequest& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An enumerated string that specifies the application-layer protocol.
+ */
+ inline const ApplicationProtocol& GetApplicationProtocol() const{ return m_applicationProtocol; }
+ inline bool ApplicationProtocolHasBeenSet() const { return m_applicationProtocolHasBeenSet; }
+ inline void SetApplicationProtocol(const ApplicationProtocol& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = value; }
+ inline void SetApplicationProtocol(ApplicationProtocol&& value) { m_applicationProtocolHasBeenSet = true; m_applicationProtocol = std::move(value); }
+ inline UpdateDomainConfigurationRequest& WithApplicationProtocol(const ApplicationProtocol& value) { SetApplicationProtocol(value); return *this;}
+ inline UpdateDomainConfigurationRequest& WithApplicationProtocol(ApplicationProtocol&& value) { SetApplicationProtocol(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * An object that specifies the client certificate configuration for a domain.
+ */
+ inline const ClientCertificateConfig& GetClientCertificateConfig() const{ return m_clientCertificateConfig; }
+ inline bool ClientCertificateConfigHasBeenSet() const { return m_clientCertificateConfigHasBeenSet; }
+ inline void SetClientCertificateConfig(const ClientCertificateConfig& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = value; }
+ inline void SetClientCertificateConfig(ClientCertificateConfig&& value) { m_clientCertificateConfigHasBeenSet = true; m_clientCertificateConfig = std::move(value); }
+ inline UpdateDomainConfigurationRequest& WithClientCertificateConfig(const ClientCertificateConfig& value) { SetClientCertificateConfig(value); return *this;}
+ inline UpdateDomainConfigurationRequest& WithClientCertificateConfig(ClientCertificateConfig&& value) { SetClientCertificateConfig(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_domainConfigurationName;
@@ -126,6 +190,15 @@ namespace Model
ServerCertificateConfig m_serverCertificateConfig;
bool m_serverCertificateConfigHasBeenSet = false;
+
+ AuthenticationType m_authenticationType;
+ bool m_authenticationTypeHasBeenSet = false;
+
+ ApplicationProtocol m_applicationProtocol;
+ bool m_applicationProtocolHasBeenSet = false;
+
+ ClientCertificateConfig m_clientCertificateConfig;
+ bool m_clientCertificateConfigHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdatePackageVersionRequest.h b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdatePackageVersionRequest.h
index 141feba3083..711620dca59 100644
--- a/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdatePackageVersionRequest.h
+++ b/generated/src/aws-cpp-sdk-iot/include/aws/iot/model/UpdatePackageVersionRequest.h
@@ -137,7 +137,7 @@ namespace Model
///@{
/**
* The inline job document associated with a software package version used for a
- * quick job deployment via IoT Jobs.
+ * quick job deployment.
*/
inline const Aws::String& GetRecipe() const{ return m_recipe; }
inline bool RecipeHasBeenSet() const { return m_recipeHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-iot/source/model/ApplicationProtocol.cpp b/generated/src/aws-cpp-sdk-iot/source/model/ApplicationProtocol.cpp
new file mode 100644
index 00000000000..4e00308e49a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-iot/source/model/ApplicationProtocol.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 IoT
+ {
+ namespace Model
+ {
+ namespace ApplicationProtocolMapper
+ {
+
+ static const int SECURE_MQTT_HASH = HashingUtils::HashString("SECURE_MQTT");
+ static const int MQTT_WSS_HASH = HashingUtils::HashString("MQTT_WSS");
+ static const int HTTPS_HASH = HashingUtils::HashString("HTTPS");
+ static const int DEFAULT_HASH = HashingUtils::HashString("DEFAULT");
+
+
+ ApplicationProtocol GetApplicationProtocolForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == SECURE_MQTT_HASH)
+ {
+ return ApplicationProtocol::SECURE_MQTT;
+ }
+ else if (hashCode == MQTT_WSS_HASH)
+ {
+ return ApplicationProtocol::MQTT_WSS;
+ }
+ else if (hashCode == HTTPS_HASH)
+ {
+ return ApplicationProtocol::HTTPS;
+ }
+ else if (hashCode == DEFAULT_HASH)
+ {
+ return ApplicationProtocol::DEFAULT;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return ApplicationProtocol::NOT_SET;
+ }
+
+ Aws::String GetNameForApplicationProtocol(ApplicationProtocol enumValue)
+ {
+ switch(enumValue)
+ {
+ case ApplicationProtocol::NOT_SET:
+ return {};
+ case ApplicationProtocol::SECURE_MQTT:
+ return "SECURE_MQTT";
+ case ApplicationProtocol::MQTT_WSS:
+ return "MQTT_WSS";
+ case ApplicationProtocol::HTTPS:
+ return "HTTPS";
+ case ApplicationProtocol::DEFAULT:
+ return "DEFAULT";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace ApplicationProtocolMapper
+ } // namespace Model
+ } // namespace IoT
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-iot/source/model/AuthenticationType.cpp b/generated/src/aws-cpp-sdk-iot/source/model/AuthenticationType.cpp
new file mode 100644
index 00000000000..c3a4b5f9d47
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-iot/source/model/AuthenticationType.cpp
@@ -0,0 +1,93 @@
+/**
+ * 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 IoT
+ {
+ namespace Model
+ {
+ namespace AuthenticationTypeMapper
+ {
+
+ static const int CUSTOM_AUTH_X509_HASH = HashingUtils::HashString("CUSTOM_AUTH_X509");
+ static const int CUSTOM_AUTH_HASH = HashingUtils::HashString("CUSTOM_AUTH");
+ static const int AWS_X509_HASH = HashingUtils::HashString("AWS_X509");
+ static const int AWS_SIGV4_HASH = HashingUtils::HashString("AWS_SIGV4");
+ static const int DEFAULT_HASH = HashingUtils::HashString("DEFAULT");
+
+
+ AuthenticationType GetAuthenticationTypeForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == CUSTOM_AUTH_X509_HASH)
+ {
+ return AuthenticationType::CUSTOM_AUTH_X509;
+ }
+ else if (hashCode == CUSTOM_AUTH_HASH)
+ {
+ return AuthenticationType::CUSTOM_AUTH;
+ }
+ else if (hashCode == AWS_X509_HASH)
+ {
+ return AuthenticationType::AWS_X509;
+ }
+ else if (hashCode == AWS_SIGV4_HASH)
+ {
+ return AuthenticationType::AWS_SIGV4;
+ }
+ else if (hashCode == DEFAULT_HASH)
+ {
+ return AuthenticationType::DEFAULT;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return AuthenticationType::NOT_SET;
+ }
+
+ Aws::String GetNameForAuthenticationType(AuthenticationType enumValue)
+ {
+ switch(enumValue)
+ {
+ case AuthenticationType::NOT_SET:
+ return {};
+ case AuthenticationType::CUSTOM_AUTH_X509:
+ return "CUSTOM_AUTH_X509";
+ case AuthenticationType::CUSTOM_AUTH:
+ return "CUSTOM_AUTH";
+ case AuthenticationType::AWS_X509:
+ return "AWS_X509";
+ case AuthenticationType::AWS_SIGV4:
+ return "AWS_SIGV4";
+ case AuthenticationType::DEFAULT:
+ return "DEFAULT";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace AuthenticationTypeMapper
+ } // namespace Model
+ } // namespace IoT
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-iot/source/model/ClientCertificateConfig.cpp b/generated/src/aws-cpp-sdk-iot/source/model/ClientCertificateConfig.cpp
new file mode 100644
index 00000000000..a0588bdd46b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-iot/source/model/ClientCertificateConfig.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 IoT
+{
+namespace Model
+{
+
+ClientCertificateConfig::ClientCertificateConfig() :
+ m_clientCertificateCallbackArnHasBeenSet(false)
+{
+}
+
+ClientCertificateConfig::ClientCertificateConfig(JsonView jsonValue)
+ : ClientCertificateConfig()
+{
+ *this = jsonValue;
+}
+
+ClientCertificateConfig& ClientCertificateConfig::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("clientCertificateCallbackArn"))
+ {
+ m_clientCertificateCallbackArn = jsonValue.GetString("clientCertificateCallbackArn");
+
+ m_clientCertificateCallbackArnHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue ClientCertificateConfig::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_clientCertificateCallbackArnHasBeenSet)
+ {
+ payload.WithString("clientCertificateCallbackArn", m_clientCertificateCallbackArn);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace IoT
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-iot/source/model/CreateDomainConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-iot/source/model/CreateDomainConfigurationRequest.cpp
index be9f9328311..6e84e30daaf 100644
--- a/generated/src/aws-cpp-sdk-iot/source/model/CreateDomainConfigurationRequest.cpp
+++ b/generated/src/aws-cpp-sdk-iot/source/model/CreateDomainConfigurationRequest.cpp
@@ -22,7 +22,12 @@ CreateDomainConfigurationRequest::CreateDomainConfigurationRequest() :
m_serviceTypeHasBeenSet(false),
m_tagsHasBeenSet(false),
m_tlsConfigHasBeenSet(false),
- m_serverCertificateConfigHasBeenSet(false)
+ m_serverCertificateConfigHasBeenSet(false),
+ m_authenticationType(AuthenticationType::NOT_SET),
+ m_authenticationTypeHasBeenSet(false),
+ m_applicationProtocol(ApplicationProtocol::NOT_SET),
+ m_applicationProtocolHasBeenSet(false),
+ m_clientCertificateConfigHasBeenSet(false)
{
}
@@ -87,6 +92,22 @@ Aws::String CreateDomainConfigurationRequest::SerializePayload() const
}
+ if(m_authenticationTypeHasBeenSet)
+ {
+ payload.WithString("authenticationType", AuthenticationTypeMapper::GetNameForAuthenticationType(m_authenticationType));
+ }
+
+ if(m_applicationProtocolHasBeenSet)
+ {
+ payload.WithString("applicationProtocol", ApplicationProtocolMapper::GetNameForApplicationProtocol(m_applicationProtocol));
+ }
+
+ if(m_clientCertificateConfigHasBeenSet)
+ {
+ payload.WithObject("clientCertificateConfig", m_clientCertificateConfig.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-iot/source/model/DescribeDomainConfigurationResult.cpp b/generated/src/aws-cpp-sdk-iot/source/model/DescribeDomainConfigurationResult.cpp
index 83cb54df621..c24d6908762 100644
--- a/generated/src/aws-cpp-sdk-iot/source/model/DescribeDomainConfigurationResult.cpp
+++ b/generated/src/aws-cpp-sdk-iot/source/model/DescribeDomainConfigurationResult.cpp
@@ -20,7 +20,9 @@ using namespace Aws;
DescribeDomainConfigurationResult::DescribeDomainConfigurationResult() :
m_domainConfigurationStatus(DomainConfigurationStatus::NOT_SET),
m_serviceType(ServiceType::NOT_SET),
- m_domainType(DomainType::NOT_SET)
+ m_domainType(DomainType::NOT_SET),
+ m_authenticationType(AuthenticationType::NOT_SET),
+ m_applicationProtocol(ApplicationProtocol::NOT_SET)
{
}
@@ -102,6 +104,24 @@ DescribeDomainConfigurationResult& DescribeDomainConfigurationResult::operator =
}
+ if(jsonValue.ValueExists("authenticationType"))
+ {
+ m_authenticationType = AuthenticationTypeMapper::GetAuthenticationTypeForName(jsonValue.GetString("authenticationType"));
+
+ }
+
+ if(jsonValue.ValueExists("applicationProtocol"))
+ {
+ m_applicationProtocol = ApplicationProtocolMapper::GetApplicationProtocolForName(jsonValue.GetString("applicationProtocol"));
+
+ }
+
+ if(jsonValue.ValueExists("clientCertificateConfig"))
+ {
+ m_clientCertificateConfig = jsonValue.GetObject("clientCertificateConfig");
+
+ }
+
const auto& headers = result.GetHeaderValueCollection();
const auto& requestIdIter = headers.find("x-amzn-requestid");
diff --git a/generated/src/aws-cpp-sdk-iot/source/model/UpdateDomainConfigurationRequest.cpp b/generated/src/aws-cpp-sdk-iot/source/model/UpdateDomainConfigurationRequest.cpp
index 69840c3d2b9..aaa48a69d37 100644
--- a/generated/src/aws-cpp-sdk-iot/source/model/UpdateDomainConfigurationRequest.cpp
+++ b/generated/src/aws-cpp-sdk-iot/source/model/UpdateDomainConfigurationRequest.cpp
@@ -20,7 +20,12 @@ UpdateDomainConfigurationRequest::UpdateDomainConfigurationRequest() :
m_removeAuthorizerConfig(false),
m_removeAuthorizerConfigHasBeenSet(false),
m_tlsConfigHasBeenSet(false),
- m_serverCertificateConfigHasBeenSet(false)
+ m_serverCertificateConfigHasBeenSet(false),
+ m_authenticationType(AuthenticationType::NOT_SET),
+ m_authenticationTypeHasBeenSet(false),
+ m_applicationProtocol(ApplicationProtocol::NOT_SET),
+ m_applicationProtocolHasBeenSet(false),
+ m_clientCertificateConfigHasBeenSet(false)
{
}
@@ -57,6 +62,22 @@ Aws::String UpdateDomainConfigurationRequest::SerializePayload() const
}
+ if(m_authenticationTypeHasBeenSet)
+ {
+ payload.WithString("authenticationType", AuthenticationTypeMapper::GetNameForAuthenticationType(m_authenticationType));
+ }
+
+ if(m_applicationProtocolHasBeenSet)
+ {
+ payload.WithString("applicationProtocol", ApplicationProtocolMapper::GetNameForApplicationProtocol(m_applicationProtocol));
+ }
+
+ if(m_clientCertificateConfigHasBeenSet)
+ {
+ payload.WithObject("clientCertificateConfig", m_clientCertificateConfig.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/CMakeLists.txt b/generated/src/aws-cpp-sdk-marketplace-reporting/CMakeLists.txt
new file mode 100644
index 00000000000..221c38f9c3b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/CMakeLists.txt
@@ -0,0 +1,76 @@
+add_project(aws-cpp-sdk-marketplace-reporting "C++ SDK for the AWS marketplace-reporting service" aws-cpp-sdk-core)
+
+file(GLOB AWS_MARKETPLACE-REPORTING_HEADERS
+ "include/aws/marketplace-reporting/*.h"
+)
+
+file(GLOB AWS_MARKETPLACE-REPORTING_MODEL_HEADERS
+ "include/aws/marketplace-reporting/model/*.h"
+)
+
+file(GLOB AWS_MARKETPLACE-REPORTING_SOURCE
+ "source/*.cpp"
+)
+
+file(GLOB AWS_MARKETPLACE-REPORTING_MODEL_SOURCE
+ "source/model/*.cpp"
+)
+
+file(GLOB MARKETPLACE-REPORTING_UNIFIED_HEADERS
+ ${AWS_MARKETPLACE-REPORTING_HEADERS}
+ ${AWS_MARKETPLACE-REPORTING_MODEL_HEADERS}
+)
+
+file(GLOB MARKETPLACE-REPORTING_UNITY_SRC
+ ${AWS_MARKETPLACE-REPORTING_SOURCE}
+ ${AWS_MARKETPLACE-REPORTING_MODEL_SOURCE}
+)
+
+if(ENABLE_UNITY_BUILD)
+ enable_unity_build("MARKETPLACE-REPORTING" MARKETPLACE-REPORTING_UNITY_SRC)
+endif()
+
+file(GLOB MARKETPLACE-REPORTING_SRC
+ ${MARKETPLACE-REPORTING_UNIFIED_HEADERS}
+ ${MARKETPLACE-REPORTING_UNITY_SRC}
+)
+
+if(WIN32)
+ #if we are compiling for visual studio, create a sane directory tree.
+ if(MSVC)
+ source_group("Header Files\\aws\\marketplace-reporting" FILES ${AWS_MARKETPLACE-REPORTING_HEADERS})
+ source_group("Header Files\\aws\\marketplace-reporting\\model" FILES ${AWS_MARKETPLACE-REPORTING_MODEL_HEADERS})
+ source_group("Source Files" FILES ${AWS_MARKETPLACE-REPORTING_SOURCE})
+ source_group("Source Files\\model" FILES ${AWS_MARKETPLACE-REPORTING_MODEL_SOURCE})
+ endif(MSVC)
+endif()
+
+set(MARKETPLACE-REPORTING_INCLUDES
+ "${CMAKE_CURRENT_SOURCE_DIR}/include/"
+)
+
+add_library(${PROJECT_NAME} ${MARKETPLACE-REPORTING_SRC})
+add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
+
+set_compiler_flags(${PROJECT_NAME})
+set_compiler_warnings(${PROJECT_NAME})
+
+if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS)
+ target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_MARKETPLACEREPORTING_EXPORTS")
+endif()
+
+target_include_directories(${PROJECT_NAME} PUBLIC
+ $
+ $)
+
+target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS})
+
+
+setup_install()
+
+install (FILES ${AWS_MARKETPLACE-REPORTING_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/marketplace-reporting)
+install (FILES ${AWS_MARKETPLACE-REPORTING_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/marketplace-reporting/model)
+
+do_packaging()
+
+
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingClient.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingClient.h
new file mode 100644
index 00000000000..d217bc9e188
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingClient.h
@@ -0,0 +1,165 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace MarketplaceReporting
+{
+ /**
+ * The AWS Marketplace GetBuyerDashboard
API enables you to get a
+ * procurement insights dashboard programmatically. The API gets the agreement and
+ * cost analysis dashboards with data for all of the Amazon Web Services accounts
+ * in your Amazon Web Services organization.
To use the API, you must
+ * complete the following prerequisites:
-
Enable all features for
+ * your organization. For more information, see Enabling
+ * all features for an organization with Amazon Web Services Organizations, in
+ * the Amazon Web Services Organizations User Guide.
-
Call
+ * the service as the Amazon Web Services Organizations management account or an
+ * account registered as a delegated administrator for the procurement insights
+ * service. Users without management or delegated administrator accounts can use
+ * the dashboard, but they only see data for their accounts.
For more
+ * information about management accounts, see Tutorial:
+ * Creating and configuring an organization and Managing
+ * the management account with Amazon Web Services Organizations, both in the
+ * Amazon Web Services Organizations User Guide.
For more information
+ * about delegated administrators, see Using
+ * delegated administrators, in the AWS Marketplace Buyer Guide.
+ * -
Create an IAM policy that enables the
+ * aws-marketplace:GetBuyerDashboard
and
+ * organizations:DescribeOrganization
permissions. In addition, the
+ * management account requires the
+ * organizations:EnableAWSServiceAccess
and
+ * iam:CreateServiceLinkedRole
permissions to create For more
+ * information about creating the policy, see Policies
+ * and permissions in Amazon Web Services Identity and Access Management, in
+ * the IAM User Guide.
-
Use the Amazon Web Services
+ * Marketplace console to create the
+ * AWSServiceRoleForProcurementInsightsPolicy
service-linked role. The
+ * role enables AWS Marketplace procurement visibility integration. The management
+ * account requires an IAM policy with the
+ * organizations:EnableAWSServiceAccess
and
+ * iam:CreateServiceLinkedRole
permissions to create the
+ * service-linked role and enable the service access. For more information, see Granting
+ * access to Amazon Web Services Organizations, and Service-linked
+ * role to share procurement data, in the Amazon Web Services Marketplace
+ * Buyer Guide.
+ */
+ class AWS_MARKETPLACEREPORTING_API MarketplaceReportingClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods
+ {
+ public:
+ typedef Aws::Client::AWSJsonClient BASECLASS;
+ static const char* GetServiceName();
+ static const char* GetAllocationTag();
+
+ typedef MarketplaceReportingClientConfiguration ClientConfigurationType;
+ typedef MarketplaceReportingEndpointProvider EndpointProviderType;
+
+ /**
+ * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
+ * is not specified, it will be initialized to default values.
+ */
+ MarketplaceReportingClient(const Aws::MarketplaceReporting::MarketplaceReportingClientConfiguration& clientConfiguration = Aws::MarketplaceReporting::MarketplaceReportingClientConfiguration(),
+ std::shared_ptr endpointProvider = nullptr);
+
+ /**
+ * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
+ * is not specified, it will be initialized to default values.
+ */
+ MarketplaceReportingClient(const Aws::Auth::AWSCredentials& credentials,
+ std::shared_ptr endpointProvider = nullptr,
+ const Aws::MarketplaceReporting::MarketplaceReportingClientConfiguration& clientConfiguration = Aws::MarketplaceReporting::MarketplaceReportingClientConfiguration());
+
+ /**
+ * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
+ * the default http client factory will be used
+ */
+ MarketplaceReportingClient(const std::shared_ptr& credentialsProvider,
+ std::shared_ptr endpointProvider = nullptr,
+ const Aws::MarketplaceReporting::MarketplaceReportingClientConfiguration& clientConfiguration = Aws::MarketplaceReporting::MarketplaceReportingClientConfiguration());
+
+
+ /* Legacy constructors due deprecation */
+ /**
+ * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config
+ * is not specified, it will be initialized to default values.
+ */
+ MarketplaceReportingClient(const Aws::Client::ClientConfiguration& clientConfiguration);
+
+ /**
+ * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config
+ * is not specified, it will be initialized to default values.
+ */
+ MarketplaceReportingClient(const Aws::Auth::AWSCredentials& credentials,
+ const Aws::Client::ClientConfiguration& clientConfiguration);
+
+ /**
+ * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied,
+ * the default http client factory will be used
+ */
+ MarketplaceReportingClient(const std::shared_ptr& credentialsProvider,
+ const Aws::Client::ClientConfiguration& clientConfiguration);
+
+ /* End of legacy constructors due deprecation */
+ virtual ~MarketplaceReportingClient();
+
+ /**
+ * Generates an embedding URL for an Amazon QuickSight dashboard for an
+ * anonymous user.
The following rules apply to a generated URL:
+ * -
It contains a temporary bearer token, valid for 5 minutes after it is
+ * generated. Once redeemed within that period, it cannot be re-used again.
+ * -
It has a session lifetime of one hour. The 5-minute validity
+ * period runs separately from the session lifetime.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::GetBuyerDashboardOutcome GetBuyerDashboard(const Model::GetBuyerDashboardRequest& request) const;
+
+ /**
+ * A Callable wrapper for GetBuyerDashboard that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::GetBuyerDashboardOutcomeCallable GetBuyerDashboardCallable(const GetBuyerDashboardRequestT& request) const
+ {
+ return SubmitCallable(&MarketplaceReportingClient::GetBuyerDashboard, request);
+ }
+
+ /**
+ * An Async wrapper for GetBuyerDashboard that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void GetBuyerDashboardAsync(const GetBuyerDashboardRequestT& request, const GetBuyerDashboardResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&MarketplaceReportingClient::GetBuyerDashboard, request, handler, context);
+ }
+
+
+ void OverrideEndpoint(const Aws::String& endpoint);
+ std::shared_ptr& accessEndpointProvider();
+ private:
+ friend class Aws::Client::ClientWithAsyncTemplateMethods;
+ void init(const MarketplaceReportingClientConfiguration& clientConfiguration);
+
+ MarketplaceReportingClientConfiguration m_clientConfiguration;
+ std::shared_ptr m_endpointProvider;
+ };
+
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingEndpointProvider.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingEndpointProvider.h
new file mode 100644
index 00000000000..bd4b794e3f2
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingEndpointProvider.h
@@ -0,0 +1,61 @@
+/**
+ * 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 MarketplaceReporting
+{
+namespace Endpoint
+{
+using EndpointParameters = Aws::Endpoint::EndpointParameters;
+using Aws::Endpoint::EndpointProviderBase;
+using Aws::Endpoint::DefaultEndpointProvider;
+
+using MarketplaceReportingClientContextParameters = Aws::Endpoint::ClientContextParameters;
+
+using MarketplaceReportingClientConfiguration = Aws::Client::GenericClientConfiguration;
+using MarketplaceReportingBuiltInParameters = Aws::Endpoint::BuiltInParameters;
+
+/**
+ * The type for the MarketplaceReporting Client Endpoint Provider.
+ * Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider.
+ * The SDK must use service-specific type for each service per specification.
+ */
+using MarketplaceReportingEndpointProviderBase =
+ EndpointProviderBase;
+
+using MarketplaceReportingDefaultEpProviderBase =
+ DefaultEndpointProvider;
+
+/**
+ * Default endpoint provider used for this service
+ */
+class AWS_MARKETPLACEREPORTING_API MarketplaceReportingEndpointProvider : public MarketplaceReportingDefaultEpProviderBase
+{
+public:
+ using MarketplaceReportingResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;
+
+ MarketplaceReportingEndpointProvider()
+ : MarketplaceReportingDefaultEpProviderBase(Aws::MarketplaceReporting::MarketplaceReportingEndpointRules::GetRulesBlob(), Aws::MarketplaceReporting::MarketplaceReportingEndpointRules::RulesBlobSize)
+ {}
+
+ ~MarketplaceReportingEndpointProvider()
+ {
+ }
+};
+} // namespace Endpoint
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingEndpointRules.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingEndpointRules.h
new file mode 100644
index 00000000000..3b1f1bc13ae
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingEndpointRules.h
@@ -0,0 +1,23 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace MarketplaceReporting
+{
+class MarketplaceReportingEndpointRules
+{
+public:
+ static const size_t RulesBlobStrLen;
+ static const size_t RulesBlobSize;
+
+ static const char* GetRulesBlob();
+};
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingErrorMarshaller.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingErrorMarshaller.h
new file mode 100644
index 00000000000..141de73f1f0
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingErrorMarshaller.h
@@ -0,0 +1,23 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+
+#include
+#include
+
+namespace Aws
+{
+namespace Client
+{
+
+class AWS_MARKETPLACEREPORTING_API MarketplaceReportingErrorMarshaller : public Aws::Client::JsonErrorMarshaller
+{
+public:
+ Aws::Client::AWSError FindErrorByName(const char* exceptionName) const override;
+};
+
+} // namespace Client
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingErrors.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingErrors.h
new file mode 100644
index 00000000000..2d886490ef4
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingErrors.h
@@ -0,0 +1,74 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace MarketplaceReporting
+{
+enum class MarketplaceReportingErrors
+{
+ //From Core//
+ //////////////////////////////////////////////////////////////////////////////////////////
+ INCOMPLETE_SIGNATURE = 0,
+ INTERNAL_FAILURE = 1,
+ INVALID_ACTION = 2,
+ INVALID_CLIENT_TOKEN_ID = 3,
+ INVALID_PARAMETER_COMBINATION = 4,
+ INVALID_QUERY_PARAMETER = 5,
+ INVALID_PARAMETER_VALUE = 6,
+ MISSING_ACTION = 7, // SDK should never allow
+ MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
+ MISSING_PARAMETER = 9, // SDK should never allow
+ OPT_IN_REQUIRED = 10,
+ REQUEST_EXPIRED = 11,
+ SERVICE_UNAVAILABLE = 12,
+ THROTTLING = 13,
+ VALIDATION = 14,
+ ACCESS_DENIED = 15,
+ RESOURCE_NOT_FOUND = 16,
+ UNRECOGNIZED_CLIENT = 17,
+ MALFORMED_QUERY_STRING = 18,
+ SLOW_DOWN = 19,
+ REQUEST_TIME_TOO_SKEWED = 20,
+ INVALID_SIGNATURE = 21,
+ SIGNATURE_DOES_NOT_MATCH = 22,
+ INVALID_ACCESS_KEY_ID = 23,
+ REQUEST_TIMEOUT = 24,
+ NETWORK_CONNECTION = 99,
+
+ UNKNOWN = 100,
+ ///////////////////////////////////////////////////////////////////////////////////////////
+
+ BAD_REQUEST= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
+ INTERNAL_SERVER,
+ UNAUTHORIZED
+};
+
+class AWS_MARKETPLACEREPORTING_API MarketplaceReportingError : public Aws::Client::AWSError
+{
+public:
+ MarketplaceReportingError() {}
+ MarketplaceReportingError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {}
+ MarketplaceReportingError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {}
+ MarketplaceReportingError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {}
+ MarketplaceReportingError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {}
+
+ template
+ T GetModeledError();
+};
+
+namespace MarketplaceReportingErrorMapper
+{
+ AWS_MARKETPLACEREPORTING_API Aws::Client::AWSError GetErrorForName(const char* errorName);
+}
+
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingRequest.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingRequest.h
new file mode 100644
index 00000000000..cbb2da1b8b4
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingRequest.h
@@ -0,0 +1,46 @@
+/**
+ * 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 MarketplaceReporting
+{
+ class AWS_MARKETPLACEREPORTING_API MarketplaceReportingRequest : public Aws::AmazonSerializableWebServiceRequest
+ {
+ public:
+ using EndpointParameter = Aws::Endpoint::EndpointParameter;
+ using EndpointParameters = Aws::Endpoint::EndpointParameters;
+
+ virtual ~MarketplaceReportingRequest () {}
+
+ void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
+
+ inline Aws::Http::HeaderValueCollection GetHeaders() const override
+ {
+ auto headers = GetRequestSpecificHeaders();
+
+ if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
+ {
+ headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE ));
+ }
+ headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2018-05-10"));
+ return headers;
+ }
+
+ protected:
+ virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
+
+ };
+
+
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingServiceClientModel.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingServiceClientModel.h
new file mode 100644
index 00000000000..7381c70e3f5
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReportingServiceClientModel.h
@@ -0,0 +1,80 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+
+/* Generic header includes */
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+/* End of generic header includes */
+
+/* Service model headers required in MarketplaceReportingClient header */
+#include
+/* End of service model headers required in MarketplaceReportingClient header */
+
+namespace Aws
+{
+ namespace Http
+ {
+ class HttpClient;
+ class HttpClientFactory;
+ } // namespace Http
+
+ namespace Utils
+ {
+ template< typename R, typename E> class Outcome;
+
+ namespace Threading
+ {
+ class Executor;
+ } // namespace Threading
+ } // namespace Utils
+
+ namespace Auth
+ {
+ class AWSCredentials;
+ class AWSCredentialsProvider;
+ } // namespace Auth
+
+ namespace Client
+ {
+ class RetryStrategy;
+ } // namespace Client
+
+ namespace MarketplaceReporting
+ {
+ using MarketplaceReportingClientConfiguration = Aws::Client::GenericClientConfiguration;
+ using MarketplaceReportingEndpointProviderBase = Aws::MarketplaceReporting::Endpoint::MarketplaceReportingEndpointProviderBase;
+ using MarketplaceReportingEndpointProvider = Aws::MarketplaceReporting::Endpoint::MarketplaceReportingEndpointProvider;
+
+ namespace Model
+ {
+ /* Service model forward declarations required in MarketplaceReportingClient header */
+ class GetBuyerDashboardRequest;
+ /* End of service model forward declarations required in MarketplaceReportingClient header */
+
+ /* Service model Outcome class definitions */
+ typedef Aws::Utils::Outcome GetBuyerDashboardOutcome;
+ /* End of service model Outcome class definitions */
+
+ /* Service model Outcome callable definitions */
+ typedef std::future GetBuyerDashboardOutcomeCallable;
+ /* End of service model Outcome callable definitions */
+ } // namespace Model
+
+ class MarketplaceReportingClient;
+
+ /* Service model async handlers definitions */
+ typedef std::function&) > GetBuyerDashboardResponseReceivedHandler;
+ /* End of service model async handlers definitions */
+ } // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReporting_EXPORTS.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReporting_EXPORTS.h
new file mode 100644
index 00000000000..3f20f97fac2
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/MarketplaceReporting_EXPORTS.h
@@ -0,0 +1,32 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+
+#ifdef _MSC_VER
+ //disable windows complaining about max template size.
+ #pragma warning (disable : 4503)
+#endif // _MSC_VER
+
+#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
+ #ifdef _MSC_VER
+ #pragma warning(disable : 4251)
+ #endif // _MSC_VER
+
+ #ifdef USE_IMPORT_EXPORT
+ #ifdef AWS_MARKETPLACEREPORTING_EXPORTS
+ #define AWS_MARKETPLACEREPORTING_API __declspec(dllexport)
+ #else
+ #define AWS_MARKETPLACEREPORTING_API __declspec(dllimport)
+ #endif /* AWS_MARKETPLACEREPORTING_EXPORTS */
+ #define AWS_MARKETPLACEREPORTING_EXTERN
+ #else
+ #define AWS_MARKETPLACEREPORTING_API
+ #define AWS_MARKETPLACEREPORTING_EXTERN extern
+ #endif // USE_IMPORT_EXPORT
+#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
+ #define AWS_MARKETPLACEREPORTING_API
+ #define AWS_MARKETPLACEREPORTING_EXTERN extern
+#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/model/GetBuyerDashboardRequest.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/model/GetBuyerDashboardRequest.h
new file mode 100644
index 00000000000..803fd24590d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/model/GetBuyerDashboardRequest.h
@@ -0,0 +1,79 @@
+/**
+ * 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 MarketplaceReporting
+{
+namespace Model
+{
+
+ /**
+ */
+ class GetBuyerDashboardRequest : public MarketplaceReportingRequest
+ {
+ public:
+ AWS_MARKETPLACEREPORTING_API GetBuyerDashboardRequest();
+
+ // 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 "GetBuyerDashboard"; }
+
+ AWS_MARKETPLACEREPORTING_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * The ARN of the requested dashboard.
+ */
+ inline const Aws::String& GetDashboardIdentifier() const{ return m_dashboardIdentifier; }
+ inline bool DashboardIdentifierHasBeenSet() const { return m_dashboardIdentifierHasBeenSet; }
+ inline void SetDashboardIdentifier(const Aws::String& value) { m_dashboardIdentifierHasBeenSet = true; m_dashboardIdentifier = value; }
+ inline void SetDashboardIdentifier(Aws::String&& value) { m_dashboardIdentifierHasBeenSet = true; m_dashboardIdentifier = std::move(value); }
+ inline void SetDashboardIdentifier(const char* value) { m_dashboardIdentifierHasBeenSet = true; m_dashboardIdentifier.assign(value); }
+ inline GetBuyerDashboardRequest& WithDashboardIdentifier(const Aws::String& value) { SetDashboardIdentifier(value); return *this;}
+ inline GetBuyerDashboardRequest& WithDashboardIdentifier(Aws::String&& value) { SetDashboardIdentifier(std::move(value)); return *this;}
+ inline GetBuyerDashboardRequest& WithDashboardIdentifier(const char* value) { SetDashboardIdentifier(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Fully qualified domains that you add to the allow list for access to the
+ * generated URL that is then embedded. You can list up to two domains or
+ * subdomains in each API call. To include all subdomains under a specific domain,
+ * use *
. For example, https:// *.amazon.com
includes all
+ * subdomains under https://aws.amazon.com
.
+ */
+ inline const Aws::Vector& GetEmbeddingDomains() const{ return m_embeddingDomains; }
+ inline bool EmbeddingDomainsHasBeenSet() const { return m_embeddingDomainsHasBeenSet; }
+ inline void SetEmbeddingDomains(const Aws::Vector& value) { m_embeddingDomainsHasBeenSet = true; m_embeddingDomains = value; }
+ inline void SetEmbeddingDomains(Aws::Vector&& value) { m_embeddingDomainsHasBeenSet = true; m_embeddingDomains = std::move(value); }
+ inline GetBuyerDashboardRequest& WithEmbeddingDomains(const Aws::Vector& value) { SetEmbeddingDomains(value); return *this;}
+ inline GetBuyerDashboardRequest& WithEmbeddingDomains(Aws::Vector&& value) { SetEmbeddingDomains(std::move(value)); return *this;}
+ inline GetBuyerDashboardRequest& AddEmbeddingDomains(const Aws::String& value) { m_embeddingDomainsHasBeenSet = true; m_embeddingDomains.push_back(value); return *this; }
+ inline GetBuyerDashboardRequest& AddEmbeddingDomains(Aws::String&& value) { m_embeddingDomainsHasBeenSet = true; m_embeddingDomains.push_back(std::move(value)); return *this; }
+ inline GetBuyerDashboardRequest& AddEmbeddingDomains(const char* value) { m_embeddingDomainsHasBeenSet = true; m_embeddingDomains.push_back(value); return *this; }
+ ///@}
+ private:
+
+ Aws::String m_dashboardIdentifier;
+ bool m_dashboardIdentifierHasBeenSet = false;
+
+ Aws::Vector m_embeddingDomains;
+ bool m_embeddingDomainsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/model/GetBuyerDashboardResult.h b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/model/GetBuyerDashboardResult.h
new file mode 100644
index 00000000000..3677ed455df
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/include/aws/marketplace-reporting/model/GetBuyerDashboardResult.h
@@ -0,0 +1,104 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace MarketplaceReporting
+{
+namespace Model
+{
+ class GetBuyerDashboardResult
+ {
+ public:
+ AWS_MARKETPLACEREPORTING_API GetBuyerDashboardResult();
+ AWS_MARKETPLACEREPORTING_API GetBuyerDashboardResult(const Aws::AmazonWebServiceResult& result);
+ AWS_MARKETPLACEREPORTING_API GetBuyerDashboardResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * The dashboard's embedding URL.
+ */
+ inline const Aws::String& GetEmbedUrl() const{ return m_embedUrl; }
+ inline void SetEmbedUrl(const Aws::String& value) { m_embedUrl = value; }
+ inline void SetEmbedUrl(Aws::String&& value) { m_embedUrl = std::move(value); }
+ inline void SetEmbedUrl(const char* value) { m_embedUrl.assign(value); }
+ inline GetBuyerDashboardResult& WithEmbedUrl(const Aws::String& value) { SetEmbedUrl(value); return *this;}
+ inline GetBuyerDashboardResult& WithEmbedUrl(Aws::String&& value) { SetEmbedUrl(std::move(value)); return *this;}
+ inline GetBuyerDashboardResult& WithEmbedUrl(const char* value) { SetEmbedUrl(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The ARN of the returned dashboard.
+ */
+ inline const Aws::String& GetDashboardIdentifier() const{ return m_dashboardIdentifier; }
+ inline void SetDashboardIdentifier(const Aws::String& value) { m_dashboardIdentifier = value; }
+ inline void SetDashboardIdentifier(Aws::String&& value) { m_dashboardIdentifier = std::move(value); }
+ inline void SetDashboardIdentifier(const char* value) { m_dashboardIdentifier.assign(value); }
+ inline GetBuyerDashboardResult& WithDashboardIdentifier(const Aws::String& value) { SetDashboardIdentifier(value); return *this;}
+ inline GetBuyerDashboardResult& WithDashboardIdentifier(Aws::String&& value) { SetDashboardIdentifier(std::move(value)); return *this;}
+ inline GetBuyerDashboardResult& WithDashboardIdentifier(const char* value) { SetDashboardIdentifier(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The fully qualified domains specified in the request. The domains enable
+ * access to the generated URL that is then embedded. You can list up to two
+ * domains or subdomains in each API call. To include all subdomains under a
+ * specific domain, use *
. For example,
+ * https:// *.amazon.com
includes all subdomains under
+ * https://aws.amazon.com
.
+ */
+ inline const Aws::Vector& GetEmbeddingDomains() const{ return m_embeddingDomains; }
+ inline void SetEmbeddingDomains(const Aws::Vector& value) { m_embeddingDomains = value; }
+ inline void SetEmbeddingDomains(Aws::Vector&& value) { m_embeddingDomains = std::move(value); }
+ inline GetBuyerDashboardResult& WithEmbeddingDomains(const Aws::Vector& value) { SetEmbeddingDomains(value); return *this;}
+ inline GetBuyerDashboardResult& WithEmbeddingDomains(Aws::Vector&& value) { SetEmbeddingDomains(std::move(value)); return *this;}
+ inline GetBuyerDashboardResult& AddEmbeddingDomains(const Aws::String& value) { m_embeddingDomains.push_back(value); return *this; }
+ inline GetBuyerDashboardResult& AddEmbeddingDomains(Aws::String&& value) { m_embeddingDomains.push_back(std::move(value)); return *this; }
+ inline GetBuyerDashboardResult& AddEmbeddingDomains(const char* value) { m_embeddingDomains.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline GetBuyerDashboardResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline GetBuyerDashboardResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline GetBuyerDashboardResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_embedUrl;
+
+ Aws::String m_dashboardIdentifier;
+
+ Aws::Vector m_embeddingDomains;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingClient.cpp b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingClient.cpp
new file mode 100644
index 00000000000..8220d3753f6
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingClient.cpp
@@ -0,0 +1,194 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+#include
+#include
+#include
+
+#include
+
+
+using namespace Aws;
+using namespace Aws::Auth;
+using namespace Aws::Client;
+using namespace Aws::MarketplaceReporting;
+using namespace Aws::MarketplaceReporting::Model;
+using namespace Aws::Http;
+using namespace Aws::Utils::Json;
+using namespace smithy::components::tracing;
+using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome;
+
+namespace Aws
+{
+ namespace MarketplaceReporting
+ {
+ const char SERVICE_NAME[] = "aws-marketplace";
+ const char ALLOCATION_TAG[] = "MarketplaceReportingClient";
+ }
+}
+const char* MarketplaceReportingClient::GetServiceName() {return SERVICE_NAME;}
+const char* MarketplaceReportingClient::GetAllocationTag() {return ALLOCATION_TAG;}
+
+MarketplaceReportingClient::MarketplaceReportingClient(const MarketplaceReporting::MarketplaceReportingClientConfiguration& clientConfiguration,
+ std::shared_ptr endpointProvider) :
+ BASECLASS(clientConfiguration,
+ Aws::MakeShared(ALLOCATION_TAG,
+ Aws::MakeShared(ALLOCATION_TAG),
+ SERVICE_NAME,
+ Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
+ Aws::MakeShared(ALLOCATION_TAG)),
+ m_clientConfiguration(clientConfiguration),
+ m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG))
+{
+ init(m_clientConfiguration);
+}
+
+MarketplaceReportingClient::MarketplaceReportingClient(const AWSCredentials& credentials,
+ std::shared_ptr endpointProvider,
+ const MarketplaceReporting::MarketplaceReportingClientConfiguration& clientConfiguration) :
+ BASECLASS(clientConfiguration,
+ Aws::MakeShared(ALLOCATION_TAG,
+ Aws::MakeShared(ALLOCATION_TAG, credentials),
+ SERVICE_NAME,
+ Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
+ Aws::MakeShared(ALLOCATION_TAG)),
+ m_clientConfiguration(clientConfiguration),
+ m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG))
+{
+ init(m_clientConfiguration);
+}
+
+MarketplaceReportingClient::MarketplaceReportingClient(const std::shared_ptr& credentialsProvider,
+ std::shared_ptr endpointProvider,
+ const MarketplaceReporting::MarketplaceReportingClientConfiguration& clientConfiguration) :
+ BASECLASS(clientConfiguration,
+ Aws::MakeShared(ALLOCATION_TAG,
+ credentialsProvider,
+ SERVICE_NAME,
+ Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
+ Aws::MakeShared(ALLOCATION_TAG)),
+ m_clientConfiguration(clientConfiguration),
+ m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG))
+{
+ init(m_clientConfiguration);
+}
+
+ /* Legacy constructors due deprecation */
+ MarketplaceReportingClient::MarketplaceReportingClient(const Client::ClientConfiguration& clientConfiguration) :
+ BASECLASS(clientConfiguration,
+ Aws::MakeShared(ALLOCATION_TAG,
+ Aws::MakeShared(ALLOCATION_TAG),
+ SERVICE_NAME,
+ Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
+ Aws::MakeShared(ALLOCATION_TAG)),
+ m_clientConfiguration(clientConfiguration),
+ m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG))
+{
+ init(m_clientConfiguration);
+}
+
+MarketplaceReportingClient::MarketplaceReportingClient(const AWSCredentials& credentials,
+ const Client::ClientConfiguration& clientConfiguration) :
+ BASECLASS(clientConfiguration,
+ Aws::MakeShared(ALLOCATION_TAG,
+ Aws::MakeShared(ALLOCATION_TAG, credentials),
+ SERVICE_NAME,
+ Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
+ Aws::MakeShared(ALLOCATION_TAG)),
+ m_clientConfiguration(clientConfiguration),
+ m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG))
+{
+ init(m_clientConfiguration);
+}
+
+MarketplaceReportingClient::MarketplaceReportingClient(const std::shared_ptr& credentialsProvider,
+ const Client::ClientConfiguration& clientConfiguration) :
+ BASECLASS(clientConfiguration,
+ Aws::MakeShared(ALLOCATION_TAG,
+ credentialsProvider,
+ SERVICE_NAME,
+ Aws::Region::ComputeSignerRegion(clientConfiguration.region)),
+ Aws::MakeShared(ALLOCATION_TAG)),
+ m_clientConfiguration(clientConfiguration),
+ m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG))
+{
+ init(m_clientConfiguration);
+}
+
+ /* End of legacy constructors due deprecation */
+MarketplaceReportingClient::~MarketplaceReportingClient()
+{
+ ShutdownSdkClient(this, -1);
+}
+
+std::shared_ptr& MarketplaceReportingClient::accessEndpointProvider()
+{
+ return m_endpointProvider;
+}
+
+void MarketplaceReportingClient::init(const MarketplaceReporting::MarketplaceReportingClientConfiguration& config)
+{
+ AWSClient::SetServiceClientName("Marketplace Reporting");
+ if (!m_clientConfiguration.executor) {
+ if (!m_clientConfiguration.configFactories.executorCreateFn()) {
+ AWS_LOGSTREAM_FATAL(ALLOCATION_TAG, "Failed to initialize client: config is missing Executor or executorCreateFn");
+ m_isInitialized = false;
+ return;
+ }
+ m_clientConfiguration.executor = m_clientConfiguration.configFactories.executorCreateFn();
+ }
+ AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider);
+ m_endpointProvider->InitBuiltInParameters(config);
+}
+
+void MarketplaceReportingClient::OverrideEndpoint(const Aws::String& endpoint)
+{
+ AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider);
+ m_endpointProvider->OverrideEndpoint(endpoint);
+}
+
+GetBuyerDashboardOutcome MarketplaceReportingClient::GetBuyerDashboard(const GetBuyerDashboardRequest& request) const
+{
+ AWS_OPERATION_GUARD(GetBuyerDashboard);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetBuyerDashboard, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetBuyerDashboard, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, GetBuyerDashboard, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetBuyerDashboard",
+ {{ 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(
+ [&]()-> GetBuyerDashboardOutcome {
+ 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, GetBuyerDashboard, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/getBuyerDashboard");
+ return GetBuyerDashboardOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER));
+ },
+ TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
+ *meter,
+ {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
+}
+
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingEndpointProvider.cpp b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingEndpointProvider.cpp
new file mode 100644
index 00000000000..4d47e93b6fe
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingEndpointProvider.cpp
@@ -0,0 +1,16 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+
+namespace Aws
+{
+namespace MarketplaceReporting
+{
+namespace Endpoint
+{
+} // namespace Endpoint
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingEndpointRules.cpp b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingEndpointRules.cpp
new file mode 100644
index 00000000000..41394ca70dc
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingEndpointRules.cpp
@@ -0,0 +1,178 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+namespace Aws
+{
+namespace MarketplaceReporting
+{
+const size_t MarketplaceReportingEndpointRules::RulesBlobStrLen = 3784;
+const size_t MarketplaceReportingEndpointRules::RulesBlobSize = 3785;
+
+using RulesBlobT = Aws::Array;
+static constexpr RulesBlobT RulesBlob = {{
+'{','"','v','e','r','s','i','o','n','"',':','"','1','.','0','"',',','"','p','a','r','a','m','e','t',
+'e','r','s','"',':','{','"','R','e','g','i','o','n','"',':','{','"','b','u','i','l','t','I','n','"',
+':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q','u','i','r','e','d','"',
+':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','T',
+'h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i','s',
+'p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p','e',
+'"',':','"','S','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k',
+'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a',
+'l','S','t','a','c','k','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"',
+'d','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a',
+'t','i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e',',',' ','u','s','e',' ','t','h','e',
+' ','d','u','a','l','-','s','t','a','c','k',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ',
+'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d',
+'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c',
+'k',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s',
+'t',' ','M','A','Y',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"',
+'t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S',
+'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P',
+'S','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u',
+'l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',
+':','"','W','h','e','n',' ','t','r','u','e',',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e',
+'q','u','e','s','t',' ','t','o',' ','t','h','e',' ','F','I','P','S','-','c','o','m','p','l','i','a',
+'n','t',' ','r','e','g','i','o','n','a','l',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ',
+'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d',
+'o','e','s',' ','n','o','t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l',
+'i','a','n','t',' ','e','n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n',
+'g',' ','t','h','e',' ','r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n',
+' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e',
+'a','n','"','}',',','"','E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n',
+'"',':','"','S','D','K',':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r',
+'e','d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',
+':','"','O','v','e','r','r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u',
+'s','e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"',
+',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s',
+'"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"',
+'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n',
+'d','p','o','i','n','t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o',
+'n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n',
+'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U',
+'s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':',
+'"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F',
+'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a',
+'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':',
+'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',
+',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',
+'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r',
+'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k',
+'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l',
+'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a',
+'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r',
+'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"',
+'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',',
+'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':',
+'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':',
+'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"',
+'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"',
+'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i',
+'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d',
+'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a',
+'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']',
+',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',
+'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r',
+'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a',
+'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',
+']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':',
+'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a',
+'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t',
+'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l',
+'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a',
+'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':',
+'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o',
+'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',
+',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[',
+'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',
+',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',
+':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[',
+'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g',
+'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u',
+'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']',
+'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n',
+'s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o',
+'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':',
+'"','h','t','t','p','s',':','/','/','r','e','p','o','r','t','i','n','g','-','m','a','r','k','e','t',
+'p','l','a','c','e','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t',
+'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S',
+'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"',
+'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p',
+'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"',
+'t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n',
+'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','a','n','d',' ','D',
+'u','a','l','S','t','a','c','k',' ','a','r','e',' ','e','n','a','b','l','e','d',',',' ','b','u','t',
+' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ',
+'s','u','p','p','o','r','t',' ','o','n','e',' ','o','r',' ','b','o','t','h','"',',','"','t','y','p',
+'e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e',
+'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"',
+'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"',
+'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',']',',','"',
+'r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"',
+'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v',
+'"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',
+':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t',
+'"','}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']',
+'}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',
+':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s',
+'"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h',
+'t','t','p','s',':','/','/','r','e','p','o','r','t','i','n','g','-','m','a','r','k','e','t','p','l',
+'a','c','e','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t',
+'i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r',
+'o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}',
+'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y',
+'p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e',
+'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o',
+'r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t',
+'h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u',
+'p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r',
+'"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d',
+'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q',
+'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e',
+'D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e',
+'s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':',
+'"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t',
+'r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v',
+'"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l',
+'t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',
+']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s',
+'"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n',
+'s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"',
+'h','t','t','p','s',':','/','/','r','e','p','o','r','t','i','n','g','-','m','a','r','k','e','t','p',
+'l','a','c','e','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R',
+'e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}',
+'"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r',
+'s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',
+']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':',
+'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',',
+'"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a',
+'b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d',
+'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k',
+'"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',
+':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',
+',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',
+']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p',
+'s',':','/','/','r','e','p','o','r','t','i','n','g','-','m','a','r','k','e','t','p','l','a','c','e',
+'.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l',
+'t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s',
+'"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',
+':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e',
+'e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p',
+'e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':',
+'[',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i',
+'g','u','r','a','t','i','o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',
+',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':',
+'"','t','r','e','e','"','}',']','}','\0'
+}};
+
+const char* MarketplaceReportingEndpointRules::GetRulesBlob()
+{
+ return RulesBlob.data();
+}
+
+} // namespace MarketplaceReporting
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingErrorMarshaller.cpp
new file mode 100644
index 00000000000..e18ee592c5f
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingErrorMarshaller.cpp
@@ -0,0 +1,22 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+
+using namespace Aws::Client;
+using namespace Aws::MarketplaceReporting;
+
+AWSError MarketplaceReportingErrorMarshaller::FindErrorByName(const char* errorName) const
+{
+ AWSError error = MarketplaceReportingErrorMapper::GetErrorForName(errorName);
+ if(error.GetErrorType() != CoreErrors::UNKNOWN)
+ {
+ return error;
+ }
+
+ return AWSErrorMarshaller::FindErrorByName(errorName);
+}
\ No newline at end of file
diff --git a/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingErrors.cpp b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingErrors.cpp
new file mode 100644
index 00000000000..eeeabb33460
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-marketplace-reporting/source/MarketplaceReportingErrors.cpp
@@ -0,0 +1,47 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include