Interface LambdaWebClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
The AWS Lambda Web Functions APIs (LambdaWeb namespace) are experimental and for internal AWS use only.
They are not yet available to external customers.
AWS Lambda Web Functions let you run web applications and APIs as HTTP servers on Lambda. A web function has one or more immutable revisions (code and configuration) and one or more endpoints that expose it over HTTPS.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaWebClientBuilderbuilder()Create a builder that can be used to configure and create aLambdaWebClient.static LambdaWebClientcreate()Create aLambdaWebClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateWebFunctionResponsecreateWebFunction(Consumer<CreateWebFunctionRequest.Builder> createWebFunctionRequest) Creates a web function with an initial revision and endpoint.default CreateWebFunctionResponsecreateWebFunction(CreateWebFunctionRequest createWebFunctionRequest) Creates a web function with an initial revision and endpoint.createWebFunctionEndpoint(Consumer<CreateWebFunctionEndpointRequest.Builder> createWebFunctionEndpointRequest) Creates an endpoint for a web function.createWebFunctionEndpoint(CreateWebFunctionEndpointRequest createWebFunctionEndpointRequest) Creates an endpoint for a web function.createWebFunctionRevision(Consumer<CreateWebFunctionRevisionRequest.Builder> createWebFunctionRevisionRequest) Creates an immutable revision for a web function.createWebFunctionRevision(CreateWebFunctionRevisionRequest createWebFunctionRevisionRequest) Creates an immutable revision for a web function.default DeleteResourcePolicyResponsedeleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) Removes the resource-based policy from a web function.default DeleteResourcePolicyResponsedeleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) Removes the resource-based policy from a web function.default DeleteWebFunctionResponsedeleteWebFunction(Consumer<DeleteWebFunctionRequest.Builder> deleteWebFunctionRequest) Deletes a web function and all of its associated revisions and endpoints.default DeleteWebFunctionResponsedeleteWebFunction(DeleteWebFunctionRequest deleteWebFunctionRequest) Deletes a web function and all of its associated revisions and endpoints.deleteWebFunctionEndpoint(Consumer<DeleteWebFunctionEndpointRequest.Builder> deleteWebFunctionEndpointRequest) Deletes a web function endpoint.deleteWebFunctionEndpoint(DeleteWebFunctionEndpointRequest deleteWebFunctionEndpointRequest) Deletes a web function endpoint.deleteWebFunctionRevision(Consumer<DeleteWebFunctionRevisionRequest.Builder> deleteWebFunctionRevisionRequest) Deletes a web function revision.deleteWebFunctionRevision(DeleteWebFunctionRevisionRequest deleteWebFunctionRevisionRequest) Deletes a web function revision.default GetResourcePolicyResponsegetResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) Retrieves the resource-based policy attached to a web function.default GetResourcePolicyResponsegetResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) Retrieves the resource-based policy attached to a web function.default GetWebAccountSettingsResponsegetWebAccountSettings(Consumer<GetWebAccountSettingsRequest.Builder> getWebAccountSettingsRequest) Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.default GetWebAccountSettingsResponsegetWebAccountSettings(GetWebAccountSettingsRequest getWebAccountSettingsRequest) Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.default GetWebFunctionResponsegetWebFunction(Consumer<GetWebFunctionRequest.Builder> getWebFunctionRequest) Retrieves details about a web function, including its current state and configuration.default GetWebFunctionResponsegetWebFunction(GetWebFunctionRequest getWebFunctionRequest) Retrieves details about a web function, including its current state and configuration.default GetWebFunctionEndpointResponsegetWebFunctionEndpoint(Consumer<GetWebFunctionEndpointRequest.Builder> getWebFunctionEndpointRequest) Retrieves details about a web function endpoint, including its current state, configuration, and domain name.default GetWebFunctionEndpointResponsegetWebFunctionEndpoint(GetWebFunctionEndpointRequest getWebFunctionEndpointRequest) Retrieves details about a web function endpoint, including its current state, configuration, and domain name.default GetWebFunctionRevisionResponsegetWebFunctionRevision(Consumer<GetWebFunctionRevisionRequest.Builder> getWebFunctionRevisionRequest) Retrieves details about a web function revision, including its state and configuration.default GetWebFunctionRevisionResponsegetWebFunctionRevision(GetWebFunctionRevisionRequest getWebFunctionRevisionRequest) Retrieves details about a web function revision, including its state and configuration.default ListTagsResponselistTags(Consumer<ListTagsRequest.Builder> listTagsRequest) Returns a list of tags applied to a web function.default ListTagsResponselistTags(ListTagsRequest listTagsRequest) Returns a list of tags applied to a web function.default ListWebFunctionEndpointsResponselistWebFunctionEndpoints(Consumer<ListWebFunctionEndpointsRequest.Builder> listWebFunctionEndpointsRequest) Lists endpoints for a web function.default ListWebFunctionEndpointsResponselistWebFunctionEndpoints(ListWebFunctionEndpointsRequest listWebFunctionEndpointsRequest) Lists endpoints for a web function.default ListWebFunctionEndpointsIterablelistWebFunctionEndpointsPaginator(Consumer<ListWebFunctionEndpointsRequest.Builder> listWebFunctionEndpointsRequest) This is a variant oflistWebFunctionEndpoints(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsRequest)operation.default ListWebFunctionEndpointsIterablelistWebFunctionEndpointsPaginator(ListWebFunctionEndpointsRequest listWebFunctionEndpointsRequest) This is a variant oflistWebFunctionEndpoints(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsRequest)operation.default ListWebFunctionRevisionsResponselistWebFunctionRevisions(Consumer<ListWebFunctionRevisionsRequest.Builder> listWebFunctionRevisionsRequest) Lists revisions for a web function.default ListWebFunctionRevisionsResponselistWebFunctionRevisions(ListWebFunctionRevisionsRequest listWebFunctionRevisionsRequest) Lists revisions for a web function.default ListWebFunctionRevisionsIterablelistWebFunctionRevisionsPaginator(Consumer<ListWebFunctionRevisionsRequest.Builder> listWebFunctionRevisionsRequest) This is a variant oflistWebFunctionRevisions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsRequest)operation.default ListWebFunctionRevisionsIterablelistWebFunctionRevisionsPaginator(ListWebFunctionRevisionsRequest listWebFunctionRevisionsRequest) This is a variant oflistWebFunctionRevisions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsRequest)operation.default ListWebFunctionsResponselistWebFunctions(Consumer<ListWebFunctionsRequest.Builder> listWebFunctionsRequest) Lists web functions in your account.default ListWebFunctionsResponselistWebFunctions(ListWebFunctionsRequest listWebFunctionsRequest) Lists web functions in your account.default ListWebFunctionsIterablelistWebFunctionsPaginator(Consumer<ListWebFunctionsRequest.Builder> listWebFunctionsRequest) This is a variant oflistWebFunctions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsRequest)operation.default ListWebFunctionsIterablelistWebFunctionsPaginator(ListWebFunctionsRequest listWebFunctionsRequest) This is a variant oflistWebFunctions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsRequest)operation.default PutResourcePolicyResponseputResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) Adds or updates a resource-based policy on a web function.default PutResourcePolicyResponseputResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) Adds or updates a resource-based policy on a web function.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a web function.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds tags to a web function.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a web function.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes tags from a web function.updateWebFunctionEndpoint(Consumer<UpdateWebFunctionEndpointRequest.Builder> updateWebFunctionEndpointRequest) Updates the configuration of a web function endpoint.updateWebFunctionEndpoint(UpdateWebFunctionEndpointRequest updateWebFunctionEndpointRequest) Updates the configuration of a web function endpoint.default LambdaWebWaiterwaiter()Create an instance ofLambdaWebWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createWebFunction
default CreateWebFunctionResponse createWebFunction(CreateWebFunctionRequest createWebFunctionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Creates a web function with an initial revision and endpoint. To create a web function, you provide the function name, revision configuration (code and service settings), and endpoint configuration.
To use this operation, you must have the
CreateWebFunctionpermission on the web function. You don't need separate permissions for the initial revision or endpoint.This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
createWebFunctionRequest- The request to create a web function.- Returns:
- Result of the CreateWebFunction operation returned by the service.
- See Also:
-
createWebFunction
default CreateWebFunctionResponse createWebFunction(Consumer<CreateWebFunctionRequest.Builder> createWebFunctionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Creates a web function with an initial revision and endpoint. To create a web function, you provide the function name, revision configuration (code and service settings), and endpoint configuration.
To use this operation, you must have the
CreateWebFunctionpermission on the web function. You don't need separate permissions for the initial revision or endpoint.This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
CreateWebFunctionRequest.Builderavoiding the need to create one manually viaCreateWebFunctionRequest.builder()- Parameters:
createWebFunctionRequest- AConsumerthat will call methods onCreateWebFunctionRequest.Builderto create a request. The request to create a web function.- Returns:
- Result of the CreateWebFunction operation returned by the service.
- See Also:
-
createWebFunctionEndpoint
default CreateWebFunctionEndpointResponse createWebFunctionEndpoint(CreateWebFunctionEndpointRequest createWebFunctionEndpointRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Creates an endpoint for a web function. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions.
To use this operation, you must have the
CreateWebFunctionEndpointpermission on the web function, not on the endpoint being created.This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
createWebFunctionEndpointRequest- The request to create a web function endpoint.- Returns:
- Result of the CreateWebFunctionEndpoint operation returned by the service.
- See Also:
-
createWebFunctionEndpoint
default CreateWebFunctionEndpointResponse createWebFunctionEndpoint(Consumer<CreateWebFunctionEndpointRequest.Builder> createWebFunctionEndpointRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Creates an endpoint for a web function. An endpoint exposes the web function over HTTPS and routes traffic to one or more revisions.
To use this operation, you must have the
CreateWebFunctionEndpointpermission on the web function, not on the endpoint being created.This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
CreateWebFunctionEndpointRequest.Builderavoiding the need to create one manually viaCreateWebFunctionEndpointRequest.builder()- Parameters:
createWebFunctionEndpointRequest- AConsumerthat will call methods onCreateWebFunctionEndpointRequest.Builderto create a request. The request to create a web function endpoint.- Returns:
- Result of the CreateWebFunctionEndpoint operation returned by the service.
- See Also:
-
createWebFunctionRevision
default CreateWebFunctionRevisionResponse createWebFunctionRevision(CreateWebFunctionRevisionRequest createWebFunctionRevisionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Creates an immutable revision for a web function. A revision represents a specific version of the function code and configuration.
To use this operation, you must have the
CreateWebFunctionRevisionpermission on the web function, not on the revision being created.This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
createWebFunctionRevisionRequest- The request to create a web function revision.- Returns:
- Result of the CreateWebFunctionRevision operation returned by the service.
- See Also:
-
createWebFunctionRevision
default CreateWebFunctionRevisionResponse createWebFunctionRevision(Consumer<CreateWebFunctionRevisionRequest.Builder> createWebFunctionRevisionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Creates an immutable revision for a web function. A revision represents a specific version of the function code and configuration.
To use this operation, you must have the
CreateWebFunctionRevisionpermission on the web function, not on the revision being created.This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
CreateWebFunctionRevisionRequest.Builderavoiding the need to create one manually viaCreateWebFunctionRevisionRequest.builder()- Parameters:
createWebFunctionRevisionRequest- AConsumerthat will call methods onCreateWebFunctionRevisionRequest.Builderto create a request. The request to create a web function revision.- Returns:
- Result of the CreateWebFunctionRevision operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(DeleteResourcePolicyRequest deleteResourcePolicyRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Removes the resource-based policy from a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
deleteResourcePolicyRequest- The request to delete a resource-based policy.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteResourcePolicy
default DeleteResourcePolicyResponse deleteResourcePolicy(Consumer<DeleteResourcePolicyRequest.Builder> deleteResourcePolicyRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Removes the resource-based policy from a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
DeleteResourcePolicyRequest.Builderavoiding the need to create one manually viaDeleteResourcePolicyRequest.builder()- Parameters:
deleteResourcePolicyRequest- AConsumerthat will call methods onDeleteResourcePolicyRequest.Builderto create a request. The request to delete a resource-based policy.- Returns:
- Result of the DeleteResourcePolicy operation returned by the service.
- See Also:
-
deleteWebFunction
default DeleteWebFunctionResponse deleteWebFunction(DeleteWebFunctionRequest deleteWebFunctionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Deletes a web function and all of its associated revisions and endpoints.
To use this operation, you must have the
DeleteWebFunctionpermission on the web function. You don't need theDeleteWebFunctionRevisionorDeleteWebFunctionEndpointpermission.This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
deleteWebFunctionRequest- The request to delete a web function.- Returns:
- Result of the DeleteWebFunction operation returned by the service.
- See Also:
-
deleteWebFunction
default DeleteWebFunctionResponse deleteWebFunction(Consumer<DeleteWebFunctionRequest.Builder> deleteWebFunctionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Deletes a web function and all of its associated revisions and endpoints.
To use this operation, you must have the
DeleteWebFunctionpermission on the web function. You don't need theDeleteWebFunctionRevisionorDeleteWebFunctionEndpointpermission.This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
DeleteWebFunctionRequest.Builderavoiding the need to create one manually viaDeleteWebFunctionRequest.builder()- Parameters:
deleteWebFunctionRequest- AConsumerthat will call methods onDeleteWebFunctionRequest.Builderto create a request. The request to delete a web function.- Returns:
- Result of the DeleteWebFunction operation returned by the service.
- See Also:
-
deleteWebFunctionEndpoint
default DeleteWebFunctionEndpointResponse deleteWebFunctionEndpoint(DeleteWebFunctionEndpointRequest deleteWebFunctionEndpointRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Deletes a web function endpoint.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
deleteWebFunctionEndpointRequest- The request to delete a web function endpoint.- Returns:
- Result of the DeleteWebFunctionEndpoint operation returned by the service.
- See Also:
-
deleteWebFunctionEndpoint
default DeleteWebFunctionEndpointResponse deleteWebFunctionEndpoint(Consumer<DeleteWebFunctionEndpointRequest.Builder> deleteWebFunctionEndpointRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Deletes a web function endpoint.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
DeleteWebFunctionEndpointRequest.Builderavoiding the need to create one manually viaDeleteWebFunctionEndpointRequest.builder()- Parameters:
deleteWebFunctionEndpointRequest- AConsumerthat will call methods onDeleteWebFunctionEndpointRequest.Builderto create a request. The request to delete a web function endpoint.- Returns:
- Result of the DeleteWebFunctionEndpoint operation returned by the service.
- See Also:
-
deleteWebFunctionRevision
default DeleteWebFunctionRevisionResponse deleteWebFunctionRevision(DeleteWebFunctionRevisionRequest deleteWebFunctionRevisionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
deleteWebFunctionRevisionRequest- The request to delete a web function revision.- Returns:
- Result of the DeleteWebFunctionRevision operation returned by the service.
- See Also:
-
deleteWebFunctionRevision
default DeleteWebFunctionRevisionResponse deleteWebFunctionRevision(Consumer<DeleteWebFunctionRevisionRequest.Builder> deleteWebFunctionRevisionRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Deletes a web function revision. You cannot delete a revision that is currently serving traffic on an endpoint.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
DeleteWebFunctionRevisionRequest.Builderavoiding the need to create one manually viaDeleteWebFunctionRevisionRequest.builder()- Parameters:
deleteWebFunctionRevisionRequest- AConsumerthat will call methods onDeleteWebFunctionRevisionRequest.Builderto create a request. The request to delete a web function revision.- Returns:
- Result of the DeleteWebFunctionRevision operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(GetResourcePolicyRequest getResourcePolicyRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves the resource-based policy attached to a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
getResourcePolicyRequest- The request to retrieve a resource-based policy.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getResourcePolicy
default GetResourcePolicyResponse getResourcePolicy(Consumer<GetResourcePolicyRequest.Builder> getResourcePolicyRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves the resource-based policy attached to a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
GetResourcePolicyRequest.Builderavoiding the need to create one manually viaGetResourcePolicyRequest.builder()- Parameters:
getResourcePolicyRequest- AConsumerthat will call methods onGetResourcePolicyRequest.Builderto create a request. The request to retrieve a resource-based policy.- Returns:
- Result of the GetResourcePolicy operation returned by the service.
- See Also:
-
getWebAccountSettings
default GetWebAccountSettingsResponse getWebAccountSettings(GetWebAccountSettingsRequest getWebAccountSettingsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
getWebAccountSettingsRequest-- Returns:
- Result of the GetWebAccountSettings operation returned by the service.
- See Also:
-
getWebAccountSettings
default GetWebAccountSettingsResponse getWebAccountSettings(Consumer<GetWebAccountSettingsRequest.Builder> getWebAccountSettingsRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
GetWebAccountSettingsRequest.Builderavoiding the need to create one manually viaGetWebAccountSettingsRequest.builder()- Parameters:
getWebAccountSettingsRequest- AConsumerthat will call methods onGetWebAccountSettingsRequest.Builderto create a request.- Returns:
- Result of the GetWebAccountSettings operation returned by the service.
- See Also:
-
getWebFunction
default GetWebFunctionResponse getWebFunction(GetWebFunctionRequest getWebFunctionRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about a web function, including its current state and configuration.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
getWebFunctionRequest- The request to retrieve a web function.- Returns:
- Result of the GetWebFunction operation returned by the service.
- See Also:
-
getWebFunction
default GetWebFunctionResponse getWebFunction(Consumer<GetWebFunctionRequest.Builder> getWebFunctionRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about a web function, including its current state and configuration.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
GetWebFunctionRequest.Builderavoiding the need to create one manually viaGetWebFunctionRequest.builder()- Parameters:
getWebFunctionRequest- AConsumerthat will call methods onGetWebFunctionRequest.Builderto create a request. The request to retrieve a web function.- Returns:
- Result of the GetWebFunction operation returned by the service.
- See Also:
-
getWebFunctionEndpoint
default GetWebFunctionEndpointResponse getWebFunctionEndpoint(GetWebFunctionEndpointRequest getWebFunctionEndpointRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about a web function endpoint, including its current state, configuration, and domain name.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
getWebFunctionEndpointRequest- The request to retrieve a web function endpoint.- Returns:
- Result of the GetWebFunctionEndpoint operation returned by the service.
- See Also:
-
getWebFunctionEndpoint
default GetWebFunctionEndpointResponse getWebFunctionEndpoint(Consumer<GetWebFunctionEndpointRequest.Builder> getWebFunctionEndpointRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about a web function endpoint, including its current state, configuration, and domain name.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
GetWebFunctionEndpointRequest.Builderavoiding the need to create one manually viaGetWebFunctionEndpointRequest.builder()- Parameters:
getWebFunctionEndpointRequest- AConsumerthat will call methods onGetWebFunctionEndpointRequest.Builderto create a request. The request to retrieve a web function endpoint.- Returns:
- Result of the GetWebFunctionEndpoint operation returned by the service.
- See Also:
-
getWebFunctionRevision
default GetWebFunctionRevisionResponse getWebFunctionRevision(GetWebFunctionRevisionRequest getWebFunctionRevisionRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about a web function revision, including its state and configuration.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
getWebFunctionRevisionRequest- The request to retrieve a web function revision.- Returns:
- Result of the GetWebFunctionRevision operation returned by the service.
- See Also:
-
getWebFunctionRevision
default GetWebFunctionRevisionResponse getWebFunctionRevision(Consumer<GetWebFunctionRevisionRequest.Builder> getWebFunctionRevisionRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Retrieves details about a web function revision, including its state and configuration.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
GetWebFunctionRevisionRequest.Builderavoiding the need to create one manually viaGetWebFunctionRevisionRequest.builder()- Parameters:
getWebFunctionRevisionRequest- AConsumerthat will call methods onGetWebFunctionRevisionRequest.Builderto create a request. The request to retrieve a web function revision.- Returns:
- Result of the GetWebFunctionRevision operation returned by the service.
- See Also:
-
listTags
default ListTagsResponse listTags(ListTagsRequest listTagsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Returns a list of tags applied to a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
listTagsRequest- The request to list tags for a resource.- Returns:
- Result of the ListTags operation returned by the service.
- See Also:
-
listTags
default ListTagsResponse listTags(Consumer<ListTagsRequest.Builder> listTagsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Returns a list of tags applied to a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
ListTagsRequest.Builderavoiding the need to create one manually viaListTagsRequest.builder()- Parameters:
listTagsRequest- AConsumerthat will call methods onListTagsRequest.Builderto create a request. The request to list tags for a resource.- Returns:
- Result of the ListTags operation returned by the service.
- See Also:
-
listWebFunctionEndpoints
default ListWebFunctionEndpointsResponse listWebFunctionEndpoints(ListWebFunctionEndpointsRequest listWebFunctionEndpointsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Lists endpoints for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
listWebFunctionEndpointsRequest- The request to list web function endpoints.- Returns:
- Result of the ListWebFunctionEndpoints operation returned by the service.
- See Also:
-
listWebFunctionEndpoints
default ListWebFunctionEndpointsResponse listWebFunctionEndpoints(Consumer<ListWebFunctionEndpointsRequest.Builder> listWebFunctionEndpointsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Lists endpoints for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
ListWebFunctionEndpointsRequest.Builderavoiding the need to create one manually viaListWebFunctionEndpointsRequest.builder()- Parameters:
listWebFunctionEndpointsRequest- AConsumerthat will call methods onListWebFunctionEndpointsRequest.Builderto create a request. The request to list web function endpoints.- Returns:
- Result of the ListWebFunctionEndpoints operation returned by the service.
- See Also:
-
listWebFunctionEndpointsPaginator
default ListWebFunctionEndpointsIterable listWebFunctionEndpointsPaginator(ListWebFunctionEndpointsRequest listWebFunctionEndpointsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException This is a variant of
listWebFunctionEndpoints(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionEndpointsIterable responses = client.listWebFunctionEndpointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionEndpointsIterable responses = client .listWebFunctionEndpointsPaginator(request); for (software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionEndpointsIterable responses = client.listWebFunctionEndpointsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebFunctionEndpoints(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsRequest)operation.- Parameters:
listWebFunctionEndpointsRequest- The request to list web function endpoints.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWebFunctionEndpointsPaginator
default ListWebFunctionEndpointsIterable listWebFunctionEndpointsPaginator(Consumer<ListWebFunctionEndpointsRequest.Builder> listWebFunctionEndpointsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException This is a variant of
listWebFunctionEndpoints(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionEndpointsIterable responses = client.listWebFunctionEndpointsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionEndpointsIterable responses = client .listWebFunctionEndpointsPaginator(request); for (software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionEndpointsIterable responses = client.listWebFunctionEndpointsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebFunctionEndpoints(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionEndpointsRequest)operation.
This is a convenience which creates an instance of the
ListWebFunctionEndpointsRequest.Builderavoiding the need to create one manually viaListWebFunctionEndpointsRequest.builder()- Parameters:
listWebFunctionEndpointsRequest- AConsumerthat will call methods onListWebFunctionEndpointsRequest.Builderto create a request. The request to list web function endpoints.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWebFunctionRevisions
default ListWebFunctionRevisionsResponse listWebFunctionRevisions(ListWebFunctionRevisionsRequest listWebFunctionRevisionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Lists revisions for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
listWebFunctionRevisionsRequest- The request to list web function revisions.- Returns:
- Result of the ListWebFunctionRevisions operation returned by the service.
- See Also:
-
listWebFunctionRevisions
default ListWebFunctionRevisionsResponse listWebFunctionRevisions(Consumer<ListWebFunctionRevisionsRequest.Builder> listWebFunctionRevisionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Lists revisions for a web function. We recommend using pagination to ensure that the operation returns quickly and successfully.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
ListWebFunctionRevisionsRequest.Builderavoiding the need to create one manually viaListWebFunctionRevisionsRequest.builder()- Parameters:
listWebFunctionRevisionsRequest- AConsumerthat will call methods onListWebFunctionRevisionsRequest.Builderto create a request. The request to list web function revisions.- Returns:
- Result of the ListWebFunctionRevisions operation returned by the service.
- See Also:
-
listWebFunctionRevisionsPaginator
default ListWebFunctionRevisionsIterable listWebFunctionRevisionsPaginator(ListWebFunctionRevisionsRequest listWebFunctionRevisionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException This is a variant of
listWebFunctionRevisions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionRevisionsIterable responses = client.listWebFunctionRevisionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionRevisionsIterable responses = client .listWebFunctionRevisionsPaginator(request); for (software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionRevisionsIterable responses = client.listWebFunctionRevisionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebFunctionRevisions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsRequest)operation.- Parameters:
listWebFunctionRevisionsRequest- The request to list web function revisions.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWebFunctionRevisionsPaginator
default ListWebFunctionRevisionsIterable listWebFunctionRevisionsPaginator(Consumer<ListWebFunctionRevisionsRequest.Builder> listWebFunctionRevisionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException This is a variant of
listWebFunctionRevisions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionRevisionsIterable responses = client.listWebFunctionRevisionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionRevisionsIterable responses = client .listWebFunctionRevisionsPaginator(request); for (software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionRevisionsIterable responses = client.listWebFunctionRevisionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebFunctionRevisions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionRevisionsRequest)operation.
This is a convenience which creates an instance of the
ListWebFunctionRevisionsRequest.Builderavoiding the need to create one manually viaListWebFunctionRevisionsRequest.builder()- Parameters:
listWebFunctionRevisionsRequest- AConsumerthat will call methods onListWebFunctionRevisionsRequest.Builderto create a request. The request to list web function revisions.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWebFunctions
default ListWebFunctionsResponse listWebFunctions(ListWebFunctionsRequest listWebFunctionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Lists web functions in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
listWebFunctionsRequest- The request to list web functions.- Returns:
- Result of the ListWebFunctions operation returned by the service.
- See Also:
-
listWebFunctions
default ListWebFunctionsResponse listWebFunctions(Consumer<ListWebFunctionsRequest.Builder> listWebFunctionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Lists web functions in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
ListWebFunctionsRequest.Builderavoiding the need to create one manually viaListWebFunctionsRequest.builder()- Parameters:
listWebFunctionsRequest- AConsumerthat will call methods onListWebFunctionsRequest.Builderto create a request. The request to list web functions.- Returns:
- Result of the ListWebFunctions operation returned by the service.
- See Also:
-
listWebFunctionsPaginator
default ListWebFunctionsIterable listWebFunctionsPaginator(ListWebFunctionsRequest listWebFunctionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException This is a variant of
listWebFunctions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionsIterable responses = client.listWebFunctionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionsIterable responses = client .listWebFunctionsPaginator(request); for (software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionsIterable responses = client.listWebFunctionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebFunctions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsRequest)operation.- Parameters:
listWebFunctionsRequest- The request to list web functions.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWebFunctionsPaginator
default ListWebFunctionsIterable listWebFunctionsPaginator(Consumer<ListWebFunctionsRequest.Builder> listWebFunctionsRequest) throws AccessDeniedException, InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException This is a variant of
listWebFunctions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionsIterable responses = client.listWebFunctionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionsIterable responses = client .listWebFunctionsPaginator(request); for (software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.lambdaweb.paginators.ListWebFunctionsIterable responses = client.listWebFunctionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWebFunctions(software.amazon.awssdk.services.lambdaweb.model.ListWebFunctionsRequest)operation.
This is a convenience which creates an instance of the
ListWebFunctionsRequest.Builderavoiding the need to create one manually viaListWebFunctionsRequest.builder()- Parameters:
listWebFunctionsRequest- AConsumerthat will call methods onListWebFunctionsRequest.Builderto create a request. The request to list web functions.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(PutResourcePolicyRequest putResourcePolicyRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Adds or updates a resource-based policy on a web function. A resource-based policy grants permissions to other AWS accounts or services to perform actions on the web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
putResourcePolicyRequest- The request to add or update a resource-based policy.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
putResourcePolicy
default PutResourcePolicyResponse putResourcePolicy(Consumer<PutResourcePolicyRequest.Builder> putResourcePolicyRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Adds or updates a resource-based policy on a web function. A resource-based policy grants permissions to other AWS accounts or services to perform actions on the web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
PutResourcePolicyRequest.Builderavoiding the need to create one manually viaPutResourcePolicyRequest.builder()- Parameters:
putResourcePolicyRequest- AConsumerthat will call methods onPutResourcePolicyRequest.Builderto create a request. The request to add or update a resource-based policy.- Returns:
- Result of the PutResourcePolicy operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
tagResourceRequest- The request to add tags to a resource.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Adds tags to a web function. If a tag key already exists, the existing value is overwritten with the new value.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. The request to add tags to a resource.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Removes tags from a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
untagResourceRequest- The request to remove tags from a resource.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, LambdaWebException Removes tags from a web function.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request. The request to remove tags from a resource.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateWebFunctionEndpoint
default UpdateWebFunctionEndpointResponse updateWebFunctionEndpoint(UpdateWebFunctionEndpointRequest updateWebFunctionEndpointRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Updates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling settings.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
- Parameters:
updateWebFunctionEndpointRequest- The request to update a web function endpoint.- Returns:
- Result of the UpdateWebFunctionEndpoint operation returned by the service.
- See Also:
-
updateWebFunctionEndpoint
default UpdateWebFunctionEndpointResponse updateWebFunctionEndpoint(Consumer<UpdateWebFunctionEndpointRequest.Builder> updateWebFunctionEndpointRequest) throws AccessDeniedException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, ThrottlingException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LambdaWebException Updates the configuration of a web function endpoint. You can modify the authorization type, auto-deployment mode, revision weights, scaling, and throttling settings.
This API is experimental and for internal AWS use only. It is not yet available to external customers.
This is a convenience which creates an instance of the
UpdateWebFunctionEndpointRequest.Builderavoiding the need to create one manually viaUpdateWebFunctionEndpointRequest.builder()- Parameters:
updateWebFunctionEndpointRequest- AConsumerthat will call methods onUpdateWebFunctionEndpointRequest.Builderto create a request. The request to update a web function endpoint.- Returns:
- Result of the UpdateWebFunctionEndpoint operation returned by the service.
- See Also:
-
waiter
Create an instance ofLambdaWebWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
LambdaWebWaiter
-
create
Create aLambdaWebClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aLambdaWebClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-