Class: Aws::CloudControlApi::Types::HookProgressEvent

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudcontrolapi/types.rb

Overview

Represents the current status of applicable Hooks for a resource operation request. It contains list of Hook invocation information for the resource specified in the request since the same target can invoke multiple Hooks. For more information, see [Managing resource operation requests with Amazon Web Services Cloud Control API ][1].

[1]: docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_modeString

The failure mode of the invocation. The following are the potential statuses:

  • ‘FAIL`: This will fail the Hook invocation and the request associated with it.

  • ‘WARN`: This will fail the Hook invocation, but not the request associated with it.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#hook_event_timeTime

The time that the Hook invocation request initiated.

Returns:

  • (Time)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#hook_statusString

The status of the Hook invocation. The following are potential statuses:

  • ‘HOOK_PENDING`: The Hook was added to the invocation plan, but not yet invoked.

  • ‘HOOK_IN_PROGRESS`: The Hook was invoked, but hasn’t completed.

  • ‘HOOK_COMPLETE_SUCCEEDED`: The Hook invocation is complete with a successful result.

  • ‘HOOK_COMPLETE_FAILED`: The Hook invocation is complete with a failed result.

  • ‘HOOK_FAILED`: The Hook invocation didn’t complete successfully.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#hook_status_messageString

The message explaining the current Hook status.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#hook_type_arnString

The ARN of the Hook being invoked.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#hook_type_nameString

The type name of the Hook being invoked.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#hook_type_version_idString

The type version of the Hook being invoked.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end

#invocation_pointString

States whether the Hook is invoked before or after resource provisioning.

Returns:

  • (String)


555
556
557
558
559
560
561
562
563
564
565
566
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 555

class HookProgressEvent < Struct.new(
  :hook_type_name,
  :hook_type_version_id,
  :hook_type_arn,
  :invocation_point,
  :hook_status,
  :hook_event_time,
  :hook_status_message,
  :failure_mode)
  SENSITIVE = []
  include Aws::Structure
end