Struct aws_sdk_rds::client::fluent_builders::CreateCustomDBEngineVersion [−][src]
pub struct CreateCustomDBEngineVersion<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateCustomDBEngineVersion
.
Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific AMI. The only supported engine is Oracle Database 19c Enterprise Edition with the January 2021 or later RU/RUR. For more information, see Amazon RDS Custom requirements and limitations in the Amazon RDS User Guide.
Amazon RDS, which is a fully managed service, supplies the Amazon Machine Image (AMI) and database software. The Amazon RDS database software is preinstalled, so you need only select a DB engine and version, and create your database. With Amazon RDS Custom, you upload your database installation files in Amazon S3. For more information, see Preparing to create a CEV in the Amazon RDS User Guide.
When you create a custom engine version, you specify the files in a JSON document called a CEV manifest. This document describes installation .zip files stored in Amazon S3. RDS Custom creates your CEV from the installation files that you provided. This service model is called Bring Your Own Media (BYOM).
Creation takes approximately two hours. If creation fails, RDS Custom issues RDS-EVENT-0196
with
the message Creation failed for custom engine version
, and includes details about the failure.
For example, the event prints missing files.
After you create the CEV, it is available for use. You can create multiple CEVs, and create multiple RDS Custom instances from any CEV. You can also change the status of a CEV to make it available or inactive.
The MediaImport service that imports files from Amazon S3 to create CEVs isn't integrated with
Amazon Web Services CloudTrail. If you turn on data logging for Amazon RDS in CloudTrail, calls to the
CreateCustomDbEngineVersion
event aren't logged. However, you might see calls from the
API gateway that accesses your Amazon S3 bucket. These calls originate from the MediaImport service for
the CreateCustomDbEngineVersion
event.
For more information, see Creating a CEV in the Amazon RDS User Guide.
Implementations
impl<C, M, R> CreateCustomDBEngineVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateCustomDBEngineVersion<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateCustomDbEngineVersionOutput, SdkError<CreateCustomDBEngineVersionError>> where
R::Policy: SmithyRetryPolicy<CreateCustomDbEngineVersionInputOperationOutputAlias, CreateCustomDbEngineVersionOutput, CreateCustomDBEngineVersionError, CreateCustomDbEngineVersionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateCustomDbEngineVersionOutput, SdkError<CreateCustomDBEngineVersionError>> where
R::Policy: SmithyRetryPolicy<CreateCustomDbEngineVersionInputOperationOutputAlias, CreateCustomDbEngineVersionOutput, CreateCustomDBEngineVersionError, CreateCustomDbEngineVersionInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The database engine to use for your custom engine version (CEV). The only supported value is
custom-oracle-ee
.
The database engine to use for your custom engine version (CEV). The only supported value is
custom-oracle-ee
.
The name of your CEV. The name format is 19.customized_string
. For example,
a valid name is 19.my_cev1
. This setting is required for RDS Custom, but optional for Amazon RDS.
The combination of Engine
and EngineVersion
is unique per customer per Region.
The name of your CEV. The name format is 19.customized_string
. For example,
a valid name is 19.my_cev1
. This setting is required for RDS Custom, but optional for Amazon RDS.
The combination of Engine
and EngineVersion
is unique per customer per Region.
The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid
bucket name is my-custom-installation-files
.
The name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid
bucket name is my-custom-installation-files
.
The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid
bucket name is 123456789012/cev1
. If this setting isn't specified, no prefix is assumed.
The Amazon S3 directory that contains the database installation files for your CEV. For example, a valid
bucket name is 123456789012/cev1
. If this setting isn't specified, no prefix is assumed.
The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric KMS key is required for RDS Custom, but optional for Amazon RDS.
If you have an existing symmetric KMS key in your account, you can use it with RDS Custom. No further action is necessary. If you don't already have a symmetric KMS key in your account, follow the instructions in Creating symmetric KMS keys in the Amazon Web Services Key Management Service Developer Guide.
You can choose the same symmetric key when you create a CEV and a DB instance, or choose different keys.
The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric KMS key is required for RDS Custom, but optional for Amazon RDS.
If you have an existing symmetric KMS key in your account, you can use it with RDS Custom. No further action is necessary. If you don't already have a symmetric KMS key in your account, follow the instructions in Creating symmetric KMS keys in the Amazon Web Services Key Management Service Developer Guide.
You can choose the same symmetric key when you create a CEV and a DB instance, or choose different keys.
An optional description of your CEV.
An optional description of your CEV.
The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.
The following JSON fields are valid:
- MediaImportTemplateVersion
-
Version of the CEV manifest. The date is in the format
YYYY-MM-DD
. - databaseInstallationFileNames
-
Ordered list of installation files for the CEV.
- opatchFileNames
-
Ordered list of OPatch installers used for the Oracle DB engine.
- psuRuPatchFileNames
-
The PSU and RU patches for this CEV.
- OtherPatchFileNames
-
The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.
For more information, see Creating the CEV manifest in the Amazon RDS User Guide.
The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.
The following JSON fields are valid:
- MediaImportTemplateVersion
-
Version of the CEV manifest. The date is in the format
YYYY-MM-DD
. - databaseInstallationFileNames
-
Ordered list of installation files for the CEV.
- opatchFileNames
-
Ordered list of OPatch installers used for the Oracle DB engine.
- psuRuPatchFileNames
-
The PSU and RU patches for this CEV.
- OtherPatchFileNames
-
The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.
For more information, see Creating the CEV manifest in the Amazon RDS User Guide.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateCustomDBEngineVersion<C, M, R>
impl<C, M, R> Send for CreateCustomDBEngineVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateCustomDBEngineVersion<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateCustomDBEngineVersion<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateCustomDBEngineVersion<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more