Struct aws_sdk_lambda::client::Client
source ·
[−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for AWS Lambda
Client for invoking operations on AWS Lambda. Each operation on AWS Lambda is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_lambda::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_lambda::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_lambda::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AddLayerVersionPermission
operation.
See AddLayerVersionPermission
for more information about the
operation and its arguments.
Constructs a fluent builder for the AddPermission
operation.
See AddPermission
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateAlias
operation.
See CreateAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateCodeSigningConfig
operation.
See CreateCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEventSourceMapping
operation.
See CreateEventSourceMapping
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateFunction
operation.
See CreateFunction
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAlias
operation.
See DeleteAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteCodeSigningConfig
operation.
See DeleteCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEventSourceMapping
operation.
See DeleteEventSourceMapping
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteFunction
operation.
See DeleteFunction
for more information about the
operation and its arguments.
pub fn delete_function_code_signing_config(
&self
) -> DeleteFunctionCodeSigningConfig<C, M, R>
pub fn delete_function_code_signing_config(
&self
) -> DeleteFunctionCodeSigningConfig<C, M, R>
Constructs a fluent builder for the DeleteFunctionCodeSigningConfig
operation.
See DeleteFunctionCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteFunctionConcurrency
operation.
See DeleteFunctionConcurrency
for more information about the
operation and its arguments.
pub fn delete_function_event_invoke_config(
&self
) -> DeleteFunctionEventInvokeConfig<C, M, R>
pub fn delete_function_event_invoke_config(
&self
) -> DeleteFunctionEventInvokeConfig<C, M, R>
Constructs a fluent builder for the DeleteFunctionEventInvokeConfig
operation.
See DeleteFunctionEventInvokeConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteLayerVersion
operation.
See DeleteLayerVersion
for more information about the
operation and its arguments.
pub fn delete_provisioned_concurrency_config(
&self
) -> DeleteProvisionedConcurrencyConfig<C, M, R>
pub fn delete_provisioned_concurrency_config(
&self
) -> DeleteProvisionedConcurrencyConfig<C, M, R>
Constructs a fluent builder for the DeleteProvisionedConcurrencyConfig
operation.
See DeleteProvisionedConcurrencyConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccountSettings
operation.
See GetAccountSettings
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAlias
operation.
See GetAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetCodeSigningConfig
operation.
See GetCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEventSourceMapping
operation.
See GetEventSourceMapping
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFunction
operation.
See GetFunction
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFunctionCodeSigningConfig
operation.
See GetFunctionCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFunctionConcurrency
operation.
See GetFunctionConcurrency
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFunctionConfiguration
operation.
See GetFunctionConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFunctionEventInvokeConfig
operation.
See GetFunctionEventInvokeConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetLayerVersion
operation.
See GetLayerVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetLayerVersionByArn
operation.
See GetLayerVersionByArn
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetLayerVersionPolicy
operation.
See GetLayerVersionPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetPolicy
operation.
See GetPolicy
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetProvisionedConcurrencyConfig
operation.
See GetProvisionedConcurrencyConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the Invoke
operation.
See Invoke
for more information about the
operation and its arguments.
Constructs a fluent builder for the InvokeAsync
operation.
See InvokeAsync
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListAliases
operation.
See ListAliases
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListCodeSigningConfigs
operation.
See ListCodeSigningConfigs
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListEventSourceMappings
operation.
See ListEventSourceMappings
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListFunctionEventInvokeConfigs
operation.
See ListFunctionEventInvokeConfigs
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListFunctions
operation.
See ListFunctions
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn list_functions_by_code_signing_config(
&self
) -> ListFunctionsByCodeSigningConfig<C, M, R>
pub fn list_functions_by_code_signing_config(
&self
) -> ListFunctionsByCodeSigningConfig<C, M, R>
Constructs a fluent builder for the ListFunctionsByCodeSigningConfig
operation.
See ListFunctionsByCodeSigningConfig
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListLayers
operation.
See ListLayers
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListLayerVersions
operation.
See ListLayerVersions
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
pub fn list_provisioned_concurrency_configs(
&self
) -> ListProvisionedConcurrencyConfigs<C, M, R>
pub fn list_provisioned_concurrency_configs(
&self
) -> ListProvisionedConcurrencyConfigs<C, M, R>
Constructs a fluent builder for the ListProvisionedConcurrencyConfigs
operation.
See ListProvisionedConcurrencyConfigs
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListTags
operation.
See ListTags
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListVersionsByFunction
operation.
See ListVersionsByFunction
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the PublishLayerVersion
operation.
See PublishLayerVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the PublishVersion
operation.
See PublishVersion
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutFunctionCodeSigningConfig
operation.
See PutFunctionCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutFunctionConcurrency
operation.
See PutFunctionConcurrency
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutFunctionEventInvokeConfig
operation.
See PutFunctionEventInvokeConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the PutProvisionedConcurrencyConfig
operation.
See PutProvisionedConcurrencyConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the RemoveLayerVersionPermission
operation.
See RemoveLayerVersionPermission
for more information about the
operation and its arguments.
Constructs a fluent builder for the RemovePermission
operation.
See RemovePermission
for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource
operation.
See TagResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource
operation.
See UntagResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateAlias
operation.
See UpdateAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateCodeSigningConfig
operation.
See UpdateCodeSigningConfig
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateEventSourceMapping
operation.
See UpdateEventSourceMapping
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateFunctionCode
operation.
See UpdateFunctionCode
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateFunctionConfiguration
operation.
See UpdateFunctionConfiguration
for more information about the
operation and its arguments.
pub fn update_function_event_invoke_config(
&self
) -> UpdateFunctionEventInvokeConfig<C, M, R>
pub fn update_function_event_invoke_config(
&self
) -> UpdateFunctionEventInvokeConfig<C, M, R>
Constructs a fluent builder for the UpdateFunctionEventInvokeConfig
operation.
See UpdateFunctionEventInvokeConfig
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<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