// Returns the summary information for stacks whose status matches the specified
// StackStatusFilter. Summary information for stacks that have been deleted is kept
// for 90 days after the stack is deleted. If no StackStatusFilter is specified,
// summary information for all stacks is returned (including existing stacks and
// stacks that have been deleted).
Returns the summary information for stacks whose status matches the specified
StackStatusFilter. Summary information for stacks that have been deleted is kept
for 90 days after the stack is deleted. If no StackStatusFilter is specified,
summary information for all stacks is returned (including existing stacks and
stacks that have been deleted).
// Returns the summary information for stacks whose status matches the specified // StackStatusFilter . Summary information for stacks that have been deleted is kept // for 90 days after the stack is deleted . If no StackStatusFilter is specified // summary information for all stacks is returned ( including existing stacks and // stacks that have been deleted ) .
func (c *Client) ListStacks(ctx context.Context, params *ListStacksInput, optFns ...func(*Options)) (*ListStacksOutput, error) {
	if params == nil {
		params = &ListStacksInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListStacks", params, optFns, addOperationListStacksMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListStacksOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListStacks ( ctx context . Context , params * ListStacksInput , optFns ... func ( * Options ) ) ( * ListStacksOutput , error ) { if params == nil { params = & ListStacksInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListStacksMiddlewares ) if err != nil { return nil , err } out := result . ( * ListStacksOutput ) out . ResultMetadata = metadata return out , nil }
Returns the summary information for stacks whose status matches the specified
StackStatusFilter.
Returns the summary information for stacks whose status matches the specified StackStatusFilter .