#[non_exhaustive]pub struct PutProvisionedConcurrencyConfigInput { /* private fields */ }
Implementations§
source§impl PutProvisionedConcurrencyConfigInput
impl PutProvisionedConcurrencyConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutProvisionedConcurrencyConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutProvisionedConcurrencyConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutProvisionedConcurrencyConfig
>
Examples found in repository?
src/client.rs (line 7366)
7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutProvisionedConcurrencyConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutProvisionedConcurrencyConfigError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::PutProvisionedConcurrencyConfigOutput,
aws_smithy_http::result::SdkError<crate::error::PutProvisionedConcurrencyConfigError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutProvisionedConcurrencyConfigInput
.
source§impl PutProvisionedConcurrencyConfigInput
impl PutProvisionedConcurrencyConfigInput
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
The name of the Lambda function.
Name formats
-
Function name -
my-function
. -
Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. -
Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
sourcepub fn provisioned_concurrent_executions(&self) -> Option<i32>
pub fn provisioned_concurrent_executions(&self) -> Option<i32>
The amount of provisioned concurrency to allocate for the version or alias.
Trait Implementations§
source§impl Clone for PutProvisionedConcurrencyConfigInput
impl Clone for PutProvisionedConcurrencyConfigInput
source§fn clone(&self) -> PutProvisionedConcurrencyConfigInput
fn clone(&self) -> PutProvisionedConcurrencyConfigInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more