Skip to content

v20240805004.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Oct 09:53
· 53 commits to main since this release
8e2c9c7

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