You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CodeDeploy::Types::ListDeploymentTargetsInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb

Overview

Note:

When making an API call, you may pass ListDeploymentTargetsInput data as a hash:

{
  deployment_id: "DeploymentId",
  next_token: "NextToken",
  target_filters: {
    "TargetStatus" => ["FilterValue"],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#deployment_idString

The unique ID of a deployment.

Returns:

  • (String)


3403
3404
3405
3406
3407
3408
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3403

class ListDeploymentTargetsInput < Struct.new(
  :deployment_id,
  :next_token,
  :target_filters)
  include Aws::Structure
end

#next_tokenString

A token identifier returned from the previous ListDeploymentTargets call. It can be used to return the next set of deployment targets in the list.

Returns:

  • (String)


3403
3404
3405
3406
3407
3408
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3403

class ListDeploymentTargetsInput < Struct.new(
  :deployment_id,
  :next_token,
  :target_filters)
  include Aws::Structure
end

#target_filtersHash<String,Array<String>>

A key used to filter the returned targets. The two valid values are:

  • TargetStatus - A TargetStatus filter string can be Failed, InProgress, Pending, Ready, Skipped, Succeeded, or Unknown.

  • ServerInstanceLabel - A ServerInstanceLabel filter string can be Blue or Green.

Returns:

  • (Hash<String,Array<String>>)


3403
3404
3405
3406
3407
3408
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 3403

class ListDeploymentTargetsInput < Struct.new(
  :deployment_id,
  :next_token,
  :target_filters)
  include Aws::Structure
end