Class: Aws::DevOpsAgent::Types::UpdateApprovalActionResponse

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

Overview

Response structure for UpdateApprovalAction. Reports the post-submission lifecycle status of the approval request and, when applicable, the absolute expiry timestamp. The status is a lifecycle state distinct from the action verb — an APPROVED submission transitions the request to APPROVED status (live, redeemable); a REJECTED submission transitions it to REJECTED status (terminal).

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approval_idString

Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.

Returns:

  • (String)


6705
6706
6707
6708
6709
6710
6711
# File 'lib/aws-sdk-devopsagent/types.rb', line 6705

class UpdateApprovalActionResponse < Struct.new(
  :approval_id,
  :status,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#expires_atTime

Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.

Returns:

  • (Time)


6705
6706
6707
6708
6709
6710
6711
# File 'lib/aws-sdk-devopsagent/types.rb', line 6705

class UpdateApprovalActionResponse < Struct.new(
  :approval_id,
  :status,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.

Returns:

  • (String)


6705
6706
6707
6708
6709
6710
6711
# File 'lib/aws-sdk-devopsagent/types.rb', line 6705

class UpdateApprovalActionResponse < Struct.new(
  :approval_id,
  :status,
  :expires_at)
  SENSITIVE = []
  include Aws::Structure
end