public static interface RemovePermissionRequest.Builder extends LambdaRequest.Builder, SdkPojo, CopyableBuilder<RemovePermissionRequest.Builder,RemovePermissionRequest>
Modifier and Type | Method and Description |
---|---|
RemovePermissionRequest.Builder |
functionName(String functionName)
The name of the Lambda function, version, or alias.
|
RemovePermissionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RemovePermissionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RemovePermissionRequest.Builder |
qualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
|
RemovePermissionRequest.Builder |
revisionId(String revisionId)
Only update the policy if the revision ID matches the ID that's specified.
|
RemovePermissionRequest.Builder |
statementId(String statementId)
Statement ID of the permission to remove.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
RemovePermissionRequest.Builder functionName(String functionName)
The name of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the Lambda function, version, or alias.
Name formats
Function name - my-function
(name-only), my-function:v1
(with alias).
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function
.
Partial ARN - 123456789012:function:my-function
.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
RemovePermissionRequest.Builder statementId(String statementId)
Statement ID of the permission to remove.
statementId
- Statement ID of the permission to remove.RemovePermissionRequest.Builder qualifier(String qualifier)
Specify a version or alias to remove permissions from a published version of the function.
qualifier
- Specify a version or alias to remove permissions from a published version of the function.RemovePermissionRequest.Builder revisionId(String revisionId)
Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid modifying a policy that has changed since you last read it.
revisionId
- Only update the policy if the revision ID matches the ID that's specified. Use this option to avoid
modifying a policy that has changed since you last read it.RemovePermissionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
RemovePermissionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.