Releases: mongodb/atlas-sdk-go
v20250219001.1.0
Release Notes
Notes
The Atlas Golang SDK official v20250219001.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: 2025-02-19
For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-02-19/
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20250219001.0.0
Release Notes
Notes
The Atlas Golang SDK official v20250219001.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: 2025-02-19
For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-02-19/
Breaking Changes
SDK changes
incompatible changes
- (*OrganizationsApiService).ListOrganizationUsers: removed
- (*OrganizationsApiService).ListOrganizationUsersExecute: removed
- (*OrganizationsApiService).ListOrganizationUsersWithParams: removed
- (*OrganizationsApiService).RemoveOrganizationUser: removed
- (*OrganizationsApiService).RemoveOrganizationUserExecute: removed
- (*OrganizationsApiService).RemoveOrganizationUserWithParams: removed
- (*PaginatedAppUser).GetResults: changed from func() []CloudAppUser to func() []OrgUserResponse
- (PaginatedAppUser).GetResultsOk: changed from func() ([]CloudAppUser, bool) to func() (*[]OrgUserResponse, bool)
- (*PaginatedAppUser).SetResults: changed from func([]CloudAppUser) to func([]OrgUserResponse)
- (*ProjectsApiService).ListProjectUsers: removed
- (*ProjectsApiService).ListProjectUsersExecute: removed
- (*ProjectsApiService).ListProjectUsersWithParams: removed
- (*ProjectsApiService).RemoveProjectUser: removed
- (*ProjectsApiService).RemoveProjectUserExecute: removed
- (*ProjectsApiService).RemoveProjectUserWithParams: removed
- (*TeamsApiService).ListTeamUsers: removed
- (*TeamsApiService).ListTeamUsersExecute: removed
- (*TeamsApiService).ListTeamUsersWithParams: removed
- ListOrganizationUsersApiRequest.ApiService: changed from OrganizationsApi to MongoDBCloudUsersApi
- ListProjectUsersApiRequest.ApiService: changed from ProjectsApi to MongoDBCloudUsersApi
- ListProjectUsersApiRequest.Execute: changed from func() (*PaginatedAppUser, *net/http.Response, error) to func() (*PaginatedGroupUser, *net/http.Response, error)
- ListTeamUsersApiRequest.ApiService: changed from TeamsApi to MongoDBCloudUsersApi
- MongoDBCloudUsersApi.AddOrganizationRole: added
- MongoDBCloudUsersApi.AddOrganizationRoleExecute: added
- MongoDBCloudUsersApi.AddOrganizationRoleWithParams: added
- MongoDBCloudUsersApi.AddProjectRole: added
- MongoDBCloudUsersApi.AddProjectRoleExecute: added
- MongoDBCloudUsersApi.AddProjectRoleWithParams: added
- MongoDBCloudUsersApi.AddProjectUser: added
- MongoDBCloudUsersApi.AddProjectUserExecute: added
- MongoDBCloudUsersApi.AddProjectUserWithParams: added
- MongoDBCloudUsersApi.AddUserToTeam: added
- MongoDBCloudUsersApi.AddUserToTeamExecute: added
- MongoDBCloudUsersApi.AddUserToTeamWithParams: added
- MongoDBCloudUsersApi.CreateOrganizationUser: added
- MongoDBCloudUsersApi.CreateOrganizationUserExecute: added
- MongoDBCloudUsersApi.CreateOrganizationUserWithParams: added
- MongoDBCloudUsersApi.GetOrganizationUser: added
- MongoDBCloudUsersApi.GetOrganizationUserExecute: added
- MongoDBCloudUsersApi.GetOrganizationUserWithParams: added
- MongoDBCloudUsersApi.GetProjectUser: added
- MongoDBCloudUsersApi.GetProjectUserExecute: added
- MongoDBCloudUsersApi.GetProjectUserWithParams: added
- MongoDBCloudUsersApi.ListOrganizationUsers: added
- MongoDBCloudUsersApi.ListOrganizationUsersExecute: added
- MongoDBCloudUsersApi.ListOrganizationUsersWithParams: added
- MongoDBCloudUsersApi.ListProjectUsers: added
- MongoDBCloudUsersApi.ListProjectUsersExecute: added
- MongoDBCloudUsersApi.ListProjectUsersWithParams: added
- MongoDBCloudUsersApi.ListTeamUsers: added
- MongoDBCloudUsersApi.ListTeamUsersExecute: added
- MongoDBCloudUsersApi.ListTeamUsersWithParams: added
- MongoDBCloudUsersApi.RemoveOrganizationRole: added
- MongoDBCloudUsersApi.RemoveOrganizationRoleExecute: added
- MongoDBCloudUsersApi.RemoveOrganizationRoleWithParams: added
- MongoDBCloudUsersApi.RemoveOrganizationUser: added
- MongoDBCloudUsersApi.RemoveOrganizationUserExecute: added
- MongoDBCloudUsersApi.RemoveOrganizationUserWithParams: added
- MongoDBCloudUsersApi.RemoveProjectRole: added
- MongoDBCloudUsersApi.RemoveProjectRoleExecute: added
- MongoDBCloudUsersApi.RemoveProjectRoleWithParams: added
- MongoDBCloudUsersApi.RemoveProjectUser: added
- MongoDBCloudUsersApi.RemoveProjectUserExecute: added
- MongoDBCloudUsersApi.RemoveProjectUserWithParams: added
- MongoDBCloudUsersApi.RemoveUserFromTeam: added
- MongoDBCloudUsersApi.RemoveUserFromTeamExecute: added
- MongoDBCloudUsersApi.RemoveUserFromTeamWithParams: added
- MongoDBCloudUsersApi.UpdateOrganizationUser: added
- MongoDBCloudUsersApi.UpdateOrganizationUserExecute: added
- MongoDBCloudUsersApi.UpdateOrganizationUserWithParams: added
- NewPaginatedAppUser: removed
- NewPaginatedAppUserWithDefaults: removed
- OrganizationsApi.ListOrganizationUsers: removed
- OrganizationsApi.ListOrganizationUsersExecute: removed
- OrganizationsApi.ListOrganizationUsersWithParams: removed
- OrganizationsApi.RemoveOrganizationUser: removed
- OrganizationsApi.RemoveOrganizationUserExecute: removed
- OrganizationsApi.RemoveOrganizationUserWithParams: removed
- PaginatedAppUser.Results: changed from _[]CloudAppUser to _[]OrgUserResponse
- PaginatedAppUser: removed
- PerformanceAdvisorApi.ListDropIndexes: added
- PerformanceAdvisorApi.ListDropIndexesExecute: added
- PerformanceAdvisorApi.ListDropIndexesWithParams: added
- PerformanceAdvisorApi.ListSchemaAdvice: added
- PerformanceAdvisorApi.ListSchemaAdviceExecute: added
- PerformanceAdvisorApi.ListSchemaAdviceWithParams: added
- ProjectsApi.ListProjectUsers: removed
- ProjectsApi.ListProjectUsersExecute: removed
- ProjectsApi.ListProjectUsersWithParams: removed
- ProjectsApi.RemoveProjectUser: removed
- ProjectsApi.RemoveProjectUserExecute: removed
- ProjectsApi.RemoveProjectUserWithParams: removed
- RemoveOrganizationUserApiRequest.ApiService: changed from OrganizationsApi to MongoDBCloudUsersApi
- RemoveProjectUserApiRequest.ApiService: changed from ProjectsApi to MongoDBCloudUsersApi
- RemoveProjectUserApiRequest.Execute: changed from func() (*net/http.Response, error) to func() (any, *net/http.Response, error)
- TeamsApi.ListTeamUsers: removed
- TeamsApi.ListTeamUsersExecute: removed
- TeamsApi.ListTeamUsersWithParams: removed
incompatible changes
- (*OrganizationsApi).ListOrganizationUsersExecute: changed from func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*invalid type, *net/http.Response, error)
- (*OrganizationsApi_ListOrganizationUsersExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) *OrganizationsApi_ListOrganizationUsersExecute_Call to func(*invalid type, *net/http.Response, error) *OrganizationsApi_ListOrganizationUsersExecute_Call
- (*OrganizationsApi_ListOrganizationUsersExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error)) *OrganizationsApi_ListOrganizationUsersExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListOrganizationUsersApiRequest) (*invalid type, *net/http.Response, error)) *OrganizationsApi_ListOrganizationUsersExecute_Call
- (*ProjectsApi).ListProjectUsersExecute: changed from func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*invalid type, *net/http.Response, error)
- (*ProjectsApi_ListProjectUsersExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) *ProjectsApi_ListProjectUsersExecute_Call to func(*invalid type, *net/http.Response, error) *ProjectsApi_ListProjectUsersExecute_Call
- (*ProjectsApi_ListProjectUsersExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error)) *ProjectsApi_ListProjectUsersExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListProjectUsersApiRequest) (*invalid type, *net/http.Response, error)) *ProjectsApi_ListProjectUsersExecute_Call
- (*TeamsApi).ListTeamUsersExecute: changed from func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) to func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*invalid type, *net/http.Response, error)
- (*TeamsApi_ListTeamUsersExecute_Call).Return: changed from func(*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error) *TeamsApi_ListTeamUsersExecute_Call to func(*invalid type, *net/http.Response, error) *TeamsApi_ListTeamUsersExecute_Call
- (*TeamsApi_ListTeamUsersExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*go.mongodb.org/atlas-sdk/v20250219001/admin.PaginatedAppUser, *net/http.Response, error)) *TeamsApi_ListTeamUsersExecute_Call to func(func(go.mongodb.org/atlas-sdk/v20250219001/admin.ListTeamUsersApiRequest) (*invalid type, *net/http.Response, error)) *TeamsApi_ListTeamUsersExecute_Call
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20241113005.0.0
Release Notes
Notes
The Atlas Golang SDK official v20241113005.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: 2025-02-19
For API documentation please refer to:
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/2025-02-19/
Breaking Changes
SDK changes
incompatible changes
- (*PerformanceAdvisorApiService).GetManagedSlowMsExecute: changed from func(GetManagedSlowMsApiRequest) (*net/http.Response, error) to func(GetManagedSlowMsApiRequest) (bool, *net/http.Response, error)
- GetManagedSlowMsApiRequest.Execute: changed from func() (*net/http.Response, error) to func() (bool, *net/http.Response, error)
- ListProjectUsersApiParams.OrgMembershipStatus: removed
- ListProjectUsersApiRequest.OrgMembershipStatus: removed
- NewServerlessMetricThreshold: removed
- NewServerlessMetricThresholdWithDefaults: removed
- PerformanceAdvisorApi.GetManagedSlowMsExecute: changed from func(GetManagedSlowMsApiRequest) (*net/http.Response, error) to func(GetManagedSlowMsApiRequest) (bool, *net/http.Response, error)
- ServerlessMetricThreshold: removed
- StreamsApi.GetActiveVpcPeeringConnections: added
- StreamsApi.GetActiveVpcPeeringConnectionsExecute: added
- StreamsApi.GetActiveVpcPeeringConnectionsWithParams: added
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20241113004.1.0
Release Notes
Notes
The Atlas Golang SDK official v20241113004.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-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/v20241113004/admin
Incompatible changes:
- (*PrivateNetworkEndpointIdEntry).GetAzureConnectionName: removed
- (*PrivateNetworkEndpointIdEntry).GetAzureConnectionNameOk: removed
- (*PrivateNetworkEndpointIdEntry).HasAzureConnectionName: removed
- (*PrivateNetworkEndpointIdEntry).SetAzureConnectionName: removed
- CloudBackupsApi.DisableDataProtectionSettings: added
- CloudBackupsApi.DisableDataProtectionSettingsExecute: added
- CloudBackupsApi.DisableDataProtectionSettingsWithParams: added
- PrivateNetworkEndpointIdEntry.AzureConnectionName: removed
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20241113004.0.0
Release Notes
Notes
The Atlas Golang SDK official v20241113004.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/v20241113004/admin
Incompatible changes:
- (*PrivateNetworkEndpointIdEntry).GetAzureConnectionName: removed
- (*PrivateNetworkEndpointIdEntry).GetAzureConnectionNameOk: removed
- (*PrivateNetworkEndpointIdEntry).HasAzureConnectionName: removed
- (*PrivateNetworkEndpointIdEntry).SetAzureConnectionName: removed
- CloudBackupsApi.DisableDataProtectionSettings: added
- CloudBackupsApi.DisableDataProtectionSettingsExecute: added
- CloudBackupsApi.DisableDataProtectionSettingsWithParams: added
- PrivateNetworkEndpointIdEntry.AzureConnectionName: removed
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20241113003.0.0
Release Notes
Notes
The Atlas Golang SDK official v20241113003.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/v20241113003/admin
Incompatible changes:
- (*OrganizationsApiService).RenameOrganization: removed
- (*OrganizationsApiService).RenameOrganizationExecute: removed
- (*OrganizationsApiService).RenameOrganizationWithParams: removed
- (*StreamsConnection).GetConnectionTimeoutSec: removed
- (*StreamsConnection).GetConnectionTimeoutSecOk: removed
- (*StreamsConnection).GetRequestTimeoutSec: removed
- (*StreamsConnection).GetRequestTimeoutSecOk: removed
- (*StreamsConnection).HasConnectionTimeoutSec: removed
- (*StreamsConnection).HasRequestTimeoutSec: removed
- (*StreamsConnection).SetConnectionTimeoutSec: removed
- (*StreamsConnection).SetRequestTimeoutSec: removed
- (*Team).HasUsernames: removed
- NewTeam: changed from func(string) *Team to func(string, []string) *Team
- OrganizationsApi.RenameOrganization: removed
- OrganizationsApi.RenameOrganizationExecute: removed
- OrganizationsApi.RenameOrganizationWithParams: removed
- OrganizationsApi.UpdateOrganization: added
- OrganizationsApi.UpdateOrganizationExecute: added
- OrganizationsApi.UpdateOrganizationWithParams: added
- PerformanceAdvisorApi.ListClusterSuggestedIndexes: added
- PerformanceAdvisorApi.ListClusterSuggestedIndexesExecute: added
- PerformanceAdvisorApi.ListClusterSuggestedIndexesWithParams: added
- RenameOrganizationApiParams: removed
- RenameOrganizationApiRequest: removed
- StreamsApi.ModifyStreamProcessor: added
- StreamsApi.ModifyStreamProcessorExecute: added
- StreamsApi.ModifyStreamProcessorWithParams: added
- StreamsConnection.ConnectionTimeoutSec: removed
- StreamsConnection.RequestTimeoutSec: removed
- Team.Usernames: changed from *[]string to []string
- Team: old is comparable, new is not
go.mongodb.org/atlas-sdk/v20241113003/mockadmin
Incompatible changes:
- (*OrganizationsApi).RenameOrganization: changed from func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest to func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) invalid type
- (*OrganizationsApi).RenameOrganizationExecute: changed from func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error) to func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error)
- (*OrganizationsApi).RenameOrganizationWithParams: changed from func(context.Context, *go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiParams) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest to func(context.Context, *invalid type) invalid type
- (*OrganizationsApi_RenameOrganizationExecute_Call).Run: changed from func(func(r go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest)) *OrganizationsApi_RenameOrganizationExecute_Call to func(func(r invalid type)) *OrganizationsApi_RenameOrganizationExecute_Call
- (*OrganizationsApi_RenameOrganizationExecute_Call).RunAndReturn: changed from func(func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error)) *OrganizationsApi_RenameOrganizationExecute_Call to func(func(invalid type) (*go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization, *net/http.Response, error)) *OrganizationsApi_RenameOrganizationExecute_Call
- (*OrganizationsApi_RenameOrganizationWithParams_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganizationWithParams_Call to func(invalid type) *OrganizationsApi_RenameOrganizationWithParams_Call
- (*OrganizationsApi_RenameOrganizationWithParams_Call).Run: changed from func(func(ctx context.Context, args *go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiParams)) *OrganizationsApi_RenameOrganizationWithParams_Call to func(func(ctx context.Context, args *invalid type)) *OrganizationsApi_RenameOrganizationWithParams_Call
- (*OrganizationsApi_RenameOrganizationWithParams_Call).RunAndReturn: changed from func(func(context.Context, *go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiParams) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganizationWithParams_Call to func(func(context.Context, *invalid type) invalid type) *OrganizationsApi_RenameOrganizationWithParams_Call
- (*OrganizationsApi_RenameOrganization_Call).Return: changed from func(go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganization_Call to func(invalid type) *OrganizationsApi_RenameOrganization_Call
- (*OrganizationsApi_RenameOrganization_Call).RunAndReturn: changed from func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) go.mongodb.org/atlas-sdk/v20241113003/admin.RenameOrganizationApiRequest) *OrganizationsApi_RenameOrganization_Call to func(func(context.Context, string, *go.mongodb.org/atlas-sdk/v20241113003/admin.AtlasOrganization) invalid type) *OrganizationsApi_RenameOrganization_Call
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20241113002.0.0
Release Notes
Notes
The Atlas Golang SDK official v20241113002.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/v20241113002/admin
Incompatible changes:
- (*FlexClustersApiService).UpgradeFlexCluster: changed from func(context.Context, string, *FlexClusterDescription20241113) UpgradeFlexClusterApiRequest to func(context.Context, string, *AtlasTenantClusterUpgradeRequest20240805) UpgradeFlexClusterApiRequest
- FlexClustersApi.UpgradeFlexCluster: changed from func(context.Context, string, *FlexClusterDescription20241113) UpgradeFlexClusterApiRequest to func(context.Context, string, *AtlasTenantClusterUpgradeRequest20240805) UpgradeFlexClusterApiRequest
- UpgradeFlexClusterApiParams.FlexClusterDescription20241113: removed
API Changelog
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog
v20241113001.0.0
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...
v20241023002.1.0
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
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