Skip to content

Releases: mongodb/atlas-sdk-go

v20241113001.0.0

19 Nov 08:01
74bb991
Compare
Choose a tag to compare

Release Notes

Notes

The Atlas Golang SDK official v20241113001.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-11-13

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

Breaking Changes

SDK changes

go.mongodb.org/atlas-sdk/v20241113001/mockadmin
Incompatible changes:

  • (*AWSClustersDNSApi).GetAWSCustomDNS: changed from func(context.Context, string) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest to func(context.Context, string) invalid type
  • (*AWSClustersDNSApi).GetAWSCustomDNSExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)
  • (*AWSClustersDNSApi).GetAWSCustomDNSWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest to func(context.Context, *invalid type) invalid type
  • (*AWSClustersDNSApi).ToggleAWSCustomDNS: changed from func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest to func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) invalid type
  • (*AWSClustersDNSApi).ToggleAWSCustomDNSExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)
  • (*AWSClustersDNSApi).ToggleAWSCustomDNSWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest to func(context.Context, *invalid type) invalid type
  • (*AWSClustersDNSApi_GetAWSCustomDNSExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call to func(func(r invalid type)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_GetAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call to func(invalid type) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiParams)) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call to func(func(ctx context.Context, args *invalid type)) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call).RunAndReturn: changed from func(func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call to func(func(context.Context, *invalid type) invalid type) *AWSClustersDNSApi_GetAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNS_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNS_Call to func(invalid type) *AWSClustersDNSApi_GetAWSCustomDNS_Call
  • (*AWSClustersDNSApi_GetAWSCustomDNS_Call).RunAndReturn: changed from func(func(context.Context, string) go.mongodb.org/atlas-sdk/v20241113001/admin.GetAWSCustomDNSApiRequest) *AWSClustersDNSApi_GetAWSCustomDNS_Call to func(func(context.Context, string) invalid type) *AWSClustersDNSApi_GetAWSCustomDNS_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call to func(func(r invalid type)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled, *net/http.Response, error)) *AWSClustersDNSApi_ToggleAWSCustomDNSExecute_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call to func(invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiParams)) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call to func(func(ctx context.Context, args *invalid type)) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call).RunAndReturn: changed from func(func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call to func(func(context.Context, *invalid type) invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNSWithParams_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNS_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call to func(invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call
  • (*AWSClustersDNSApi_ToggleAWSCustomDNS_Call).RunAndReturn: changed from func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) go.mongodb.org/atlas-sdk/v20241113001/admin.ToggleAWSCustomDNSApiRequest) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call to func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.AWSCustomDNSEnabled) invalid type) *AWSClustersDNSApi_ToggleAWSCustomDNS_Call
  • (*ClustersApi).GrantMongoDBEmployeeAccess: changed from func(context.Context, string, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.EmployeeAccessGrant) go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest to func(context.Context, string, string, *go.mongodb.org/atlas-sdk/v20241113001/admin.EmployeeAccessGrant) invalid type
  • (*ClustersApi).GrantMongoDBEmployeeAccessExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest) (any, *net/http.Response, error) to func(invalid type) (any, *net/http.Response, error)
  • (*ClustersApi).GrantMongoDBEmployeeAccessWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest to func(context.Context, *invalid type) invalid type
  • (*ClustersApi).RevokeMongoDBEmployeeAccess: changed from func(context.Context, string, string) go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiRequest to func(context.Context, string, string) invalid type
  • (*ClustersApi).RevokeMongoDBEmployeeAccessExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiRequest) (any, *net/http.Response, error) to func(invalid type) (any, *net/http.Response, error)
  • (*ClustersApi).RevokeMongoDBEmployeeAccessWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiParams) go.mongodb.org/atlas-sdk/v20241113001/admin.RevokeMongoDBEmployeeAccessApiRequest to func(context.Context, *invalid type) invalid type
  • (*ClustersApi_GrantMongoDBEmployeeAccessExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call to func(func(r invalid type)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call
  • (*ClustersApi_GrantMongoDBEmployeeAccessExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest) (any, *net/http.Response, error)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call to func(func(invalid type) (any, *net/http.Response, error)) *ClustersApi_GrantMongoDBEmployeeAccessExecute_Call
  • (*ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113001/admin.GrantMongoDBEmployeeAccessApiRequest) *ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call to func(invalid type) *ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call
  • (*ClustersApi_GrantMongoDBEmployeeAccessWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.o...
Read more

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