Interface ActionInvocation.Builder

    • Method Detail

      • extensionIdentifier

        ActionInvocation.Builder extensionIdentifier​(String extensionIdentifier)

        The name, the ID, or the Amazon Resource Name (ARN) of the extension.

        Parameters:
        extensionIdentifier - The name, the ID, or the Amazon Resource Name (ARN) of the extension.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionName

        ActionInvocation.Builder actionName​(String actionName)

        The name of the action.

        Parameters:
        actionName - The name of the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uri

        ActionInvocation.Builder uri​(String uri)

        The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.

        Parameters:
        uri - The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        ActionInvocation.Builder roleArn​(String roleArn)

        An Amazon Resource Name (ARN) for an Identity and Access Management assume role.

        Parameters:
        roleArn - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        ActionInvocation.Builder errorMessage​(String errorMessage)

        The error message when an extension invocation fails.

        Parameters:
        errorMessage - The error message when an extension invocation fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

        ActionInvocation.Builder errorCode​(String errorCode)

        The error code when an extension invocation fails.

        Parameters:
        errorCode - The error code when an extension invocation fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • invocationId

        ActionInvocation.Builder invocationId​(String invocationId)

        A system-generated ID for this invocation.

        Parameters:
        invocationId - A system-generated ID for this invocation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.