Submit an
- * UpdateDistribution
request, providing the distribution
+ * UpdateDistribution
request, providing the updated distribution
* configuration. The new configuration replaces the existing configuration. The
* values that you specify in an UpdateDistribution
request are not
* merged into your existing configuration. Make sure to include all fields: the
diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontClient.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontClient.cpp
index 9e74fd7b4d2..1fd027e7e1d 100644
--- a/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontClient.cpp
+++ b/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontClient.cpp
@@ -648,7 +648,7 @@ CreateKeyValueStore2020_05_31Outcome CloudFrontClient::CreateKeyValueStore2020_0
*meter,
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateKeyValueStore2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/key-value-store/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/key-value-store");
return CreateKeyValueStore2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -682,7 +682,7 @@ CreateMonitoringSubscription2020_05_31Outcome CloudFrontClient::CreateMonitoring
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, CreateMonitoringSubscription2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/distributions/");
endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDistributionId());
- endpointResolutionOutcome.GetResult().AddPathSegments("/monitoring-subscription/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/monitoring-subscription");
return CreateMonitoringSubscription2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -1215,7 +1215,7 @@ DeleteMonitoringSubscription2020_05_31Outcome CloudFrontClient::DeleteMonitoring
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteMonitoringSubscription2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/distributions/");
endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDistributionId());
- endpointResolutionOutcome.GetResult().AddPathSegments("/monitoring-subscription/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/monitoring-subscription");
return DeleteMonitoringSubscription2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -1341,7 +1341,7 @@ DeleteRealtimeLogConfig2020_05_31Outcome CloudFrontClient::DeleteRealtimeLogConf
*meter,
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, DeleteRealtimeLogConfig2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/delete-realtime-log-config/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/delete-realtime-log-config");
return DeleteRealtimeLogConfig2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -2050,7 +2050,7 @@ GetMonitoringSubscription2020_05_31Outcome CloudFrontClient::GetMonitoringSubscr
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetMonitoringSubscription2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/distributions/");
endpointResolutionOutcome.GetResult().AddPathSegment(request.GetDistributionId());
- endpointResolutionOutcome.GetResult().AddPathSegments("/monitoring-subscription/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/monitoring-subscription");
return GetMonitoringSubscription2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -2278,7 +2278,7 @@ GetRealtimeLogConfig2020_05_31Outcome CloudFrontClient::GetRealtimeLogConfig2020
*meter,
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetRealtimeLogConfig2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/get-realtime-log-config/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/get-realtime-log-config");
return GetRealtimeLogConfig2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -2683,7 +2683,7 @@ ListDistributionsByRealtimeLogConfig2020_05_31Outcome CloudFrontClient::ListDist
*meter,
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListDistributionsByRealtimeLogConfig2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/distributionsByRealtimeLogConfig/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/distributionsByRealtimeLogConfig");
return ListDistributionsByRealtimeLogConfig2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
@@ -3733,7 +3733,7 @@ UpdateRealtimeLogConfig2020_05_31Outcome CloudFrontClient::UpdateRealtimeLogConf
*meter,
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateRealtimeLogConfig2020_05_31, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
- endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/realtime-log-config/");
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2020-05-31/realtime-log-config");
return UpdateRealtimeLogConfig2020_05_31Outcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT));
},
TracingUtils::SMITHY_CLIENT_DURATION_METRIC,
diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontErrors.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontErrors.cpp
index a1251fee74e..cc00f467c7d 100644
--- a/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontErrors.cpp
+++ b/generated/src/aws-cpp-sdk-cloudfront/source/CloudFrontErrors.cpp
@@ -52,8 +52,8 @@ static const int ORIGIN_REQUEST_POLICY_IN_USE_HASH = HashingUtils::HashString("O
static const int TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_ORIGIN_ACCESS_CONTROL_HASH = HashingUtils::HashString("TooManyDistributionsAssociatedToOriginAccessControl");
static const int NO_SUCH_CACHE_POLICY_HASH = HashingUtils::HashString("NoSuchCachePolicy");
static const int NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE_HASH = HashingUtils::HashString("NoSuchFieldLevelEncryptionProfile");
-static const int INVALID_ORIGIN_READ_TIMEOUT_HASH = HashingUtils::HashString("InvalidOriginReadTimeout");
static const int INVALID_ORIGIN_KEEPALIVE_TIMEOUT_HASH = HashingUtils::HashString("InvalidOriginKeepaliveTimeout");
+static const int INVALID_ORIGIN_READ_TIMEOUT_HASH = HashingUtils::HashString("InvalidOriginReadTimeout");
static const int ENTITY_ALREADY_EXISTS_HASH = HashingUtils::HashString("EntityAlreadyExists");
static const int TOO_MANY_CLOUD_FRONT_ORIGIN_ACCESS_IDENTITIES_HASH = HashingUtils::HashString("TooManyCloudFrontOriginAccessIdentities");
static const int INVALID_HEADERS_FOR_S3_ORIGIN_HASH = HashingUtils::HashString("InvalidHeadersForS3Origin");
@@ -82,8 +82,8 @@ static const int TOO_MANY_COOKIES_IN_CACHE_POLICY_HASH = HashingUtils::HashStrin
static const int FUNCTION_SIZE_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("FunctionSizeLimitExceeded");
static const int UNSUPPORTED_OPERATION_HASH = HashingUtils::HashString("UnsupportedOperation");
static const int INVALID_FUNCTION_ASSOCIATION_HASH = HashingUtils::HashString("InvalidFunctionAssociation");
-static const int TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS_HASH = HashingUtils::HashString("TooManyLambdaFunctionAssociations");
static const int TOO_MANY_FUNCTION_ASSOCIATIONS_HASH = HashingUtils::HashString("TooManyFunctionAssociations");
+static const int TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS_HASH = HashingUtils::HashString("TooManyLambdaFunctionAssociations");
static const int TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY_HASH = HashingUtils::HashString("TooManyQueryStringsInOriginRequestPolicy");
static const int TOO_MANY_PUBLIC_KEYS_HASH = HashingUtils::HashString("TooManyPublicKeys");
static const int TOO_MANY_CONTINUOUS_DEPLOYMENT_POLICIES_HASH = HashingUtils::HashString("TooManyContinuousDeploymentPolicies");
@@ -128,8 +128,8 @@ static const int TRUSTED_KEY_GROUP_DOES_NOT_EXIST_HASH = HashingUtils::HashStrin
static const int ILLEGAL_ORIGIN_ACCESS_CONFIGURATION_HASH = HashingUtils::HashString("IllegalOriginAccessConfiguration");
static const int QUERY_ARG_PROFILE_EMPTY_HASH = HashingUtils::HashString("QueryArgProfileEmpty");
static const int ENTITY_NOT_FOUND_HASH = HashingUtils::HashString("EntityNotFound");
-static const int PRECONDITION_FAILED_HASH = HashingUtils::HashString("PreconditionFailed");
static const int TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY_HASH = HashingUtils::HashString("TooManyDistributionsAssociatedToCachePolicy");
+static const int PRECONDITION_FAILED_HASH = HashingUtils::HashString("PreconditionFailed");
static const int NO_SUCH_ORIGIN_ACCESS_CONTROL_HASH = HashingUtils::HashString("NoSuchOriginAccessControl");
static const int TOO_MANY_COOKIE_NAMES_IN_WHITE_LIST_HASH = HashingUtils::HashString("TooManyCookieNamesInWhiteList");
static const int TEST_FUNCTION_FAILED_HASH = HashingUtils::HashString("TestFunctionFailed");
@@ -346,14 +346,14 @@ static bool GetErrorForNameHelper0(int hashCode, AWSError& error)
error = AWSError(static_cast(CloudFrontErrors::NO_SUCH_FIELD_LEVEL_ENCRYPTION_PROFILE), RetryableType::NOT_RETRYABLE);
return true;
}
- else if (hashCode == INVALID_ORIGIN_READ_TIMEOUT_HASH)
+ else if (hashCode == INVALID_ORIGIN_KEEPALIVE_TIMEOUT_HASH)
{
- error = AWSError(static_cast(CloudFrontErrors::INVALID_ORIGIN_READ_TIMEOUT), RetryableType::NOT_RETRYABLE);
+ error = AWSError(static_cast(CloudFrontErrors::INVALID_ORIGIN_KEEPALIVE_TIMEOUT), RetryableType::NOT_RETRYABLE);
return true;
}
- else if (hashCode == INVALID_ORIGIN_KEEPALIVE_TIMEOUT_HASH)
+ else if (hashCode == INVALID_ORIGIN_READ_TIMEOUT_HASH)
{
- error = AWSError(static_cast(CloudFrontErrors::INVALID_ORIGIN_KEEPALIVE_TIMEOUT), RetryableType::NOT_RETRYABLE);
+ error = AWSError(static_cast(CloudFrontErrors::INVALID_ORIGIN_READ_TIMEOUT), RetryableType::NOT_RETRYABLE);
return true;
}
else if (hashCode == ENTITY_ALREADY_EXISTS_HASH)
@@ -496,14 +496,14 @@ static bool GetErrorForNameHelper0(int hashCode, AWSError& error)
error = AWSError(static_cast(CloudFrontErrors::INVALID_FUNCTION_ASSOCIATION), RetryableType::NOT_RETRYABLE);
return true;
}
- else if (hashCode == TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS_HASH)
+ else if (hashCode == TOO_MANY_FUNCTION_ASSOCIATIONS_HASH)
{
- error = AWSError(static_cast(CloudFrontErrors::TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS), RetryableType::NOT_RETRYABLE);
+ error = AWSError(static_cast(CloudFrontErrors::TOO_MANY_FUNCTION_ASSOCIATIONS), RetryableType::NOT_RETRYABLE);
return true;
}
- else if (hashCode == TOO_MANY_FUNCTION_ASSOCIATIONS_HASH)
+ else if (hashCode == TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS_HASH)
{
- error = AWSError(static_cast(CloudFrontErrors::TOO_MANY_FUNCTION_ASSOCIATIONS), RetryableType::NOT_RETRYABLE);
+ error = AWSError(static_cast(CloudFrontErrors::TOO_MANY_LAMBDA_FUNCTION_ASSOCIATIONS), RetryableType::NOT_RETRYABLE);
return true;
}
else if (hashCode == TOO_MANY_QUERY_STRINGS_IN_ORIGIN_REQUEST_POLICY_HASH)
@@ -726,14 +726,14 @@ static bool GetErrorForNameHelper0(int hashCode, AWSError& error)
error = AWSError(static_cast(CloudFrontErrors::ENTITY_NOT_FOUND), RetryableType::NOT_RETRYABLE);
return true;
}
- else if (hashCode == PRECONDITION_FAILED_HASH)
+ else if (hashCode == TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY_HASH)
{
- error = AWSError(static_cast(CloudFrontErrors::PRECONDITION_FAILED), RetryableType::NOT_RETRYABLE);
+ error = AWSError(static_cast(CloudFrontErrors::TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY), RetryableType::NOT_RETRYABLE);
return true;
}
- else if (hashCode == TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY_HASH)
+ else if (hashCode == PRECONDITION_FAILED_HASH)
{
- error = AWSError(static_cast(CloudFrontErrors::TOO_MANY_DISTRIBUTIONS_ASSOCIATED_TO_CACHE_POLICY), RetryableType::NOT_RETRYABLE);
+ error = AWSError(static_cast(CloudFrontErrors::PRECONDITION_FAILED), RetryableType::NOT_RETRYABLE);
return true;
}
else if (hashCode == NO_SUCH_ORIGIN_ACCESS_CONTROL_HASH)
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/Inspector2Client.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/Inspector2Client.h
index e2f5314918a..a2a7e0c1fc0 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/Inspector2Client.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/Inspector2Client.h
@@ -990,7 +990,7 @@ namespace Inspector2
}
/**
- * Lists coverage details for you environment.
See Also:
Lists coverage details for your environment.
See Also:
AWS
* API Reference
*/
@@ -1358,7 +1358,7 @@ namespace Inspector2
/**
* Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to
* communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin
- * calls this API to start a CIS scan session for the scan ID supplied by the
+ * calls this API to stop a CIS scan session for the scan ID supplied by the
* service.
See Also:
AWS
* API Reference
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CoverageFilterCriteria.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CoverageFilterCriteria.h
index f136ce0c43a..51f019b24da 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CoverageFilterCriteria.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CoverageFilterCriteria.h
@@ -207,7 +207,7 @@ namespace Model
///@{
/**
* The filter to search for Amazon EC2 instance coverage by scan mode. Valid
- * values are EC2_SSM_AGENT_BASED
and EC2_HYBRID
.
+ * values are EC2_SSM_AGENT_BASED
and EC2_AGENTLESS
.
*/
inline const Aws::Vector& GetScanMode() const{ return m_scanMode; }
inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CreateSbomExportRequest.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CreateSbomExportRequest.h
index 4fa40e28ab1..4f3f20e5fc9 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CreateSbomExportRequest.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/CreateSbomExportRequest.h
@@ -60,7 +60,10 @@ namespace Model
///@}
///@{
-
+ /**
+ * Contains details of the Amazon S3 bucket and KMS key used to export
+ * findings.
+ */
inline const Destination& GetS3Destination() const{ return m_s3Destination; }
inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
inline void SetS3Destination(const Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/FindingDetail.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/FindingDetail.h
index f0dfb6b0280..a9e0cb56ddd 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/FindingDetail.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/FindingDetail.h
@@ -43,7 +43,10 @@ namespace Model
///@{
-
+ /**
+ * The Cybersecurity and Infrastructure Security Agency (CISA) details for a
+ * specific vulnerability.
+ */
inline const CisaData& GetCisaData() const{ return m_cisaData; }
inline bool CisaDataHasBeenSet() const { return m_cisaDataHasBeenSet; }
inline void SetCisaData(const CisaData& value) { m_cisaDataHasBeenSet = true; m_cisaData = value; }
@@ -93,7 +96,9 @@ namespace Model
///@}
///@{
-
+ /**
+ * Contains information on when this exploit was observed.
+ */
inline const ExploitObserved& GetExploitObserved() const{ return m_exploitObserved; }
inline bool ExploitObservedHasBeenSet() const { return m_exploitObservedHasBeenSet; }
inline void SetExploitObserved(const ExploitObserved& value) { m_exploitObservedHasBeenSet = true; m_exploitObserved = value; }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/GetSbomExportResult.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/GetSbomExportResult.h
index 79e8a0bd17b..b8a3cbd0714 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/GetSbomExportResult.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/GetSbomExportResult.h
@@ -98,7 +98,10 @@ namespace Model
///@}
///@{
-
+ /**
+ * Contains details of the Amazon S3 bucket and KMS key used to export
+ * findings
+ */
inline const Destination& GetS3Destination() const{ return m_s3Destination; }
inline void SetS3Destination(const Destination& value) { m_s3Destination = value; }
inline void SetS3Destination(Destination&& value) { m_s3Destination = std::move(value); }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaFunctionAggregationResponse.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaFunctionAggregationResponse.h
index d37d1b447d3..24cc40ce284 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaFunctionAggregationResponse.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaFunctionAggregationResponse.h
@@ -132,7 +132,9 @@ namespace Model
///@}
///@{
-
+ /**
+ * An object that contains the counts of aggregated finding per severity.
+ */
inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaLayerAggregationResponse.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaLayerAggregationResponse.h
index 529467fbe6c..d351bea2186 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaLayerAggregationResponse.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/LambdaLayerAggregationResponse.h
@@ -98,7 +98,9 @@ namespace Model
///@}
///@{
-
+ /**
+ * An object that contains the counts of aggregated finding per severity.
+ */
inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageFilter.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageFilter.h
index f38732786b3..61e0f928a01 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageFilter.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageFilter.h
@@ -64,6 +64,18 @@ namespace Model
inline PackageFilter& WithEpoch(NumberFilter&& value) { SetEpoch(std::move(value)); return *this;}
///@}
+ ///@{
+ /**
+ * An object that contains details on the package file path to filter on.
+ */
+ inline const StringFilter& GetFilePath() const{ return m_filePath; }
+ inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; }
+ inline void SetFilePath(const StringFilter& value) { m_filePathHasBeenSet = true; m_filePath = value; }
+ inline void SetFilePath(StringFilter&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); }
+ inline PackageFilter& WithFilePath(const StringFilter& value) { SetFilePath(value); return *this;}
+ inline PackageFilter& WithFilePath(StringFilter&& value) { SetFilePath(std::move(value)); return *this;}
+ ///@}
+
///@{
/**
* An object that contains details on the name of the package to filter on.
@@ -89,7 +101,9 @@ namespace Model
///@}
///@{
-
+ /**
+ * An object that describes the details of a string filter.
+ */
inline const StringFilter& GetSourceLambdaLayerArn() const{ return m_sourceLambdaLayerArn; }
inline bool SourceLambdaLayerArnHasBeenSet() const { return m_sourceLambdaLayerArnHasBeenSet; }
inline void SetSourceLambdaLayerArn(const StringFilter& value) { m_sourceLambdaLayerArnHasBeenSet = true; m_sourceLambdaLayerArn = value; }
@@ -129,6 +143,9 @@ namespace Model
NumberFilter m_epoch;
bool m_epochHasBeenSet = false;
+ StringFilter m_filePath;
+ bool m_filePathHasBeenSet = false;
+
StringFilter m_name;
bool m_nameHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageManager.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageManager.h
index 3ed88e94e3d..48f6a9d7fce 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageManager.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/PackageManager.h
@@ -32,7 +32,8 @@ namespace Model
PYTHONPKG,
NODEPKG,
POM,
- GEMSPEC
+ GEMSPEC,
+ DOTNET_CORE
};
namespace PackageManagerMapper
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/ResourceState.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/ResourceState.h
index b3abc37d0f7..12a2f0d1ab6 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/ResourceState.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/ResourceState.h
@@ -65,7 +65,10 @@ namespace Model
///@}
///@{
-
+ /**
+ * An object that described the state of Amazon Inspector scans for an
+ * account.
+ */
inline const State& GetLambda() const{ return m_lambda; }
inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
inline void SetLambda(const State& value) { m_lambdaHasBeenSet = true; m_lambda = value; }
@@ -75,7 +78,10 @@ namespace Model
///@}
///@{
-
+ /**
+ * An object that described the state of Amazon Inspector scans for an
+ * account.
+ */
inline const State& GetLambdaCode() const{ return m_lambdaCode; }
inline bool LambdaCodeHasBeenSet() const { return m_lambdaCodeHasBeenSet; }
inline void SetLambdaCode(const State& value) { m_lambdaCodeHasBeenSet = true; m_lambdaCode = value; }
diff --git a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/Runtime.h b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/Runtime.h
index 2874d5d06df..7b8aca1cf42 100644
--- a/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/Runtime.h
+++ b/generated/src/aws-cpp-sdk-inspector2/include/aws/inspector2/model/Runtime.h
@@ -30,7 +30,13 @@ namespace Model
NODEJS_18_X,
GO_1_X,
JAVA_17,
- PYTHON_3_10
+ PYTHON_3_10,
+ PYTHON_3_11,
+ DOTNETCORE_3_1,
+ DOTNET_6,
+ DOTNET_7,
+ RUBY_2_7,
+ RUBY_3_2
};
namespace RuntimeMapper
diff --git a/generated/src/aws-cpp-sdk-inspector2/source/model/PackageFilter.cpp b/generated/src/aws-cpp-sdk-inspector2/source/model/PackageFilter.cpp
index bdc422e6360..4e1eccf9d7d 100644
--- a/generated/src/aws-cpp-sdk-inspector2/source/model/PackageFilter.cpp
+++ b/generated/src/aws-cpp-sdk-inspector2/source/model/PackageFilter.cpp
@@ -21,6 +21,7 @@ namespace Model
PackageFilter::PackageFilter() :
m_architectureHasBeenSet(false),
m_epochHasBeenSet(false),
+ m_filePathHasBeenSet(false),
m_nameHasBeenSet(false),
m_releaseHasBeenSet(false),
m_sourceLambdaLayerArnHasBeenSet(false),
@@ -51,6 +52,13 @@ PackageFilter& PackageFilter::operator =(JsonView jsonValue)
m_epochHasBeenSet = true;
}
+ if(jsonValue.ValueExists("filePath"))
+ {
+ m_filePath = jsonValue.GetObject("filePath");
+
+ m_filePathHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("name"))
{
m_name = jsonValue.GetObject("name");
@@ -105,6 +113,12 @@ JsonValue PackageFilter::Jsonize() const
}
+ if(m_filePathHasBeenSet)
+ {
+ payload.WithObject("filePath", m_filePath.Jsonize());
+
+ }
+
if(m_nameHasBeenSet)
{
payload.WithObject("name", m_name.Jsonize());
diff --git a/generated/src/aws-cpp-sdk-inspector2/source/model/PackageManager.cpp b/generated/src/aws-cpp-sdk-inspector2/source/model/PackageManager.cpp
index 6c4a582612a..82658d6c50b 100644
--- a/generated/src/aws-cpp-sdk-inspector2/source/model/PackageManager.cpp
+++ b/generated/src/aws-cpp-sdk-inspector2/source/model/PackageManager.cpp
@@ -37,6 +37,7 @@ namespace Aws
static const int NODEPKG_HASH = HashingUtils::HashString("NODEPKG");
static const int POM_HASH = HashingUtils::HashString("POM");
static const int GEMSPEC_HASH = HashingUtils::HashString("GEMSPEC");
+ static const int DOTNET_CORE_HASH = HashingUtils::HashString("DOTNET_CORE");
PackageManager GetPackageManagerForName(const Aws::String& name)
@@ -110,6 +111,10 @@ namespace Aws
{
return PackageManager::GEMSPEC;
}
+ else if (hashCode == DOTNET_CORE_HASH)
+ {
+ return PackageManager::DOTNET_CORE;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -160,6 +165,8 @@ namespace Aws
return "POM";
case PackageManager::GEMSPEC:
return "GEMSPEC";
+ case PackageManager::DOTNET_CORE:
+ return "DOTNET_CORE";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-inspector2/source/model/Runtime.cpp b/generated/src/aws-cpp-sdk-inspector2/source/model/Runtime.cpp
index 6dfb232222f..a4236b019e8 100644
--- a/generated/src/aws-cpp-sdk-inspector2/source/model/Runtime.cpp
+++ b/generated/src/aws-cpp-sdk-inspector2/source/model/Runtime.cpp
@@ -35,6 +35,12 @@ namespace Aws
static const int GO_1_X_HASH = HashingUtils::HashString("GO_1_X");
static const int JAVA_17_HASH = HashingUtils::HashString("JAVA_17");
static const int PYTHON_3_10_HASH = HashingUtils::HashString("PYTHON_3_10");
+ static const int PYTHON_3_11_HASH = HashingUtils::HashString("PYTHON_3_11");
+ static const int DOTNETCORE_3_1_HASH = HashingUtils::HashString("DOTNETCORE_3_1");
+ static const int DOTNET_6_HASH = HashingUtils::HashString("DOTNET_6");
+ static const int DOTNET_7_HASH = HashingUtils::HashString("DOTNET_7");
+ static const int RUBY_2_7_HASH = HashingUtils::HashString("RUBY_2_7");
+ static const int RUBY_3_2_HASH = HashingUtils::HashString("RUBY_3_2");
Runtime GetRuntimeForName(const Aws::String& name)
@@ -100,6 +106,30 @@ namespace Aws
{
return Runtime::PYTHON_3_10;
}
+ else if (hashCode == PYTHON_3_11_HASH)
+ {
+ return Runtime::PYTHON_3_11;
+ }
+ else if (hashCode == DOTNETCORE_3_1_HASH)
+ {
+ return Runtime::DOTNETCORE_3_1;
+ }
+ else if (hashCode == DOTNET_6_HASH)
+ {
+ return Runtime::DOTNET_6;
+ }
+ else if (hashCode == DOTNET_7_HASH)
+ {
+ return Runtime::DOTNET_7;
+ }
+ else if (hashCode == RUBY_2_7_HASH)
+ {
+ return Runtime::RUBY_2_7;
+ }
+ else if (hashCode == RUBY_3_2_HASH)
+ {
+ return Runtime::RUBY_3_2;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -146,6 +176,18 @@ namespace Aws
return "JAVA_17";
case Runtime::PYTHON_3_10:
return "PYTHON_3_10";
+ case Runtime::PYTHON_3_11:
+ return "PYTHON_3_11";
+ case Runtime::DOTNETCORE_3_1:
+ return "DOTNETCORE_3_1";
+ case Runtime::DOTNET_6:
+ return "DOTNET_6";
+ case Runtime::DOTNET_7:
+ return "DOTNET_7";
+ case Runtime::RUBY_2_7:
+ return "RUBY_2_7";
+ case Runtime::RUBY_3_2:
+ return "RUBY_3_2";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h
index a9090651f6d..e8ebe9088d2 100644
--- a/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h
+++ b/generated/src/aws-cpp-sdk-lambda/include/aws/lambda/model/Runtime.h
@@ -53,7 +53,8 @@ namespace Model
nodejs20_x,
provided_al2023,
python3_12,
- java21
+ java21,
+ python3_13
};
namespace RuntimeMapper
diff --git a/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp b/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp
index 6b98cde4053..72606c60c8e 100644
--- a/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp
+++ b/generated/src/aws-cpp-sdk-lambda/source/model/Runtime.cpp
@@ -58,6 +58,7 @@ namespace Aws
static const int provided_al2023_HASH = HashingUtils::HashString("provided.al2023");
static const int python3_12_HASH = HashingUtils::HashString("python3.12");
static const int java21_HASH = HashingUtils::HashString("java21");
+ static const int python3_13_HASH = HashingUtils::HashString("python3.13");
Runtime GetRuntimeForName(const Aws::String& name)
@@ -215,6 +216,10 @@ namespace Aws
{
return Runtime::java21;
}
+ else if (hashCode == python3_13_HASH)
+ {
+ return Runtime::python3_13;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -307,6 +312,8 @@ namespace Aws
return "python3.12";
case Runtime::java21:
return "java21";
+ case Runtime::python3_13:
+ return "python3.13";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/OpenSearchServiceClient.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/OpenSearchServiceClient.h
index 6af4ab42868..b71a6f83e33 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/OpenSearchServiceClient.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/OpenSearchServiceClient.h
@@ -196,6 +196,32 @@ namespace OpenSearchService
return SubmitAsync(&OpenSearchServiceClient::AssociatePackage, request, handler, context);
}
+ /**
+ * Operation in the Amazon OpenSearch Service API for associating multiple
+ * packages with a domain simultaneously.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::AssociatePackagesOutcome AssociatePackages(const Model::AssociatePackagesRequest& request) const;
+
+ /**
+ * A Callable wrapper for AssociatePackages that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::AssociatePackagesOutcomeCallable AssociatePackagesCallable(const AssociatePackagesRequestT& request) const
+ {
+ return SubmitCallable(&OpenSearchServiceClient::AssociatePackages, request);
+ }
+
+ /**
+ * An Async wrapper for AssociatePackages that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void AssociatePackagesAsync(const AssociatePackagesRequestT& request, const AssociatePackagesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&OpenSearchServiceClient::AssociatePackages, request, handler, context);
+ }
+
/**
* Provides access to an Amazon OpenSearch Service domain through the use of an
* interface VPC endpoint.
See Also:
Dissociates multiple packages from a domain simulatneously.See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::DissociatePackagesOutcome DissociatePackages(const Model::DissociatePackagesRequest& request) const;
+
+ /**
+ * A Callable wrapper for DissociatePackages that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DissociatePackagesOutcomeCallable DissociatePackagesCallable(const DissociatePackagesRequestT& request) const
+ {
+ return SubmitCallable(&OpenSearchServiceClient::DissociatePackages, request);
+ }
+
+ /**
+ * An Async wrapper for DissociatePackages that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DissociatePackagesAsync(const DissociatePackagesRequestT& request, const DissociatePackagesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&OpenSearchServiceClient::DissociatePackages, request, handler, context);
+ }
+
/**
* Check the configuration and status of an existing OpenSearch
* Application.
See Also:
Updates the scope of a package. Scope of the package defines users who can
+ * view and associate a package.See Also:
AWS
+ * API Reference
+ */
+ virtual Model::UpdatePackageScopeOutcome UpdatePackageScope(const Model::UpdatePackageScopeRequest& request) const;
+
+ /**
+ * A Callable wrapper for UpdatePackageScope that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::UpdatePackageScopeOutcomeCallable UpdatePackageScopeCallable(const UpdatePackageScopeRequestT& request) const
+ {
+ return SubmitCallable(&OpenSearchServiceClient::UpdatePackageScope, request);
+ }
+
+ /**
+ * An Async wrapper for UpdatePackageScope that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void UpdatePackageScopeAsync(const UpdatePackageScopeRequestT& request, const UpdatePackageScopeResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&OpenSearchServiceClient::UpdatePackageScope, request, handler, context);
+ }
+
/**
* Reschedules a planned domain configuration change for a later time. This
* change can be a scheduled
#include
#include
+#include
#include
#include
#include
@@ -52,6 +53,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -81,6 +83,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -139,6 +142,7 @@ namespace Aws
class AddDataSourceRequest;
class AddTagsRequest;
class AssociatePackageRequest;
+ class AssociatePackagesRequest;
class AuthorizeVpcEndpointAccessRequest;
class CancelDomainConfigChangeRequest;
class CancelServiceSoftwareUpdateRequest;
@@ -170,6 +174,7 @@ namespace Aws
class DescribeReservedInstancesRequest;
class DescribeVpcEndpointsRequest;
class DissociatePackageRequest;
+ class DissociatePackagesRequest;
class GetApplicationRequest;
class GetCompatibleVersionsRequest;
class GetDataSourceRequest;
@@ -200,6 +205,7 @@ namespace Aws
class UpdateDataSourceRequest;
class UpdateDomainConfigRequest;
class UpdatePackageRequest;
+ class UpdatePackageScopeRequest;
class UpdateScheduledActionRequest;
class UpdateVpcEndpointRequest;
class UpgradeDomainRequest;
@@ -210,6 +216,7 @@ namespace Aws
typedef Aws::Utils::Outcome AddDataSourceOutcome;
typedef Aws::Utils::Outcome AddTagsOutcome;
typedef Aws::Utils::Outcome AssociatePackageOutcome;
+ typedef Aws::Utils::Outcome AssociatePackagesOutcome;
typedef Aws::Utils::Outcome AuthorizeVpcEndpointAccessOutcome;
typedef Aws::Utils::Outcome CancelDomainConfigChangeOutcome;
typedef Aws::Utils::Outcome CancelServiceSoftwareUpdateOutcome;
@@ -241,6 +248,7 @@ namespace Aws
typedef Aws::Utils::Outcome DescribeReservedInstancesOutcome;
typedef Aws::Utils::Outcome DescribeVpcEndpointsOutcome;
typedef Aws::Utils::Outcome DissociatePackageOutcome;
+ typedef Aws::Utils::Outcome DissociatePackagesOutcome;
typedef Aws::Utils::Outcome GetApplicationOutcome;
typedef Aws::Utils::Outcome GetCompatibleVersionsOutcome;
typedef Aws::Utils::Outcome GetDataSourceOutcome;
@@ -271,6 +279,7 @@ namespace Aws
typedef Aws::Utils::Outcome UpdateDataSourceOutcome;
typedef Aws::Utils::Outcome UpdateDomainConfigOutcome;
typedef Aws::Utils::Outcome UpdatePackageOutcome;
+ typedef Aws::Utils::Outcome UpdatePackageScopeOutcome;
typedef Aws::Utils::Outcome UpdateScheduledActionOutcome;
typedef Aws::Utils::Outcome UpdateVpcEndpointOutcome;
typedef Aws::Utils::Outcome UpgradeDomainOutcome;
@@ -281,6 +290,7 @@ namespace Aws
typedef std::future AddDataSourceOutcomeCallable;
typedef std::future AddTagsOutcomeCallable;
typedef std::future AssociatePackageOutcomeCallable;
+ typedef std::future AssociatePackagesOutcomeCallable;
typedef std::future AuthorizeVpcEndpointAccessOutcomeCallable;
typedef std::future CancelDomainConfigChangeOutcomeCallable;
typedef std::future CancelServiceSoftwareUpdateOutcomeCallable;
@@ -312,6 +322,7 @@ namespace Aws
typedef std::future DescribeReservedInstancesOutcomeCallable;
typedef std::future DescribeVpcEndpointsOutcomeCallable;
typedef std::future DissociatePackageOutcomeCallable;
+ typedef std::future DissociatePackagesOutcomeCallable;
typedef std::future GetApplicationOutcomeCallable;
typedef std::future GetCompatibleVersionsOutcomeCallable;
typedef std::future GetDataSourceOutcomeCallable;
@@ -342,6 +353,7 @@ namespace Aws
typedef std::future UpdateDataSourceOutcomeCallable;
typedef std::future UpdateDomainConfigOutcomeCallable;
typedef std::future UpdatePackageOutcomeCallable;
+ typedef std::future UpdatePackageScopeOutcomeCallable;
typedef std::future UpdateScheduledActionOutcomeCallable;
typedef std::future UpdateVpcEndpointOutcomeCallable;
typedef std::future UpgradeDomainOutcomeCallable;
@@ -355,6 +367,7 @@ namespace Aws
typedef std::function&) > AddDataSourceResponseReceivedHandler;
typedef std::function&) > AddTagsResponseReceivedHandler;
typedef std::function&) > AssociatePackageResponseReceivedHandler;
+ typedef std::function&) > AssociatePackagesResponseReceivedHandler;
typedef std::function&) > AuthorizeVpcEndpointAccessResponseReceivedHandler;
typedef std::function&) > CancelDomainConfigChangeResponseReceivedHandler;
typedef std::function&) > CancelServiceSoftwareUpdateResponseReceivedHandler;
@@ -386,6 +399,7 @@ namespace Aws
typedef std::function&) > DescribeReservedInstancesResponseReceivedHandler;
typedef std::function&) > DescribeVpcEndpointsResponseReceivedHandler;
typedef std::function&) > DissociatePackageResponseReceivedHandler;
+ typedef std::function&) > DissociatePackagesResponseReceivedHandler;
typedef std::function&) > GetApplicationResponseReceivedHandler;
typedef std::function&) > GetCompatibleVersionsResponseReceivedHandler;
typedef std::function&) > GetDataSourceResponseReceivedHandler;
@@ -416,6 +430,7 @@ namespace Aws
typedef std::function&) > UpdateDataSourceResponseReceivedHandler;
typedef std::function&) > UpdateDomainConfigResponseReceivedHandler;
typedef std::function&) > UpdatePackageResponseReceivedHandler;
+ typedef std::function&) > UpdatePackageScopeResponseReceivedHandler;
typedef std::function&) > UpdateScheduledActionResponseReceivedHandler;
typedef std::function&) > UpdateVpcEndpointResponseReceivedHandler;
typedef std::function&) > UpgradeDomainResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackageRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackageRequest.h
index 02c5711461d..3e6c4a3efc1 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackageRequest.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackageRequest.h
@@ -7,6 +7,8 @@
#include
#include
#include
+#include
+#include
#include
namespace Aws
@@ -64,6 +66,35 @@ namespace Model
inline AssociatePackageRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
inline AssociatePackageRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
///@}
+
+ ///@{
+ /**
+ * A list of package IDs that must be associated with the domain before the
+ * package specified in the request can be associated.
+ */
+ inline const Aws::Vector& GetPrerequisitePackageIDList() const{ return m_prerequisitePackageIDList; }
+ inline bool PrerequisitePackageIDListHasBeenSet() const { return m_prerequisitePackageIDListHasBeenSet; }
+ inline void SetPrerequisitePackageIDList(const Aws::Vector& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList = value; }
+ inline void SetPrerequisitePackageIDList(Aws::Vector&& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList = std::move(value); }
+ inline AssociatePackageRequest& WithPrerequisitePackageIDList(const Aws::Vector& value) { SetPrerequisitePackageIDList(value); return *this;}
+ inline AssociatePackageRequest& WithPrerequisitePackageIDList(Aws::Vector&& value) { SetPrerequisitePackageIDList(std::move(value)); return *this;}
+ inline AssociatePackageRequest& AddPrerequisitePackageIDList(const Aws::String& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(value); return *this; }
+ inline AssociatePackageRequest& AddPrerequisitePackageIDList(Aws::String&& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(std::move(value)); return *this; }
+ inline AssociatePackageRequest& AddPrerequisitePackageIDList(const char* value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The configuration for associating a package with an Amazon OpenSearch Service
+ * domain.
+ */
+ inline const PackageAssociationConfiguration& GetAssociationConfiguration() const{ return m_associationConfiguration; }
+ inline bool AssociationConfigurationHasBeenSet() const { return m_associationConfigurationHasBeenSet; }
+ inline void SetAssociationConfiguration(const PackageAssociationConfiguration& value) { m_associationConfigurationHasBeenSet = true; m_associationConfiguration = value; }
+ inline void SetAssociationConfiguration(PackageAssociationConfiguration&& value) { m_associationConfigurationHasBeenSet = true; m_associationConfiguration = std::move(value); }
+ inline AssociatePackageRequest& WithAssociationConfiguration(const PackageAssociationConfiguration& value) { SetAssociationConfiguration(value); return *this;}
+ inline AssociatePackageRequest& WithAssociationConfiguration(PackageAssociationConfiguration&& value) { SetAssociationConfiguration(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_packageID;
@@ -71,6 +102,12 @@ namespace Model
Aws::String m_domainName;
bool m_domainNameHasBeenSet = false;
+
+ Aws::Vector m_prerequisitePackageIDList;
+ bool m_prerequisitePackageIDListHasBeenSet = false;
+
+ PackageAssociationConfiguration m_associationConfiguration;
+ bool m_associationConfigurationHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackagesRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackagesRequest.h
new file mode 100644
index 00000000000..cb1b1a3b356
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackagesRequest.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
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ */
+ class AssociatePackagesRequest : public OpenSearchServiceRequest
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API AssociatePackagesRequest();
+
+ // 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 "AssociatePackages"; }
+
+ AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * A list of packages and their prerequisites to be associated with a
+ * domain.
+ */
+ inline const Aws::Vector& GetPackageList() const{ return m_packageList; }
+ inline bool PackageListHasBeenSet() const { return m_packageListHasBeenSet; }
+ inline void SetPackageList(const Aws::Vector& value) { m_packageListHasBeenSet = true; m_packageList = value; }
+ inline void SetPackageList(Aws::Vector&& value) { m_packageListHasBeenSet = true; m_packageList = std::move(value); }
+ inline AssociatePackagesRequest& WithPackageList(const Aws::Vector& value) { SetPackageList(value); return *this;}
+ inline AssociatePackagesRequest& WithPackageList(Aws::Vector&& value) { SetPackageList(std::move(value)); return *this;}
+ inline AssociatePackagesRequest& AddPackageList(const PackageDetailsForAssociation& value) { m_packageListHasBeenSet = true; m_packageList.push_back(value); return *this; }
+ inline AssociatePackagesRequest& AddPackageList(PackageDetailsForAssociation&& value) { m_packageListHasBeenSet = true; m_packageList.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetDomainName() const{ return m_domainName; }
+ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
+ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
+ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
+ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
+ inline AssociatePackagesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
+ inline AssociatePackagesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
+ inline AssociatePackagesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_packageList;
+ bool m_packageListHasBeenSet = false;
+
+ Aws::String m_domainName;
+ bool m_domainNameHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackagesResult.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackagesResult.h
new file mode 100644
index 00000000000..c6afc6fb1a3
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AssociatePackagesResult.h
@@ -0,0 +1,69 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+ class AssociatePackagesResult
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API AssociatePackagesResult();
+ AWS_OPENSEARCHSERVICE_API AssociatePackagesResult(const Aws::AmazonWebServiceResult& result);
+ AWS_OPENSEARCHSERVICE_API AssociatePackagesResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * List of information about packages that are associated with a domain.
+ */
+ inline const Aws::Vector& GetDomainPackageDetailsList() const{ return m_domainPackageDetailsList; }
+ inline void SetDomainPackageDetailsList(const Aws::Vector& value) { m_domainPackageDetailsList = value; }
+ inline void SetDomainPackageDetailsList(Aws::Vector&& value) { m_domainPackageDetailsList = std::move(value); }
+ inline AssociatePackagesResult& WithDomainPackageDetailsList(const Aws::Vector& value) { SetDomainPackageDetailsList(value); return *this;}
+ inline AssociatePackagesResult& WithDomainPackageDetailsList(Aws::Vector&& value) { SetDomainPackageDetailsList(std::move(value)); return *this;}
+ inline AssociatePackagesResult& AddDomainPackageDetailsList(const DomainPackageDetails& value) { m_domainPackageDetailsList.push_back(value); return *this; }
+ inline AssociatePackagesResult& AddDomainPackageDetailsList(DomainPackageDetails&& value) { m_domainPackageDetailsList.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline AssociatePackagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline AssociatePackagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline AssociatePackagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_domainPackageDetailsList;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreatePackageRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreatePackageRequest.h
index d7113b1fb5a..8c08176def4 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreatePackageRequest.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreatePackageRequest.h
@@ -9,6 +9,9 @@
#include
#include
#include
+#include
+#include
+#include
#include
namespace Aws
@@ -89,6 +92,59 @@ namespace Model
inline CreatePackageRequest& WithPackageSource(const PackageSource& value) { SetPackageSource(value); return *this;}
inline CreatePackageRequest& WithPackageSource(PackageSource&& value) { SetPackageSource(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * The configuration parameters for the package being created.
+ */
+ inline const PackageConfiguration& GetPackageConfiguration() const{ return m_packageConfiguration; }
+ inline bool PackageConfigurationHasBeenSet() const { return m_packageConfigurationHasBeenSet; }
+ inline void SetPackageConfiguration(const PackageConfiguration& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = value; }
+ inline void SetPackageConfiguration(PackageConfiguration&& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = std::move(value); }
+ inline CreatePackageRequest& WithPackageConfiguration(const PackageConfiguration& value) { SetPackageConfiguration(value); return *this;}
+ inline CreatePackageRequest& WithPackageConfiguration(PackageConfiguration&& value) { SetPackageConfiguration(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The version of the Amazon OpenSearch Service engine for which is compatible
+ * with the package. This can only be specified for package type
+ * ZIP-PLUGIN
+ */
+ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
+ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
+ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
+ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
+ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
+ inline CreatePackageRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
+ inline CreatePackageRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
+ inline CreatePackageRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The vending options for the package being created. They determine if the
+ * package can be vended to other users.
+ */
+ inline const PackageVendingOptions& GetPackageVendingOptions() const{ return m_packageVendingOptions; }
+ inline bool PackageVendingOptionsHasBeenSet() const { return m_packageVendingOptionsHasBeenSet; }
+ inline void SetPackageVendingOptions(const PackageVendingOptions& value) { m_packageVendingOptionsHasBeenSet = true; m_packageVendingOptions = value; }
+ inline void SetPackageVendingOptions(PackageVendingOptions&& value) { m_packageVendingOptionsHasBeenSet = true; m_packageVendingOptions = std::move(value); }
+ inline CreatePackageRequest& WithPackageVendingOptions(const PackageVendingOptions& value) { SetPackageVendingOptions(value); return *this;}
+ inline CreatePackageRequest& WithPackageVendingOptions(PackageVendingOptions&& value) { SetPackageVendingOptions(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The encryption parameters for the package being created.
+ */
+ inline const PackageEncryptionOptions& GetPackageEncryptionOptions() const{ return m_packageEncryptionOptions; }
+ inline bool PackageEncryptionOptionsHasBeenSet() const { return m_packageEncryptionOptionsHasBeenSet; }
+ inline void SetPackageEncryptionOptions(const PackageEncryptionOptions& value) { m_packageEncryptionOptionsHasBeenSet = true; m_packageEncryptionOptions = value; }
+ inline void SetPackageEncryptionOptions(PackageEncryptionOptions&& value) { m_packageEncryptionOptionsHasBeenSet = true; m_packageEncryptionOptions = std::move(value); }
+ inline CreatePackageRequest& WithPackageEncryptionOptions(const PackageEncryptionOptions& value) { SetPackageEncryptionOptions(value); return *this;}
+ inline CreatePackageRequest& WithPackageEncryptionOptions(PackageEncryptionOptions&& value) { SetPackageEncryptionOptions(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_packageName;
@@ -102,6 +158,18 @@ namespace Model
PackageSource m_packageSource;
bool m_packageSourceHasBeenSet = false;
+
+ PackageConfiguration m_packageConfiguration;
+ bool m_packageConfigurationHasBeenSet = false;
+
+ Aws::String m_engineVersion;
+ bool m_engineVersionHasBeenSet = false;
+
+ PackageVendingOptions m_packageVendingOptions;
+ bool m_packageVendingOptionsHasBeenSet = false;
+
+ PackageEncryptionOptions m_packageEncryptionOptions;
+ bool m_packageEncryptionOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DescribePackagesFilterName.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DescribePackagesFilterName.h
index f907b2c7992..24670cd4856 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DescribePackagesFilterName.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DescribePackagesFilterName.h
@@ -20,7 +20,8 @@ namespace Model
PackageName,
PackageStatus,
PackageType,
- EngineVersion
+ EngineVersion,
+ PackageOwner
};
namespace DescribePackagesFilterNameMapper
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DissociatePackagesRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DissociatePackagesRequest.h
new file mode 100644
index 00000000000..1fb4e8e19fc
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DissociatePackagesRequest.h
@@ -0,0 +1,73 @@
+/**
+ * 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 OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ */
+ class DissociatePackagesRequest : public OpenSearchServiceRequest
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API DissociatePackagesRequest();
+
+ // 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 "DissociatePackages"; }
+
+ AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * A list of package IDs to be dissociated from a domain.
+ */
+ inline const Aws::Vector& GetPackageList() const{ return m_packageList; }
+ inline bool PackageListHasBeenSet() const { return m_packageListHasBeenSet; }
+ inline void SetPackageList(const Aws::Vector& value) { m_packageListHasBeenSet = true; m_packageList = value; }
+ inline void SetPackageList(Aws::Vector&& value) { m_packageListHasBeenSet = true; m_packageList = std::move(value); }
+ inline DissociatePackagesRequest& WithPackageList(const Aws::Vector& value) { SetPackageList(value); return *this;}
+ inline DissociatePackagesRequest& WithPackageList(Aws::Vector&& value) { SetPackageList(std::move(value)); return *this;}
+ inline DissociatePackagesRequest& AddPackageList(const Aws::String& value) { m_packageListHasBeenSet = true; m_packageList.push_back(value); return *this; }
+ inline DissociatePackagesRequest& AddPackageList(Aws::String&& value) { m_packageListHasBeenSet = true; m_packageList.push_back(std::move(value)); return *this; }
+ inline DissociatePackagesRequest& AddPackageList(const char* value) { m_packageListHasBeenSet = true; m_packageList.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetDomainName() const{ return m_domainName; }
+ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
+ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
+ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
+ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
+ inline DissociatePackagesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
+ inline DissociatePackagesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
+ inline DissociatePackagesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_packageList;
+ bool m_packageListHasBeenSet = false;
+
+ Aws::String m_domainName;
+ bool m_domainNameHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DissociatePackagesResult.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DissociatePackagesResult.h
new file mode 100644
index 00000000000..d46abcf19a4
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DissociatePackagesResult.h
@@ -0,0 +1,70 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+ class DissociatePackagesResult
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API DissociatePackagesResult();
+ AWS_OPENSEARCHSERVICE_API DissociatePackagesResult(const Aws::AmazonWebServiceResult& result);
+ AWS_OPENSEARCHSERVICE_API DissociatePackagesResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * A list of package details for the packages that were dissociated from the
+ * domain.
+ */
+ inline const Aws::Vector& GetDomainPackageDetailsList() const{ return m_domainPackageDetailsList; }
+ inline void SetDomainPackageDetailsList(const Aws::Vector& value) { m_domainPackageDetailsList = value; }
+ inline void SetDomainPackageDetailsList(Aws::Vector&& value) { m_domainPackageDetailsList = std::move(value); }
+ inline DissociatePackagesResult& WithDomainPackageDetailsList(const Aws::Vector& value) { SetDomainPackageDetailsList(value); return *this;}
+ inline DissociatePackagesResult& WithDomainPackageDetailsList(Aws::Vector&& value) { SetDomainPackageDetailsList(std::move(value)); return *this;}
+ inline DissociatePackagesResult& AddDomainPackageDetailsList(const DomainPackageDetails& value) { m_domainPackageDetailsList.push_back(value); return *this; }
+ inline DissociatePackagesResult& AddDomainPackageDetailsList(DomainPackageDetails&& value) { m_domainPackageDetailsList.push_back(std::move(value)); return *this; }
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetRequestId() const{ return m_requestId; }
+ inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
+ inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
+ inline void SetRequestId(const char* value) { m_requestId.assign(value); }
+ inline DissociatePackagesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline DissociatePackagesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline DissociatePackagesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::Vector m_domainPackageDetailsList;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainPackageDetails.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainPackageDetails.h
index c9b64d023e0..e935bd432d5 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainPackageDetails.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainPackageDetails.h
@@ -9,7 +9,9 @@
#include
#include
#include
+#include
#include
+#include
#include
namespace Aws
@@ -136,6 +138,22 @@ namespace Model
inline DomainPackageDetails& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
///@}
+ ///@{
+ /**
+ * A list of package IDs that must be associated with the domain before or with
+ * the package can be associated.
+ */
+ inline const Aws::Vector& GetPrerequisitePackageIDList() const{ return m_prerequisitePackageIDList; }
+ inline bool PrerequisitePackageIDListHasBeenSet() const { return m_prerequisitePackageIDListHasBeenSet; }
+ inline void SetPrerequisitePackageIDList(const Aws::Vector& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList = value; }
+ inline void SetPrerequisitePackageIDList(Aws::Vector&& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList = std::move(value); }
+ inline DomainPackageDetails& WithPrerequisitePackageIDList(const Aws::Vector& value) { SetPrerequisitePackageIDList(value); return *this;}
+ inline DomainPackageDetails& WithPrerequisitePackageIDList(Aws::Vector&& value) { SetPrerequisitePackageIDList(std::move(value)); return *this;}
+ inline DomainPackageDetails& AddPrerequisitePackageIDList(const Aws::String& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(value); return *this; }
+ inline DomainPackageDetails& AddPrerequisitePackageIDList(Aws::String&& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(std::move(value)); return *this; }
+ inline DomainPackageDetails& AddPrerequisitePackageIDList(const char* value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(value); return *this; }
+ ///@}
+
///@{
/**
* The relative path of the package on the OpenSearch Service cluster nodes.
@@ -163,6 +181,19 @@ namespace Model
inline DomainPackageDetails& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
inline DomainPackageDetails& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ *
The configuration for associating a package with an Amazon OpenSearch Service
+ * domain.
+ */
+ inline const PackageAssociationConfiguration& GetAssociationConfiguration() const{ return m_associationConfiguration; }
+ inline bool AssociationConfigurationHasBeenSet() const { return m_associationConfigurationHasBeenSet; }
+ inline void SetAssociationConfiguration(const PackageAssociationConfiguration& value) { m_associationConfigurationHasBeenSet = true; m_associationConfiguration = value; }
+ inline void SetAssociationConfiguration(PackageAssociationConfiguration&& value) { m_associationConfigurationHasBeenSet = true; m_associationConfiguration = std::move(value); }
+ inline DomainPackageDetails& WithAssociationConfiguration(const PackageAssociationConfiguration& value) { SetAssociationConfiguration(value); return *this;}
+ inline DomainPackageDetails& WithAssociationConfiguration(PackageAssociationConfiguration&& value) { SetAssociationConfiguration(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_packageID;
@@ -186,11 +217,17 @@ namespace Model
Aws::String m_packageVersion;
bool m_packageVersionHasBeenSet = false;
+ Aws::Vector m_prerequisitePackageIDList;
+ bool m_prerequisitePackageIDListHasBeenSet = false;
+
Aws::String m_referencePath;
bool m_referencePathHasBeenSet = false;
ErrorDetails m_errorDetails;
bool m_errorDetailsHasBeenSet = false;
+
+ PackageAssociationConfiguration m_associationConfiguration;
+ bool m_associationConfigurationHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/KeyStoreAccessOption.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/KeyStoreAccessOption.h
new file mode 100644
index 00000000000..9691b74a50e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/KeyStoreAccessOption.h
@@ -0,0 +1,75 @@
+/**
+ * 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 OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * The configuration parameters to enable access to the key store required by
+ * the package.
See Also:
AWS
+ * API Reference
+ */
+ class KeyStoreAccessOption
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API KeyStoreAccessOption();
+ AWS_OPENSEARCHSERVICE_API KeyStoreAccessOption(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API KeyStoreAccessOption& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Role ARN to access the KeyStore Key
+ */
+ inline const Aws::String& GetKeyAccessRoleArn() const{ return m_keyAccessRoleArn; }
+ inline bool KeyAccessRoleArnHasBeenSet() const { return m_keyAccessRoleArnHasBeenSet; }
+ inline void SetKeyAccessRoleArn(const Aws::String& value) { m_keyAccessRoleArnHasBeenSet = true; m_keyAccessRoleArn = value; }
+ inline void SetKeyAccessRoleArn(Aws::String&& value) { m_keyAccessRoleArnHasBeenSet = true; m_keyAccessRoleArn = std::move(value); }
+ inline void SetKeyAccessRoleArn(const char* value) { m_keyAccessRoleArnHasBeenSet = true; m_keyAccessRoleArn.assign(value); }
+ inline KeyStoreAccessOption& WithKeyAccessRoleArn(const Aws::String& value) { SetKeyAccessRoleArn(value); return *this;}
+ inline KeyStoreAccessOption& WithKeyAccessRoleArn(Aws::String&& value) { SetKeyAccessRoleArn(std::move(value)); return *this;}
+ inline KeyStoreAccessOption& WithKeyAccessRoleArn(const char* value) { SetKeyAccessRoleArn(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * This indicates whether Key Store access is enabled
+ */
+ inline bool GetKeyStoreAccessEnabled() const{ return m_keyStoreAccessEnabled; }
+ inline bool KeyStoreAccessEnabledHasBeenSet() const { return m_keyStoreAccessEnabledHasBeenSet; }
+ inline void SetKeyStoreAccessEnabled(bool value) { m_keyStoreAccessEnabledHasBeenSet = true; m_keyStoreAccessEnabled = value; }
+ inline KeyStoreAccessOption& WithKeyStoreAccessEnabled(bool value) { SetKeyStoreAccessEnabled(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_keyAccessRoleArn;
+ bool m_keyAccessRoleArnHasBeenSet = false;
+
+ bool m_keyStoreAccessEnabled;
+ bool m_keyStoreAccessEnabledHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageAssociationConfiguration.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageAssociationConfiguration.h
new file mode 100644
index 00000000000..e1c0682f836
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageAssociationConfiguration.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
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * The configuration for associating a package with a domain.
See
+ * Also:
AWS
+ * API Reference
+ */
+ class PackageAssociationConfiguration
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API PackageAssociationConfiguration();
+ AWS_OPENSEARCHSERVICE_API PackageAssociationConfiguration(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API PackageAssociationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The configuration parameters to enable accessing the key store required by
+ * the package.
+ */
+ inline const KeyStoreAccessOption& GetKeyStoreAccessOption() const{ return m_keyStoreAccessOption; }
+ inline bool KeyStoreAccessOptionHasBeenSet() const { return m_keyStoreAccessOptionHasBeenSet; }
+ inline void SetKeyStoreAccessOption(const KeyStoreAccessOption& value) { m_keyStoreAccessOptionHasBeenSet = true; m_keyStoreAccessOption = value; }
+ inline void SetKeyStoreAccessOption(KeyStoreAccessOption&& value) { m_keyStoreAccessOptionHasBeenSet = true; m_keyStoreAccessOption = std::move(value); }
+ inline PackageAssociationConfiguration& WithKeyStoreAccessOption(const KeyStoreAccessOption& value) { SetKeyStoreAccessOption(value); return *this;}
+ inline PackageAssociationConfiguration& WithKeyStoreAccessOption(KeyStoreAccessOption&& value) { SetKeyStoreAccessOption(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ KeyStoreAccessOption m_keyStoreAccessOption;
+ bool m_keyStoreAccessOptionHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageConfiguration.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageConfiguration.h
new file mode 100644
index 00000000000..39857bdc0a3
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageConfiguration.h
@@ -0,0 +1,106 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * The configuration parameters for a package.
See Also:
AWS
+ * API Reference
+ */
+ class PackageConfiguration
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API PackageConfiguration();
+ AWS_OPENSEARCHSERVICE_API PackageConfiguration(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API PackageConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The license requirements for the package.
+ */
+ inline const RequirementLevel& GetLicenseRequirement() const{ return m_licenseRequirement; }
+ inline bool LicenseRequirementHasBeenSet() const { return m_licenseRequirementHasBeenSet; }
+ inline void SetLicenseRequirement(const RequirementLevel& value) { m_licenseRequirementHasBeenSet = true; m_licenseRequirement = value; }
+ inline void SetLicenseRequirement(RequirementLevel&& value) { m_licenseRequirementHasBeenSet = true; m_licenseRequirement = std::move(value); }
+ inline PackageConfiguration& WithLicenseRequirement(const RequirementLevel& value) { SetLicenseRequirement(value); return *this;}
+ inline PackageConfiguration& WithLicenseRequirement(RequirementLevel&& value) { SetLicenseRequirement(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The relative file path for the license associated with the package.
+ */
+ inline const Aws::String& GetLicenseFilepath() const{ return m_licenseFilepath; }
+ inline bool LicenseFilepathHasBeenSet() const { return m_licenseFilepathHasBeenSet; }
+ inline void SetLicenseFilepath(const Aws::String& value) { m_licenseFilepathHasBeenSet = true; m_licenseFilepath = value; }
+ inline void SetLicenseFilepath(Aws::String&& value) { m_licenseFilepathHasBeenSet = true; m_licenseFilepath = std::move(value); }
+ inline void SetLicenseFilepath(const char* value) { m_licenseFilepathHasBeenSet = true; m_licenseFilepath.assign(value); }
+ inline PackageConfiguration& WithLicenseFilepath(const Aws::String& value) { SetLicenseFilepath(value); return *this;}
+ inline PackageConfiguration& WithLicenseFilepath(Aws::String&& value) { SetLicenseFilepath(std::move(value)); return *this;}
+ inline PackageConfiguration& WithLicenseFilepath(const char* value) { SetLicenseFilepath(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The configuration requirements for the package.
+ */
+ inline const RequirementLevel& GetConfigurationRequirement() const{ return m_configurationRequirement; }
+ inline bool ConfigurationRequirementHasBeenSet() const { return m_configurationRequirementHasBeenSet; }
+ inline void SetConfigurationRequirement(const RequirementLevel& value) { m_configurationRequirementHasBeenSet = true; m_configurationRequirement = value; }
+ inline void SetConfigurationRequirement(RequirementLevel&& value) { m_configurationRequirementHasBeenSet = true; m_configurationRequirement = std::move(value); }
+ inline PackageConfiguration& WithConfigurationRequirement(const RequirementLevel& value) { SetConfigurationRequirement(value); return *this;}
+ inline PackageConfiguration& WithConfigurationRequirement(RequirementLevel&& value) { SetConfigurationRequirement(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * This indicates whether a B/G deployment is required for updating the
+ * configuration that the plugin is prerequisite for.
+ */
+ inline bool GetRequiresRestartForConfigurationUpdate() const{ return m_requiresRestartForConfigurationUpdate; }
+ inline bool RequiresRestartForConfigurationUpdateHasBeenSet() const { return m_requiresRestartForConfigurationUpdateHasBeenSet; }
+ inline void SetRequiresRestartForConfigurationUpdate(bool value) { m_requiresRestartForConfigurationUpdateHasBeenSet = true; m_requiresRestartForConfigurationUpdate = value; }
+ inline PackageConfiguration& WithRequiresRestartForConfigurationUpdate(bool value) { SetRequiresRestartForConfigurationUpdate(value); return *this;}
+ ///@}
+ private:
+
+ RequirementLevel m_licenseRequirement;
+ bool m_licenseRequirementHasBeenSet = false;
+
+ Aws::String m_licenseFilepath;
+ bool m_licenseFilepathHasBeenSet = false;
+
+ RequirementLevel m_configurationRequirement;
+ bool m_configurationRequirementHasBeenSet = false;
+
+ bool m_requiresRestartForConfigurationUpdate;
+ bool m_requiresRestartForConfigurationUpdateHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetails.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetails.h
index 59cb504d323..a2176de92aa 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetails.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetails.h
@@ -11,6 +11,10 @@
#include
#include
#include
+#include
+#include
+#include
+#include
#include
namespace Aws
@@ -189,6 +193,73 @@ namespace Model
inline PackageDetails& WithAvailablePluginProperties(const PluginProperties& value) { SetAvailablePluginProperties(value); return *this;}
inline PackageDetails& WithAvailablePluginProperties(PluginProperties&& value) { SetAvailablePluginProperties(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * This represents the available configuration parameters for the package.
+ */
+ inline const PackageConfiguration& GetAvailablePackageConfiguration() const{ return m_availablePackageConfiguration; }
+ inline bool AvailablePackageConfigurationHasBeenSet() const { return m_availablePackageConfigurationHasBeenSet; }
+ inline void SetAvailablePackageConfiguration(const PackageConfiguration& value) { m_availablePackageConfigurationHasBeenSet = true; m_availablePackageConfiguration = value; }
+ inline void SetAvailablePackageConfiguration(PackageConfiguration&& value) { m_availablePackageConfigurationHasBeenSet = true; m_availablePackageConfiguration = std::move(value); }
+ inline PackageDetails& WithAvailablePackageConfiguration(const PackageConfiguration& value) { SetAvailablePackageConfiguration(value); return *this;}
+ inline PackageDetails& WithAvailablePackageConfiguration(PackageConfiguration&& value) { SetAvailablePackageConfiguration(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * A list of users who are allowed to view and associate the package. This
+ * field is only visible to the owner of a package.
+ */
+ inline const Aws::Vector& GetAllowListedUserList() const{ return m_allowListedUserList; }
+ inline bool AllowListedUserListHasBeenSet() const { return m_allowListedUserListHasBeenSet; }
+ inline void SetAllowListedUserList(const Aws::Vector& value) { m_allowListedUserListHasBeenSet = true; m_allowListedUserList = value; }
+ inline void SetAllowListedUserList(Aws::Vector&& value) { m_allowListedUserListHasBeenSet = true; m_allowListedUserList = std::move(value); }
+ inline PackageDetails& WithAllowListedUserList(const Aws::Vector& value) { SetAllowListedUserList(value); return *this;}
+ inline PackageDetails& WithAllowListedUserList(Aws::Vector&& value) { SetAllowListedUserList(std::move(value)); return *this;}
+ inline PackageDetails& AddAllowListedUserList(const Aws::String& value) { m_allowListedUserListHasBeenSet = true; m_allowListedUserList.push_back(value); return *this; }
+ inline PackageDetails& AddAllowListedUserList(Aws::String&& value) { m_allowListedUserListHasBeenSet = true; m_allowListedUserList.push_back(std::move(value)); return *this; }
+ inline PackageDetails& AddAllowListedUserList(const char* value) { m_allowListedUserListHasBeenSet = true; m_allowListedUserList.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The owner of the package who is allowed to create/update a package and add
+ * users to the package scope.
+ */
+ inline const Aws::String& GetPackageOwner() const{ return m_packageOwner; }
+ inline bool PackageOwnerHasBeenSet() const { return m_packageOwnerHasBeenSet; }
+ inline void SetPackageOwner(const Aws::String& value) { m_packageOwnerHasBeenSet = true; m_packageOwner = value; }
+ inline void SetPackageOwner(Aws::String&& value) { m_packageOwnerHasBeenSet = true; m_packageOwner = std::move(value); }
+ inline void SetPackageOwner(const char* value) { m_packageOwnerHasBeenSet = true; m_packageOwner.assign(value); }
+ inline PackageDetails& WithPackageOwner(const Aws::String& value) { SetPackageOwner(value); return *this;}
+ inline PackageDetails& WithPackageOwner(Aws::String&& value) { SetPackageOwner(std::move(value)); return *this;}
+ inline PackageDetails& WithPackageOwner(const char* value) { SetPackageOwner(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Package Vending Options for a package.
+ */
+ inline const PackageVendingOptions& GetPackageVendingOptions() const{ return m_packageVendingOptions; }
+ inline bool PackageVendingOptionsHasBeenSet() const { return m_packageVendingOptionsHasBeenSet; }
+ inline void SetPackageVendingOptions(const PackageVendingOptions& value) { m_packageVendingOptionsHasBeenSet = true; m_packageVendingOptions = value; }
+ inline void SetPackageVendingOptions(PackageVendingOptions&& value) { m_packageVendingOptionsHasBeenSet = true; m_packageVendingOptions = std::move(value); }
+ inline PackageDetails& WithPackageVendingOptions(const PackageVendingOptions& value) { SetPackageVendingOptions(value); return *this;}
+ inline PackageDetails& WithPackageVendingOptions(PackageVendingOptions&& value) { SetPackageVendingOptions(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Package Encryption Options for a package.
+ */
+ inline const PackageEncryptionOptions& GetPackageEncryptionOptions() const{ return m_packageEncryptionOptions; }
+ inline bool PackageEncryptionOptionsHasBeenSet() const { return m_packageEncryptionOptionsHasBeenSet; }
+ inline void SetPackageEncryptionOptions(const PackageEncryptionOptions& value) { m_packageEncryptionOptionsHasBeenSet = true; m_packageEncryptionOptions = value; }
+ inline void SetPackageEncryptionOptions(PackageEncryptionOptions&& value) { m_packageEncryptionOptionsHasBeenSet = true; m_packageEncryptionOptions = std::move(value); }
+ inline PackageDetails& WithPackageEncryptionOptions(const PackageEncryptionOptions& value) { SetPackageEncryptionOptions(value); return *this;}
+ inline PackageDetails& WithPackageEncryptionOptions(PackageEncryptionOptions&& value) { SetPackageEncryptionOptions(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_packageID;
@@ -223,6 +294,21 @@ namespace Model
PluginProperties m_availablePluginProperties;
bool m_availablePluginPropertiesHasBeenSet = false;
+
+ PackageConfiguration m_availablePackageConfiguration;
+ bool m_availablePackageConfigurationHasBeenSet = false;
+
+ Aws::Vector m_allowListedUserList;
+ bool m_allowListedUserListHasBeenSet = false;
+
+ Aws::String m_packageOwner;
+ bool m_packageOwnerHasBeenSet = false;
+
+ PackageVendingOptions m_packageVendingOptions;
+ bool m_packageVendingOptionsHasBeenSet = false;
+
+ PackageEncryptionOptions m_packageEncryptionOptions;
+ bool m_packageEncryptionOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetailsForAssociation.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetailsForAssociation.h
new file mode 100644
index 00000000000..d213b949e73
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageDetailsForAssociation.h
@@ -0,0 +1,98 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * Details of a package that is associated with a domain.
See
+ * Also:
AWS
+ * API Reference
+ */
+ class PackageDetailsForAssociation
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API PackageDetailsForAssociation();
+ AWS_OPENSEARCHSERVICE_API PackageDetailsForAssociation(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API PackageDetailsForAssociation& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Internal ID of the package that you want to associate with a domain.
+ */
+ inline const Aws::String& GetPackageID() const{ return m_packageID; }
+ inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; }
+ inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; }
+ inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); }
+ inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); }
+ inline PackageDetailsForAssociation& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
+ inline PackageDetailsForAssociation& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
+ inline PackageDetailsForAssociation& WithPackageID(const char* value) { SetPackageID(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * List of package IDs that must be associated with the domain with or before
+ * the package can be associated.
+ */
+ inline const Aws::Vector& GetPrerequisitePackageIDList() const{ return m_prerequisitePackageIDList; }
+ inline bool PrerequisitePackageIDListHasBeenSet() const { return m_prerequisitePackageIDListHasBeenSet; }
+ inline void SetPrerequisitePackageIDList(const Aws::Vector& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList = value; }
+ inline void SetPrerequisitePackageIDList(Aws::Vector&& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList = std::move(value); }
+ inline PackageDetailsForAssociation& WithPrerequisitePackageIDList(const Aws::Vector& value) { SetPrerequisitePackageIDList(value); return *this;}
+ inline PackageDetailsForAssociation& WithPrerequisitePackageIDList(Aws::Vector&& value) { SetPrerequisitePackageIDList(std::move(value)); return *this;}
+ inline PackageDetailsForAssociation& AddPrerequisitePackageIDList(const Aws::String& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(value); return *this; }
+ inline PackageDetailsForAssociation& AddPrerequisitePackageIDList(Aws::String&& value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(std::move(value)); return *this; }
+ inline PackageDetailsForAssociation& AddPrerequisitePackageIDList(const char* value) { m_prerequisitePackageIDListHasBeenSet = true; m_prerequisitePackageIDList.push_back(value); return *this; }
+ ///@}
+
+ ///@{
+ /**
+ * The configuration parameters for associating the package with a domain.
+ */
+ inline const PackageAssociationConfiguration& GetAssociationConfiguration() const{ return m_associationConfiguration; }
+ inline bool AssociationConfigurationHasBeenSet() const { return m_associationConfigurationHasBeenSet; }
+ inline void SetAssociationConfiguration(const PackageAssociationConfiguration& value) { m_associationConfigurationHasBeenSet = true; m_associationConfiguration = value; }
+ inline void SetAssociationConfiguration(PackageAssociationConfiguration&& value) { m_associationConfigurationHasBeenSet = true; m_associationConfiguration = std::move(value); }
+ inline PackageDetailsForAssociation& WithAssociationConfiguration(const PackageAssociationConfiguration& value) { SetAssociationConfiguration(value); return *this;}
+ inline PackageDetailsForAssociation& WithAssociationConfiguration(PackageAssociationConfiguration&& value) { SetAssociationConfiguration(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_packageID;
+ bool m_packageIDHasBeenSet = false;
+
+ Aws::Vector m_prerequisitePackageIDList;
+ bool m_prerequisitePackageIDListHasBeenSet = false;
+
+ PackageAssociationConfiguration m_associationConfiguration;
+ bool m_associationConfigurationHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageEncryptionOptions.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageEncryptionOptions.h
new file mode 100644
index 00000000000..26d2017ff82
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageEncryptionOptions.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 Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * Encryption options for a package.
See Also:
AWS
+ * API Reference
+ */
+ class PackageEncryptionOptions
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API PackageEncryptionOptions();
+ AWS_OPENSEARCHSERVICE_API PackageEncryptionOptions(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API PackageEncryptionOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * KMS key ID for encrypting the package.
+ */
+ inline const Aws::String& GetKmsKeyIdentifier() const{ return m_kmsKeyIdentifier; }
+ inline bool KmsKeyIdentifierHasBeenSet() const { return m_kmsKeyIdentifierHasBeenSet; }
+ inline void SetKmsKeyIdentifier(const Aws::String& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = value; }
+ inline void SetKmsKeyIdentifier(Aws::String&& value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier = std::move(value); }
+ inline void SetKmsKeyIdentifier(const char* value) { m_kmsKeyIdentifierHasBeenSet = true; m_kmsKeyIdentifier.assign(value); }
+ inline PackageEncryptionOptions& WithKmsKeyIdentifier(const Aws::String& value) { SetKmsKeyIdentifier(value); return *this;}
+ inline PackageEncryptionOptions& WithKmsKeyIdentifier(Aws::String&& value) { SetKmsKeyIdentifier(std::move(value)); return *this;}
+ inline PackageEncryptionOptions& WithKmsKeyIdentifier(const char* value) { SetKmsKeyIdentifier(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * This indicates whether encryption is enabled for the package.
+ */
+ inline bool GetEncryptionEnabled() const{ return m_encryptionEnabled; }
+ inline bool EncryptionEnabledHasBeenSet() const { return m_encryptionEnabledHasBeenSet; }
+ inline void SetEncryptionEnabled(bool value) { m_encryptionEnabledHasBeenSet = true; m_encryptionEnabled = value; }
+ inline PackageEncryptionOptions& WithEncryptionEnabled(bool value) { SetEncryptionEnabled(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_kmsKeyIdentifier;
+ bool m_kmsKeyIdentifierHasBeenSet = false;
+
+ bool m_encryptionEnabled;
+ bool m_encryptionEnabledHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageScopeOperationEnum.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageScopeOperationEnum.h
new file mode 100644
index 00000000000..439169feec5
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageScopeOperationEnum.h
@@ -0,0 +1,32 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+ enum class PackageScopeOperationEnum
+ {
+ NOT_SET,
+ ADD,
+ OVERRIDE,
+ REMOVE
+ };
+
+namespace PackageScopeOperationEnumMapper
+{
+AWS_OPENSEARCHSERVICE_API PackageScopeOperationEnum GetPackageScopeOperationEnumForName(const Aws::String& name);
+
+AWS_OPENSEARCHSERVICE_API Aws::String GetNameForPackageScopeOperationEnum(PackageScopeOperationEnum value);
+} // namespace PackageScopeOperationEnumMapper
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageType.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageType.h
index b87727b1726..666dc55ba71 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageType.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageType.h
@@ -17,7 +17,9 @@ namespace Model
{
NOT_SET,
TXT_DICTIONARY,
- ZIP_PLUGIN
+ ZIP_PLUGIN,
+ PACKAGE_LICENSE,
+ PACKAGE_CONFIG
};
namespace PackageTypeMapper
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVendingOptions.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVendingOptions.h
new file mode 100644
index 00000000000..101f5dd0a94
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVendingOptions.h
@@ -0,0 +1,57 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * The vending options for a package to determine if the package can be used by
+ * other users.
See Also:
AWS
+ * API Reference
+ */
+ class PackageVendingOptions
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API PackageVendingOptions();
+ AWS_OPENSEARCHSERVICE_API PackageVendingOptions(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API PackageVendingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * This indicates whether vending is enabled for the package to determine if
+ * package can be used by other users.
+ */
+ inline bool GetVendingEnabled() const{ return m_vendingEnabled; }
+ inline bool VendingEnabledHasBeenSet() const { return m_vendingEnabledHasBeenSet; }
+ inline void SetVendingEnabled(bool value) { m_vendingEnabledHasBeenSet = true; m_vendingEnabled = value; }
+ inline PackageVendingOptions& WithVendingEnabled(bool value) { SetVendingEnabled(value); return *this;}
+ ///@}
+ private:
+
+ bool m_vendingEnabled;
+ bool m_vendingEnabledHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVersionHistory.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVersionHistory.h
index 2d66adfb17b..8dbac5b1d5f 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVersionHistory.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/PackageVersionHistory.h
@@ -8,6 +8,7 @@
#include
#include
#include
+#include
#include
namespace Aws
@@ -91,6 +92,18 @@ namespace Model
inline PackageVersionHistory& WithPluginProperties(const PluginProperties& value) { SetPluginProperties(value); return *this;}
inline PackageVersionHistory& WithPluginProperties(PluginProperties&& value) { SetPluginProperties(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * The configuration details for a specific version of a package.
+ */
+ inline const PackageConfiguration& GetPackageConfiguration() const{ return m_packageConfiguration; }
+ inline bool PackageConfigurationHasBeenSet() const { return m_packageConfigurationHasBeenSet; }
+ inline void SetPackageConfiguration(const PackageConfiguration& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = value; }
+ inline void SetPackageConfiguration(PackageConfiguration&& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = std::move(value); }
+ inline PackageVersionHistory& WithPackageConfiguration(const PackageConfiguration& value) { SetPackageConfiguration(value); return *this;}
+ inline PackageVersionHistory& WithPackageConfiguration(PackageConfiguration&& value) { SetPackageConfiguration(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_packageVersion;
@@ -104,6 +117,9 @@ namespace Model
PluginProperties m_pluginProperties;
bool m_pluginPropertiesHasBeenSet = false;
+
+ PackageConfiguration m_packageConfiguration;
+ bool m_packageConfigurationHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/RequirementLevel.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/RequirementLevel.h
new file mode 100644
index 00000000000..e9fd600738d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/RequirementLevel.h
@@ -0,0 +1,32 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+ enum class RequirementLevel
+ {
+ NOT_SET,
+ REQUIRED,
+ OPTIONAL,
+ NONE
+ };
+
+namespace RequirementLevelMapper
+{
+AWS_OPENSEARCHSERVICE_API RequirementLevel GetRequirementLevelForName(const Aws::String& name);
+
+AWS_OPENSEARCHSERVICE_API Aws::String GetNameForRequirementLevel(RequirementLevel value);
+} // namespace RequirementLevelMapper
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageRequest.h
index 77d663019e0..2484d05c581 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageRequest.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageRequest.h
@@ -8,6 +8,8 @@
#include
#include
#include
+#include
+#include
#include
namespace Aws
@@ -91,6 +93,30 @@ namespace Model
inline UpdatePackageRequest& WithCommitMessage(Aws::String&& value) { SetCommitMessage(std::move(value)); return *this;}
inline UpdatePackageRequest& WithCommitMessage(const char* value) { SetCommitMessage(value); return *this;}
///@}
+
+ ///@{
+ /**
+ * The updated configuration details for a package.
+ */
+ inline const PackageConfiguration& GetPackageConfiguration() const{ return m_packageConfiguration; }
+ inline bool PackageConfigurationHasBeenSet() const { return m_packageConfigurationHasBeenSet; }
+ inline void SetPackageConfiguration(const PackageConfiguration& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = value; }
+ inline void SetPackageConfiguration(PackageConfiguration&& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = std::move(value); }
+ inline UpdatePackageRequest& WithPackageConfiguration(const PackageConfiguration& value) { SetPackageConfiguration(value); return *this;}
+ inline UpdatePackageRequest& WithPackageConfiguration(PackageConfiguration&& value) { SetPackageConfiguration(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * Encryption options for a package.
+ */
+ inline const PackageEncryptionOptions& GetPackageEncryptionOptions() const{ return m_packageEncryptionOptions; }
+ inline bool PackageEncryptionOptionsHasBeenSet() const { return m_packageEncryptionOptionsHasBeenSet; }
+ inline void SetPackageEncryptionOptions(const PackageEncryptionOptions& value) { m_packageEncryptionOptionsHasBeenSet = true; m_packageEncryptionOptions = value; }
+ inline void SetPackageEncryptionOptions(PackageEncryptionOptions&& value) { m_packageEncryptionOptionsHasBeenSet = true; m_packageEncryptionOptions = std::move(value); }
+ inline UpdatePackageRequest& WithPackageEncryptionOptions(const PackageEncryptionOptions& value) { SetPackageEncryptionOptions(value); return *this;}
+ inline UpdatePackageRequest& WithPackageEncryptionOptions(PackageEncryptionOptions&& value) { SetPackageEncryptionOptions(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_packageID;
@@ -104,6 +130,12 @@ namespace Model
Aws::String m_commitMessage;
bool m_commitMessageHasBeenSet = false;
+
+ PackageConfiguration m_packageConfiguration;
+ bool m_packageConfigurationHasBeenSet = false;
+
+ PackageEncryptionOptions m_packageEncryptionOptions;
+ bool m_packageEncryptionOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageScopeRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageScopeRequest.h
new file mode 100644
index 00000000000..f6df4b727e7
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageScopeRequest.h
@@ -0,0 +1,92 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ */
+ class UpdatePackageScopeRequest : public OpenSearchServiceRequest
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API UpdatePackageScopeRequest();
+
+ // 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 "UpdatePackageScope"; }
+
+ AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
+
+
+ ///@{
+ /**
+ * ID of the package whose scope is being updated.
+ */
+ inline const Aws::String& GetPackageID() const{ return m_packageID; }
+ inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; }
+ inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; }
+ inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); }
+ inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); }
+ inline UpdatePackageScopeRequest& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
+ inline UpdatePackageScopeRequest& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
+ inline UpdatePackageScopeRequest& WithPackageID(const char* value) { SetPackageID(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The operation to perform on the package scope (e.g., add/remove/override
+ * users).
+ */
+ inline const PackageScopeOperationEnum& GetOperation() const{ return m_operation; }
+ inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; }
+ inline void SetOperation(const PackageScopeOperationEnum& value) { m_operationHasBeenSet = true; m_operation = value; }
+ inline void SetOperation(PackageScopeOperationEnum&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); }
+ inline UpdatePackageScopeRequest& WithOperation(const PackageScopeOperationEnum& value) { SetOperation(value); return *this;}
+ inline UpdatePackageScopeRequest& WithOperation(PackageScopeOperationEnum&& value) { SetOperation(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * List of users to be added or removed from the package scope.
+ */
+ inline const Aws::Vector& GetPackageUserList() const{ return m_packageUserList; }
+ inline bool PackageUserListHasBeenSet() const { return m_packageUserListHasBeenSet; }
+ inline void SetPackageUserList(const Aws::Vector& value) { m_packageUserListHasBeenSet = true; m_packageUserList = value; }
+ inline void SetPackageUserList(Aws::Vector&& value) { m_packageUserListHasBeenSet = true; m_packageUserList = std::move(value); }
+ inline UpdatePackageScopeRequest& WithPackageUserList(const Aws::Vector& value) { SetPackageUserList(value); return *this;}
+ inline UpdatePackageScopeRequest& WithPackageUserList(Aws::Vector&& value) { SetPackageUserList(std::move(value)); return *this;}
+ inline UpdatePackageScopeRequest& AddPackageUserList(const Aws::String& value) { m_packageUserListHasBeenSet = true; m_packageUserList.push_back(value); return *this; }
+ inline UpdatePackageScopeRequest& AddPackageUserList(Aws::String&& value) { m_packageUserListHasBeenSet = true; m_packageUserList.push_back(std::move(value)); return *this; }
+ inline UpdatePackageScopeRequest& AddPackageUserList(const char* value) { m_packageUserListHasBeenSet = true; m_packageUserList.push_back(value); return *this; }
+ ///@}
+ private:
+
+ Aws::String m_packageID;
+ bool m_packageIDHasBeenSet = false;
+
+ PackageScopeOperationEnum m_operation;
+ bool m_operationHasBeenSet = false;
+
+ Aws::Vector m_packageUserList;
+ bool m_packageUserListHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageScopeResult.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageScopeResult.h
new file mode 100644
index 00000000000..6d756cc2515
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdatePackageScopeResult.h
@@ -0,0 +1,98 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+ class UpdatePackageScopeResult
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API UpdatePackageScopeResult();
+ AWS_OPENSEARCHSERVICE_API UpdatePackageScopeResult(const Aws::AmazonWebServiceResult& result);
+ AWS_OPENSEARCHSERVICE_API UpdatePackageScopeResult& operator=(const Aws::AmazonWebServiceResult& result);
+
+
+ ///@{
+ /**
+ * ID of the package whose scope was updated.
+ */
+ inline const Aws::String& GetPackageID() const{ return m_packageID; }
+ inline void SetPackageID(const Aws::String& value) { m_packageID = value; }
+ inline void SetPackageID(Aws::String&& value) { m_packageID = std::move(value); }
+ inline void SetPackageID(const char* value) { m_packageID.assign(value); }
+ inline UpdatePackageScopeResult& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;}
+ inline UpdatePackageScopeResult& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;}
+ inline UpdatePackageScopeResult& WithPackageID(const char* value) { SetPackageID(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The operation that was performed on the package scope.
+ */
+ inline const PackageScopeOperationEnum& GetOperation() const{ return m_operation; }
+ inline void SetOperation(const PackageScopeOperationEnum& value) { m_operation = value; }
+ inline void SetOperation(PackageScopeOperationEnum&& value) { m_operation = std::move(value); }
+ inline UpdatePackageScopeResult& WithOperation(const PackageScopeOperationEnum& value) { SetOperation(value); return *this;}
+ inline UpdatePackageScopeResult& WithOperation(PackageScopeOperationEnum&& value) { SetOperation(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * List of users who have access to the package after the scope update.
+ */
+ inline const Aws::Vector& GetPackageUserList() const{ return m_packageUserList; }
+ inline void SetPackageUserList(const Aws::Vector& value) { m_packageUserList = value; }
+ inline void SetPackageUserList(Aws::Vector&& value) { m_packageUserList = std::move(value); }
+ inline UpdatePackageScopeResult& WithPackageUserList(const Aws::Vector& value) { SetPackageUserList(value); return *this;}
+ inline UpdatePackageScopeResult& WithPackageUserList(Aws::Vector&& value) { SetPackageUserList(std::move(value)); return *this;}
+ inline UpdatePackageScopeResult& AddPackageUserList(const Aws::String& value) { m_packageUserList.push_back(value); return *this; }
+ inline UpdatePackageScopeResult& AddPackageUserList(Aws::String&& value) { m_packageUserList.push_back(std::move(value)); return *this; }
+ inline UpdatePackageScopeResult& AddPackageUserList(const char* value) { m_packageUserList.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 UpdatePackageScopeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
+ inline UpdatePackageScopeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
+ inline UpdatePackageScopeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_packageID;
+
+ PackageScopeOperationEnum m_operation;
+
+ Aws::Vector m_packageUserList;
+
+ Aws::String m_requestId;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/OpenSearchServiceClient.cpp b/generated/src/aws-cpp-sdk-opensearch/source/OpenSearchServiceClient.cpp
index 6bca63a1bf0..ee62d5e3a9c 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/OpenSearchServiceClient.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/OpenSearchServiceClient.cpp
@@ -25,6 +25,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -56,6 +57,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -86,6 +88,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -366,6 +369,33 @@ AssociatePackageOutcome OpenSearchServiceClient::AssociatePackage(const Associat
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+AssociatePackagesOutcome OpenSearchServiceClient::AssociatePackages(const AssociatePackagesRequest& request) const
+{
+ AWS_OPERATION_GUARD(AssociatePackages);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, AssociatePackages, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, AssociatePackages, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, AssociatePackages, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".AssociatePackages",
+ {{ 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(
+ [&]()-> AssociatePackagesOutcome {
+ 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, AssociatePackages, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2021-01-01/packages/associateMultiple");
+ return AssociatePackagesOutcome(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()}});
+}
+
AuthorizeVpcEndpointAccessOutcome OpenSearchServiceClient::AuthorizeVpcEndpointAccess(const AuthorizeVpcEndpointAccessRequest& request) const
{
AWS_OPERATION_GUARD(AuthorizeVpcEndpointAccess);
@@ -1338,6 +1368,33 @@ DissociatePackageOutcome OpenSearchServiceClient::DissociatePackage(const Dissoc
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+DissociatePackagesOutcome OpenSearchServiceClient::DissociatePackages(const DissociatePackagesRequest& request) const
+{
+ AWS_OPERATION_GUARD(DissociatePackages);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, DissociatePackages, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, DissociatePackages, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, DissociatePackages, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".DissociatePackages",
+ {{ 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(
+ [&]()-> DissociatePackagesOutcome {
+ 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, DissociatePackages, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2021-01-01/packages/dissociateMultiple");
+ return DissociatePackagesOutcome(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()}});
+}
+
GetApplicationOutcome OpenSearchServiceClient::GetApplication(const GetApplicationRequest& request) const
{
AWS_OPERATION_GUARD(GetApplication);
@@ -2307,6 +2364,33 @@ UpdatePackageOutcome OpenSearchServiceClient::UpdatePackage(const UpdatePackageR
{{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}});
}
+UpdatePackageScopeOutcome OpenSearchServiceClient::UpdatePackageScope(const UpdatePackageScopeRequest& request) const
+{
+ AWS_OPERATION_GUARD(UpdatePackageScope);
+ AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdatePackageScope, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE);
+ AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdatePackageScope, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {});
+ auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {});
+ AWS_OPERATION_CHECK_PTR(meter, UpdatePackageScope, CoreErrors, CoreErrors::NOT_INITIALIZED);
+ auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdatePackageScope",
+ {{ 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(
+ [&]()-> UpdatePackageScopeOutcome {
+ 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, UpdatePackageScope, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage());
+ endpointResolutionOutcome.GetResult().AddPathSegments("/2021-01-01/packages/updateScope");
+ return UpdatePackageScopeOutcome(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()}});
+}
+
UpdateScheduledActionOutcome OpenSearchServiceClient::UpdateScheduledAction(const UpdateScheduledActionRequest& request) const
{
AWS_OPERATION_GUARD(UpdateScheduledAction);
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackageRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackageRequest.cpp
index ec5d99f8b4b..9627294d25e 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackageRequest.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackageRequest.cpp
@@ -14,13 +14,34 @@ using namespace Aws::Utils;
AssociatePackageRequest::AssociatePackageRequest() :
m_packageIDHasBeenSet(false),
- m_domainNameHasBeenSet(false)
+ m_domainNameHasBeenSet(false),
+ m_prerequisitePackageIDListHasBeenSet(false),
+ m_associationConfigurationHasBeenSet(false)
{
}
Aws::String AssociatePackageRequest::SerializePayload() const
{
- return {};
+ JsonValue payload;
+
+ if(m_prerequisitePackageIDListHasBeenSet)
+ {
+ Aws::Utils::Array prerequisitePackageIDListJsonList(m_prerequisitePackageIDList.size());
+ for(unsigned prerequisitePackageIDListIndex = 0; prerequisitePackageIDListIndex < prerequisitePackageIDListJsonList.GetLength(); ++prerequisitePackageIDListIndex)
+ {
+ prerequisitePackageIDListJsonList[prerequisitePackageIDListIndex].AsString(m_prerequisitePackageIDList[prerequisitePackageIDListIndex]);
+ }
+ payload.WithArray("PrerequisitePackageIDList", std::move(prerequisitePackageIDListJsonList));
+
+ }
+
+ if(m_associationConfigurationHasBeenSet)
+ {
+ payload.WithObject("AssociationConfiguration", m_associationConfiguration.Jsonize());
+
+ }
+
+ return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackagesRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackagesRequest.cpp
new file mode 100644
index 00000000000..6a2a7da5838
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackagesRequest.cpp
@@ -0,0 +1,47 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::OpenSearchService::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+AssociatePackagesRequest::AssociatePackagesRequest() :
+ m_packageListHasBeenSet(false),
+ m_domainNameHasBeenSet(false)
+{
+}
+
+Aws::String AssociatePackagesRequest::SerializePayload() const
+{
+ JsonValue payload;
+
+ if(m_packageListHasBeenSet)
+ {
+ Aws::Utils::Array packageListJsonList(m_packageList.size());
+ for(unsigned packageListIndex = 0; packageListIndex < packageListJsonList.GetLength(); ++packageListIndex)
+ {
+ packageListJsonList[packageListIndex].AsObject(m_packageList[packageListIndex].Jsonize());
+ }
+ payload.WithArray("PackageList", std::move(packageListJsonList));
+
+ }
+
+ if(m_domainNameHasBeenSet)
+ {
+ payload.WithString("DomainName", m_domainName);
+
+ }
+
+ return payload.View().WriteReadable();
+}
+
+
+
+
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackagesResult.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackagesResult.cpp
new file mode 100644
index 00000000000..7bcf538792b
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/AssociatePackagesResult.cpp
@@ -0,0 +1,51 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::OpenSearchService::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+using namespace Aws;
+
+AssociatePackagesResult::AssociatePackagesResult()
+{
+}
+
+AssociatePackagesResult::AssociatePackagesResult(const Aws::AmazonWebServiceResult& result)
+{
+ *this = result;
+}
+
+AssociatePackagesResult& AssociatePackagesResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ JsonView jsonValue = result.GetPayload().View();
+ if(jsonValue.ValueExists("DomainPackageDetailsList"))
+ {
+ Aws::Utils::Array domainPackageDetailsListJsonList = jsonValue.GetArray("DomainPackageDetailsList");
+ for(unsigned domainPackageDetailsListIndex = 0; domainPackageDetailsListIndex < domainPackageDetailsListJsonList.GetLength(); ++domainPackageDetailsListIndex)
+ {
+ m_domainPackageDetailsList.push_back(domainPackageDetailsListJsonList[domainPackageDetailsListIndex].AsObject());
+ }
+ }
+
+
+ const auto& headers = result.GetHeaderValueCollection();
+ const auto& requestIdIter = headers.find("x-amzn-requestid");
+ if(requestIdIter != headers.end())
+ {
+ m_requestId = requestIdIter->second;
+ }
+
+
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/CreatePackageRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/CreatePackageRequest.cpp
index 9042352b875..fbb4d2dd270 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/CreatePackageRequest.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/CreatePackageRequest.cpp
@@ -17,7 +17,11 @@ CreatePackageRequest::CreatePackageRequest() :
m_packageType(PackageType::NOT_SET),
m_packageTypeHasBeenSet(false),
m_packageDescriptionHasBeenSet(false),
- m_packageSourceHasBeenSet(false)
+ m_packageSourceHasBeenSet(false),
+ m_packageConfigurationHasBeenSet(false),
+ m_engineVersionHasBeenSet(false),
+ m_packageVendingOptionsHasBeenSet(false),
+ m_packageEncryptionOptionsHasBeenSet(false)
{
}
@@ -48,6 +52,30 @@ Aws::String CreatePackageRequest::SerializePayload() const
}
+ if(m_packageConfigurationHasBeenSet)
+ {
+ payload.WithObject("PackageConfiguration", m_packageConfiguration.Jsonize());
+
+ }
+
+ if(m_engineVersionHasBeenSet)
+ {
+ payload.WithString("EngineVersion", m_engineVersion);
+
+ }
+
+ if(m_packageVendingOptionsHasBeenSet)
+ {
+ payload.WithObject("PackageVendingOptions", m_packageVendingOptions.Jsonize());
+
+ }
+
+ if(m_packageEncryptionOptionsHasBeenSet)
+ {
+ payload.WithObject("PackageEncryptionOptions", m_packageEncryptionOptions.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/DescribePackagesFilterName.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/DescribePackagesFilterName.cpp
index 7aa15eba31e..45c9249f945 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/DescribePackagesFilterName.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/DescribePackagesFilterName.cpp
@@ -25,6 +25,7 @@ namespace Aws
static const int PackageStatus_HASH = HashingUtils::HashString("PackageStatus");
static const int PackageType_HASH = HashingUtils::HashString("PackageType");
static const int EngineVersion_HASH = HashingUtils::HashString("EngineVersion");
+ static const int PackageOwner_HASH = HashingUtils::HashString("PackageOwner");
DescribePackagesFilterName GetDescribePackagesFilterNameForName(const Aws::String& name)
@@ -50,6 +51,10 @@ namespace Aws
{
return DescribePackagesFilterName::EngineVersion;
}
+ else if (hashCode == PackageOwner_HASH)
+ {
+ return DescribePackagesFilterName::PackageOwner;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -76,6 +81,8 @@ namespace Aws
return "PackageType";
case DescribePackagesFilterName::EngineVersion:
return "EngineVersion";
+ case DescribePackagesFilterName::PackageOwner:
+ return "PackageOwner";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/DissociatePackagesRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/DissociatePackagesRequest.cpp
new file mode 100644
index 00000000000..32489051223
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/DissociatePackagesRequest.cpp
@@ -0,0 +1,47 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::OpenSearchService::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+DissociatePackagesRequest::DissociatePackagesRequest() :
+ m_packageListHasBeenSet(false),
+ m_domainNameHasBeenSet(false)
+{
+}
+
+Aws::String DissociatePackagesRequest::SerializePayload() const
+{
+ JsonValue payload;
+
+ if(m_packageListHasBeenSet)
+ {
+ Aws::Utils::Array packageListJsonList(m_packageList.size());
+ for(unsigned packageListIndex = 0; packageListIndex < packageListJsonList.GetLength(); ++packageListIndex)
+ {
+ packageListJsonList[packageListIndex].AsString(m_packageList[packageListIndex]);
+ }
+ payload.WithArray("PackageList", std::move(packageListJsonList));
+
+ }
+
+ if(m_domainNameHasBeenSet)
+ {
+ payload.WithString("DomainName", m_domainName);
+
+ }
+
+ return payload.View().WriteReadable();
+}
+
+
+
+
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/DissociatePackagesResult.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/DissociatePackagesResult.cpp
new file mode 100644
index 00000000000..bcaa957d707
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/DissociatePackagesResult.cpp
@@ -0,0 +1,51 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::OpenSearchService::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+using namespace Aws;
+
+DissociatePackagesResult::DissociatePackagesResult()
+{
+}
+
+DissociatePackagesResult::DissociatePackagesResult(const Aws::AmazonWebServiceResult& result)
+{
+ *this = result;
+}
+
+DissociatePackagesResult& DissociatePackagesResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ JsonView jsonValue = result.GetPayload().View();
+ if(jsonValue.ValueExists("DomainPackageDetailsList"))
+ {
+ Aws::Utils::Array domainPackageDetailsListJsonList = jsonValue.GetArray("DomainPackageDetailsList");
+ for(unsigned domainPackageDetailsListIndex = 0; domainPackageDetailsListIndex < domainPackageDetailsListJsonList.GetLength(); ++domainPackageDetailsListIndex)
+ {
+ m_domainPackageDetailsList.push_back(domainPackageDetailsListJsonList[domainPackageDetailsListIndex].AsObject());
+ }
+ }
+
+
+ const auto& headers = result.GetHeaderValueCollection();
+ const auto& requestIdIter = headers.find("x-amzn-requestid");
+ if(requestIdIter != headers.end())
+ {
+ m_requestId = requestIdIter->second;
+ }
+
+
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/DomainPackageDetails.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/DomainPackageDetails.cpp
index e27b31a3f40..03dd54534bd 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/DomainPackageDetails.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/DomainPackageDetails.cpp
@@ -28,8 +28,10 @@ DomainPackageDetails::DomainPackageDetails() :
m_domainPackageStatus(DomainPackageStatus::NOT_SET),
m_domainPackageStatusHasBeenSet(false),
m_packageVersionHasBeenSet(false),
+ m_prerequisitePackageIDListHasBeenSet(false),
m_referencePathHasBeenSet(false),
- m_errorDetailsHasBeenSet(false)
+ m_errorDetailsHasBeenSet(false),
+ m_associationConfigurationHasBeenSet(false)
{
}
@@ -90,6 +92,16 @@ DomainPackageDetails& DomainPackageDetails::operator =(JsonView jsonValue)
m_packageVersionHasBeenSet = true;
}
+ if(jsonValue.ValueExists("PrerequisitePackageIDList"))
+ {
+ Aws::Utils::Array prerequisitePackageIDListJsonList = jsonValue.GetArray("PrerequisitePackageIDList");
+ for(unsigned prerequisitePackageIDListIndex = 0; prerequisitePackageIDListIndex < prerequisitePackageIDListJsonList.GetLength(); ++prerequisitePackageIDListIndex)
+ {
+ m_prerequisitePackageIDList.push_back(prerequisitePackageIDListJsonList[prerequisitePackageIDListIndex].AsString());
+ }
+ m_prerequisitePackageIDListHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("ReferencePath"))
{
m_referencePath = jsonValue.GetString("ReferencePath");
@@ -104,6 +116,13 @@ DomainPackageDetails& DomainPackageDetails::operator =(JsonView jsonValue)
m_errorDetailsHasBeenSet = true;
}
+ if(jsonValue.ValueExists("AssociationConfiguration"))
+ {
+ m_associationConfiguration = jsonValue.GetObject("AssociationConfiguration");
+
+ m_associationConfigurationHasBeenSet = true;
+ }
+
return *this;
}
@@ -150,6 +169,17 @@ JsonValue DomainPackageDetails::Jsonize() const
}
+ if(m_prerequisitePackageIDListHasBeenSet)
+ {
+ Aws::Utils::Array prerequisitePackageIDListJsonList(m_prerequisitePackageIDList.size());
+ for(unsigned prerequisitePackageIDListIndex = 0; prerequisitePackageIDListIndex < prerequisitePackageIDListJsonList.GetLength(); ++prerequisitePackageIDListIndex)
+ {
+ prerequisitePackageIDListJsonList[prerequisitePackageIDListIndex].AsString(m_prerequisitePackageIDList[prerequisitePackageIDListIndex]);
+ }
+ payload.WithArray("PrerequisitePackageIDList", std::move(prerequisitePackageIDListJsonList));
+
+ }
+
if(m_referencePathHasBeenSet)
{
payload.WithString("ReferencePath", m_referencePath);
@@ -162,6 +192,12 @@ JsonValue DomainPackageDetails::Jsonize() const
}
+ if(m_associationConfigurationHasBeenSet)
+ {
+ payload.WithObject("AssociationConfiguration", m_associationConfiguration.Jsonize());
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/KeyStoreAccessOption.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/KeyStoreAccessOption.cpp
new file mode 100644
index 00000000000..2d8ea173553
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/KeyStoreAccessOption.cpp
@@ -0,0 +1,74 @@
+/**
+ * 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 OpenSearchService
+{
+namespace Model
+{
+
+KeyStoreAccessOption::KeyStoreAccessOption() :
+ m_keyAccessRoleArnHasBeenSet(false),
+ m_keyStoreAccessEnabled(false),
+ m_keyStoreAccessEnabledHasBeenSet(false)
+{
+}
+
+KeyStoreAccessOption::KeyStoreAccessOption(JsonView jsonValue)
+ : KeyStoreAccessOption()
+{
+ *this = jsonValue;
+}
+
+KeyStoreAccessOption& KeyStoreAccessOption::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("KeyAccessRoleArn"))
+ {
+ m_keyAccessRoleArn = jsonValue.GetString("KeyAccessRoleArn");
+
+ m_keyAccessRoleArnHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("KeyStoreAccessEnabled"))
+ {
+ m_keyStoreAccessEnabled = jsonValue.GetBool("KeyStoreAccessEnabled");
+
+ m_keyStoreAccessEnabledHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue KeyStoreAccessOption::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_keyAccessRoleArnHasBeenSet)
+ {
+ payload.WithString("KeyAccessRoleArn", m_keyAccessRoleArn);
+
+ }
+
+ if(m_keyStoreAccessEnabledHasBeenSet)
+ {
+ payload.WithBool("KeyStoreAccessEnabled", m_keyStoreAccessEnabled);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageAssociationConfiguration.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageAssociationConfiguration.cpp
new file mode 100644
index 00000000000..b11bdf67081
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageAssociationConfiguration.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 OpenSearchService
+{
+namespace Model
+{
+
+PackageAssociationConfiguration::PackageAssociationConfiguration() :
+ m_keyStoreAccessOptionHasBeenSet(false)
+{
+}
+
+PackageAssociationConfiguration::PackageAssociationConfiguration(JsonView jsonValue)
+ : PackageAssociationConfiguration()
+{
+ *this = jsonValue;
+}
+
+PackageAssociationConfiguration& PackageAssociationConfiguration::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("KeyStoreAccessOption"))
+ {
+ m_keyStoreAccessOption = jsonValue.GetObject("KeyStoreAccessOption");
+
+ m_keyStoreAccessOptionHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue PackageAssociationConfiguration::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_keyStoreAccessOptionHasBeenSet)
+ {
+ payload.WithObject("KeyStoreAccessOption", m_keyStoreAccessOption.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageConfiguration.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageConfiguration.cpp
new file mode 100644
index 00000000000..53e2bc8b26d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageConfiguration.cpp
@@ -0,0 +1,102 @@
+/**
+ * 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 OpenSearchService
+{
+namespace Model
+{
+
+PackageConfiguration::PackageConfiguration() :
+ m_licenseRequirement(RequirementLevel::NOT_SET),
+ m_licenseRequirementHasBeenSet(false),
+ m_licenseFilepathHasBeenSet(false),
+ m_configurationRequirement(RequirementLevel::NOT_SET),
+ m_configurationRequirementHasBeenSet(false),
+ m_requiresRestartForConfigurationUpdate(false),
+ m_requiresRestartForConfigurationUpdateHasBeenSet(false)
+{
+}
+
+PackageConfiguration::PackageConfiguration(JsonView jsonValue)
+ : PackageConfiguration()
+{
+ *this = jsonValue;
+}
+
+PackageConfiguration& PackageConfiguration::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("LicenseRequirement"))
+ {
+ m_licenseRequirement = RequirementLevelMapper::GetRequirementLevelForName(jsonValue.GetString("LicenseRequirement"));
+
+ m_licenseRequirementHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("LicenseFilepath"))
+ {
+ m_licenseFilepath = jsonValue.GetString("LicenseFilepath");
+
+ m_licenseFilepathHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("ConfigurationRequirement"))
+ {
+ m_configurationRequirement = RequirementLevelMapper::GetRequirementLevelForName(jsonValue.GetString("ConfigurationRequirement"));
+
+ m_configurationRequirementHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("RequiresRestartForConfigurationUpdate"))
+ {
+ m_requiresRestartForConfigurationUpdate = jsonValue.GetBool("RequiresRestartForConfigurationUpdate");
+
+ m_requiresRestartForConfigurationUpdateHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue PackageConfiguration::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_licenseRequirementHasBeenSet)
+ {
+ payload.WithString("LicenseRequirement", RequirementLevelMapper::GetNameForRequirementLevel(m_licenseRequirement));
+ }
+
+ if(m_licenseFilepathHasBeenSet)
+ {
+ payload.WithString("LicenseFilepath", m_licenseFilepath);
+
+ }
+
+ if(m_configurationRequirementHasBeenSet)
+ {
+ payload.WithString("ConfigurationRequirement", RequirementLevelMapper::GetNameForRequirementLevel(m_configurationRequirement));
+ }
+
+ if(m_requiresRestartForConfigurationUpdateHasBeenSet)
+ {
+ payload.WithBool("RequiresRestartForConfigurationUpdate", m_requiresRestartForConfigurationUpdate);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetails.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetails.cpp
index ba1c38d27fe..71ecc966d6c 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetails.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetails.cpp
@@ -31,7 +31,12 @@ PackageDetails::PackageDetails() :
m_availablePackageVersionHasBeenSet(false),
m_errorDetailsHasBeenSet(false),
m_engineVersionHasBeenSet(false),
- m_availablePluginPropertiesHasBeenSet(false)
+ m_availablePluginPropertiesHasBeenSet(false),
+ m_availablePackageConfigurationHasBeenSet(false),
+ m_allowListedUserListHasBeenSet(false),
+ m_packageOwnerHasBeenSet(false),
+ m_packageVendingOptionsHasBeenSet(false),
+ m_packageEncryptionOptionsHasBeenSet(false)
{
}
@@ -120,6 +125,44 @@ PackageDetails& PackageDetails::operator =(JsonView jsonValue)
m_availablePluginPropertiesHasBeenSet = true;
}
+ if(jsonValue.ValueExists("AvailablePackageConfiguration"))
+ {
+ m_availablePackageConfiguration = jsonValue.GetObject("AvailablePackageConfiguration");
+
+ m_availablePackageConfigurationHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("AllowListedUserList"))
+ {
+ Aws::Utils::Array allowListedUserListJsonList = jsonValue.GetArray("AllowListedUserList");
+ for(unsigned allowListedUserListIndex = 0; allowListedUserListIndex < allowListedUserListJsonList.GetLength(); ++allowListedUserListIndex)
+ {
+ m_allowListedUserList.push_back(allowListedUserListJsonList[allowListedUserListIndex].AsString());
+ }
+ m_allowListedUserListHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("PackageOwner"))
+ {
+ m_packageOwner = jsonValue.GetString("PackageOwner");
+
+ m_packageOwnerHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("PackageVendingOptions"))
+ {
+ m_packageVendingOptions = jsonValue.GetObject("PackageVendingOptions");
+
+ m_packageVendingOptionsHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("PackageEncryptionOptions"))
+ {
+ m_packageEncryptionOptions = jsonValue.GetObject("PackageEncryptionOptions");
+
+ m_packageEncryptionOptionsHasBeenSet = true;
+ }
+
return *this;
}
@@ -189,6 +232,41 @@ JsonValue PackageDetails::Jsonize() const
}
+ if(m_availablePackageConfigurationHasBeenSet)
+ {
+ payload.WithObject("AvailablePackageConfiguration", m_availablePackageConfiguration.Jsonize());
+
+ }
+
+ if(m_allowListedUserListHasBeenSet)
+ {
+ Aws::Utils::Array allowListedUserListJsonList(m_allowListedUserList.size());
+ for(unsigned allowListedUserListIndex = 0; allowListedUserListIndex < allowListedUserListJsonList.GetLength(); ++allowListedUserListIndex)
+ {
+ allowListedUserListJsonList[allowListedUserListIndex].AsString(m_allowListedUserList[allowListedUserListIndex]);
+ }
+ payload.WithArray("AllowListedUserList", std::move(allowListedUserListJsonList));
+
+ }
+
+ if(m_packageOwnerHasBeenSet)
+ {
+ payload.WithString("PackageOwner", m_packageOwner);
+
+ }
+
+ if(m_packageVendingOptionsHasBeenSet)
+ {
+ payload.WithObject("PackageVendingOptions", m_packageVendingOptions.Jsonize());
+
+ }
+
+ if(m_packageEncryptionOptionsHasBeenSet)
+ {
+ payload.WithObject("PackageEncryptionOptions", m_packageEncryptionOptions.Jsonize());
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetailsForAssociation.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetailsForAssociation.cpp
new file mode 100644
index 00000000000..b0e5fb97398
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageDetailsForAssociation.cpp
@@ -0,0 +1,95 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+
+PackageDetailsForAssociation::PackageDetailsForAssociation() :
+ m_packageIDHasBeenSet(false),
+ m_prerequisitePackageIDListHasBeenSet(false),
+ m_associationConfigurationHasBeenSet(false)
+{
+}
+
+PackageDetailsForAssociation::PackageDetailsForAssociation(JsonView jsonValue)
+ : PackageDetailsForAssociation()
+{
+ *this = jsonValue;
+}
+
+PackageDetailsForAssociation& PackageDetailsForAssociation::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("PackageID"))
+ {
+ m_packageID = jsonValue.GetString("PackageID");
+
+ m_packageIDHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("PrerequisitePackageIDList"))
+ {
+ Aws::Utils::Array prerequisitePackageIDListJsonList = jsonValue.GetArray("PrerequisitePackageIDList");
+ for(unsigned prerequisitePackageIDListIndex = 0; prerequisitePackageIDListIndex < prerequisitePackageIDListJsonList.GetLength(); ++prerequisitePackageIDListIndex)
+ {
+ m_prerequisitePackageIDList.push_back(prerequisitePackageIDListJsonList[prerequisitePackageIDListIndex].AsString());
+ }
+ m_prerequisitePackageIDListHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("AssociationConfiguration"))
+ {
+ m_associationConfiguration = jsonValue.GetObject("AssociationConfiguration");
+
+ m_associationConfigurationHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue PackageDetailsForAssociation::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_packageIDHasBeenSet)
+ {
+ payload.WithString("PackageID", m_packageID);
+
+ }
+
+ if(m_prerequisitePackageIDListHasBeenSet)
+ {
+ Aws::Utils::Array prerequisitePackageIDListJsonList(m_prerequisitePackageIDList.size());
+ for(unsigned prerequisitePackageIDListIndex = 0; prerequisitePackageIDListIndex < prerequisitePackageIDListJsonList.GetLength(); ++prerequisitePackageIDListIndex)
+ {
+ prerequisitePackageIDListJsonList[prerequisitePackageIDListIndex].AsString(m_prerequisitePackageIDList[prerequisitePackageIDListIndex]);
+ }
+ payload.WithArray("PrerequisitePackageIDList", std::move(prerequisitePackageIDListJsonList));
+
+ }
+
+ if(m_associationConfigurationHasBeenSet)
+ {
+ payload.WithObject("AssociationConfiguration", m_associationConfiguration.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageEncryptionOptions.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageEncryptionOptions.cpp
new file mode 100644
index 00000000000..09c71971011
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageEncryptionOptions.cpp
@@ -0,0 +1,74 @@
+/**
+ * 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 OpenSearchService
+{
+namespace Model
+{
+
+PackageEncryptionOptions::PackageEncryptionOptions() :
+ m_kmsKeyIdentifierHasBeenSet(false),
+ m_encryptionEnabled(false),
+ m_encryptionEnabledHasBeenSet(false)
+{
+}
+
+PackageEncryptionOptions::PackageEncryptionOptions(JsonView jsonValue)
+ : PackageEncryptionOptions()
+{
+ *this = jsonValue;
+}
+
+PackageEncryptionOptions& PackageEncryptionOptions::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("KmsKeyIdentifier"))
+ {
+ m_kmsKeyIdentifier = jsonValue.GetString("KmsKeyIdentifier");
+
+ m_kmsKeyIdentifierHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("EncryptionEnabled"))
+ {
+ m_encryptionEnabled = jsonValue.GetBool("EncryptionEnabled");
+
+ m_encryptionEnabledHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue PackageEncryptionOptions::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_kmsKeyIdentifierHasBeenSet)
+ {
+ payload.WithString("KmsKeyIdentifier", m_kmsKeyIdentifier);
+
+ }
+
+ if(m_encryptionEnabledHasBeenSet)
+ {
+ payload.WithBool("EncryptionEnabled", m_encryptionEnabled);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageScopeOperationEnum.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageScopeOperationEnum.cpp
new file mode 100644
index 00000000000..250f23da7da
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageScopeOperationEnum.cpp
@@ -0,0 +1,79 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace OpenSearchService
+ {
+ namespace Model
+ {
+ namespace PackageScopeOperationEnumMapper
+ {
+
+ static const int ADD_HASH = HashingUtils::HashString("ADD");
+ static const int OVERRIDE_HASH = HashingUtils::HashString("OVERRIDE");
+ static const int REMOVE_HASH = HashingUtils::HashString("REMOVE");
+
+
+ PackageScopeOperationEnum GetPackageScopeOperationEnumForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == ADD_HASH)
+ {
+ return PackageScopeOperationEnum::ADD;
+ }
+ else if (hashCode == OVERRIDE_HASH)
+ {
+ return PackageScopeOperationEnum::OVERRIDE;
+ }
+ else if (hashCode == REMOVE_HASH)
+ {
+ return PackageScopeOperationEnum::REMOVE;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return PackageScopeOperationEnum::NOT_SET;
+ }
+
+ Aws::String GetNameForPackageScopeOperationEnum(PackageScopeOperationEnum enumValue)
+ {
+ switch(enumValue)
+ {
+ case PackageScopeOperationEnum::NOT_SET:
+ return {};
+ case PackageScopeOperationEnum::ADD:
+ return "ADD";
+ case PackageScopeOperationEnum::OVERRIDE:
+ return "OVERRIDE";
+ case PackageScopeOperationEnum::REMOVE:
+ return "REMOVE";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace PackageScopeOperationEnumMapper
+ } // namespace Model
+ } // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageType.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageType.cpp
index ee180ae5ac5..4245708d408 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageType.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageType.cpp
@@ -22,6 +22,8 @@ namespace Aws
static const int TXT_DICTIONARY_HASH = HashingUtils::HashString("TXT-DICTIONARY");
static const int ZIP_PLUGIN_HASH = HashingUtils::HashString("ZIP-PLUGIN");
+ static const int PACKAGE_LICENSE_HASH = HashingUtils::HashString("PACKAGE-LICENSE");
+ static const int PACKAGE_CONFIG_HASH = HashingUtils::HashString("PACKAGE-CONFIG");
PackageType GetPackageTypeForName(const Aws::String& name)
@@ -35,6 +37,14 @@ namespace Aws
{
return PackageType::ZIP_PLUGIN;
}
+ else if (hashCode == PACKAGE_LICENSE_HASH)
+ {
+ return PackageType::PACKAGE_LICENSE;
+ }
+ else if (hashCode == PACKAGE_CONFIG_HASH)
+ {
+ return PackageType::PACKAGE_CONFIG;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -55,6 +65,10 @@ namespace Aws
return "TXT-DICTIONARY";
case PackageType::ZIP_PLUGIN:
return "ZIP-PLUGIN";
+ case PackageType::PACKAGE_LICENSE:
+ return "PACKAGE-LICENSE";
+ case PackageType::PACKAGE_CONFIG:
+ return "PACKAGE-CONFIG";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVendingOptions.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVendingOptions.cpp
new file mode 100644
index 00000000000..84296d1945f
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVendingOptions.cpp
@@ -0,0 +1,60 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+
+PackageVendingOptions::PackageVendingOptions() :
+ m_vendingEnabled(false),
+ m_vendingEnabledHasBeenSet(false)
+{
+}
+
+PackageVendingOptions::PackageVendingOptions(JsonView jsonValue)
+ : PackageVendingOptions()
+{
+ *this = jsonValue;
+}
+
+PackageVendingOptions& PackageVendingOptions::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("VendingEnabled"))
+ {
+ m_vendingEnabled = jsonValue.GetBool("VendingEnabled");
+
+ m_vendingEnabledHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue PackageVendingOptions::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_vendingEnabledHasBeenSet)
+ {
+ payload.WithBool("VendingEnabled", m_vendingEnabled);
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVersionHistory.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVersionHistory.cpp
index 99bce1830c2..f1e3de2da14 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVersionHistory.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/PackageVersionHistory.cpp
@@ -22,7 +22,8 @@ PackageVersionHistory::PackageVersionHistory() :
m_packageVersionHasBeenSet(false),
m_commitMessageHasBeenSet(false),
m_createdAtHasBeenSet(false),
- m_pluginPropertiesHasBeenSet(false)
+ m_pluginPropertiesHasBeenSet(false),
+ m_packageConfigurationHasBeenSet(false)
{
}
@@ -62,6 +63,13 @@ PackageVersionHistory& PackageVersionHistory::operator =(JsonView jsonValue)
m_pluginPropertiesHasBeenSet = true;
}
+ if(jsonValue.ValueExists("PackageConfiguration"))
+ {
+ m_packageConfiguration = jsonValue.GetObject("PackageConfiguration");
+
+ m_packageConfigurationHasBeenSet = true;
+ }
+
return *this;
}
@@ -92,6 +100,12 @@ JsonValue PackageVersionHistory::Jsonize() const
}
+ if(m_packageConfigurationHasBeenSet)
+ {
+ payload.WithObject("PackageConfiguration", m_packageConfiguration.Jsonize());
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/RequirementLevel.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/RequirementLevel.cpp
new file mode 100644
index 00000000000..4e30d845c8e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/RequirementLevel.cpp
@@ -0,0 +1,79 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace OpenSearchService
+ {
+ namespace Model
+ {
+ namespace RequirementLevelMapper
+ {
+
+ static const int REQUIRED_HASH = HashingUtils::HashString("REQUIRED");
+ static const int OPTIONAL_HASH = HashingUtils::HashString("OPTIONAL");
+ static const int NONE_HASH = HashingUtils::HashString("NONE");
+
+
+ RequirementLevel GetRequirementLevelForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == REQUIRED_HASH)
+ {
+ return RequirementLevel::REQUIRED;
+ }
+ else if (hashCode == OPTIONAL_HASH)
+ {
+ return RequirementLevel::OPTIONAL;
+ }
+ else if (hashCode == NONE_HASH)
+ {
+ return RequirementLevel::NONE;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return RequirementLevel::NOT_SET;
+ }
+
+ Aws::String GetNameForRequirementLevel(RequirementLevel enumValue)
+ {
+ switch(enumValue)
+ {
+ case RequirementLevel::NOT_SET:
+ return {};
+ case RequirementLevel::REQUIRED:
+ return "REQUIRED";
+ case RequirementLevel::OPTIONAL:
+ return "OPTIONAL";
+ case RequirementLevel::NONE:
+ return "NONE";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace RequirementLevelMapper
+ } // namespace Model
+ } // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageRequest.cpp
index 4e654115c9f..b37794ce8ce 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageRequest.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageRequest.cpp
@@ -16,7 +16,9 @@ UpdatePackageRequest::UpdatePackageRequest() :
m_packageIDHasBeenSet(false),
m_packageSourceHasBeenSet(false),
m_packageDescriptionHasBeenSet(false),
- m_commitMessageHasBeenSet(false)
+ m_commitMessageHasBeenSet(false),
+ m_packageConfigurationHasBeenSet(false),
+ m_packageEncryptionOptionsHasBeenSet(false)
{
}
@@ -48,6 +50,18 @@ Aws::String UpdatePackageRequest::SerializePayload() const
}
+ if(m_packageConfigurationHasBeenSet)
+ {
+ payload.WithObject("PackageConfiguration", m_packageConfiguration.Jsonize());
+
+ }
+
+ if(m_packageEncryptionOptionsHasBeenSet)
+ {
+ payload.WithObject("PackageEncryptionOptions", m_packageEncryptionOptions.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageScopeRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageScopeRequest.cpp
new file mode 100644
index 00000000000..de138810926
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageScopeRequest.cpp
@@ -0,0 +1,54 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::OpenSearchService::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+UpdatePackageScopeRequest::UpdatePackageScopeRequest() :
+ m_packageIDHasBeenSet(false),
+ m_operation(PackageScopeOperationEnum::NOT_SET),
+ m_operationHasBeenSet(false),
+ m_packageUserListHasBeenSet(false)
+{
+}
+
+Aws::String UpdatePackageScopeRequest::SerializePayload() const
+{
+ JsonValue payload;
+
+ if(m_packageIDHasBeenSet)
+ {
+ payload.WithString("PackageID", m_packageID);
+
+ }
+
+ if(m_operationHasBeenSet)
+ {
+ payload.WithString("Operation", PackageScopeOperationEnumMapper::GetNameForPackageScopeOperationEnum(m_operation));
+ }
+
+ if(m_packageUserListHasBeenSet)
+ {
+ Aws::Utils::Array packageUserListJsonList(m_packageUserList.size());
+ for(unsigned packageUserListIndex = 0; packageUserListIndex < packageUserListJsonList.GetLength(); ++packageUserListIndex)
+ {
+ packageUserListJsonList[packageUserListIndex].AsString(m_packageUserList[packageUserListIndex]);
+ }
+ payload.WithArray("PackageUserList", std::move(packageUserListJsonList));
+
+ }
+
+ return payload.View().WriteReadable();
+}
+
+
+
+
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageScopeResult.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageScopeResult.cpp
new file mode 100644
index 00000000000..a3ce5d5450e
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdatePackageScopeResult.cpp
@@ -0,0 +1,65 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+#include
+
+using namespace Aws::OpenSearchService::Model;
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+using namespace Aws;
+
+UpdatePackageScopeResult::UpdatePackageScopeResult() :
+ m_operation(PackageScopeOperationEnum::NOT_SET)
+{
+}
+
+UpdatePackageScopeResult::UpdatePackageScopeResult(const Aws::AmazonWebServiceResult& result)
+ : UpdatePackageScopeResult()
+{
+ *this = result;
+}
+
+UpdatePackageScopeResult& UpdatePackageScopeResult::operator =(const Aws::AmazonWebServiceResult& result)
+{
+ JsonView jsonValue = result.GetPayload().View();
+ if(jsonValue.ValueExists("PackageID"))
+ {
+ m_packageID = jsonValue.GetString("PackageID");
+
+ }
+
+ if(jsonValue.ValueExists("Operation"))
+ {
+ m_operation = PackageScopeOperationEnumMapper::GetPackageScopeOperationEnumForName(jsonValue.GetString("Operation"));
+
+ }
+
+ if(jsonValue.ValueExists("PackageUserList"))
+ {
+ Aws::Utils::Array packageUserListJsonList = jsonValue.GetArray("PackageUserList");
+ for(unsigned packageUserListIndex = 0; packageUserListIndex < packageUserListJsonList.GetLength(); ++packageUserListIndex)
+ {
+ m_packageUserList.push_back(packageUserListJsonList[packageUserListIndex].AsString());
+ }
+ }
+
+
+ const auto& headers = result.GetHeaderValueCollection();
+ const auto& requestIdIter = headers.find("x-amzn-requestid");
+ if(requestIdIter != headers.end())
+ {
+ m_requestId = requestIdIter->second;
+ }
+
+
+ return *this;
+}
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsClient.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsClient.h
index 280bf0e6a0d..da976269db8 100644
--- a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsClient.h
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsClient.h
@@ -497,6 +497,33 @@ namespace Outposts
return SubmitAsync(&OutpostsClient::GetSiteAddress, request, handler, context);
}
+ /**
+ * A list of Amazon EC2 instances, belonging to all accounts, running on the
+ * specified Outpost. Does not include Amazon EBS or Amazon S3
+ * instances.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListAssetInstancesOutcome ListAssetInstances(const Model::ListAssetInstancesRequest& request) const;
+
+ /**
+ * A Callable wrapper for ListAssetInstances that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListAssetInstancesOutcomeCallable ListAssetInstancesCallable(const ListAssetInstancesRequestT& request) const
+ {
+ return SubmitCallable(&OutpostsClient::ListAssetInstances, request);
+ }
+
+ /**
+ * An Async wrapper for ListAssetInstances that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListAssetInstancesAsync(const ListAssetInstancesRequestT& request, const ListAssetInstancesResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&OutpostsClient::ListAssetInstances, request, handler, context);
+ }
+
/**
* Lists the hardware assets for the specified Outpost.
Use filters to
* return specific results. If you specify multiple filters, the results include
@@ -526,6 +553,34 @@ namespace Outposts
return SubmitAsync(&OutpostsClient::ListAssets, request, handler, context);
}
+ /**
+ *
A list of Amazon EC2 instances running on the Outpost and belonging to the
+ * account that initiated the capacity task. Use this list to specify the instances
+ * you cannot stop to free up capacity to run the capacity task.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListBlockingInstancesForCapacityTaskOutcome ListBlockingInstancesForCapacityTask(const Model::ListBlockingInstancesForCapacityTaskRequest& request) const;
+
+ /**
+ * A Callable wrapper for ListBlockingInstancesForCapacityTask that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListBlockingInstancesForCapacityTaskOutcomeCallable ListBlockingInstancesForCapacityTaskCallable(const ListBlockingInstancesForCapacityTaskRequestT& request) const
+ {
+ return SubmitCallable(&OutpostsClient::ListBlockingInstancesForCapacityTask, request);
+ }
+
+ /**
+ * An Async wrapper for ListBlockingInstancesForCapacityTask that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListBlockingInstancesForCapacityTaskAsync(const ListBlockingInstancesForCapacityTaskRequestT& request, const ListBlockingInstancesForCapacityTaskResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&OutpostsClient::ListBlockingInstancesForCapacityTask, request, handler, context);
+ }
+
/**
* Lists the capacity tasks for your Amazon Web Services account.
Use
* filters to return specific results. If you specify multiple filters, the results
@@ -695,8 +750,8 @@ namespace Outposts
}
/**
- *
Starts the specified capacity task. You can have one active capacity task for
- * an order.
See Also:
Starts the specified capacity task. You can have one active capacity task per
+ * order or Outpost.See Also:
AWS
* API Reference
*/
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsServiceClientModel.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsServiceClientModel.h
index 5e84fa61084..6518d2be403 100644
--- a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/OutpostsServiceClientModel.h
@@ -34,7 +34,9 @@
#include
#include
#include
+#include
#include
+#include
#include
#include
#include
@@ -110,7 +112,9 @@ namespace Aws
class GetOutpostSupportedInstanceTypesRequest;
class GetSiteRequest;
class GetSiteAddressRequest;
+ class ListAssetInstancesRequest;
class ListAssetsRequest;
+ class ListBlockingInstancesForCapacityTaskRequest;
class ListCapacityTasksRequest;
class ListCatalogItemsRequest;
class ListOrdersRequest;
@@ -144,7 +148,9 @@ namespace Aws
typedef Aws::Utils::Outcome GetOutpostSupportedInstanceTypesOutcome;
typedef Aws::Utils::Outcome GetSiteOutcome;
typedef Aws::Utils::Outcome GetSiteAddressOutcome;
+ typedef Aws::Utils::Outcome ListAssetInstancesOutcome;
typedef Aws::Utils::Outcome ListAssetsOutcome;
+ typedef Aws::Utils::Outcome ListBlockingInstancesForCapacityTaskOutcome;
typedef Aws::Utils::Outcome ListCapacityTasksOutcome;
typedef Aws::Utils::Outcome ListCatalogItemsOutcome;
typedef Aws::Utils::Outcome ListOrdersOutcome;
@@ -178,7 +184,9 @@ namespace Aws
typedef std::future GetOutpostSupportedInstanceTypesOutcomeCallable;
typedef std::future GetSiteOutcomeCallable;
typedef std::future GetSiteAddressOutcomeCallable;
+ typedef std::future ListAssetInstancesOutcomeCallable;
typedef std::future ListAssetsOutcomeCallable;
+ typedef std::future ListBlockingInstancesForCapacityTaskOutcomeCallable;
typedef std::future ListCapacityTasksOutcomeCallable;
typedef std::future ListCatalogItemsOutcomeCallable;
typedef std::future ListOrdersOutcomeCallable;
@@ -215,7 +223,9 @@ namespace Aws
typedef std::function&) > GetOutpostSupportedInstanceTypesResponseReceivedHandler;
typedef std::function&) > GetSiteResponseReceivedHandler;
typedef std::function&) > GetSiteAddressResponseReceivedHandler;
+ typedef std::function&) > ListAssetInstancesResponseReceivedHandler;
typedef std::function&) > ListAssetsResponseReceivedHandler;
+ typedef std::function&) > ListBlockingInstancesForCapacityTaskResponseReceivedHandler;
typedef std::function&) > ListCapacityTasksResponseReceivedHandler;
typedef std::function&) > ListCatalogItemsResponseReceivedHandler;
typedef std::function&) > ListOrdersResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AWSServiceName.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AWSServiceName.h
new file mode 100644
index 00000000000..4c308472256
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AWSServiceName.h
@@ -0,0 +1,35 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace Outposts
+{
+namespace Model
+{
+ enum class AWSServiceName
+ {
+ NOT_SET,
+ AWS,
+ EC2,
+ ELASTICACHE,
+ ELB,
+ RDS,
+ ROUTE53
+ };
+
+namespace AWSServiceNameMapper
+{
+AWS_OUTPOSTS_API AWSServiceName GetAWSServiceNameForName(const Aws::String& name);
+
+AWS_OUTPOSTS_API Aws::String GetNameForAWSServiceName(AWSServiceName value);
+} // namespace AWSServiceNameMapper
+} // namespace Model
+} // namespace Outposts
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AssetInstance.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AssetInstance.h
new file mode 100644
index 00000000000..9d40f3311c3
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AssetInstance.h
@@ -0,0 +1,126 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Outposts
+{
+namespace Model
+{
+
+ /**
+ * An Amazon EC2 instance.
See Also:
AWS
+ * API Reference
+ */
+ class AssetInstance
+ {
+ public:
+ AWS_OUTPOSTS_API AssetInstance();
+ AWS_OUTPOSTS_API AssetInstance(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OUTPOSTS_API AssetInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The ID of the instance.
+ */
+ inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
+ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
+ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
+ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
+ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
+ inline AssetInstance& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
+ inline AssetInstance& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
+ inline AssetInstance& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The type of instance.
+ */
+ inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
+ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
+ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
+ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
+ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
+ inline AssetInstance& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
+ inline AssetInstance& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
+ inline AssetInstance& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The ID of the asset.
+ */
+ inline const Aws::String& GetAssetId() const{ return m_assetId; }
+ inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
+ inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
+ inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
+ inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
+ inline AssetInstance& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
+ inline AssetInstance& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
+ inline AssetInstance& WithAssetId(const char* value) { SetAssetId(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetAccountId() const{ return m_accountId; }
+ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
+ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
+ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
+ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
+ inline AssetInstance& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
+ inline AssetInstance& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
+ inline AssetInstance& WithAccountId(const char* value) { SetAccountId(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Amazon Web Services service name of the instance.
+ */
+ inline const AWSServiceName& GetAwsServiceName() const{ return m_awsServiceName; }
+ inline bool AwsServiceNameHasBeenSet() const { return m_awsServiceNameHasBeenSet; }
+ inline void SetAwsServiceName(const AWSServiceName& value) { m_awsServiceNameHasBeenSet = true; m_awsServiceName = value; }
+ inline void SetAwsServiceName(AWSServiceName&& value) { m_awsServiceNameHasBeenSet = true; m_awsServiceName = std::move(value); }
+ inline AssetInstance& WithAwsServiceName(const AWSServiceName& value) { SetAwsServiceName(value); return *this;}
+ inline AssetInstance& WithAwsServiceName(AWSServiceName&& value) { SetAwsServiceName(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_instanceId;
+ bool m_instanceIdHasBeenSet = false;
+
+ Aws::String m_instanceType;
+ bool m_instanceTypeHasBeenSet = false;
+
+ Aws::String m_assetId;
+ bool m_assetIdHasBeenSet = false;
+
+ Aws::String m_accountId;
+ bool m_accountIdHasBeenSet = false;
+
+ AWSServiceName m_awsServiceName;
+ bool m_awsServiceNameHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Outposts
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AssetInstanceTypeCapacity.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AssetInstanceTypeCapacity.h
new file mode 100644
index 00000000000..9752a834cf1
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/AssetInstanceTypeCapacity.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 Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Outposts
+{
+namespace Model
+{
+
+ /**
+ * The capacity for each instance type.
See Also:
AWS
+ * API Reference
+ */
+ class AssetInstanceTypeCapacity
+ {
+ public:
+ AWS_OUTPOSTS_API AssetInstanceTypeCapacity();
+ AWS_OUTPOSTS_API AssetInstanceTypeCapacity(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OUTPOSTS_API AssetInstanceTypeCapacity& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The type of instance.
+ */
+ inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
+ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
+ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
+ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
+ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
+ inline AssetInstanceTypeCapacity& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
+ inline AssetInstanceTypeCapacity& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
+ inline AssetInstanceTypeCapacity& WithInstanceType(const char* value) { SetInstanceType(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The number of each instance type.
+ */
+ inline int GetCount() const{ return m_count; }
+ inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
+ inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
+ inline AssetInstanceTypeCapacity& WithCount(int value) { SetCount(value); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_instanceType;
+ bool m_instanceTypeHasBeenSet = false;
+
+ int m_count;
+ bool m_countHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Outposts
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/BlockingInstance.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/BlockingInstance.h
new file mode 100644
index 00000000000..1d44f98de0d
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/BlockingInstance.h
@@ -0,0 +1,94 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace Outposts
+{
+namespace Model
+{
+
+ /**
+ * A running Amazon EC2 instance that can be stopped to free up capacity needed
+ * to run the capacity task.
See Also:
AWS
+ * API Reference
+ */
+ class BlockingInstance
+ {
+ public:
+ AWS_OUTPOSTS_API BlockingInstance();
+ AWS_OUTPOSTS_API BlockingInstance(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OUTPOSTS_API BlockingInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The ID of the blocking instance.
+ */
+ inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
+ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
+ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
+ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
+ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
+ inline BlockingInstance& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
+ inline BlockingInstance& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
+ inline BlockingInstance& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const Aws::String& GetAccountId() const{ return m_accountId; }
+ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
+ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
+ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
+ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
+ inline BlockingInstance& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
+ inline BlockingInstance& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
+ inline BlockingInstance& WithAccountId(const char* value) { SetAccountId(value); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The Amazon Web Services service name that owns the specified blocking
+ * instance.
+ */
+ inline const AWSServiceName& GetAwsServiceName() const{ return m_awsServiceName; }
+ inline bool AwsServiceNameHasBeenSet() const { return m_awsServiceNameHasBeenSet; }
+ inline void SetAwsServiceName(const AWSServiceName& value) { m_awsServiceNameHasBeenSet = true; m_awsServiceName = value; }
+ inline void SetAwsServiceName(AWSServiceName&& value) { m_awsServiceNameHasBeenSet = true; m_awsServiceName = std::move(value); }
+ inline BlockingInstance& WithAwsServiceName(const AWSServiceName& value) { SetAwsServiceName(value); return *this;}
+ inline BlockingInstance& WithAwsServiceName(AWSServiceName&& value) { SetAwsServiceName(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ Aws::String m_instanceId;
+ bool m_instanceIdHasBeenSet = false;
+
+ Aws::String m_accountId;
+ bool m_accountIdHasBeenSet = false;
+
+ AWSServiceName m_awsServiceName;
+ bool m_awsServiceNameHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace Outposts
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskFailureType.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskFailureType.h
index c690cf4d83e..bfae30b36ba 100644
--- a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskFailureType.h
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskFailureType.h
@@ -16,7 +16,11 @@ namespace Model
enum class CapacityTaskFailureType
{
NOT_SET,
- UNSUPPORTED_CAPACITY_CONFIGURATION
+ UNSUPPORTED_CAPACITY_CONFIGURATION,
+ UNEXPECTED_ASSET_STATE,
+ BLOCKING_INSTANCES_NOT_EVACUATED,
+ INTERNAL_SERVER_ERROR,
+ RESOURCE_NOT_FOUND
};
namespace CapacityTaskFailureTypeMapper
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskStatus.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskStatus.h
index abab6a51a2a..698097bfe34 100644
--- a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskStatus.h
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/CapacityTaskStatus.h
@@ -20,6 +20,8 @@ namespace Model
IN_PROGRESS,
FAILED,
COMPLETED,
+ WAITING_FOR_EVACUATION,
+ CANCELLATION_IN_PROGRESS,
CANCELLED
};
diff --git a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/ComputeAttributes.h b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/ComputeAttributes.h
index 0f6dc82e1a1..0c6ab9aba04 100644
--- a/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/ComputeAttributes.h
+++ b/generated/src/aws-cpp-sdk-outposts/include/aws/outposts/model/ComputeAttributes.h
@@ -8,6 +8,7 @@
#include
#include
#include
+#include