// Get Allows you to retrieve one export job specified by the bucket ID.
//
// See more: https://docs.atlas.mongodb.com/reference/api/cloud-backup/export/get-one-export-job/
Get Allows you to retrieve one export job specified by the bucket ID.


// Get Allows you to retrieve one export job specified by the bucket ID . // // See more : https : // docs . atlas . mongodb . com / reference / api / cloud - backup / export / get - one - export - job /
func (c CloudProviderSnapshotExportJobsServiceOp) Get(ctx context.Context, projectID, clusterName, bucketID string) (*CloudProviderSnapshotExportJob, *Response, error) {
	if projectID == "" {
		return nil, nil, NewArgError("projectID", "must be set")
	}
	if clusterName == "" {
		return nil, nil, NewArgError("clusterName", "must be set")
	}
	if bucketID == "" {
		return nil, nil, NewArgError("bucketID", "must be set")
	}
	path := fmt.Sprintf("api/atlas/v1.0/groups/%s/clusters/%s/backup/exports/%s", projectID, clusterName, bucketID)
	req, err := c.Client.NewRequest(ctx, http.MethodGet, path, nil)
	if err != nil {
		return nil, nil, err
	}
	root := new(CloudProviderSnapshotExportJob)
	resp, err := c.Client.Do(ctx, req, root)
	if err != nil {
		return nil, resp, err
	}
	return root, resp, err
}
func ( c CloudProviderSnapshotExportJobsServiceOp ) Get ( ctx context . Context , projectID , clusterName , bucketID string ) ( * CloudProviderSnapshotExportJob , * Response , error ) { if projectID == " " { return nil , nil , NewArgError ( " " , " " ) } if clusterName == " " { return nil , nil , NewArgError ( " " , " " ) } if bucketID == " " { return nil , nil , NewArgError ( " " , " " ) } path := fmt . Sprintf ( " " , projectID , clusterName , bucketID ) req , err := c . Client . NewRequest ( ctx , http . MethodGet , path , nil ) if err != nil { return nil , nil , err } root := new ( CloudProviderSnapshotExportJob ) resp , err := c . Client . Do ( ctx , req , root ) if err != nil { return nil , resp , err } return root , resp , err }
Get Allows you to retrieve one export job specified by the bucket ID.
Get Allows you to retrieve one export job specified by the bucket ID .