// Lists the specified log groups. You can list all your log groups or filter the
// results by prefix. The results are ASCII-sorted by log group name.
Lists the specified log groups. You can list all your log groups or filter the
results by prefix. The results are ASCII-sorted by log group name.
// Lists the specified log groups . You can list all your log groups or filter the // results by prefix . The results are ASCII - sorted by log group name .
func (c *Client) DescribeLogGroups(ctx context.Context, params *DescribeLogGroupsInput, optFns ...func(*Options)) (*DescribeLogGroupsOutput, error) {
	if params == nil {
		params = &DescribeLogGroupsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeLogGroups", params, optFns, addOperationDescribeLogGroupsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeLogGroupsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeLogGroups ( ctx context . Context , params * DescribeLogGroupsInput , optFns ... func ( * Options ) ) ( * DescribeLogGroupsOutput , error ) { if params == nil { params = & DescribeLogGroupsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeLogGroupsMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeLogGroupsOutput ) out . ResultMetadata = metadata return out , nil }
Lists the specified log groups.
Lists the specified log groups .