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

Class: Aws::ECS::Types::DeleteServiceRequest

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

{
  cluster: "String",
  service: "String", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. If you do not specify a cluster, the default cluster is assumed.

Returns:

  • (String)


1257
1258
1259
1260
1261
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1257

class DeleteServiceRequest < Struct.new(
  :cluster,
  :service)
  include Aws::Structure
end

#serviceString

The name of the service to delete.

Returns:

  • (String)


1257
1258
1259
1260
1261
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 1257

class DeleteServiceRequest < Struct.new(
  :cluster,
  :service)
  include Aws::Structure
end