// Deletes the specific dataset. The dataset will be deleted permanently, and the
// action can't be undone. Datasets that this dataset was merged with will no
// longer report the merge. Any subsequent operation on this dataset will result in
// a ResourceNotFoundException. This API can be called with temporary user
// credentials provided by Cognito Identity or with developer credentials.
Deletes the specific dataset. The dataset will be deleted permanently, and the
action can't be undone. Datasets that this dataset was merged with will no
longer report the merge. Any subsequent operation on this dataset will result in
a ResourceNotFoundException. This API can be called with temporary user
credentials provided by Cognito Identity or with developer credentials.
// Deletes the specific dataset . The dataset will be deleted permanently and the // action can ' t be undone . Datasets that this dataset was merged with will no // longer report the merge . Any subsequent operation on this dataset will result in // a ResourceNotFoundException . This API can be called with temporary user // credentials provided by Cognito Identity or with developer credentials .
func (c *Client) DeleteDataset(ctx context.Context, params *DeleteDatasetInput, optFns ...func(*Options)) (*DeleteDatasetOutput, error) {
	if params == nil {
		params = &DeleteDatasetInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteDataset", params, optFns, addOperationDeleteDatasetMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteDatasetOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteDataset ( ctx context . Context , params * DeleteDatasetInput , optFns ... func ( * Options ) ) ( * DeleteDatasetOutput , error ) { if params == nil { params = & DeleteDatasetInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteDatasetMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteDatasetOutput ) out . ResultMetadata = metadata return out , nil }
Deletes the specific dataset.
Deletes the specific dataset .