Struct aws_sdk_rds::client::fluent_builders::CreateDBProxy [−][src]
pub struct CreateDBProxy<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateDBProxy
.
Creates a new DB proxy.
Implementations
impl<C, M, R> CreateDBProxy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDBProxy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDbProxyOutput, SdkError<CreateDBProxyError>> where
R::Policy: SmithyRetryPolicy<CreateDbProxyInputOperationOutputAlias, CreateDbProxyOutput, CreateDBProxyError, CreateDbProxyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDbProxyOutput, SdkError<CreateDBProxyError>> where
R::Policy: SmithyRetryPolicy<CreateDbProxyInputOperationOutputAlias, CreateDbProxyOutput, CreateDBProxyError, CreateDbProxyInputOperationRetryAlias>,
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 identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
Appends an item to Auth
.
To override the contents of this collection use set_auth
.
The authorization mechanism that the proxy uses.
The authorization mechanism that the proxy uses.
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
Appends an item to VpcSubnetIds
.
To override the contents of this collection use set_vpc_subnet_ids
.
One or more VPC subnet IDs to associate with the new proxy.
One or more VPC subnet IDs to associate with the new proxy.
Appends an item to VpcSecurityGroupIds
.
To override the contents of this collection use set_vpc_security_group_ids
.
One or more VPC security group IDs to associate with the new proxy.
One or more VPC security group IDs to associate with the new proxy.
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateDBProxy<C, M, R>
impl<C, M, R> Unpin for CreateDBProxy<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateDBProxy<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