LambdaClient
extends AwsClient
in package
This client is used to interact with AWS Lambda
Supported API Versions
This class uses a service description model that is associated at
runtime based on the version
option given when constructing the
client. The version
option will determine which API operations,
waiters, and paginators are available for a client. Creating a command or a
specific API operation can be done using magic methods (e.g.,
$client->commandName(/** parameters */)
, or using the
$client->getCommand
method of the client.
- AddLayerVersionPermission
- AddPermission
- CreateAlias
- CreateCodeSigningConfig
- CreateEventSourceMapping
- CreateFunction
- CreateFunctionUrlConfig
- DeleteAlias
- DeleteCodeSigningConfig
- DeleteEventSourceMapping
- DeleteFunction
- DeleteFunctionCodeSigningConfig
- DeleteFunctionConcurrency
- DeleteFunctionEventInvokeConfig
- DeleteFunctionUrlConfig
- DeleteLayerVersion
- DeleteProvisionedConcurrencyConfig
- GetAccountSettings
- GetAlias
- GetCodeSigningConfig
- GetEventSourceMapping
- GetFunction
- GetFunctionCodeSigningConfig
- GetFunctionConcurrency
- GetFunctionConfiguration
- GetFunctionEventInvokeConfig
- GetFunctionRecursionConfig
- GetFunctionUrlConfig
- GetLayerVersion
- GetLayerVersionByArn
- GetLayerVersionPolicy
- GetPolicy
- GetProvisionedConcurrencyConfig
- GetRuntimeManagementConfig
- Invoke
- InvokeAsync
- InvokeWithResponseStream
- ListAliases
- ListCodeSigningConfigs
- ListEventSourceMappings
- ListFunctionEventInvokeConfigs
- ListFunctionUrlConfigs
- ListFunctions
- ListFunctionsByCodeSigningConfig
- ListLayerVersions
- ListLayers
- ListProvisionedConcurrencyConfigs
- ListTags
- ListVersionsByFunction
- PublishLayerVersion
- PublishVersion
- PutFunctionCodeSigningConfig
- PutFunctionConcurrency
- PutFunctionEventInvokeConfig
- PutFunctionRecursionConfig
- PutProvisionedConcurrencyConfig
- PutRuntimeManagementConfig
- RemoveLayerVersionPermission
- RemovePermission
- TagResource
- UntagResource
- UpdateAlias
- UpdateCodeSigningConfig
- UpdateEventSourceMapping
- UpdateFunctionCode
- UpdateFunctionConfiguration
- UpdateFunctionEventInvokeConfig
- UpdateFunctionUrlConfig
Table of Contents
Methods
- __call() : mixed
- __construct() : mixed
- The client constructor accepts the following options:
- __sleep() : mixed
- emitDeprecationWarning() : mixed
- execute() : mixed
- executeAsync() : mixed
- factory() : static
- getApi() : Service
- getArguments() : array<string|int, mixed>
- Get an array of client constructor arguments used by the client.
- getClientBuiltIns() : array<string|int, mixed>
- Provides the set of built-in keys and values used for endpoint resolution
- getClientContextParams() : array<string|int, mixed>
- Provides the set of service context parameter key-value pairs used for endpoint resolution.
- getCommand() : CommandInterface
- getConfig() : mixed|null
- Get a client configuration value.
- getCredentials() : PromiseInterface
- Returns a promise that is fulfilled with an {@see \Aws\Credentials\CredentialsInterface} object.
- getDefaultCurlOptionsMiddleware() : callable
- Provides a middleware that sets default Curl options for the command
- getEndpoint() : UriInterface
- Gets the default endpoint, or base URL, used by the client.
- getEndpointProvider() : mixed
- getEndpointProviderArgs() : array<string|int, mixed>
- Retrieves arguments to be used in endpoint resolution.
- getHandlerList() : HandlerList
- Get the handler list used to transfer commands.
- getIterator() : mixed
- getPaginator() : mixed
- getRegion() : string
- Get the region to which the client is configured to send requests.
- getSignatureProvider() : callable
- Get the signature_provider function of the client.
- getWaiter() : mixed
- waitUntil() : mixed
Methods
__call()
public
__call(mixed $name, array<string|int, mixed> $args) : mixed
Parameters
- $name : mixed
- $args : array<string|int, mixed>
__construct()
The client constructor accepts the following options:
public
__construct(array<string|int, mixed> $args) : mixed
Parameters
- $args : array<string|int, mixed>
-
Client configuration arguments.
__sleep()
public
__sleep() : mixed
emitDeprecationWarning()
public
static emitDeprecationWarning() : mixed
execute()
public
execute(CommandInterface $command) : mixed
Parameters
- $command : CommandInterface
executeAsync()
public
executeAsync(CommandInterface $command) : mixed
Parameters
- $command : CommandInterface
factory()
public
static factory([array<string|int, mixed> $config = [] ]) : static
Parameters
- $config : array<string|int, mixed> = []
Tags
Return values
staticgetApi()
public
abstract getApi() : Service
Return values
ServicegetArguments()
Get an array of client constructor arguments used by the client.
public
static getArguments() : array<string|int, mixed>
Return values
array<string|int, mixed>getClientBuiltIns()
Provides the set of built-in keys and values used for endpoint resolution
public
getClientBuiltIns() : array<string|int, mixed>
Return values
array<string|int, mixed>getClientContextParams()
Provides the set of service context parameter key-value pairs used for endpoint resolution.
public
getClientContextParams() : array<string|int, mixed>
Return values
array<string|int, mixed>getCommand()
public
abstract getCommand(string $name[, array<string|int, mixed> $args = [] ]) : CommandInterface
Parameters
- $name : string
- $args : array<string|int, mixed> = []
Return values
CommandInterfacegetConfig()
Get a client configuration value.
public
getConfig([mixed $option = null ]) : mixed|null
Parameters
- $option : mixed = null
-
The option to retrieve. Pass null to retrieve all options.
Return values
mixed|nullgetCredentials()
Returns a promise that is fulfilled with an {@see \Aws\Credentials\CredentialsInterface} object.
public
getCredentials() : PromiseInterface
If you need the credentials synchronously, then call the wait() method on the returned promise.
Return values
PromiseInterfacegetDefaultCurlOptionsMiddleware()
Provides a middleware that sets default Curl options for the command
public
getDefaultCurlOptionsMiddleware() : callable
Return values
callablegetEndpoint()
Gets the default endpoint, or base URL, used by the client.
public
getEndpoint() : UriInterface
Return values
UriInterfacegetEndpointProvider()
public
getEndpointProvider() : mixed
getEndpointProviderArgs()
Retrieves arguments to be used in endpoint resolution.
public
getEndpointProviderArgs() : array<string|int, mixed>
Return values
array<string|int, mixed>getHandlerList()
Get the handler list used to transfer commands.
public
getHandlerList() : HandlerList
This list can be modified to add middleware or to change the underlying handler used to send HTTP requests.
Return values
HandlerListgetIterator()
public
getIterator(mixed $name[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $name : mixed
- $args : array<string|int, mixed> = []
getPaginator()
public
getPaginator(mixed $name[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $name : mixed
- $args : array<string|int, mixed> = []
getRegion()
Get the region to which the client is configured to send requests.
public
getRegion() : string
Return values
stringgetSignatureProvider()
Get the signature_provider function of the client.
public
final getSignatureProvider() : callable
Return values
callablegetWaiter()
public
getWaiter(mixed $name[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $name : mixed
- $args : array<string|int, mixed> = []
waitUntil()
public
waitUntil(mixed $name[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
- $name : mixed
- $args : array<string|int, mixed> = []