Class: Aws::CloudControlApi::Types::ProgressEvent

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

Overview

Represents the current status of a resource operation request. For more information, see [Managing resource operation requests] in the *Amazon Web Services Cloud Control API User Guide*.

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

Constant Summary collapse

SENSITIVE =
[:resource_model]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

For requests with a status of ‘FAILED`, the associated error code.

For error code definitions, see [Handler error codes] in the *CloudFormation Command Line Interface User Guide for Extension Development*.

[1]: docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-test-contract-errors.html

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#event_timeTime

When the resource operation request was initiated.

Returns:

  • (Time)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#identifierString

The primary identifier for the resource.

<note markdown=“1”> In some cases, the resource identifier may be available before the resource operation has reached a status of ‘SUCCESS`.

</note>

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#operationString

The resource operation type.

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#operation_statusString

The current status of the resource operation request.

  • ‘PENDING`: The resource operation hasn’t yet started.

  • ‘IN_PROGRESS`: The resource operation is currently in progress.

  • ‘SUCCESS`: The resource operation has successfully completed.

  • ‘FAILED`: The resource operation has failed. Refer to the error code and status message for more information.

  • ‘CANCEL_IN_PROGRESS`: The resource operation is in the process of being canceled.

  • ‘CANCEL_COMPLETE`: The resource operation has been canceled.

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#request_tokenString

The unique token representing this resource operation request.

Use the ‘RequestToken` with [GetResourceRequestStatus] to return the current status of a resource operation request.

[1]: docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#resource_modelString

A JSON string containing the resource model, consisting of each resource property and its current value.

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#retry_afterTime

When to next request the status of this resource operation request.

Returns:

  • (Time)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#status_messageString

Any message explaining the current status.

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end

#type_nameString

The name of the resource type used in the operation.

Returns:

  • (String)


794
795
796
797
798
799
800
801
802
803
804
805
806
807
# File 'lib/aws-sdk-cloudcontrolapi/types.rb', line 794

class ProgressEvent < Struct.new(
  :type_name,
  :identifier,
  :request_token,
  :operation,
  :operation_status,
  :event_time,
  :resource_model,
  :status_message,
  :error_code,
  :retry_after)
  SENSITIVE = [:resource_model]
  include Aws::Structure
end