RemovePermissionRequest
public struct RemovePermissionRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let functionName: String
-
Specify a version or alias to remove permissions from a published version of the function.
Declaration
Swift
public let qualifier: String?
-
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.
Declaration
Swift
public let revisionId: String?
-
Statement ID of the permission to remove.
Declaration
Swift
public let statementId: String
-
Undocumented
Declaration
Swift
public init(functionName: String, qualifier: String? = nil, revisionId: String? = nil, statementId: String)
-
Declaration
Swift
public func validate(name: String) throws