opsworks_describe_ecs_clusters: Describes Amazon ECS clusters that are registered with a...

View source: R/opsworks_operations.R

opsworks_describe_ecs_clustersR Documentation

Describes Amazon ECS clusters that are registered with a stack

Description

Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element.

See https://www.paws-r-sdk.com/docs/opsworks_describe_ecs_clusters/ for full documentation.

Usage

opsworks_describe_ecs_clusters(
  EcsClusterArns = NULL,
  StackId = NULL,
  NextToken = NULL,
  MaxResults = NULL
)

Arguments

EcsClusterArns

A list of ARNs, one for each cluster to be described.

StackId

A stack ID. describe_ecs_clusters returns a description of the cluster that is registered with the stack.

NextToken

If the previous paginated request did not return all of the remaining results, the response object'sNextToken parameter value is set to a token. To retrieve the next set of results, call describe_ecs_clusters again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

MaxResults

To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.


paws.management documentation built on Sept. 12, 2024, 6:19 a.m.