Class: Aws::ECS::Types::DescribeServicesRequest

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

Overview

Note:

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

{
  cluster: "String",
  services: ["String"], # required
  include: ["TAGS"], # accepts TAGS
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN)the cluster that hosts the service to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the service or services you are describing were launched in any cluster other than the default cluster.

Returns:

  • (String)


3994
3995
3996
3997
3998
3999
4000
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3994

class DescribeServicesRequest < Struct.new(
  :cluster,
  :services,
  :include)
  SENSITIVE = []
  include Aws::Structure
end

#includeArray<String>

Specifies whether you want to see the resource tags for the service. If TAGS is specified, the tags are included in the response. If this field is omitted, tags are not included in the response.

Returns:

  • (Array<String>)


3994
3995
3996
3997
3998
3999
4000
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3994

class DescribeServicesRequest < Struct.new(
  :cluster,
  :services,
  :include)
  SENSITIVE = []
  include Aws::Structure
end

#servicesArray<String>

A list of services to describe. You may specify up to 10 services to describe in a single operation.

Returns:

  • (Array<String>)


3994
3995
3996
3997
3998
3999
4000
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 3994

class DescribeServicesRequest < Struct.new(
  :cluster,
  :services,
  :include)
  SENSITIVE = []
  include Aws::Structure
end