Skip to content

Releases: mongodb/atlas-sdk-go

v20241023002.1.0

08 Nov 06:19
625dd5b
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023002.1.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-10-23

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-10-23/

Breaking Changes

SDK changes

JSON responses take precedence now. As an example GetInvoice returns BillingInvoice instead of a string with CSV content.

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20241023002.0.0

06 Nov 12:08
9b313e4
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023002.0.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-10-23

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-10-23/

Breaking Changes

SDK changes

JSON responses take precedence now. As an example GetInvoice returns BillingInvoice instead of a string with CSV content.

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20241023001.1.0

30 Oct 07:30
8c1c4c7
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023001.1.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-10-23

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-10-23/

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20241023001.0.0

29 Oct 13:49
841de36
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241023001.0.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-10-23

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-10-23/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20241023001/admin
Incompatible changes:

  • (*ApiError).HasError: removed
  • (*ApiError).HasErrorCode: removed
  • (*CloudBackupsApiService).CreateExportBucket: changed from func(context.Context, string, *DiskBackupSnapshotExportBucket) CreateExportBucketApiRequest to func(context.Context, string, *DiskBackupSnapshotExportBucketRequest) CreateExportBucketApiRequest
  • (*DiskBackupExportJob).GetDeliveryUrl: removed
  • (*DiskBackupExportJob).GetDeliveryUrlOk: removed
  • (*DiskBackupExportJob).HasDeliveryUrl: removed
  • (*DiskBackupExportJob).SetDeliveryUrl: removed
  • (*DiskBackupSnapshotExportBucket).HasId: removed
  • (*FieldViolation).HasDescription: removed
  • (*FieldViolation).HasField: removed
  • ApiError.Error: changed from *int to int
  • ApiError.ErrorCode: changed from *string to string
  • CloudBackupsApi.CreateExportBucket: changed from func(context.Context, string, *DiskBackupSnapshotExportBucket) CreateExportBucketApiRequest to func(context.Context, string, *DiskBackupSnapshotExportBucketRequest) CreateExportBucketApiRequest
  • CreateExportBucketApiParams.DiskBackupSnapshotExportBucket: removed
  • DiskBackupExportJob.DeliveryUrl: removed
  • DiskBackupSnapshotExportBucket.Id: changed from *string to string
  • DiskBackupSnapshotExportBucket: removed
  • FieldViolation.Description: changed from *string to string
  • FieldViolation.Field: changed from *string to string
  • NewApiError: changed from func() *ApiError to func(int, string) *ApiError
  • NewDiskBackupSnapshotExportBucket: removed
  • NewDiskBackupSnapshotExportBucketWithDefaults: removed
  • NewFieldViolation: changed from func() *FieldViolation to func(string, string) *FieldViolation

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20240805005.0.0

17 Oct 08:17
ce39965
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805005.0.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20240805005/admin
Incompatible changes:

  • (*ClusterFreeAutoScaling).GetCompute: changed from func() string to func() FreeComputeAutoScalingRules
  • (*ClusterFreeAutoScaling).GetComputeOk: changed from func() (*string, bool) to func() (*FreeComputeAutoScalingRules, bool)
  • (*ClusterFreeAutoScaling).SetCompute: changed from func(string) to func(FreeComputeAutoScalingRules)
  • ClusterFreeAutoScaling.Compute: changed from *string to *FreeComputeAutoScalingRules

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20240805004.7.0

11 Oct 08:43
3449467
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805004.7.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20240805004/admin
Incompatible changes:

  • (*CloudProviderAccessApiService).AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • AuthorizeCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • AuthorizeCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • CloudProviderAccessApi.CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessRole: changed from CloudProviderAccessRole to CloudProviderAccessRole
  • ClustersApi.GrantMongoDBEmployeeAccess: added
  • ClustersApi.GrantMongoDBEmployeeAccessExecute: added
  • ClustersApi.GrantMongoDBEmployeeAccessWithParams: added
  • ClustersApi.RevokeMongoDBEmployeeAccess: added
  • ClustersApi.RevokeMongoDBEmployeeAccessExecute: added
  • ClustersApi.RevokeMongoDBEmployeeAccessWithParams: added
  • CreateCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • CreateCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • GetCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • NewCloudProviderAccessRole: changed from func(string) *CloudProviderAccessRole to func(string) *CloudProviderAccessRole
  • NewCloudProviderAccessRoleWithDefaults: changed from func() *CloudProviderAccessRole to func() *CloudProviderAccessRole
  • StreamsApi.CreateStreamInstanceWithSampleConnections: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsExecute: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsWithParams: added

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20240805004.6.0

09 Oct 12:56
00bf2b0
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805004.6.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20240805004/admin
Incompatible changes:

  • (*CloudProviderAccessApiService).AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • AuthorizeCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • AuthorizeCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • CloudProviderAccessApi.CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessRole: changed from CloudProviderAccessRole to CloudProviderAccessRole
  • ClustersApi.GrantMongoDBEmployeeAccess: added
  • ClustersApi.GrantMongoDBEmployeeAccessExecute: added
  • ClustersApi.GrantMongoDBEmployeeAccessWithParams: added
  • ClustersApi.RevokeMongoDBEmployeeAccess: added
  • ClustersApi.RevokeMongoDBEmployeeAccessExecute: added
  • ClustersApi.RevokeMongoDBEmployeeAccessWithParams: added
  • CreateCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • CreateCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • GetCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • NewCloudProviderAccessRole: changed from func(string) *CloudProviderAccessRole to func(string) *CloudProviderAccessRole
  • NewCloudProviderAccessRoleWithDefaults: changed from func() *CloudProviderAccessRole to func() *CloudProviderAccessRole
  • StreamsApi.CreateStreamInstanceWithSampleConnections: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsExecute: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsWithParams: added

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20240805004.5.0

03 Oct 23:54
95b0af3
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805004.5.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20240805004/admin
Incompatible changes:

  • (*CloudProviderAccessApiService).AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • AuthorizeCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • AuthorizeCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • CloudProviderAccessApi.CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessRole: changed from CloudProviderAccessRole to CloudProviderAccessRole
  • ClustersApi.GrantMongoDBEmployeeAccess: added
  • ClustersApi.GrantMongoDBEmployeeAccessExecute: added
  • ClustersApi.GrantMongoDBEmployeeAccessWithParams: added
  • ClustersApi.RevokeMongoDBEmployeeAccess: added
  • ClustersApi.RevokeMongoDBEmployeeAccessExecute: added
  • ClustersApi.RevokeMongoDBEmployeeAccessWithParams: added
  • CreateCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • CreateCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • GetCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • NewCloudProviderAccessRole: changed from func(string) *CloudProviderAccessRole to func(string) *CloudProviderAccessRole
  • NewCloudProviderAccessRoleWithDefaults: changed from func() *CloudProviderAccessRole to func() *CloudProviderAccessRole
  • StreamsApi.CreateStreamInstanceWithSampleConnections: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsExecute: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsWithParams: added

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20240805004.4.0

01 Oct 09:53
8e2c9c7
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805004.4.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20240805004/admin
Incompatible changes:

  • (*CloudProviderAccessApiService).AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • AuthorizeCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • AuthorizeCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • CloudProviderAccessApi.CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessRole: changed from CloudProviderAccessRole to CloudProviderAccessRole
  • ClustersApi.GrantMongoDBEmployeeAccess: added
  • ClustersApi.GrantMongoDBEmployeeAccessExecute: added
  • ClustersApi.GrantMongoDBEmployeeAccessWithParams: added
  • ClustersApi.RevokeMongoDBEmployeeAccess: added
  • ClustersApi.RevokeMongoDBEmployeeAccessExecute: added
  • ClustersApi.RevokeMongoDBEmployeeAccessWithParams: added
  • CreateCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • CreateCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • GetCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • NewCloudProviderAccessRole: changed from func(string) *CloudProviderAccessRole to func(string) *CloudProviderAccessRole
  • NewCloudProviderAccessRoleWithDefaults: changed from func() *CloudProviderAccessRole to func() *CloudProviderAccessRole
  • StreamsApi.CreateStreamInstanceWithSampleConnections: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsExecute: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsWithParams: added

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog

v20240805004.3.0

25 Sep 08:39
31b560f
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20240805004.3.0 release.

SDK documentation

Please refer to the official documentation

https://www.mongodb.com/docs/atlas/sdk/

API documentation

SDK is based on Atlas Admin v2 API.
Currently supported version: 2024-08-05

For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2024-08-05/

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20240805004/admin
Incompatible changes:

  • (*CloudProviderAccessApiService).AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • (*CloudProviderAccessApiService).CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • (*CloudProviderAccessApiService).GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • AuthorizeCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • AuthorizeCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.AuthorizeCloudProviderAccessRoleExecute: changed from func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(AuthorizeCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.CreateCloudProviderAccessRole: changed from func(context.Context, string, *CloudProviderAccessRole) CreateCloudProviderAccessRoleApiRequest to func(context.Context, string, *CloudProviderAccessRoleRequest) CreateCloudProviderAccessRoleApiRequest
  • CloudProviderAccessApi.CreateCloudProviderAccessRoleExecute: changed from func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(CreateCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessApi.GetCloudProviderAccessRoleExecute: changed from func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error) to func(GetCloudProviderAccessRoleApiRequest) (*CloudProviderAccessRole, *net/http.Response, error)
  • CloudProviderAccessRole: changed from CloudProviderAccessRole to CloudProviderAccessRole
  • ClustersApi.GrantMongoDBEmployeeAccess: added
  • ClustersApi.GrantMongoDBEmployeeAccessExecute: added
  • ClustersApi.GrantMongoDBEmployeeAccessWithParams: added
  • ClustersApi.RevokeMongoDBEmployeeAccess: added
  • ClustersApi.RevokeMongoDBEmployeeAccessExecute: added
  • ClustersApi.RevokeMongoDBEmployeeAccessWithParams: added
  • CreateCloudProviderAccessRoleApiParams.CloudProviderAccessRole: removed
  • CreateCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • GetCloudProviderAccessRoleApiRequest.Execute: changed from func() (*CloudProviderAccessRole, *net/http.Response, error) to func() (*CloudProviderAccessRole, *net/http.Response, error)
  • NewCloudProviderAccessRole: changed from func(string) *CloudProviderAccessRole to func(string) *CloudProviderAccessRole
  • NewCloudProviderAccessRoleWithDefaults: changed from func() *CloudProviderAccessRole to func() *CloudProviderAccessRole
  • StreamsApi.CreateStreamInstanceWithSampleConnections: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsExecute: added
  • StreamsApi.CreateStreamInstanceWithSampleConnectionsWithParams: added

API Changelog

https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog