Class: Aws::CodeDeploy::Types::ListDeploymentsInput

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 ListDeploymentsInput data as a hash:

{
  application_name: "ApplicationName",
  deployment_group_name: "DeploymentGroupName",
  external_id: "ExternalId",
  include_only_statuses: ["Created"], # accepts Created, Queued, InProgress, Baking, Succeeded, Failed, Stopped, Ready
  create_time_range: {
    start: Time.now,
    end: Time.now,
  },
  next_token: "NextToken",
}

Represents the input of a ListDeployments operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of an AWS CodeDeploy application associated with the IAM user or AWS account.

If applicationName is specified, then deploymentGroupName must be specified. If it is not specified, then deploymentGroupName must not be specified.

Returns:

  • (String)


4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4365

class ListDeploymentsInput < Struct.new(
  :application_name,
  :deployment_group_name,
  :external_id,
  :include_only_statuses,
  :create_time_range,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#create_time_rangeTypes::TimeRange

A time range (start and end) for returning a subset of the list of deployments.

Returns:



4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4365

class ListDeploymentsInput < Struct.new(
  :application_name,
  :deployment_group_name,
  :external_id,
  :include_only_statuses,
  :create_time_range,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#deployment_group_nameString

The name of a deployment group for the specified application.

If deploymentGroupName is specified, then applicationName must be specified. If it is not specified, then applicationName must not be specified.

Returns:

  • (String)


4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4365

class ListDeploymentsInput < Struct.new(
  :application_name,
  :deployment_group_name,
  :external_id,
  :include_only_statuses,
  :create_time_range,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#external_idString

The unique ID of an external resource for returning deployments linked to the external resource.

Returns:

  • (String)


4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4365

class ListDeploymentsInput < Struct.new(
  :application_name,
  :deployment_group_name,
  :external_id,
  :include_only_statuses,
  :create_time_range,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#include_only_statusesArray<String>

A subset of deployments to list by status:

  • Created: Include created deployments in the resulting list.

  • Queued: Include queued deployments in the resulting list.

  • In Progress: Include in-progress deployments in the resulting list.

  • Succeeded: Include successful deployments in the resulting list.

  • Failed: Include failed deployments in the resulting list.

  • Stopped: Include stopped deployments in the resulting list.

Returns:

  • (Array<String>)


4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4365

class ListDeploymentsInput < Struct.new(
  :application_name,
  :deployment_group_name,
  :external_id,
  :include_only_statuses,
  :create_time_range,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

An identifier returned from the previous list deployments call. It can be used to return the next set of deployments in the list.

Returns:

  • (String)


4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 4365

class ListDeploymentsInput < Struct.new(
  :application_name,
  :deployment_group_name,
  :external_id,
  :include_only_statuses,
  :create_time_range,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end