class Amazonite::CloudFormation::ListHookResultsInput

Defined in:

cloudformation/list_hook_results_input.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(target_type : ListHookResultsTargetType | Nil = nil, target_id : String | Nil = nil, type_arn : String | Nil = nil, status : HookStatus | Nil = nil, next_token : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def next_token : String | Nil #

The token for the next set of items to return. (You received this token from a previous call.)


[View source]
def next_token=(next_token : String | Nil) #

The token for the next set of items to return. (You received this token from a previous call.)


[View source]
def status : HookStatus | Nil #

Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are:

  • HOOK_IN_PROGRESS: The Hook is currently running.

  • HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully.

  • HOOK_COMPLETE_FAILED: The Hook completed but failed validation.

  • HOOK_FAILED: The Hook encountered an error during execution.


[View source]
def status=(status : HookStatus | Nil) #

Filters results by the status of Hook invocations. Can only be used in combination with TypeArn. Valid values are:

  • HOOK_IN_PROGRESS: The Hook is currently running.

  • HOOK_COMPLETE_SUCCEEDED: The Hook completed successfully.

  • HOOK_COMPLETE_FAILED: The Hook completed but failed validation.

  • HOOK_FAILED: The Hook encountered an error during execution.


[View source]
def target_id : String | Nil #

Filters results by the unique identifier of the target the Hook was invoked against.

For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the HookRequestToken returned by the Cloud Control API request. For more information on the HookRequestToken, see ProgressEvent.

Required when TargetType is specified and cannot be used otherwise.


[View source]
def target_id=(target_id : String | Nil) #

Filters results by the unique identifier of the target the Hook was invoked against.

For change sets, this is the change set ARN. When the target is a Cloud Control API operation, this value must be the HookRequestToken returned by the Cloud Control API request. For more information on the HookRequestToken, see ProgressEvent.

Required when TargetType is specified and cannot be used otherwise.


[View source]
def target_type : ListHookResultsTargetType | Nil #

Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options.

Required when TargetId is specified and cannot be used otherwise.


[View source]
def target_type=(target_type : ListHookResultsTargetType | Nil) #

Filters results by target type. Currently, only CHANGE_SET and CLOUD_CONTROL are supported filter options.

Required when TargetId is specified and cannot be used otherwise.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def type_arn : String | Nil #

Filters results by the ARN of the Hook. Can be used alone or in combination with Status.


[View source]
def type_arn=(type_arn : String | Nil) #

Filters results by the ARN of the Hook. Can be used alone or in combination with Status.


[View source]
def validate! : Nil #

[View source]