// Returns a list of datasets created using the CreateDataset operation. For each
// dataset, a summary of its properties, including its Amazon Resource Name (ARN),
// is returned. To retrieve the complete set of properties, use the ARN with the
// DescribeDataset operation.
Returns a list of datasets created using the CreateDataset operation. For each
dataset, a summary of its properties, including its Amazon Resource Name (ARN),
is returned. To retrieve the complete set of properties, use the ARN with the
DescribeDataset operation.
// Returns a list of datasets created using the CreateDataset operation . For each // dataset a summary of its properties including its Amazon Resource Name ( ARN ) // is returned . To retrieve the complete set of properties use the ARN with the // DescribeDataset operation .
func (c *Client) ListDatasets(ctx context.Context, params *ListDatasetsInput, optFns ...func(*Options)) (*ListDatasetsOutput, error) {
	if params == nil {
		params = &ListDatasetsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListDatasets", params, optFns, addOperationListDatasetsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListDatasetsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListDatasets ( ctx context . Context , params * ListDatasetsInput , optFns ... func ( * Options ) ) ( * ListDatasetsOutput , error ) { if params == nil { params = & ListDatasetsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListDatasetsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListDatasetsOutput ) out . ResultMetadata = metadata return out , nil }
Returns a list of datasets created using the CreateDataset operation.
Returns a list of datasets created using the CreateDataset operation .