AWS SDK for .NET Documentation
Command Class
AmazonAmazon.OpsWorks.ModelCommand Did this page help you?   Yes   No    Tell us about it...
Describes a command.
Declaration Syntax
C#
public class Command
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Command()()()()
Initializes a new instance of the Command class

AcknowledgedAt
Gets and sets the property AcknowledgedAt.

Date and time when the command was acknowledged.


CommandId
Gets and sets the property CommandId.

The command ID.


CompletedAt
Gets and sets the property CompletedAt.

Date when the command completed.


CreatedAt
Gets and sets the property CreatedAt.

Date and time when the command was run.


DeploymentId
Gets and sets the property DeploymentId.

The command deployment ID.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExitCode
Gets and sets the property ExitCode.

The command exit code.


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InstanceId
Gets and sets the property InstanceId.

The ID of the instance where the command was executed.


LogUrl
Gets and sets the property LogUrl.

The URL of the command log.


Status
Gets and sets the property Status.

The command status:

  • failed
  • successful
  • skipped
  • pending

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Type
Gets and sets the property Type.

The command type:

  • CopyC#
    deploy
  • CopyC#
    rollback
  • CopyC#
    start
  • CopyC#
    stop
  • CopyC#
    restart
  • CopyC#
    undeploy
  • CopyC#
    update_dependencies
  • CopyC#
    install_dependencies
  • CopyC#
    update_custom_cookbooks
  • CopyC#
    execute_recipes

WithAcknowledgedAt(String) Obsolete.
Sets the AcknowledgedAt property

WithCommandId(String) Obsolete.
Sets the CommandId property

WithCompletedAt(String) Obsolete.
Sets the CompletedAt property

WithCreatedAt(String) Obsolete.
Sets the CreatedAt property

WithDeploymentId(String) Obsolete.
Sets the DeploymentId property

WithExitCode(Int32) Obsolete.
Sets the ExitCode property

WithInstanceId(String) Obsolete.
Sets the InstanceId property

WithLogUrl(String) Obsolete.
Sets the LogUrl property

WithStatus(String) Obsolete.
Sets the Status property

WithType(String) Obsolete.
Sets the Type property

Inheritance Hierarchy
Object
Command

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)