class Aws::Lambda::Types::GetPolicyRequest
@note When making an API call, you may pass GetPolicyRequest
data as a hash: { function_name: "NamespacedFunctionName", # required qualifier: "Qualifier", }
@!attribute [rw] function_name
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. @return [String]
@!attribute [rw] qualifier
Specify a version or alias to get the policy for that resource. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicyRequest AWS API Documentation
Constants
- SENSITIVE