aws_sdk_lambda/client/get_function_concurrency.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetFunctionConcurrency`](crate::operation::get_function_concurrency::builders::GetFunctionConcurrencyFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`function_name(impl Into<String>)`](crate::operation::get_function_concurrency::builders::GetFunctionConcurrencyFluentBuilder::function_name) / [`set_function_name(Option<String>)`](crate::operation::get_function_concurrency::builders::GetFunctionConcurrencyFluentBuilder::set_function_name):<br>required: **true**<br><p>The name or ARN of the Lambda function.</p> <p class="title"><b>Name formats</b></p> <ul> <li> <p><b>Function name</b> – <code>my-function</code>.</p></li> <li> <p><b>Function ARN</b> – <code>arn:aws:lambda:us-west-2:123456789012:function:my-function</code>.</p></li> <li> <p><b>Partial ARN</b> – <code>123456789012:function:my-function</code>.</p></li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p><br>
7 /// - On success, responds with [`GetFunctionConcurrencyOutput`](crate::operation::get_function_concurrency::GetFunctionConcurrencyOutput) with field(s):
8 /// - [`reserved_concurrent_executions(Option<i32>)`](crate::operation::get_function_concurrency::GetFunctionConcurrencyOutput::reserved_concurrent_executions): <p>The number of simultaneous executions that are reserved for the function.</p>
9 /// - On failure, responds with [`SdkError<GetFunctionConcurrencyError>`](crate::operation::get_function_concurrency::GetFunctionConcurrencyError)
10 pub fn get_function_concurrency(&self) -> crate::operation::get_function_concurrency::builders::GetFunctionConcurrencyFluentBuilder {
11 crate::operation::get_function_concurrency::builders::GetFunctionConcurrencyFluentBuilder::new(self.handle.clone())
12 }
13}