Class: Aws::Lambda::Types::GetPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lambda::Types::GetPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lambda/types.rb
Overview
When making an API call, you may pass GetPolicyRequest data as a hash:
{
function_name: "NamespacedFunctionName", # required
qualifier: "Qualifier",
}
Instance Attribute Summary collapse
-
#function_name ⇒ String
The name of the lambda function.
-
#qualifier ⇒ String
You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN.
Instance Attribute Details
#function_name ⇒ String
The name of the lambda function.
**Name formats**
-
**Function name** - ‘MyFunction`.
-
**Function ARN** - ‘arn:aws:lambda:us-west-2:123456789012:function:MyFunction`.
-
**Partial ARN** - ‘123456789012:function:MyFunction`.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
1251 1252 1253 1254 1255 |
# File 'lib/aws-sdk-lambda/types.rb', line 1251 class GetPolicyRequest < Struct.new( :function_name, :qualifier) include Aws::Structure end |
#qualifier ⇒ String
You can specify this optional query parameter to specify a function version or an alias name in which case this API will return all permissions associated with the specific qualified ARN. If you don’t provide this parameter, the API will return permissions that apply to the unqualified function ARN.
1251 1252 1253 1254 1255 |
# File 'lib/aws-sdk-lambda/types.rb', line 1251 class GetPolicyRequest < Struct.new( :function_name, :qualifier) include Aws::Structure end |