glossaryTermsJsonList(m_glossaryTerms.size());
- for(unsigned glossaryTermsIndex = 0; glossaryTermsIndex < glossaryTermsJsonList.GetLength(); ++glossaryTermsIndex)
- {
- glossaryTermsJsonList[glossaryTermsIndex].AsString(m_glossaryTerms[glossaryTermsIndex]);
- }
- payload.WithArray("glossaryTerms", std::move(glossaryTermsJsonList));
-
- }
-
- if(m_idHasBeenSet)
- {
- payload.WithString("id", m_id);
-
- }
-
- if(m_nameHasBeenSet)
- {
- payload.WithString("name", m_name);
-
- }
-
- if(m_owningProjectIdHasBeenSet)
- {
- payload.WithString("owningProjectId", m_owningProjectId);
-
- }
-
- if(m_updatedAtHasBeenSet)
- {
- payload.WithDouble("updatedAt", m_updatedAt.SecondsWithMSPrecision());
- }
-
- if(m_updatedByHasBeenSet)
- {
- payload.WithString("updatedBy", m_updatedBy);
-
- }
-
- return payload;
-}
-
-} // namespace Model
-} // namespace DataZone
-} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-datazone/source/model/SearchInventoryResultItem.cpp b/generated/src/aws-cpp-sdk-datazone/source/model/SearchInventoryResultItem.cpp
index 769f884e6de..be50acdca1d 100644
--- a/generated/src/aws-cpp-sdk-datazone/source/model/SearchInventoryResultItem.cpp
+++ b/generated/src/aws-cpp-sdk-datazone/source/model/SearchInventoryResultItem.cpp
@@ -20,7 +20,6 @@ namespace Model
SearchInventoryResultItem::SearchInventoryResultItem() :
m_assetItemHasBeenSet(false),
- m_dataProductItemHasBeenSet(false),
m_glossaryItemHasBeenSet(false),
m_glossaryTermItemHasBeenSet(false)
{
@@ -41,13 +40,6 @@ SearchInventoryResultItem& SearchInventoryResultItem::operator =(JsonView jsonVa
m_assetItemHasBeenSet = true;
}
- if(jsonValue.ValueExists("dataProductItem"))
- {
- m_dataProductItem = jsonValue.GetObject("dataProductItem");
-
- m_dataProductItemHasBeenSet = true;
- }
-
if(jsonValue.ValueExists("glossaryItem"))
{
m_glossaryItem = jsonValue.GetObject("glossaryItem");
@@ -75,12 +67,6 @@ JsonValue SearchInventoryResultItem::Jsonize() const
}
- if(m_dataProductItemHasBeenSet)
- {
- payload.WithObject("dataProductItem", m_dataProductItem.Jsonize());
-
- }
-
if(m_glossaryItemHasBeenSet)
{
payload.WithObject("glossaryItem", m_glossaryItem.Jsonize());
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeAction.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeAction.h
index 0a88359720d..58d086539b0 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeAction.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeAction.h
@@ -58,9 +58,9 @@ namespace Model
///@{
/**
- * The percentage-complete status of a STORAGE_OPTIMIZATION
- * administrative action. Does not apply to any other administrative action
- * type.
+ * The percentage-complete status of a STORAGE_OPTIMIZATION
or
+ * DOWNLOAD_DATA_FROM_BACKUP
administrative action. Does not apply to
+ * any other administrative action type.
*/
inline int GetProgressPercent() const{ return m_progressPercent; }
inline bool ProgressPercentHasBeenSet() const { return m_progressPercentHasBeenSet; }
@@ -88,10 +88,20 @@ namespace Model
* processing the administrative action. PENDING
-
* Amazon FSx is waiting to process the administrative action.
* COMPLETED
- Amazon FSx has finished processing the administrative
- * task.
UPDATED_OPTIMIZING
- For a
- * storage-capacity increase update, Amazon FSx has updated the file system with
- * the new storage capacity, and is now performing the storage-optimization
- * process.
+ * task. For a backup restore to a second-generation FSx for ONTAP file
+ * system, indicates that all data has been downloaded to the volume, and clients
+ * now have read-write access to volume.
+ * UPDATED_OPTIMIZING
- For a storage-capacity increase update, Amazon
+ * FSx has updated the file system with the new storage capacity, and is now
+ * performing the storage-optimization process.
+ * PENDING
- For a backup restore to a second-generation FSx for ONTAP
+ * file system, indicates that the file metadata is being downloaded onto the
+ * volume. The volume's Lifecycle state is CREATING.
+ * IN_PROGRESS
- For a backup restore to a second-generation FSx for
+ * ONTAP file system, indicates that all metadata has been downloaded to the new
+ * volume and client can access data with read-only access while Amazon FSx
+ * downloads the file data to the volume. Track the progress of this process with
+ * the ProgressPercent
element.
*/
inline const Status& GetStatus() const{ return m_status; }
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeActionType.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeActionType.h
index 5d4c001b20c..d3d4146312f 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeActionType.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AdministrativeActionType.h
@@ -29,7 +29,8 @@ namespace Model
STORAGE_TYPE_OPTIMIZATION,
MISCONFIGURED_STATE_RECOVERY,
VOLUME_UPDATE_WITH_SNAPSHOT,
- VOLUME_INITIALIZE_WITH_SNAPSHOT
+ VOLUME_INITIALIZE_WITH_SNAPSHOT,
+ DOWNLOAD_DATA_FROM_BACKUP
};
namespace AdministrativeActionTypeMapper
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AggregateConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AggregateConfiguration.h
index 51fc346a363..daaf3da43cc 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AggregateConfiguration.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/AggregateConfiguration.h
@@ -48,7 +48,7 @@ namespace Model
* single entry. Amazon FSx responds with an HTTP status code 400 (Bad
* Request) for the following conditions:
-
The strings in the value
* of Aggregates
are not are not formatted as aggrX
,
- * where X is a number between 1 and 6.
-
The value of
+ * where X is a number between 1 and 12.
-
The value of
* Aggregates
contains aggregates that are not present.
-
*
One or more of the aggregates supplied are too close to the volume limit to
* support adding more volumes.
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h
index 38be77580b8..a6c9791dd0e 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOntapConfiguration.h
@@ -64,14 +64,18 @@ namespace Model
///@{
/**
* Specifies the FSx for ONTAP file system deployment type to use in creating
- * the file system.
-
MULTI_AZ_1
- (Default) A high
+ * the file system.
-
MULTI_AZ_1
- A high
* availability file system configured for Multi-AZ redundancy to tolerate
- * temporary Availability Zone (AZ) unavailability.
-
- * SINGLE_AZ_1
- A file system configured for Single-AZ
- * redundancy.
-
SINGLE_AZ_2
- A file system
- * configured with multiple high-availability (HA) pairs for Single-AZ
- * redundancy.
For information about the use cases for Multi-AZ
- * and Single-AZ deployments, refer to
-
MULTI_AZ_2
- A high
+ * availability file system configured for Multi-AZ redundancy to tolerate
+ * temporary AZ unavailability. This is a second-generation FSx for ONTAP file
+ * system.
-
SINGLE_AZ_1
- A file system configured
+ * for Single-AZ redundancy. This is a first-generation FSx for ONTAP file
+ * system.
-
SINGLE_AZ_2
- A file system configured
+ * with multiple high-availability (HA) pairs for Single-AZ redundancy. This is a
+ * second-generation FSx for ONTAP file system.
For information
+ * about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing
* a file system deployment type.
*/
@@ -134,9 +138,9 @@ namespace Model
///@{
/**
- * Required when DeploymentType
is set to MULTI_AZ_1
.
- * This specifies the subnet in which you want the preferred file server to be
- * located.
+ * Required when DeploymentType
is set to MULTI_AZ_1
+ * or MULTI_AZ_2
. This specifies the subnet in which you want the
+ * preferred file server to be located.
*/
inline const Aws::String& GetPreferredSubnetId() const{ return m_preferredSubnetId; }
inline bool PreferredSubnetIdHasBeenSet() const { return m_preferredSubnetIdHasBeenSet; }
@@ -205,18 +209,23 @@ namespace Model
///@{
/**
* Specifies how many high-availability (HA) pairs of file servers will power
- * your file system. Scale-up file systems are powered by 1 HA pair. The default
- * value is 1. FSx for ONTAP scale-out file systems are powered by up to 12 HA
- * pairs. The value of this property affects the values of
+ * your file system. First-generation file systems are powered by 1 HA pair.
+ * Second-generation multi-AZ file systems are powered by 1 HA pair. Second
+ * generation single-AZ file systems are powered by up to 12 HA pairs. The default
+ * value is 1. The value of this property affects the values of
* StorageCapacity
, Iops
, and
* ThroughputCapacity
. For more information, see High-availability
- * (HA) pairs in the FSx for ONTAP user guide.
Amazon FSx responds with
- * an HTTP status code 400 (Bad Request) for the following conditions:
+ * (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support
+ * (iSCSI and NVMe over TCP) is disabled on file systems with more than 6 HA pairs.
+ * For more information, see Using
+ * block storage protocols. Amazon FSx responds with an HTTP status
+ * code 400 (Bad Request) for the following conditions:
-
The value
+ * of HAPairs
is less than 1 or greater than 12.
-
The
+ * value of HAPairs
is greater than 1 and the value of
+ * DeploymentType
is SINGLE_AZ_1
,
+ * MULTI_AZ_1
, or MULTI_AZ_2
.
*/
inline int GetHAPairs() const{ return m_hAPairs; }
inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
@@ -230,19 +239,20 @@ namespace Model
* throughput for the file system. You can define either the
* ThroughputCapacityPerHAPair
or the ThroughputCapacity
* when creating a file system, but not both.
This field and
- * ThroughputCapacity
are the same for scale-up file systems powered
- * by one HA pair.
-
For SINGLE_AZ_1
and
- * MULTI_AZ_1
file systems, valid values are 128, 256, 512, 1024,
- * 2048, or 4096 MBps.
-
For SINGLE_AZ_2
file systems,
- * valid values are 3072 or 6144 MBps.
Amazon FSx responds with
- * an HTTP status code 400 (Bad Request) for the following conditions:
- * -
The value of ThroughputCapacity
and
+ * ThroughputCapacity
are the same for file systems powered by one HA
+ * pair.
-
For SINGLE_AZ_1
and MULTI_AZ_1
+ * file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps.
+ * -
For SINGLE_AZ_2
, valid values are 1536, 3072, or 6144
+ * MBps.
-
For MULTI_AZ_2
, valid values are 384, 768,
+ * 1536, 3072, or 6144 MBps.
Amazon FSx responds with an HTTP
+ * status code 400 (Bad Request) for the following conditions:
-
The
+ * value of ThroughputCapacity
and
* ThroughputCapacityPerHAPair
are not the same value for file systems
* with one HA pair.
-
The value of deployment type is
* SINGLE_AZ_2
and ThroughputCapacity
/
- * ThroughputCapacityPerHAPair
is a valid HA pair (a value between 2
- * and 12).
-
The value of ThroughputCapacityPerHAPair
- * is not a valid value.
+ * ThroughputCapacityPerHAPair
is not a valid HA pair (a value between
+ * 1 and 12). -
The value of
+ * ThroughputCapacityPerHAPair
is not a valid value.
*/
inline int GetThroughputCapacityPerHAPair() const{ return m_throughputCapacityPerHAPair; }
inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOpenZFSConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOpenZFSConfiguration.h
index 9ee2f032e58..9c09f78a545 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOpenZFSConfiguration.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/CreateFileSystemOpenZFSConfiguration.h
@@ -97,25 +97,26 @@ namespace Model
///@{
/**
- * Specifies the file system deployment type. Single AZ deployment types are
- * configured for redundancy within a single Availability Zone in an Amazon Web
- * Services Region . Valid values are the following:
-
- * MULTI_AZ_1
- Creates file systems with high availability that are
- * configured for Multi-AZ redundancy to tolerate temporary unavailability in
- * Availability Zones (AZs). Multi_AZ_1
is available only in the US
- * East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Singapore),
- * Asia Pacific (Tokyo), and Europe (Ireland) Amazon Web Services Regions.
- * -
SINGLE_AZ_1
- Creates file systems with throughput
- * capacities of 64 - 4,096 MB/s. Single_AZ_1
is available in all
- * Amazon Web Services Regions where Amazon FSx for OpenZFS is available.
- * -
SINGLE_AZ_2
- Creates file systems with throughput
- * capacities of 160 - 10,240 MB/s using an NVMe L2ARC cache.
- * Single_AZ_2
is available only in the US East (N. Virginia), US East
- * (Ohio), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Tokyo), and
- * Europe (Ireland) Amazon Web Services Regions.
For more
- * information, see Specifies the file system deployment type. Valid values are the
+ * following:
-
MULTI_AZ_1
- Creates file systems with
+ * high availability and durability by replicating your data and supporting
+ * failover across multiple Availability Zones in the same Amazon Web Services
+ * Region.
-
SINGLE_AZ_HA_2
- Creates file systems
+ * with high availability and throughput capacities of 160 - 10,240 MB/s using an
+ * NVMe L2ARC cache by deploying a primary and standby file system within the same
+ * Availability Zone.
-
SINGLE_AZ_HA_1
- Creates file
+ * systems with high availability and throughput capacities of 64 - 4,096 MB/s by
+ * deploying a primary and standby file system within the same Availability
+ * Zone.
-
SINGLE_AZ_2
- Creates file systems with
+ * throughput capacities of 160 - 10,240 MB/s using an NVMe L2ARC cache that
+ * automatically recover within a single Availability Zone.
-
+ * SINGLE_AZ_1
- Creates file systems with throughput capacities of 64
+ * - 4,096 MBs that automatically recover within a single Availability Zone.
+ *
For a list of which Amazon Web Services Regions each deployment
+ * type is available in, see Deployment
- * type availability and . For more information on the differences in performance
+ * between deployment types, see File
* system performance in the Amazon FSx for OpenZFS User Guide.
*/
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheCreating.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheCreating.h
index 127c32ef1a1..84259a604e5 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheCreating.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/FileCacheCreating.h
@@ -129,7 +129,8 @@ namespace Model
///@{
/**
- * A structure providing details of any failures that occurred.
+ * A structure providing details of any failures that occurred in creating a
+ * cache.
*/
inline const FileCacheFailureDetails& GetFailureDetails() const{ return m_failureDetails; }
inline bool FailureDetailsHasBeenSet() const { return m_failureDetailsHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapDeploymentType.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapDeploymentType.h
index 7a933255a49..44ceb138c82 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapDeploymentType.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapDeploymentType.h
@@ -18,7 +18,8 @@ namespace Model
NOT_SET,
MULTI_AZ_1,
SINGLE_AZ_1,
- SINGLE_AZ_2
+ SINGLE_AZ_2,
+ MULTI_AZ_2
};
namespace OntapDeploymentTypeMapper
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapFileSystemConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapFileSystemConfiguration.h
index a9b634ac884..b241b822bc2 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapFileSystemConfiguration.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OntapFileSystemConfiguration.h
@@ -65,14 +65,18 @@ namespace Model
///@{
/**
* Specifies the FSx for ONTAP file system deployment type in use in the file
- * system.
-
MULTI_AZ_1
- (Default) A high
- * availability file system configured for Multi-AZ redundancy to tolerate
- * temporary Availability Zone (AZ) unavailability.
-
- * SINGLE_AZ_1
- A file system configured for Single-AZ
- * redundancy.
-
SINGLE_AZ_2
- A file system
- * configured with multiple high-availability (HA) pairs for Single-AZ
- * redundancy.
For information about the use cases for Multi-AZ
- * and Single-AZ deployments, refer to -
MULTI_AZ_1
- A high availability file
+ * system configured for Multi-AZ redundancy to tolerate temporary Availability
+ * Zone (AZ) unavailability. This is a first-generation FSx for ONTAP file
+ * system.
-
MULTI_AZ_2
- A high availability file
+ * system configured for Multi-AZ redundancy to tolerate temporary AZ
+ * unavailability. This is a second-generation FSx for ONTAP file system.
+ * -
SINGLE_AZ_1
- A file system configured for Single-AZ
+ * redundancy. This is a first-generation FSx for ONTAP file system.
-
+ *
SINGLE_AZ_2
- A file system configured with multiple
+ * high-availability (HA) pairs for Single-AZ redundancy. This is a
+ * second-generation FSx for ONTAP file system.
For information
+ * about the use cases for Multi-AZ and Single-AZ deployments, refer to Choosing
* Multi-AZ or Single-AZ file system deployment.
*/
@@ -205,8 +209,8 @@ namespace Model
* an HTTP status code 400 (Bad Request) for the following conditions:
+ * of DeploymentType
is SINGLE_AZ_1
,
+ * MULTI_AZ_1
, or MULTI_AZ_2
.
*/
inline int GetHAPairs() const{ return m_hAPairs; }
inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
@@ -222,17 +226,18 @@ namespace Model
* system. This field and ThroughputCapacity
cannot be defined
* in the same API call, but one is required.
This field and
* ThroughputCapacity
are the same for file systems with one HA
- * pair.
-
For SINGLE_AZ_1
and MULTI_AZ_1
,
- * valid values are 128, 256, 512, 1024, 2048, or 4096 MBps.
-
For
- * SINGLE_AZ_2
, valid values are 3072 or 6144 MBps.
- * Amazon FSx responds with an HTTP status code 400 (Bad Request) for the
- * following conditions:
-
The value of
- * ThroughputCapacity
and ThroughputCapacityPerHAPair
are
- * not the same value.
-
The value of deployment type is
- * SINGLE_AZ_2
and ThroughputCapacity
/
- * ThroughputCapacityPerHAPair
is a valid HA pair (a value between 2
- * and 12).
-
The value of ThroughputCapacityPerHAPair
- * is not a valid value.
+ * pair. -
For SINGLE_AZ_1
and MULTI_AZ_1
+ * file systems, valid values are 128, 256, 512, 1024, 2048, or 4096 MBps.
+ * -
For SINGLE_AZ_2
, valid values are 1536, 3072, or 6144
+ * MBps.
-
For MULTI_AZ_2
, valid values are 384, 768,
+ * 1536, 3072, or 6144 MBps.
Amazon FSx responds with an HTTP
+ * status code 400 (Bad Request) for the following conditions:
-
The
+ * value of ThroughputCapacity
and
+ * ThroughputCapacityPerHAPair
are not the same value.
-
+ *
The value of deployment type is SINGLE_AZ_2
and
+ * ThroughputCapacity
/ ThroughputCapacityPerHAPair
is
+ * not a valid HA pair (a value between 1 and 12).
-
The value of
+ * ThroughputCapacityPerHAPair
is not a valid value.
*/
inline int GetThroughputCapacityPerHAPair() const{ return m_throughputCapacityPerHAPair; }
inline bool ThroughputCapacityPerHAPairHasBeenSet() const { return m_throughputCapacityPerHAPairHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSDeploymentType.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSDeploymentType.h
index d75fca9219d..c18b519a3a4 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSDeploymentType.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSDeploymentType.h
@@ -18,6 +18,8 @@ namespace Model
NOT_SET,
SINGLE_AZ_1,
SINGLE_AZ_2,
+ SINGLE_AZ_HA_1,
+ SINGLE_AZ_HA_2,
MULTI_AZ_1
};
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSFileSystemConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSFileSystemConfiguration.h
index 39069c06eb5..dedad3f6688 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSFileSystemConfiguration.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/OpenZFSFileSystemConfiguration.h
@@ -96,8 +96,9 @@ namespace Model
///@{
/**
* Specifies the file-system deployment type. Amazon FSx for OpenZFS
- * supports
MULTI_AZ_1
, SINGLE_AZ_1
, and
- * SINGLE_AZ_2
.
+ * supports
MULTI_AZ_1
, SINGLE_AZ_HA_2
,
+ * SINGLE_AZ_HA_1
, SINGLE_AZ_2
, and
+ * SINGLE_AZ_1
.
*/
inline const OpenZFSDeploymentType& GetDeploymentType() const{ return m_deploymentType; }
inline bool DeploymentTypeHasBeenSet() const { return m_deploymentTypeHasBeenSet; }
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/Status.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/Status.h
index 84cc536b00a..297518863f5 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/Status.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/Status.h
@@ -20,7 +20,8 @@ namespace Model
IN_PROGRESS,
PENDING,
COMPLETED,
- UPDATED_OPTIMIZING
+ UPDATED_OPTIMIZING,
+ OPTIMIZING
};
namespace StatusMapper
diff --git a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemOntapConfiguration.h b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemOntapConfiguration.h
index 4a9ca599abe..d777b9b848a 100644
--- a/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemOntapConfiguration.h
+++ b/generated/src/aws-cpp-sdk-fsx/include/aws/fsx/model/UpdateFileSystemOntapConfiguration.h
@@ -169,15 +169,17 @@ namespace Model
* ThroughputCapacity
cannot be defined in the same API call, but one
* is required. This field and ThroughputCapacity
are the same
* for file systems with one HA pair.
-
For SINGLE_AZ_1
- * and MULTI_AZ_1
, valid values are 128, 256, 512, 1024, 2048, or 4096
- * MBps.
-
For SINGLE_AZ_2
, valid values are 3072 or
- * 6144 MBps.
Amazon FSx responds with an HTTP status code 400
- * (Bad Request) for the following conditions:
-
The value of
- * ThroughputCapacity
and ThroughputCapacityPerHAPair
are
- * not the same value for file systems with one HA pair.
-
The
- * value of deployment type is SINGLE_AZ_2
and
- * ThroughputCapacity
/ ThroughputCapacityPerHAPair
is a
- * valid HA pair (a value between 2 and 12).
-
The value of
+ * and MULTI_AZ_1
file systems, valid values are 128, 256, 512, 1024,
+ * 2048, or 4096 MBps.
-
For SINGLE_AZ_2
, valid values
+ * are 1536, 3072, or 6144 MBps.
-
For MULTI_AZ_2
,
+ * valid values are 384, 768, 1536, 3072, or 6144 MBps.
Amazon
+ * FSx responds with an HTTP status code 400 (Bad Request) for the following
+ * conditions:
-
The value of ThroughputCapacity
and
+ * ThroughputCapacityPerHAPair
are not the same value for file systems
+ * with one HA pair.
-
The value of deployment type is
+ * SINGLE_AZ_2
and ThroughputCapacity
/
+ * ThroughputCapacityPerHAPair
is not a valid HA pair (a value between
+ * 1 and 12).
-
The value of
* ThroughputCapacityPerHAPair
is not a valid value.
*/
inline int GetThroughputCapacityPerHAPair() const{ return m_throughputCapacityPerHAPair; }
@@ -185,6 +187,26 @@ namespace Model
inline void SetThroughputCapacityPerHAPair(int value) { m_throughputCapacityPerHAPairHasBeenSet = true; m_throughputCapacityPerHAPair = value; }
inline UpdateFileSystemOntapConfiguration& WithThroughputCapacityPerHAPair(int value) { SetThroughputCapacityPerHAPair(value); return *this;}
///@}
+
+ ///@{
+ /**
+ * Use to update the number of high-availability (HA) pairs for a
+ * second-generation single-AZ file system. If you increase the number of HA pairs
+ * for your file system, you must specify proportional increases for
+ * StorageCapacity
, Iops
, and
+ * ThroughputCapacity
. For more information, see High-availability
+ * (HA) pairs in the FSx for ONTAP user guide. Block storage protocol support
+ * (iSCSI and NVMe over TCP) is disabled on file systems with more than 6 HA pairs.
+ * For more information, see Using
+ * block storage protocols.
+ */
+ inline int GetHAPairs() const{ return m_hAPairs; }
+ inline bool HAPairsHasBeenSet() const { return m_hAPairsHasBeenSet; }
+ inline void SetHAPairs(int value) { m_hAPairsHasBeenSet = true; m_hAPairs = value; }
+ inline UpdateFileSystemOntapConfiguration& WithHAPairs(int value) { SetHAPairs(value); return *this;}
+ ///@}
private:
int m_automaticBackupRetentionDays;
@@ -213,6 +235,9 @@ namespace Model
int m_throughputCapacityPerHAPair;
bool m_throughputCapacityPerHAPairHasBeenSet = false;
+
+ int m_hAPairs;
+ bool m_hAPairsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/AdministrativeActionType.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/AdministrativeActionType.cpp
index 182b4ad0099..e3e8922f19c 100644
--- a/generated/src/aws-cpp-sdk-fsx/source/model/AdministrativeActionType.cpp
+++ b/generated/src/aws-cpp-sdk-fsx/source/model/AdministrativeActionType.cpp
@@ -34,6 +34,7 @@ namespace Aws
static const int MISCONFIGURED_STATE_RECOVERY_HASH = HashingUtils::HashString("MISCONFIGURED_STATE_RECOVERY");
static const int VOLUME_UPDATE_WITH_SNAPSHOT_HASH = HashingUtils::HashString("VOLUME_UPDATE_WITH_SNAPSHOT");
static const int VOLUME_INITIALIZE_WITH_SNAPSHOT_HASH = HashingUtils::HashString("VOLUME_INITIALIZE_WITH_SNAPSHOT");
+ static const int DOWNLOAD_DATA_FROM_BACKUP_HASH = HashingUtils::HashString("DOWNLOAD_DATA_FROM_BACKUP");
AdministrativeActionType GetAdministrativeActionTypeForName(const Aws::String& name)
@@ -95,6 +96,10 @@ namespace Aws
{
return AdministrativeActionType::VOLUME_INITIALIZE_WITH_SNAPSHOT;
}
+ else if (hashCode == DOWNLOAD_DATA_FROM_BACKUP_HASH)
+ {
+ return AdministrativeActionType::DOWNLOAD_DATA_FROM_BACKUP;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -139,6 +144,8 @@ namespace Aws
return "VOLUME_UPDATE_WITH_SNAPSHOT";
case AdministrativeActionType::VOLUME_INITIALIZE_WITH_SNAPSHOT:
return "VOLUME_INITIALIZE_WITH_SNAPSHOT";
+ case AdministrativeActionType::DOWNLOAD_DATA_FROM_BACKUP:
+ return "DOWNLOAD_DATA_FROM_BACKUP";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/OntapDeploymentType.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/OntapDeploymentType.cpp
index afc24061494..34c891e1403 100644
--- a/generated/src/aws-cpp-sdk-fsx/source/model/OntapDeploymentType.cpp
+++ b/generated/src/aws-cpp-sdk-fsx/source/model/OntapDeploymentType.cpp
@@ -23,6 +23,7 @@ namespace Aws
static const int MULTI_AZ_1_HASH = HashingUtils::HashString("MULTI_AZ_1");
static const int SINGLE_AZ_1_HASH = HashingUtils::HashString("SINGLE_AZ_1");
static const int SINGLE_AZ_2_HASH = HashingUtils::HashString("SINGLE_AZ_2");
+ static const int MULTI_AZ_2_HASH = HashingUtils::HashString("MULTI_AZ_2");
OntapDeploymentType GetOntapDeploymentTypeForName(const Aws::String& name)
@@ -40,6 +41,10 @@ namespace Aws
{
return OntapDeploymentType::SINGLE_AZ_2;
}
+ else if (hashCode == MULTI_AZ_2_HASH)
+ {
+ return OntapDeploymentType::MULTI_AZ_2;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -62,6 +67,8 @@ namespace Aws
return "SINGLE_AZ_1";
case OntapDeploymentType::SINGLE_AZ_2:
return "SINGLE_AZ_2";
+ case OntapDeploymentType::MULTI_AZ_2:
+ return "MULTI_AZ_2";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/OpenZFSDeploymentType.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/OpenZFSDeploymentType.cpp
index cc4bea6ba0a..785e473ac53 100644
--- a/generated/src/aws-cpp-sdk-fsx/source/model/OpenZFSDeploymentType.cpp
+++ b/generated/src/aws-cpp-sdk-fsx/source/model/OpenZFSDeploymentType.cpp
@@ -22,6 +22,8 @@ namespace Aws
static const int SINGLE_AZ_1_HASH = HashingUtils::HashString("SINGLE_AZ_1");
static const int SINGLE_AZ_2_HASH = HashingUtils::HashString("SINGLE_AZ_2");
+ static const int SINGLE_AZ_HA_1_HASH = HashingUtils::HashString("SINGLE_AZ_HA_1");
+ static const int SINGLE_AZ_HA_2_HASH = HashingUtils::HashString("SINGLE_AZ_HA_2");
static const int MULTI_AZ_1_HASH = HashingUtils::HashString("MULTI_AZ_1");
@@ -36,6 +38,14 @@ namespace Aws
{
return OpenZFSDeploymentType::SINGLE_AZ_2;
}
+ else if (hashCode == SINGLE_AZ_HA_1_HASH)
+ {
+ return OpenZFSDeploymentType::SINGLE_AZ_HA_1;
+ }
+ else if (hashCode == SINGLE_AZ_HA_2_HASH)
+ {
+ return OpenZFSDeploymentType::SINGLE_AZ_HA_2;
+ }
else if (hashCode == MULTI_AZ_1_HASH)
{
return OpenZFSDeploymentType::MULTI_AZ_1;
@@ -60,6 +70,10 @@ namespace Aws
return "SINGLE_AZ_1";
case OpenZFSDeploymentType::SINGLE_AZ_2:
return "SINGLE_AZ_2";
+ case OpenZFSDeploymentType::SINGLE_AZ_HA_1:
+ return "SINGLE_AZ_HA_1";
+ case OpenZFSDeploymentType::SINGLE_AZ_HA_2:
+ return "SINGLE_AZ_HA_2";
case OpenZFSDeploymentType::MULTI_AZ_1:
return "MULTI_AZ_1";
default:
diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/Status.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/Status.cpp
index 13c826d785f..11f5b783f73 100644
--- a/generated/src/aws-cpp-sdk-fsx/source/model/Status.cpp
+++ b/generated/src/aws-cpp-sdk-fsx/source/model/Status.cpp
@@ -25,6 +25,7 @@ namespace Aws
static const int PENDING_HASH = HashingUtils::HashString("PENDING");
static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED");
static const int UPDATED_OPTIMIZING_HASH = HashingUtils::HashString("UPDATED_OPTIMIZING");
+ static const int OPTIMIZING_HASH = HashingUtils::HashString("OPTIMIZING");
Status GetStatusForName(const Aws::String& name)
@@ -50,6 +51,10 @@ namespace Aws
{
return Status::UPDATED_OPTIMIZING;
}
+ else if (hashCode == OPTIMIZING_HASH)
+ {
+ return Status::OPTIMIZING;
+ }
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
{
@@ -76,6 +81,8 @@ namespace Aws
return "COMPLETED";
case Status::UPDATED_OPTIMIZING:
return "UPDATED_OPTIMIZING";
+ case Status::OPTIMIZING:
+ return "OPTIMIZING";
default:
EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
if(overflowContainer)
diff --git a/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemOntapConfiguration.cpp b/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemOntapConfiguration.cpp
index 5ea429181e2..9e4ad1fc15e 100644
--- a/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemOntapConfiguration.cpp
+++ b/generated/src/aws-cpp-sdk-fsx/source/model/UpdateFileSystemOntapConfiguration.cpp
@@ -30,7 +30,9 @@ UpdateFileSystemOntapConfiguration::UpdateFileSystemOntapConfiguration() :
m_addRouteTableIdsHasBeenSet(false),
m_removeRouteTableIdsHasBeenSet(false),
m_throughputCapacityPerHAPair(0),
- m_throughputCapacityPerHAPairHasBeenSet(false)
+ m_throughputCapacityPerHAPairHasBeenSet(false),
+ m_hAPairs(0),
+ m_hAPairsHasBeenSet(false)
{
}
@@ -111,6 +113,13 @@ UpdateFileSystemOntapConfiguration& UpdateFileSystemOntapConfiguration::operator
m_throughputCapacityPerHAPairHasBeenSet = true;
}
+ if(jsonValue.ValueExists("HAPairs"))
+ {
+ m_hAPairs = jsonValue.GetInteger("HAPairs");
+
+ m_hAPairsHasBeenSet = true;
+ }
+
return *this;
}
@@ -182,6 +191,12 @@ JsonValue UpdateFileSystemOntapConfiguration::Jsonize() const
}
+ if(m_hAPairsHasBeenSet)
+ {
+ payload.WithInteger("HAPairs", m_hAPairs);
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsInput.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsInput.h
new file mode 100644
index 00000000000..2b52961eb32
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsInput.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
+{
+
+ /**
+ * Container for parameters required to enable all machine learning
+ * features.
See Also:
AWS
+ * API Reference
+ */
+ class AIMLOptionsInput
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsInput();
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsInput(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Container for parameters required for natural language query generation on
+ * the specified domain.
+ */
+ inline const NaturalLanguageQueryGenerationOptionsInput& GetNaturalLanguageQueryGenerationOptions() const{ return m_naturalLanguageQueryGenerationOptions; }
+ inline bool NaturalLanguageQueryGenerationOptionsHasBeenSet() const { return m_naturalLanguageQueryGenerationOptionsHasBeenSet; }
+ inline void SetNaturalLanguageQueryGenerationOptions(const NaturalLanguageQueryGenerationOptionsInput& value) { m_naturalLanguageQueryGenerationOptionsHasBeenSet = true; m_naturalLanguageQueryGenerationOptions = value; }
+ inline void SetNaturalLanguageQueryGenerationOptions(NaturalLanguageQueryGenerationOptionsInput&& value) { m_naturalLanguageQueryGenerationOptionsHasBeenSet = true; m_naturalLanguageQueryGenerationOptions = std::move(value); }
+ inline AIMLOptionsInput& WithNaturalLanguageQueryGenerationOptions(const NaturalLanguageQueryGenerationOptionsInput& value) { SetNaturalLanguageQueryGenerationOptions(value); return *this;}
+ inline AIMLOptionsInput& WithNaturalLanguageQueryGenerationOptions(NaturalLanguageQueryGenerationOptionsInput&& value) { SetNaturalLanguageQueryGenerationOptions(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ NaturalLanguageQueryGenerationOptionsInput m_naturalLanguageQueryGenerationOptions;
+ bool m_naturalLanguageQueryGenerationOptionsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsOutput.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsOutput.h
new file mode 100644
index 00000000000..cc0c236268a
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsOutput.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
+{
+
+ /**
+ * Container for parameters representing the state of machine learning features
+ * on the specified domain.
See Also:
AWS
+ * API Reference
+ */
+ class AIMLOptionsOutput
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsOutput();
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsOutput(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Container for parameters required for natural language query generation on
+ * the specified domain.
+ */
+ inline const NaturalLanguageQueryGenerationOptionsOutput& GetNaturalLanguageQueryGenerationOptions() const{ return m_naturalLanguageQueryGenerationOptions; }
+ inline bool NaturalLanguageQueryGenerationOptionsHasBeenSet() const { return m_naturalLanguageQueryGenerationOptionsHasBeenSet; }
+ inline void SetNaturalLanguageQueryGenerationOptions(const NaturalLanguageQueryGenerationOptionsOutput& value) { m_naturalLanguageQueryGenerationOptionsHasBeenSet = true; m_naturalLanguageQueryGenerationOptions = value; }
+ inline void SetNaturalLanguageQueryGenerationOptions(NaturalLanguageQueryGenerationOptionsOutput&& value) { m_naturalLanguageQueryGenerationOptionsHasBeenSet = true; m_naturalLanguageQueryGenerationOptions = std::move(value); }
+ inline AIMLOptionsOutput& WithNaturalLanguageQueryGenerationOptions(const NaturalLanguageQueryGenerationOptionsOutput& value) { SetNaturalLanguageQueryGenerationOptions(value); return *this;}
+ inline AIMLOptionsOutput& WithNaturalLanguageQueryGenerationOptions(NaturalLanguageQueryGenerationOptionsOutput&& value) { SetNaturalLanguageQueryGenerationOptions(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ NaturalLanguageQueryGenerationOptionsOutput m_naturalLanguageQueryGenerationOptions;
+ bool m_naturalLanguageQueryGenerationOptionsHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsStatus.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsStatus.h
new file mode 100644
index 00000000000..3aef3cc875c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/AIMLOptionsStatus.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
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * The status of machine learning options on the specified domain.
See
+ * Also:
AWS
+ * API Reference
+ */
+ class AIMLOptionsStatus
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus();
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API AIMLOptionsStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * Machine learning options on the specified domain.
+ */
+ inline const AIMLOptionsOutput& GetOptions() const{ return m_options; }
+ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; }
+ inline void SetOptions(const AIMLOptionsOutput& value) { m_optionsHasBeenSet = true; m_options = value; }
+ inline void SetOptions(AIMLOptionsOutput&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); }
+ inline AIMLOptionsStatus& WithOptions(const AIMLOptionsOutput& value) { SetOptions(value); return *this;}
+ inline AIMLOptionsStatus& WithOptions(AIMLOptionsOutput&& value) { SetOptions(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+
+ inline const OptionStatus& GetStatus() const{ return m_status; }
+ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
+ inline void SetStatus(const OptionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
+ inline void SetStatus(OptionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
+ inline AIMLOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;}
+ inline AIMLOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ AIMLOptionsOutput m_options;
+ bool m_optionsHasBeenSet = false;
+
+ OptionStatus m_status;
+ bool m_statusHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreateDomainRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreateDomainRequest.h
index c8a0a813b10..3a66a82a27f 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreateDomainRequest.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/CreateDomainRequest.h
@@ -22,6 +22,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -340,6 +341,18 @@ namespace Model
inline CreateDomainRequest& WithSoftwareUpdateOptions(const SoftwareUpdateOptions& value) { SetSoftwareUpdateOptions(value); return *this;}
inline CreateDomainRequest& WithSoftwareUpdateOptions(SoftwareUpdateOptions&& value) { SetSoftwareUpdateOptions(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * Options for all machine learning features for the specified domain.
+ */
+ inline const AIMLOptionsInput& GetAIMLOptions() const{ return m_aIMLOptions; }
+ inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
+ inline void SetAIMLOptions(const AIMLOptionsInput& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = value; }
+ inline void SetAIMLOptions(AIMLOptionsInput&& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = std::move(value); }
+ inline CreateDomainRequest& WithAIMLOptions(const AIMLOptionsInput& value) { SetAIMLOptions(value); return *this;}
+ inline CreateDomainRequest& WithAIMLOptions(AIMLOptionsInput&& value) { SetAIMLOptions(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_domainName;
@@ -398,6 +411,9 @@ namespace Model
SoftwareUpdateOptions m_softwareUpdateOptions;
bool m_softwareUpdateOptionsHasBeenSet = false;
+
+ AIMLOptionsInput m_aIMLOptions;
+ bool m_aIMLOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainConfig.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainConfig.h
index 3a2f0244aa3..49412d5a09b 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainConfig.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainConfig.h
@@ -24,6 +24,7 @@
#include
#include
#include
+#include
#include
#include
@@ -297,6 +298,19 @@ namespace Model
inline DomainConfig& AddModifyingProperties(const ModifyingProperties& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.push_back(value); return *this; }
inline DomainConfig& AddModifyingProperties(ModifyingProperties&& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.push_back(std::move(value)); return *this; }
///@}
+
+ ///@{
+ /**
+ * Container for parameters required to enable all machine learning
+ * features.
+ */
+ inline const AIMLOptionsStatus& GetAIMLOptions() const{ return m_aIMLOptions; }
+ inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
+ inline void SetAIMLOptions(const AIMLOptionsStatus& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = value; }
+ inline void SetAIMLOptions(AIMLOptionsStatus&& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = std::move(value); }
+ inline DomainConfig& WithAIMLOptions(const AIMLOptionsStatus& value) { SetAIMLOptions(value); return *this;}
+ inline DomainConfig& WithAIMLOptions(AIMLOptionsStatus&& value) { SetAIMLOptions(std::move(value)); return *this;}
+ ///@}
private:
VersionStatus m_engineVersion;
@@ -355,6 +369,9 @@ namespace Model
Aws::Vector m_modifyingProperties;
bool m_modifyingPropertiesHasBeenSet = false;
+
+ AIMLOptionsStatus m_aIMLOptions;
+ bool m_aIMLOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainStatus.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainStatus.h
index bc4029ceb36..41cc2d929dc 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainStatus.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/DomainStatus.h
@@ -24,6 +24,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -496,6 +497,19 @@ namespace Model
inline DomainStatus& AddModifyingProperties(const ModifyingProperties& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.push_back(value); return *this; }
inline DomainStatus& AddModifyingProperties(ModifyingProperties&& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.push_back(std::move(value)); return *this; }
///@}
+
+ ///@{
+ /**
+ * Container for parameters required to enable all machine learning
+ * features.
+ */
+ inline const AIMLOptionsOutput& GetAIMLOptions() const{ return m_aIMLOptions; }
+ inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
+ inline void SetAIMLOptions(const AIMLOptionsOutput& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = value; }
+ inline void SetAIMLOptions(AIMLOptionsOutput&& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = std::move(value); }
+ inline DomainStatus& WithAIMLOptions(const AIMLOptionsOutput& value) { SetAIMLOptions(value); return *this;}
+ inline DomainStatus& WithAIMLOptions(AIMLOptionsOutput&& value) { SetAIMLOptions(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_domainId;
@@ -593,6 +607,9 @@ namespace Model
Aws::Vector m_modifyingProperties;
bool m_modifyingPropertiesHasBeenSet = false;
+
+ AIMLOptionsOutput m_aIMLOptions;
+ bool m_aIMLOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationCurrentState.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationCurrentState.h
new file mode 100644
index 00000000000..cbf85f9b6f3
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationCurrentState.h
@@ -0,0 +1,36 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+ enum class NaturalLanguageQueryGenerationCurrentState
+ {
+ NOT_SET,
+ NOT_ENABLED,
+ ENABLE_COMPLETE,
+ ENABLE_IN_PROGRESS,
+ ENABLE_FAILED,
+ DISABLE_COMPLETE,
+ DISABLE_IN_PROGRESS,
+ DISABLE_FAILED
+ };
+
+namespace NaturalLanguageQueryGenerationCurrentStateMapper
+{
+AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationCurrentState GetNaturalLanguageQueryGenerationCurrentStateForName(const Aws::String& name);
+
+AWS_OPENSEARCHSERVICE_API Aws::String GetNameForNaturalLanguageQueryGenerationCurrentState(NaturalLanguageQueryGenerationCurrentState value);
+} // namespace NaturalLanguageQueryGenerationCurrentStateMapper
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationDesiredState.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationDesiredState.h
new file mode 100644
index 00000000000..06da790ef36
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationDesiredState.h
@@ -0,0 +1,31 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+ enum class NaturalLanguageQueryGenerationDesiredState
+ {
+ NOT_SET,
+ ENABLED,
+ DISABLED
+ };
+
+namespace NaturalLanguageQueryGenerationDesiredStateMapper
+{
+AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationDesiredState GetNaturalLanguageQueryGenerationDesiredStateForName(const Aws::String& name);
+
+AWS_OPENSEARCHSERVICE_API Aws::String GetNameForNaturalLanguageQueryGenerationDesiredState(NaturalLanguageQueryGenerationDesiredState value);
+} // namespace NaturalLanguageQueryGenerationDesiredStateMapper
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationOptionsInput.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationOptionsInput.h
new file mode 100644
index 00000000000..30346740dcd
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationOptionsInput.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
+{
+
+ /**
+ * Container for parameters required to enable the natural language query
+ * generation feature.
See Also:
AWS
+ * API Reference
+ */
+ class NaturalLanguageQueryGenerationOptionsInput
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsInput();
+ AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsInput(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The desired state of the natural language query generation feature. Valid
+ * values are ENABLED and DISABLED.
+ */
+ inline const NaturalLanguageQueryGenerationDesiredState& GetDesiredState() const{ return m_desiredState; }
+ inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
+ inline void SetDesiredState(const NaturalLanguageQueryGenerationDesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
+ inline void SetDesiredState(NaturalLanguageQueryGenerationDesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
+ inline NaturalLanguageQueryGenerationOptionsInput& WithDesiredState(const NaturalLanguageQueryGenerationDesiredState& value) { SetDesiredState(value); return *this;}
+ inline NaturalLanguageQueryGenerationOptionsInput& WithDesiredState(NaturalLanguageQueryGenerationDesiredState&& value) { SetDesiredState(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ NaturalLanguageQueryGenerationDesiredState m_desiredState;
+ bool m_desiredStateHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationOptionsOutput.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationOptionsOutput.h
new file mode 100644
index 00000000000..85157907bbb
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/NaturalLanguageQueryGenerationOptionsOutput.h
@@ -0,0 +1,78 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace Utils
+{
+namespace Json
+{
+ class JsonValue;
+ class JsonView;
+} // namespace Json
+} // namespace Utils
+namespace OpenSearchService
+{
+namespace Model
+{
+
+ /**
+ * Container for parameters representing the state of the natural language query
+ * generation feature on the specified domain.
See Also:
AWS
+ * API Reference
+ */
+ class NaturalLanguageQueryGenerationOptionsOutput
+ {
+ public:
+ AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput();
+ AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API NaturalLanguageQueryGenerationOptionsOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
+ AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
+
+
+ ///@{
+ /**
+ * The desired state of the natural language query generation feature. Valid
+ * values are ENABLED and DISABLED.
+ */
+ inline const NaturalLanguageQueryGenerationDesiredState& GetDesiredState() const{ return m_desiredState; }
+ inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
+ inline void SetDesiredState(const NaturalLanguageQueryGenerationDesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
+ inline void SetDesiredState(NaturalLanguageQueryGenerationDesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
+ inline NaturalLanguageQueryGenerationOptionsOutput& WithDesiredState(const NaturalLanguageQueryGenerationDesiredState& value) { SetDesiredState(value); return *this;}
+ inline NaturalLanguageQueryGenerationOptionsOutput& WithDesiredState(NaturalLanguageQueryGenerationDesiredState&& value) { SetDesiredState(std::move(value)); return *this;}
+ ///@}
+
+ ///@{
+ /**
+ * The current state of the natural language query generation feature,
+ * indicating completion, in progress, or failure.
+ */
+ inline const NaturalLanguageQueryGenerationCurrentState& GetCurrentState() const{ return m_currentState; }
+ inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
+ inline void SetCurrentState(const NaturalLanguageQueryGenerationCurrentState& value) { m_currentStateHasBeenSet = true; m_currentState = value; }
+ inline void SetCurrentState(NaturalLanguageQueryGenerationCurrentState&& value) { m_currentStateHasBeenSet = true; m_currentState = std::move(value); }
+ inline NaturalLanguageQueryGenerationOptionsOutput& WithCurrentState(const NaturalLanguageQueryGenerationCurrentState& value) { SetCurrentState(value); return *this;}
+ inline NaturalLanguageQueryGenerationOptionsOutput& WithCurrentState(NaturalLanguageQueryGenerationCurrentState&& value) { SetCurrentState(std::move(value)); return *this;}
+ ///@}
+ private:
+
+ NaturalLanguageQueryGenerationDesiredState m_desiredState;
+ bool m_desiredStateHasBeenSet = false;
+
+ NaturalLanguageQueryGenerationCurrentState m_currentState;
+ bool m_currentStateHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdateDomainConfigRequest.h b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdateDomainConfigRequest.h
index 193d78c0e1d..eaf0def674c 100644
--- a/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdateDomainConfigRequest.h
+++ b/generated/src/aws-cpp-sdk-opensearch/include/aws/opensearch/model/UpdateDomainConfigRequest.h
@@ -22,6 +22,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -328,6 +329,18 @@ namespace Model
inline UpdateDomainConfigRequest& WithSoftwareUpdateOptions(const SoftwareUpdateOptions& value) { SetSoftwareUpdateOptions(value); return *this;}
inline UpdateDomainConfigRequest& WithSoftwareUpdateOptions(SoftwareUpdateOptions&& value) { SetSoftwareUpdateOptions(std::move(value)); return *this;}
///@}
+
+ ///@{
+ /**
+ * Options for all machine learning features for the specified domain.
+ */
+ inline const AIMLOptionsInput& GetAIMLOptions() const{ return m_aIMLOptions; }
+ inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
+ inline void SetAIMLOptions(const AIMLOptionsInput& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = value; }
+ inline void SetAIMLOptions(AIMLOptionsInput&& value) { m_aIMLOptionsHasBeenSet = true; m_aIMLOptions = std::move(value); }
+ inline UpdateDomainConfigRequest& WithAIMLOptions(const AIMLOptionsInput& value) { SetAIMLOptions(value); return *this;}
+ inline UpdateDomainConfigRequest& WithAIMLOptions(AIMLOptionsInput&& value) { SetAIMLOptions(std::move(value)); return *this;}
+ ///@}
private:
Aws::String m_domainName;
@@ -386,6 +399,9 @@ namespace Model
SoftwareUpdateOptions m_softwareUpdateOptions;
bool m_softwareUpdateOptionsHasBeenSet = false;
+
+ AIMLOptionsInput m_aIMLOptions;
+ bool m_aIMLOptionsHasBeenSet = false;
};
} // namespace Model
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsInput.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsInput.cpp
new file mode 100644
index 00000000000..2aead05e1d5
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsInput.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
+{
+
+AIMLOptionsInput::AIMLOptionsInput() :
+ m_naturalLanguageQueryGenerationOptionsHasBeenSet(false)
+{
+}
+
+AIMLOptionsInput::AIMLOptionsInput(JsonView jsonValue)
+ : AIMLOptionsInput()
+{
+ *this = jsonValue;
+}
+
+AIMLOptionsInput& AIMLOptionsInput::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("NaturalLanguageQueryGenerationOptions"))
+ {
+ m_naturalLanguageQueryGenerationOptions = jsonValue.GetObject("NaturalLanguageQueryGenerationOptions");
+
+ m_naturalLanguageQueryGenerationOptionsHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue AIMLOptionsInput::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_naturalLanguageQueryGenerationOptionsHasBeenSet)
+ {
+ payload.WithObject("NaturalLanguageQueryGenerationOptions", m_naturalLanguageQueryGenerationOptions.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsOutput.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsOutput.cpp
new file mode 100644
index 00000000000..4e7d01cee24
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsOutput.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
+{
+
+AIMLOptionsOutput::AIMLOptionsOutput() :
+ m_naturalLanguageQueryGenerationOptionsHasBeenSet(false)
+{
+}
+
+AIMLOptionsOutput::AIMLOptionsOutput(JsonView jsonValue)
+ : AIMLOptionsOutput()
+{
+ *this = jsonValue;
+}
+
+AIMLOptionsOutput& AIMLOptionsOutput::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("NaturalLanguageQueryGenerationOptions"))
+ {
+ m_naturalLanguageQueryGenerationOptions = jsonValue.GetObject("NaturalLanguageQueryGenerationOptions");
+
+ m_naturalLanguageQueryGenerationOptionsHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue AIMLOptionsOutput::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_naturalLanguageQueryGenerationOptionsHasBeenSet)
+ {
+ payload.WithObject("NaturalLanguageQueryGenerationOptions", m_naturalLanguageQueryGenerationOptions.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsStatus.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsStatus.cpp
new file mode 100644
index 00000000000..94284293c52
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/AIMLOptionsStatus.cpp
@@ -0,0 +1,73 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+
+AIMLOptionsStatus::AIMLOptionsStatus() :
+ m_optionsHasBeenSet(false),
+ m_statusHasBeenSet(false)
+{
+}
+
+AIMLOptionsStatus::AIMLOptionsStatus(JsonView jsonValue)
+ : AIMLOptionsStatus()
+{
+ *this = jsonValue;
+}
+
+AIMLOptionsStatus& AIMLOptionsStatus::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("Options"))
+ {
+ m_options = jsonValue.GetObject("Options");
+
+ m_optionsHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("Status"))
+ {
+ m_status = jsonValue.GetObject("Status");
+
+ m_statusHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue AIMLOptionsStatus::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_optionsHasBeenSet)
+ {
+ payload.WithObject("Options", m_options.Jsonize());
+
+ }
+
+ if(m_statusHasBeenSet)
+ {
+ payload.WithObject("Status", m_status.Jsonize());
+
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/CreateDomainRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/CreateDomainRequest.cpp
index 4a0be1b7d7b..f584f364a06 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/CreateDomainRequest.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/CreateDomainRequest.cpp
@@ -32,7 +32,8 @@ CreateDomainRequest::CreateDomainRequest() :
m_tagListHasBeenSet(false),
m_autoTuneOptionsHasBeenSet(false),
m_offPeakWindowOptionsHasBeenSet(false),
- m_softwareUpdateOptionsHasBeenSet(false)
+ m_softwareUpdateOptionsHasBeenSet(false),
+ m_aIMLOptionsHasBeenSet(false)
{
}
@@ -168,6 +169,12 @@ Aws::String CreateDomainRequest::SerializePayload() const
}
+ if(m_aIMLOptionsHasBeenSet)
+ {
+ payload.WithObject("AIMLOptions", m_aIMLOptions.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/DomainConfig.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/DomainConfig.cpp
index a32bf678a51..18b96c9623f 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/DomainConfig.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/DomainConfig.cpp
@@ -37,7 +37,8 @@ DomainConfig::DomainConfig() :
m_changeProgressDetailsHasBeenSet(false),
m_offPeakWindowOptionsHasBeenSet(false),
m_softwareUpdateOptionsHasBeenSet(false),
- m_modifyingPropertiesHasBeenSet(false)
+ m_modifyingPropertiesHasBeenSet(false),
+ m_aIMLOptionsHasBeenSet(false)
{
}
@@ -185,6 +186,13 @@ DomainConfig& DomainConfig::operator =(JsonView jsonValue)
m_modifyingPropertiesHasBeenSet = true;
}
+ if(jsonValue.ValueExists("AIMLOptions"))
+ {
+ m_aIMLOptions = jsonValue.GetObject("AIMLOptions");
+
+ m_aIMLOptionsHasBeenSet = true;
+ }
+
return *this;
}
@@ -311,6 +319,12 @@ JsonValue DomainConfig::Jsonize() const
}
+ if(m_aIMLOptionsHasBeenSet)
+ {
+ payload.WithObject("AIMLOptions", m_aIMLOptions.Jsonize());
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/DomainStatus.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/DomainStatus.cpp
index f485dda5be4..0fba62b0087 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/DomainStatus.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/DomainStatus.cpp
@@ -56,7 +56,8 @@ DomainStatus::DomainStatus() :
m_softwareUpdateOptionsHasBeenSet(false),
m_domainProcessingStatus(DomainProcessingStatusType::NOT_SET),
m_domainProcessingStatusHasBeenSet(false),
- m_modifyingPropertiesHasBeenSet(false)
+ m_modifyingPropertiesHasBeenSet(false),
+ m_aIMLOptionsHasBeenSet(false)
{
}
@@ -304,6 +305,13 @@ DomainStatus& DomainStatus::operator =(JsonView jsonValue)
m_modifyingPropertiesHasBeenSet = true;
}
+ if(jsonValue.ValueExists("AIMLOptions"))
+ {
+ m_aIMLOptions = jsonValue.GetObject("AIMLOptions");
+
+ m_aIMLOptionsHasBeenSet = true;
+ }
+
return *this;
}
@@ -521,6 +529,12 @@ JsonValue DomainStatus::Jsonize() const
}
+ if(m_aIMLOptionsHasBeenSet)
+ {
+ payload.WithObject("AIMLOptions", m_aIMLOptions.Jsonize());
+
+ }
+
return payload;
}
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationCurrentState.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationCurrentState.cpp
new file mode 100644
index 00000000000..25fe7bbbe67
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationCurrentState.cpp
@@ -0,0 +1,107 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace OpenSearchService
+ {
+ namespace Model
+ {
+ namespace NaturalLanguageQueryGenerationCurrentStateMapper
+ {
+
+ static const int NOT_ENABLED_HASH = HashingUtils::HashString("NOT_ENABLED");
+ static const int ENABLE_COMPLETE_HASH = HashingUtils::HashString("ENABLE_COMPLETE");
+ static const int ENABLE_IN_PROGRESS_HASH = HashingUtils::HashString("ENABLE_IN_PROGRESS");
+ static const int ENABLE_FAILED_HASH = HashingUtils::HashString("ENABLE_FAILED");
+ static const int DISABLE_COMPLETE_HASH = HashingUtils::HashString("DISABLE_COMPLETE");
+ static const int DISABLE_IN_PROGRESS_HASH = HashingUtils::HashString("DISABLE_IN_PROGRESS");
+ static const int DISABLE_FAILED_HASH = HashingUtils::HashString("DISABLE_FAILED");
+
+
+ NaturalLanguageQueryGenerationCurrentState GetNaturalLanguageQueryGenerationCurrentStateForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == NOT_ENABLED_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::NOT_ENABLED;
+ }
+ else if (hashCode == ENABLE_COMPLETE_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::ENABLE_COMPLETE;
+ }
+ else if (hashCode == ENABLE_IN_PROGRESS_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::ENABLE_IN_PROGRESS;
+ }
+ else if (hashCode == ENABLE_FAILED_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::ENABLE_FAILED;
+ }
+ else if (hashCode == DISABLE_COMPLETE_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::DISABLE_COMPLETE;
+ }
+ else if (hashCode == DISABLE_IN_PROGRESS_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::DISABLE_IN_PROGRESS;
+ }
+ else if (hashCode == DISABLE_FAILED_HASH)
+ {
+ return NaturalLanguageQueryGenerationCurrentState::DISABLE_FAILED;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return NaturalLanguageQueryGenerationCurrentState::NOT_SET;
+ }
+
+ Aws::String GetNameForNaturalLanguageQueryGenerationCurrentState(NaturalLanguageQueryGenerationCurrentState enumValue)
+ {
+ switch(enumValue)
+ {
+ case NaturalLanguageQueryGenerationCurrentState::NOT_SET:
+ return {};
+ case NaturalLanguageQueryGenerationCurrentState::NOT_ENABLED:
+ return "NOT_ENABLED";
+ case NaturalLanguageQueryGenerationCurrentState::ENABLE_COMPLETE:
+ return "ENABLE_COMPLETE";
+ case NaturalLanguageQueryGenerationCurrentState::ENABLE_IN_PROGRESS:
+ return "ENABLE_IN_PROGRESS";
+ case NaturalLanguageQueryGenerationCurrentState::ENABLE_FAILED:
+ return "ENABLE_FAILED";
+ case NaturalLanguageQueryGenerationCurrentState::DISABLE_COMPLETE:
+ return "DISABLE_COMPLETE";
+ case NaturalLanguageQueryGenerationCurrentState::DISABLE_IN_PROGRESS:
+ return "DISABLE_IN_PROGRESS";
+ case NaturalLanguageQueryGenerationCurrentState::DISABLE_FAILED:
+ return "DISABLE_FAILED";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace NaturalLanguageQueryGenerationCurrentStateMapper
+ } // namespace Model
+ } // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationDesiredState.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationDesiredState.cpp
new file mode 100644
index 00000000000..b9657fab5c9
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationDesiredState.cpp
@@ -0,0 +1,72 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+#include
+#include
+
+using namespace Aws::Utils;
+
+
+namespace Aws
+{
+ namespace OpenSearchService
+ {
+ namespace Model
+ {
+ namespace NaturalLanguageQueryGenerationDesiredStateMapper
+ {
+
+ static const int ENABLED_HASH = HashingUtils::HashString("ENABLED");
+ static const int DISABLED_HASH = HashingUtils::HashString("DISABLED");
+
+
+ NaturalLanguageQueryGenerationDesiredState GetNaturalLanguageQueryGenerationDesiredStateForName(const Aws::String& name)
+ {
+ int hashCode = HashingUtils::HashString(name.c_str());
+ if (hashCode == ENABLED_HASH)
+ {
+ return NaturalLanguageQueryGenerationDesiredState::ENABLED;
+ }
+ else if (hashCode == DISABLED_HASH)
+ {
+ return NaturalLanguageQueryGenerationDesiredState::DISABLED;
+ }
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ overflowContainer->StoreOverflow(hashCode, name);
+ return static_cast(hashCode);
+ }
+
+ return NaturalLanguageQueryGenerationDesiredState::NOT_SET;
+ }
+
+ Aws::String GetNameForNaturalLanguageQueryGenerationDesiredState(NaturalLanguageQueryGenerationDesiredState enumValue)
+ {
+ switch(enumValue)
+ {
+ case NaturalLanguageQueryGenerationDesiredState::NOT_SET:
+ return {};
+ case NaturalLanguageQueryGenerationDesiredState::ENABLED:
+ return "ENABLED";
+ case NaturalLanguageQueryGenerationDesiredState::DISABLED:
+ return "DISABLED";
+ default:
+ EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer();
+ if(overflowContainer)
+ {
+ return overflowContainer->RetrieveOverflow(static_cast(enumValue));
+ }
+
+ return {};
+ }
+ }
+
+ } // namespace NaturalLanguageQueryGenerationDesiredStateMapper
+ } // namespace Model
+ } // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationOptionsInput.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationOptionsInput.cpp
new file mode 100644
index 00000000000..c76c1d53404
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationOptionsInput.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
+{
+
+NaturalLanguageQueryGenerationOptionsInput::NaturalLanguageQueryGenerationOptionsInput() :
+ m_desiredState(NaturalLanguageQueryGenerationDesiredState::NOT_SET),
+ m_desiredStateHasBeenSet(false)
+{
+}
+
+NaturalLanguageQueryGenerationOptionsInput::NaturalLanguageQueryGenerationOptionsInput(JsonView jsonValue)
+ : NaturalLanguageQueryGenerationOptionsInput()
+{
+ *this = jsonValue;
+}
+
+NaturalLanguageQueryGenerationOptionsInput& NaturalLanguageQueryGenerationOptionsInput::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("DesiredState"))
+ {
+ m_desiredState = NaturalLanguageQueryGenerationDesiredStateMapper::GetNaturalLanguageQueryGenerationDesiredStateForName(jsonValue.GetString("DesiredState"));
+
+ m_desiredStateHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue NaturalLanguageQueryGenerationOptionsInput::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_desiredStateHasBeenSet)
+ {
+ payload.WithString("DesiredState", NaturalLanguageQueryGenerationDesiredStateMapper::GetNameForNaturalLanguageQueryGenerationDesiredState(m_desiredState));
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationOptionsOutput.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationOptionsOutput.cpp
new file mode 100644
index 00000000000..35dd5f7d85c
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/NaturalLanguageQueryGenerationOptionsOutput.cpp
@@ -0,0 +1,73 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
+#include
+
+#include
+
+using namespace Aws::Utils::Json;
+using namespace Aws::Utils;
+
+namespace Aws
+{
+namespace OpenSearchService
+{
+namespace Model
+{
+
+NaturalLanguageQueryGenerationOptionsOutput::NaturalLanguageQueryGenerationOptionsOutput() :
+ m_desiredState(NaturalLanguageQueryGenerationDesiredState::NOT_SET),
+ m_desiredStateHasBeenSet(false),
+ m_currentState(NaturalLanguageQueryGenerationCurrentState::NOT_SET),
+ m_currentStateHasBeenSet(false)
+{
+}
+
+NaturalLanguageQueryGenerationOptionsOutput::NaturalLanguageQueryGenerationOptionsOutput(JsonView jsonValue)
+ : NaturalLanguageQueryGenerationOptionsOutput()
+{
+ *this = jsonValue;
+}
+
+NaturalLanguageQueryGenerationOptionsOutput& NaturalLanguageQueryGenerationOptionsOutput::operator =(JsonView jsonValue)
+{
+ if(jsonValue.ValueExists("DesiredState"))
+ {
+ m_desiredState = NaturalLanguageQueryGenerationDesiredStateMapper::GetNaturalLanguageQueryGenerationDesiredStateForName(jsonValue.GetString("DesiredState"));
+
+ m_desiredStateHasBeenSet = true;
+ }
+
+ if(jsonValue.ValueExists("CurrentState"))
+ {
+ m_currentState = NaturalLanguageQueryGenerationCurrentStateMapper::GetNaturalLanguageQueryGenerationCurrentStateForName(jsonValue.GetString("CurrentState"));
+
+ m_currentStateHasBeenSet = true;
+ }
+
+ return *this;
+}
+
+JsonValue NaturalLanguageQueryGenerationOptionsOutput::Jsonize() const
+{
+ JsonValue payload;
+
+ if(m_desiredStateHasBeenSet)
+ {
+ payload.WithString("DesiredState", NaturalLanguageQueryGenerationDesiredStateMapper::GetNameForNaturalLanguageQueryGenerationDesiredState(m_desiredState));
+ }
+
+ if(m_currentStateHasBeenSet)
+ {
+ payload.WithString("CurrentState", NaturalLanguageQueryGenerationCurrentStateMapper::GetNameForNaturalLanguageQueryGenerationCurrentState(m_currentState));
+ }
+
+ return payload;
+}
+
+} // namespace Model
+} // namespace OpenSearchService
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-opensearch/source/model/UpdateDomainConfigRequest.cpp b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdateDomainConfigRequest.cpp
index 08ac6e36509..40ad8d13b99 100644
--- a/generated/src/aws-cpp-sdk-opensearch/source/model/UpdateDomainConfigRequest.cpp
+++ b/generated/src/aws-cpp-sdk-opensearch/source/model/UpdateDomainConfigRequest.cpp
@@ -34,7 +34,8 @@ UpdateDomainConfigRequest::UpdateDomainConfigRequest() :
m_dryRunMode(DryRunMode::NOT_SET),
m_dryRunModeHasBeenSet(false),
m_offPeakWindowOptionsHasBeenSet(false),
- m_softwareUpdateOptionsHasBeenSet(false)
+ m_softwareUpdateOptionsHasBeenSet(false),
+ m_aIMLOptionsHasBeenSet(false)
{
}
@@ -158,6 +159,12 @@ Aws::String UpdateDomainConfigRequest::SerializePayload() const
}
+ if(m_aIMLOptionsHasBeenSet)
+ {
+ payload.WithObject("AIMLOptions", m_aIMLOptions.Jsonize());
+
+ }
+
return payload.View().WriteReadable();
}
diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h
index 7169dba1a08..5047d71024a 100644
--- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h
+++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerClient.h
@@ -1742,6 +1742,38 @@ namespace SageMaker
return SubmitAsync(&SageMakerClient::CreateNotebookInstanceLifecycleConfig, request, handler, context);
}
+ /**
+ * Creates a job that optimizes a model for inference performance. To create the
+ * job, you provide the location of a source model, and you provide the settings
+ * for the optimization techniques that you want the job to apply. When the job
+ * completes successfully, SageMaker uploads the new optimized model to the output
+ * destination that you specify.
For more information about how to use this
+ * action, and about the supported optimization techniques, see Optimize
+ * model inference with Amazon SageMaker.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::CreateOptimizationJobOutcome CreateOptimizationJob(const Model::CreateOptimizationJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for CreateOptimizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::CreateOptimizationJobOutcomeCallable CreateOptimizationJobCallable(const CreateOptimizationJobRequestT& request) const
+ {
+ return SubmitCallable(&SageMakerClient::CreateOptimizationJob, request);
+ }
+
+ /**
+ * An Async wrapper for CreateOptimizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void CreateOptimizationJobAsync(const CreateOptimizationJobRequestT& request, const CreateOptimizationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&SageMakerClient::CreateOptimizationJob, request, handler, context);
+ }
+
/**
* Creates a pipeline using a JSON pipeline definition.
See Also:
* Deletes an optimization job.See Also:
AWS
+ * API Reference
+ */
+ virtual Model::DeleteOptimizationJobOutcome DeleteOptimizationJob(const Model::DeleteOptimizationJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for DeleteOptimizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DeleteOptimizationJobOutcomeCallable DeleteOptimizationJobCallable(const DeleteOptimizationJobRequestT& request) const
+ {
+ return SubmitCallable(&SageMakerClient::DeleteOptimizationJob, request);
+ }
+
+ /**
+ * An Async wrapper for DeleteOptimizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DeleteOptimizationJobAsync(const DeleteOptimizationJobRequestT& request, const DeleteOptimizationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&SageMakerClient::DeleteOptimizationJob, request, handler, context);
+ }
+
/**
* Deletes a pipeline if there are no running instances of the pipeline. To
* delete a pipeline, you must stop all running instances of the pipeline using the
@@ -4920,6 +4977,32 @@ namespace SageMaker
return SubmitAsync(&SageMakerClient::DescribeNotebookInstanceLifecycleConfig, request, handler, context);
}
+ /**
+ *
Provides the properties of the specified optimization job.
See
+ * Also:
AWS
+ * API Reference
+ */
+ virtual Model::DescribeOptimizationJobOutcome DescribeOptimizationJob(const Model::DescribeOptimizationJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for DescribeOptimizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::DescribeOptimizationJobOutcomeCallable DescribeOptimizationJobCallable(const DescribeOptimizationJobRequestT& request) const
+ {
+ return SubmitCallable(&SageMakerClient::DescribeOptimizationJob, request);
+ }
+
+ /**
+ * An Async wrapper for DescribeOptimizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void DescribeOptimizationJobAsync(const DescribeOptimizationJobRequestT& request, const DescribeOptimizationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&SageMakerClient::DescribeOptimizationJob, request, handler, context);
+ }
+
/**
* Describes the details of a pipeline.
See Also:
AWS
@@ -7039,6 +7122,32 @@ namespace SageMaker
return SubmitAsync(&SageMakerClient::ListNotebookInstances, request, handler, context);
}
+ /**
+ * Lists the optimization jobs in your account and their
+ * properties.
See Also:
AWS
+ * API Reference
+ */
+ virtual Model::ListOptimizationJobsOutcome ListOptimizationJobs(const Model::ListOptimizationJobsRequest& request = {}) const;
+
+ /**
+ * A Callable wrapper for ListOptimizationJobs that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::ListOptimizationJobsOutcomeCallable ListOptimizationJobsCallable(const ListOptimizationJobsRequestT& request = {}) const
+ {
+ return SubmitCallable(&SageMakerClient::ListOptimizationJobs, request);
+ }
+
+ /**
+ * An Async wrapper for ListOptimizationJobs that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void ListOptimizationJobsAsync(const ListOptimizationJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListOptimizationJobsRequestT& request = {}) const
+ {
+ return SubmitAsync(&SageMakerClient::ListOptimizationJobs, request, handler, context);
+ }
+
/**
* Gets a list of PipeLineExecutionStep
objects.
See
* Also:
Ends a running inference optimization job.See Also:
AWS
+ * API Reference
+ */
+ virtual Model::StopOptimizationJobOutcome StopOptimizationJob(const Model::StopOptimizationJobRequest& request) const;
+
+ /**
+ * A Callable wrapper for StopOptimizationJob that returns a future to the operation so that it can be executed in parallel to other requests.
+ */
+ template
+ Model::StopOptimizationJobOutcomeCallable StopOptimizationJobCallable(const StopOptimizationJobRequestT& request) const
+ {
+ return SubmitCallable(&SageMakerClient::StopOptimizationJob, request);
+ }
+
+ /**
+ * An Async wrapper for StopOptimizationJob that queues the request into a thread executor and triggers associated callback when operation has finished.
+ */
+ template
+ void StopOptimizationJobAsync(const StopOptimizationJobRequestT& request, const StopOptimizationJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const
+ {
+ return SubmitAsync(&SageMakerClient::StopOptimizationJob, request, handler, context);
+ }
+
/**
* Stops a pipeline execution.
Callback Step
A pipeline
* execution won't stop while a callback step is running. When you call
diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerServiceClientModel.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerServiceClientModel.h
index b6bff1d6f37..f2e6ed43231 100644
--- a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/SageMakerServiceClientModel.h
@@ -63,6 +63,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -143,6 +144,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -224,6 +226,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -344,6 +347,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -447,6 +451,7 @@ namespace Aws
class CreateMonitoringScheduleRequest;
class CreateNotebookInstanceRequest;
class CreateNotebookInstanceLifecycleConfigRequest;
+ class CreateOptimizationJobRequest;
class CreatePipelineRequest;
class CreatePresignedDomainUrlRequest;
class CreatePresignedMlflowTrackingServerUrlRequest;
@@ -503,6 +508,7 @@ namespace Aws
class DeleteMonitoringScheduleRequest;
class DeleteNotebookInstanceRequest;
class DeleteNotebookInstanceLifecycleConfigRequest;
+ class DeleteOptimizationJobRequest;
class DeletePipelineRequest;
class DeleteProjectRequest;
class DeleteSpaceRequest;
@@ -561,6 +567,7 @@ namespace Aws
class DescribeMonitoringScheduleRequest;
class DescribeNotebookInstanceRequest;
class DescribeNotebookInstanceLifecycleConfigRequest;
+ class DescribeOptimizationJobRequest;
class DescribePipelineRequest;
class DescribePipelineDefinitionForExecutionRequest;
class DescribePipelineExecutionRequest;
@@ -642,6 +649,7 @@ namespace Aws
class ListMonitoringSchedulesRequest;
class ListNotebookInstanceLifecycleConfigsRequest;
class ListNotebookInstancesRequest;
+ class ListOptimizationJobsRequest;
class ListPipelineExecutionStepsRequest;
class ListPipelineExecutionsRequest;
class ListPipelineParametersForExecutionRequest;
@@ -687,6 +695,7 @@ namespace Aws
class StopMlflowTrackingServerRequest;
class StopMonitoringScheduleRequest;
class StopNotebookInstanceRequest;
+ class StopOptimizationJobRequest;
class StopPipelineExecutionRequest;
class StopProcessingJobRequest;
class StopTrainingJobRequest;
@@ -780,6 +789,7 @@ namespace Aws
typedef Aws::Utils::Outcome CreateMonitoringScheduleOutcome;
typedef Aws::Utils::Outcome CreateNotebookInstanceOutcome;
typedef Aws::Utils::Outcome CreateNotebookInstanceLifecycleConfigOutcome;
+ typedef Aws::Utils::Outcome CreateOptimizationJobOutcome;
typedef Aws::Utils::Outcome CreatePipelineOutcome;
typedef Aws::Utils::Outcome CreatePresignedDomainUrlOutcome;
typedef Aws::Utils::Outcome CreatePresignedMlflowTrackingServerUrlOutcome;
@@ -836,6 +846,7 @@ namespace Aws
typedef Aws::Utils::Outcome DeleteMonitoringScheduleOutcome;
typedef Aws::Utils::Outcome DeleteNotebookInstanceOutcome;
typedef Aws::Utils::Outcome DeleteNotebookInstanceLifecycleConfigOutcome;
+ typedef Aws::Utils::Outcome DeleteOptimizationJobOutcome;
typedef Aws::Utils::Outcome DeletePipelineOutcome;
typedef Aws::Utils::Outcome DeleteProjectOutcome;
typedef Aws::Utils::Outcome DeleteSpaceOutcome;
@@ -894,6 +905,7 @@ namespace Aws
typedef Aws::Utils::Outcome DescribeMonitoringScheduleOutcome;
typedef Aws::Utils::Outcome DescribeNotebookInstanceOutcome;
typedef Aws::Utils::Outcome DescribeNotebookInstanceLifecycleConfigOutcome;
+ typedef Aws::Utils::Outcome DescribeOptimizationJobOutcome;
typedef Aws::Utils::Outcome DescribePipelineOutcome;
typedef Aws::Utils::Outcome DescribePipelineDefinitionForExecutionOutcome;
typedef Aws::Utils::Outcome DescribePipelineExecutionOutcome;
@@ -975,6 +987,7 @@ namespace Aws
typedef Aws::Utils::Outcome ListMonitoringSchedulesOutcome;
typedef Aws::Utils::Outcome ListNotebookInstanceLifecycleConfigsOutcome;
typedef Aws::Utils::Outcome ListNotebookInstancesOutcome;
+ typedef Aws::Utils::Outcome ListOptimizationJobsOutcome;
typedef Aws::Utils::Outcome ListPipelineExecutionStepsOutcome;
typedef Aws::Utils::Outcome ListPipelineExecutionsOutcome;
typedef Aws::Utils::Outcome ListPipelineParametersForExecutionOutcome;
@@ -1020,6 +1033,7 @@ namespace Aws
typedef Aws::Utils::Outcome StopMlflowTrackingServerOutcome;
typedef Aws::Utils::Outcome StopMonitoringScheduleOutcome;
typedef Aws::Utils::Outcome StopNotebookInstanceOutcome;
+ typedef Aws::Utils::Outcome StopOptimizationJobOutcome;
typedef Aws::Utils::Outcome StopPipelineExecutionOutcome;
typedef Aws::Utils::Outcome StopProcessingJobOutcome;
typedef Aws::Utils::Outcome StopTrainingJobOutcome;
@@ -1113,6 +1127,7 @@ namespace Aws
typedef std::future CreateMonitoringScheduleOutcomeCallable;
typedef std::future CreateNotebookInstanceOutcomeCallable;
typedef std::future CreateNotebookInstanceLifecycleConfigOutcomeCallable;
+ typedef std::future CreateOptimizationJobOutcomeCallable;
typedef std::future CreatePipelineOutcomeCallable;
typedef std::future CreatePresignedDomainUrlOutcomeCallable;
typedef std::future CreatePresignedMlflowTrackingServerUrlOutcomeCallable;
@@ -1169,6 +1184,7 @@ namespace Aws
typedef std::future DeleteMonitoringScheduleOutcomeCallable;
typedef std::future DeleteNotebookInstanceOutcomeCallable;
typedef std::future DeleteNotebookInstanceLifecycleConfigOutcomeCallable;
+ typedef std::future DeleteOptimizationJobOutcomeCallable;
typedef std::future DeletePipelineOutcomeCallable;
typedef std::future DeleteProjectOutcomeCallable;
typedef std::future DeleteSpaceOutcomeCallable;
@@ -1227,6 +1243,7 @@ namespace Aws
typedef std::future DescribeMonitoringScheduleOutcomeCallable;
typedef std::future DescribeNotebookInstanceOutcomeCallable;
typedef std::future DescribeNotebookInstanceLifecycleConfigOutcomeCallable;
+ typedef std::future DescribeOptimizationJobOutcomeCallable;
typedef std::future DescribePipelineOutcomeCallable;
typedef std::future DescribePipelineDefinitionForExecutionOutcomeCallable;
typedef std::future DescribePipelineExecutionOutcomeCallable;
@@ -1308,6 +1325,7 @@ namespace Aws
typedef std::future ListMonitoringSchedulesOutcomeCallable;
typedef std::future ListNotebookInstanceLifecycleConfigsOutcomeCallable;
typedef std::future ListNotebookInstancesOutcomeCallable;
+ typedef std::future ListOptimizationJobsOutcomeCallable;
typedef std::future ListPipelineExecutionStepsOutcomeCallable;
typedef std::future ListPipelineExecutionsOutcomeCallable;
typedef std::future ListPipelineParametersForExecutionOutcomeCallable;
@@ -1353,6 +1371,7 @@ namespace Aws
typedef std::future StopMlflowTrackingServerOutcomeCallable;
typedef std::future StopMonitoringScheduleOutcomeCallable;
typedef std::future StopNotebookInstanceOutcomeCallable;
+ typedef std::future StopOptimizationJobOutcomeCallable;
typedef std::future StopPipelineExecutionOutcomeCallable;
typedef std::future StopProcessingJobOutcomeCallable;
typedef std::future StopTrainingJobOutcomeCallable;
@@ -1449,6 +1468,7 @@ namespace Aws
typedef std::function&) > CreateMonitoringScheduleResponseReceivedHandler;
typedef std::function&) > CreateNotebookInstanceResponseReceivedHandler;
typedef std::function&) > CreateNotebookInstanceLifecycleConfigResponseReceivedHandler;
+ typedef std::function&) > CreateOptimizationJobResponseReceivedHandler;
typedef std::function&) > CreatePipelineResponseReceivedHandler;
typedef std::function&) > CreatePresignedDomainUrlResponseReceivedHandler;
typedef std::function&) > CreatePresignedMlflowTrackingServerUrlResponseReceivedHandler;
@@ -1505,6 +1525,7 @@ namespace Aws
typedef std::function&) > DeleteMonitoringScheduleResponseReceivedHandler;
typedef std::function&) > DeleteNotebookInstanceResponseReceivedHandler;
typedef std::function&) > DeleteNotebookInstanceLifecycleConfigResponseReceivedHandler;
+ typedef std::function&) > DeleteOptimizationJobResponseReceivedHandler;
typedef std::function&) > DeletePipelineResponseReceivedHandler;
typedef std::function&) > DeleteProjectResponseReceivedHandler;
typedef std::function&) > DeleteSpaceResponseReceivedHandler;
@@ -1563,6 +1584,7 @@ namespace Aws
typedef std::function&) > DescribeMonitoringScheduleResponseReceivedHandler;
typedef std::function&) > DescribeNotebookInstanceResponseReceivedHandler;
typedef std::function&) > DescribeNotebookInstanceLifecycleConfigResponseReceivedHandler;
+ typedef std::function&) > DescribeOptimizationJobResponseReceivedHandler;
typedef std::function&) > DescribePipelineResponseReceivedHandler;
typedef std::function&) > DescribePipelineDefinitionForExecutionResponseReceivedHandler;
typedef std::function&) > DescribePipelineExecutionResponseReceivedHandler;
@@ -1644,6 +1666,7 @@ namespace Aws
typedef std::function&) > ListMonitoringSchedulesResponseReceivedHandler;
typedef std::function&) > ListNotebookInstanceLifecycleConfigsResponseReceivedHandler;
typedef std::function&) > ListNotebookInstancesResponseReceivedHandler;
+ typedef std::function&) > ListOptimizationJobsResponseReceivedHandler;
typedef std::function&) > ListPipelineExecutionStepsResponseReceivedHandler;
typedef std::function&) > ListPipelineExecutionsResponseReceivedHandler;
typedef std::function&) > ListPipelineParametersForExecutionResponseReceivedHandler;
@@ -1689,6 +1712,7 @@ namespace Aws
typedef std::function&) > StopMlflowTrackingServerResponseReceivedHandler;
typedef std::function&) > StopMonitoringScheduleResponseReceivedHandler;
typedef std::function&) > StopNotebookInstanceResponseReceivedHandler;
+ typedef std::function&) > StopOptimizationJobResponseReceivedHandler;
typedef std::function&) > StopPipelineExecutionResponseReceivedHandler;
typedef std::function&) > StopProcessingJobResponseReceivedHandler;
typedef std::function&) > StopTrainingJobResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AdditionalModelDataSource.h b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AdditionalModelDataSource.h
new file mode 100644
index 00000000000..fa338f06b65
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-sagemaker/include/aws/sagemaker/model/AdditionalModelDataSource.h
@@ -0,0 +1,77 @@
+/**
+ * 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 SageMaker
+{
+namespace Model
+{
+
+ /**
+ *