@@ -73,21 +73,21 @@ func (c CloudProviderSnapshotExportJobsServiceOp) List(ctx context.Context, proj
7373 return root , resp , nil
7474}
7575
76- // Get Allows you to retrieve one export job specified by the bucket ID.
76+ // Get Allows you to retrieve one export job specified by the export job ID.
7777//
7878// See more: https://docs.atlas.mongodb.com/reference/api/cloud-backup/export/get-one-export-job/
79- func (c CloudProviderSnapshotExportJobsServiceOp ) Get (ctx context.Context , projectID , clusterName , bucketID string ) (* CloudProviderSnapshotExportJob , * Response , error ) {
79+ func (c CloudProviderSnapshotExportJobsServiceOp ) Get (ctx context.Context , projectID , clusterName , exportJobID string ) (* CloudProviderSnapshotExportJob , * Response , error ) {
8080 if projectID == "" {
8181 return nil , nil , NewArgError ("projectID" , "must be set" )
8282 }
8383 if clusterName == "" {
8484 return nil , nil , NewArgError ("clusterName" , "must be set" )
8585 }
86- if bucketID == "" {
87- return nil , nil , NewArgError ("bucketID " , "must be set" )
86+ if exportJobID == "" {
87+ return nil , nil , NewArgError ("exportJobID " , "must be set" )
8888 }
8989
90- path := fmt .Sprintf ("api/atlas/v1.0/groups/%s/clusters/%s/backup/exports/%s" , projectID , clusterName , bucketID )
90+ path := fmt .Sprintf ("api/atlas/v1.0/groups/%s/clusters/%s/backup/exports/%s" , projectID , clusterName , exportJobID )
9191
9292 req , err := c .Client .NewRequest (ctx , http .MethodGet , path , nil )
9393 if err != nil {
0 commit comments