// Lists all patch groups that have been registered with patch baselines.
Lists all patch groups that have been registered with patch baselines.
// Lists all patch groups that have been registered with patch baselines .
func (c *Client) DescribePatchGroups(ctx context.Context, params *DescribePatchGroupsInput, optFns ...func(*Options)) (*DescribePatchGroupsOutput, error) {
	if params == nil {
		params = &DescribePatchGroupsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribePatchGroups", params, optFns, addOperationDescribePatchGroupsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribePatchGroupsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribePatchGroups ( ctx context . Context , params * DescribePatchGroupsInput , optFns ... func ( * Options ) ) ( * DescribePatchGroupsOutput , error ) { if params == nil { params = & DescribePatchGroupsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribePatchGroupsMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribePatchGroupsOutput ) out . ResultMetadata = metadata return out , nil }
Lists all patch groups that have been registered with patch baselines.
Lists all patch groups that have been registered with patch baselines .