Class: Aws::CloudControlApi::Types::ProgressEvent
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudControlApi::Types::ProgressEvent
- 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
-
#error_code ⇒ String
For requests with a status of ‘FAILED`, the associated error code.
-
#event_time ⇒ Time
When the resource operation request was initiated.
-
#identifier ⇒ String
The primary identifier for the resource.
-
#operation ⇒ String
The resource operation type.
-
#operation_status ⇒ String
The current status of the resource operation request.
-
#request_token ⇒ String
The unique token representing this resource operation request.
-
#resource_model ⇒ String
A JSON string containing the resource model, consisting of each resource property and its current value.
-
#retry_after ⇒ Time
When to next request the status of this resource operation request.
-
#status_message ⇒ String
Any message explaining the current status.
-
#type_name ⇒ String
The name of the resource type used in the operation.
Instance Attribute Details
#error_code ⇒ String
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
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_time ⇒ Time
When the resource operation request was initiated.
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 |
#identifier ⇒ String
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>
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 ⇒ String
The resource operation type.
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_status ⇒ String
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.
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_token ⇒ String
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
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_model ⇒ String
A JSON string containing the resource model, consisting of each resource property and its current value.
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_after ⇒ Time
When to next request the status of this resource operation request.
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_message ⇒ String
Any message explaining the current status.
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_name ⇒ String
The name of the resource type used in the operation.
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 |