Skip to content

Commit 4da6299

Browse files
author
DEXREQ Automation
committed
Merge pull request #2651 in SDK/oci-go-sdk from merge_to_github2024-02-05 to github
Releasing Version 65.58.0 Squashed commit of the following: commit 2414014490423377194f1833342b6c2c7dd9d7bc Author: oci-dex-release-bot <oci-dex-releases-bot_ww@oracle.com> Date: Mon Feb 5 20:21:50 2024 +0000 Releasing version 65 58 0
1 parent 1ee1677 commit 4da6299

File tree

248 files changed

+20177
-1401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+20177
-1401
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66

7+
## 65.58.0 - 2024-02-06
8+
### Added
9+
- Support for the Globally Distributed Database service
10+
- Support for secret auto-rotation in the Secret Management service
11+
- Support for dedicated key management in the Key Management service
12+
- Support for resource locking operations in the Digital Media service
13+
- Support for data sources, including prometheus emitter, in the Management Agent service
14+
- Support for Bring Your Own Certificates (BYOC) in the MySQL HeatWave Database service
15+
16+
### Breaking Changes
17+
- The property Type was changed from ListWorkRequestsTypeEnum to []OperationTypesEnum and made mandatory in the ListWorkRequestsRequest model in the Management Agent Service
18+
- The Enums EditModesEnum and DatatypesEnum were removed in the Management Agent Service
19+
20+
721
## 65.57.0 - 2024-01-30
822
### Added
923
- Support for OCI Control Center service

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com
22

3-
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement ##SPECNAME##
3+
GEN_TARGETS = identity core objectstorage loadbalancer database audit dns filestorage email containerengine resourcesearch keymanagement announcementsservice healthchecks waas autoscaling streaming ons monitoring resourcemanager budget workrequests functions limits events dts oce oda analytics integration osmanagement marketplace apigateway applicationmigration datacatalog dataflow datascience nosql secrets vault bds cims datasafe mysql dataintegration ocvp usageapi blockchain loggingingestion logging loganalytics managementdashboard sch loggingsearch managementagent cloudguard opsi computeinstanceagent optimizer tenantmanagercontrolplane rover databasemanagement artifacts apmsynthetics goldengate apmcontrolplane apmtraces networkloadbalancer vulnerabilityscanning databasemigration servicecatalog ailanguage operatoraccesscontrol bastion genericartifactscontent jms devops aianomalydetection datalabelingservice datalabelingservicedataplane apmconfig waf certificates certificatesmanagement usage databasetools servicemanagerproxy appmgmtcontrol ospgateway identitydataplane visualbuilder osubusage osubsubscription osuborganizationsubscription osubbillingschedule dashboardservice threatintelligence aivision aispeech stackmonitoring servicemesh adm licensemanager onesubscription governancerulescontrolplane waa networkfirewall vnmonitoring emwarehouse lockbox fusionapps mediaservices opa opensearch cloudmigrations cloudbridge disasterrecovery containerinstances aidocument queue recovery vbsinst identitydomains accessgovernancecp ocicontrolcenter osmanagementhub fleetsoftwareupdate computecloudatcustomer marketplacepublisher redis jmsjavadownloads psql generativeai generativeaiinference capacitymanagement globallydistributeddatabase ##SPECNAME##
44
NON_GEN_TARGETS = common common/auth objectstorage/transfer example
55
TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS)
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Are you a Developer using the OCI SDK? If so, please fill out our survey to help
99

1010

1111
## Dependencies
12-
- Install [Go programming language](https://golang.org/dl/), Go1.17, 1.18, 1.19 and 1.20 is supported By OCI Go SDK.
12+
- Install [Go programming language](https://golang.org/dl/), Go1.17, 1.18, 1.19, 1.20, and 1.21 are supported By OCI Go SDK.
1313
- Install [GNU Make](https://www.gnu.org/software/make/), using the package manager or binary distribution tool appropriate for your platform.
1414

1515
## Versioning

common/version.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generativeai/generativeai_client.go

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func (client GenerativeAiClient) changeDedicatedAiClusterCompartment(ctx context
148148
defer common.CloseBodyIfValid(httpResponse)
149149
response.RawResponse = httpResponse
150150
if err != nil {
151-
apiReferenceLink := ""
151+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/ChangeDedicatedAiClusterCompartment"
152152
err = common.PostProcessServiceError(err, "GenerativeAi", "ChangeDedicatedAiClusterCompartment", apiReferenceLink)
153153
return response, err
154154
}
@@ -211,7 +211,7 @@ func (client GenerativeAiClient) changeEndpointCompartment(ctx context.Context,
211211
defer common.CloseBodyIfValid(httpResponse)
212212
response.RawResponse = httpResponse
213213
if err != nil {
214-
apiReferenceLink := ""
214+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/ChangeEndpointCompartment"
215215
err = common.PostProcessServiceError(err, "GenerativeAi", "ChangeEndpointCompartment", apiReferenceLink)
216216
return response, err
217217
}
@@ -274,7 +274,7 @@ func (client GenerativeAiClient) changeModelCompartment(ctx context.Context, req
274274
defer common.CloseBodyIfValid(httpResponse)
275275
response.RawResponse = httpResponse
276276
if err != nil {
277-
apiReferenceLink := ""
277+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/ChangeModelCompartment"
278278
err = common.PostProcessServiceError(err, "GenerativeAi", "ChangeModelCompartment", apiReferenceLink)
279279
return response, err
280280
}
@@ -337,7 +337,7 @@ func (client GenerativeAiClient) createDedicatedAiCluster(ctx context.Context, r
337337
defer common.CloseBodyIfValid(httpResponse)
338338
response.RawResponse = httpResponse
339339
if err != nil {
340-
apiReferenceLink := ""
340+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/CreateDedicatedAiCluster"
341341
err = common.PostProcessServiceError(err, "GenerativeAi", "CreateDedicatedAiCluster", apiReferenceLink)
342342
return response, err
343343
}
@@ -401,7 +401,7 @@ func (client GenerativeAiClient) createEndpoint(ctx context.Context, request com
401401
defer common.CloseBodyIfValid(httpResponse)
402402
response.RawResponse = httpResponse
403403
if err != nil {
404-
apiReferenceLink := ""
404+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/CreateEndpoint"
405405
err = common.PostProcessServiceError(err, "GenerativeAi", "CreateEndpoint", apiReferenceLink)
406406
return response, err
407407
}
@@ -465,7 +465,7 @@ func (client GenerativeAiClient) createModel(ctx context.Context, request common
465465
defer common.CloseBodyIfValid(httpResponse)
466466
response.RawResponse = httpResponse
467467
if err != nil {
468-
apiReferenceLink := ""
468+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/CreateModel"
469469
err = common.PostProcessServiceError(err, "GenerativeAi", "CreateModel", apiReferenceLink)
470470
return response, err
471471
}
@@ -524,7 +524,7 @@ func (client GenerativeAiClient) deleteDedicatedAiCluster(ctx context.Context, r
524524
defer common.CloseBodyIfValid(httpResponse)
525525
response.RawResponse = httpResponse
526526
if err != nil {
527-
apiReferenceLink := ""
527+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/DeleteDedicatedAiCluster"
528528
err = common.PostProcessServiceError(err, "GenerativeAi", "DeleteDedicatedAiCluster", apiReferenceLink)
529529
return response, err
530530
}
@@ -582,7 +582,7 @@ func (client GenerativeAiClient) deleteEndpoint(ctx context.Context, request com
582582
defer common.CloseBodyIfValid(httpResponse)
583583
response.RawResponse = httpResponse
584584
if err != nil {
585-
apiReferenceLink := ""
585+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/DeleteEndpoint"
586586
err = common.PostProcessServiceError(err, "GenerativeAi", "DeleteEndpoint", apiReferenceLink)
587587
return response, err
588588
}
@@ -640,7 +640,7 @@ func (client GenerativeAiClient) deleteModel(ctx context.Context, request common
640640
defer common.CloseBodyIfValid(httpResponse)
641641
response.RawResponse = httpResponse
642642
if err != nil {
643-
apiReferenceLink := ""
643+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/DeleteModel"
644644
err = common.PostProcessServiceError(err, "GenerativeAi", "DeleteModel", apiReferenceLink)
645645
return response, err
646646
}
@@ -698,7 +698,7 @@ func (client GenerativeAiClient) getDedicatedAiCluster(ctx context.Context, requ
698698
defer common.CloseBodyIfValid(httpResponse)
699699
response.RawResponse = httpResponse
700700
if err != nil {
701-
apiReferenceLink := ""
701+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/GetDedicatedAiCluster"
702702
err = common.PostProcessServiceError(err, "GenerativeAi", "GetDedicatedAiCluster", apiReferenceLink)
703703
return response, err
704704
}
@@ -756,7 +756,7 @@ func (client GenerativeAiClient) getEndpoint(ctx context.Context, request common
756756
defer common.CloseBodyIfValid(httpResponse)
757757
response.RawResponse = httpResponse
758758
if err != nil {
759-
apiReferenceLink := ""
759+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/GetEndpoint"
760760
err = common.PostProcessServiceError(err, "GenerativeAi", "GetEndpoint", apiReferenceLink)
761761
return response, err
762762
}
@@ -814,7 +814,7 @@ func (client GenerativeAiClient) getModel(ctx context.Context, request common.OC
814814
defer common.CloseBodyIfValid(httpResponse)
815815
response.RawResponse = httpResponse
816816
if err != nil {
817-
apiReferenceLink := ""
817+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/GetModel"
818818
err = common.PostProcessServiceError(err, "GenerativeAi", "GetModel", apiReferenceLink)
819819
return response, err
820820
}
@@ -872,7 +872,7 @@ func (client GenerativeAiClient) getWorkRequest(ctx context.Context, request com
872872
defer common.CloseBodyIfValid(httpResponse)
873873
response.RawResponse = httpResponse
874874
if err != nil {
875-
apiReferenceLink := ""
875+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequest/GetWorkRequest"
876876
err = common.PostProcessServiceError(err, "GenerativeAi", "GetWorkRequest", apiReferenceLink)
877877
return response, err
878878
}
@@ -930,7 +930,7 @@ func (client GenerativeAiClient) listDedicatedAiClusters(ctx context.Context, re
930930
defer common.CloseBodyIfValid(httpResponse)
931931
response.RawResponse = httpResponse
932932
if err != nil {
933-
apiReferenceLink := ""
933+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiClusterCollection/ListDedicatedAiClusters"
934934
err = common.PostProcessServiceError(err, "GenerativeAi", "ListDedicatedAiClusters", apiReferenceLink)
935935
return response, err
936936
}
@@ -988,7 +988,7 @@ func (client GenerativeAiClient) listEndpoints(ctx context.Context, request comm
988988
defer common.CloseBodyIfValid(httpResponse)
989989
response.RawResponse = httpResponse
990990
if err != nil {
991-
apiReferenceLink := ""
991+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/EndpointCollection/ListEndpoints"
992992
err = common.PostProcessServiceError(err, "GenerativeAi", "ListEndpoints", apiReferenceLink)
993993
return response, err
994994
}
@@ -1046,7 +1046,7 @@ func (client GenerativeAiClient) listModels(ctx context.Context, request common.
10461046
defer common.CloseBodyIfValid(httpResponse)
10471047
response.RawResponse = httpResponse
10481048
if err != nil {
1049-
apiReferenceLink := ""
1049+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/ModelCollection/ListModels"
10501050
err = common.PostProcessServiceError(err, "GenerativeAi", "ListModels", apiReferenceLink)
10511051
return response, err
10521052
}
@@ -1104,7 +1104,7 @@ func (client GenerativeAiClient) listWorkRequestErrors(ctx context.Context, requ
11041104
defer common.CloseBodyIfValid(httpResponse)
11051105
response.RawResponse = httpResponse
11061106
if err != nil {
1107-
apiReferenceLink := ""
1107+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequestError/ListWorkRequestErrors"
11081108
err = common.PostProcessServiceError(err, "GenerativeAi", "ListWorkRequestErrors", apiReferenceLink)
11091109
return response, err
11101110
}
@@ -1162,7 +1162,7 @@ func (client GenerativeAiClient) listWorkRequestLogs(ctx context.Context, reques
11621162
defer common.CloseBodyIfValid(httpResponse)
11631163
response.RawResponse = httpResponse
11641164
if err != nil {
1165-
apiReferenceLink := ""
1165+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequestLogEntry/ListWorkRequestLogs"
11661166
err = common.PostProcessServiceError(err, "GenerativeAi", "ListWorkRequestLogs", apiReferenceLink)
11671167
return response, err
11681168
}
@@ -1220,7 +1220,7 @@ func (client GenerativeAiClient) listWorkRequests(ctx context.Context, request c
12201220
defer common.CloseBodyIfValid(httpResponse)
12211221
response.RawResponse = httpResponse
12221222
if err != nil {
1223-
apiReferenceLink := ""
1223+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/WorkRequest/ListWorkRequests"
12241224
err = common.PostProcessServiceError(err, "GenerativeAi", "ListWorkRequests", apiReferenceLink)
12251225
return response, err
12261226
}
@@ -1278,7 +1278,7 @@ func (client GenerativeAiClient) updateDedicatedAiCluster(ctx context.Context, r
12781278
defer common.CloseBodyIfValid(httpResponse)
12791279
response.RawResponse = httpResponse
12801280
if err != nil {
1281-
apiReferenceLink := ""
1281+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/DedicatedAiCluster/UpdateDedicatedAiCluster"
12821282
err = common.PostProcessServiceError(err, "GenerativeAi", "UpdateDedicatedAiCluster", apiReferenceLink)
12831283
return response, err
12841284
}
@@ -1336,7 +1336,7 @@ func (client GenerativeAiClient) updateEndpoint(ctx context.Context, request com
13361336
defer common.CloseBodyIfValid(httpResponse)
13371337
response.RawResponse = httpResponse
13381338
if err != nil {
1339-
apiReferenceLink := ""
1339+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Endpoint/UpdateEndpoint"
13401340
err = common.PostProcessServiceError(err, "GenerativeAi", "UpdateEndpoint", apiReferenceLink)
13411341
return response, err
13421342
}
@@ -1394,7 +1394,7 @@ func (client GenerativeAiClient) updateModel(ctx context.Context, request common
13941394
defer common.CloseBodyIfValid(httpResponse)
13951395
response.RawResponse = httpResponse
13961396
if err != nil {
1397-
apiReferenceLink := ""
1397+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai/20231130/Model/UpdateModel"
13981398
err = common.PostProcessServiceError(err, "GenerativeAi", "UpdateModel", apiReferenceLink)
13991399
return response, err
14001400
}

generativeaiinference/generativeaiinference_client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func (client GenerativeAiInferenceClient) embedText(ctx context.Context, request
149149
defer common.CloseBodyIfValid(httpResponse)
150150
response.RawResponse = httpResponse
151151
if err != nil {
152-
apiReferenceLink := ""
152+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/20231130/EmbedTextResult/EmbedText"
153153
err = common.PostProcessServiceError(err, "GenerativeAiInference", "EmbedText", apiReferenceLink)
154154
return response, err
155155
}
@@ -212,7 +212,7 @@ func (client GenerativeAiInferenceClient) generateText(ctx context.Context, requ
212212
defer common.CloseBodyIfValid(httpResponse)
213213
response.RawResponse = httpResponse
214214
if err != nil {
215-
apiReferenceLink := ""
215+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/20231130/GenerateTextResult/GenerateText"
216216
err = common.PostProcessServiceError(err, "GenerativeAiInference", "GenerateText", apiReferenceLink)
217217
return response, err
218218
}
@@ -275,7 +275,7 @@ func (client GenerativeAiInferenceClient) summarizeText(ctx context.Context, req
275275
defer common.CloseBodyIfValid(httpResponse)
276276
response.RawResponse = httpResponse
277277
if err != nil {
278-
apiReferenceLink := ""
278+
apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/generative-ai-inference/20231130/SummarizeTextResult/SummarizeText"
279279
err = common.PostProcessServiceError(err, "GenerativeAiInference", "SummarizeText", apiReferenceLink)
280280
return response, err
281281
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved.
2+
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3+
// Code generated. DO NOT EDIT.
4+
5+
// Globally Distributed Database
6+
//
7+
// Use the Globally Distributed Database service APIs to create and manage distributed databases.
8+
//
9+
10+
package globallydistributeddatabase
11+
12+
import (
13+
"strings"
14+
)
15+
16+
// ActionTypeEnum Enum with underlying type: string
17+
type ActionTypeEnum string
18+
19+
// Set of constants representing the allowable values for ActionTypeEnum
20+
const (
21+
ActionTypeCreated ActionTypeEnum = "CREATED"
22+
ActionTypeUpdated ActionTypeEnum = "UPDATED"
23+
ActionTypeDeleted ActionTypeEnum = "DELETED"
24+
ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
25+
ActionTypeRelated ActionTypeEnum = "RELATED"
26+
ActionTypeFailed ActionTypeEnum = "FAILED"
27+
)
28+
29+
var mappingActionTypeEnum = map[string]ActionTypeEnum{
30+
"CREATED": ActionTypeCreated,
31+
"UPDATED": ActionTypeUpdated,
32+
"DELETED": ActionTypeDeleted,
33+
"IN_PROGRESS": ActionTypeInProgress,
34+
"RELATED": ActionTypeRelated,
35+
"FAILED": ActionTypeFailed,
36+
}
37+
38+
var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{
39+
"created": ActionTypeCreated,
40+
"updated": ActionTypeUpdated,
41+
"deleted": ActionTypeDeleted,
42+
"in_progress": ActionTypeInProgress,
43+
"related": ActionTypeRelated,
44+
"failed": ActionTypeFailed,
45+
}
46+
47+
// GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
48+
func GetActionTypeEnumValues() []ActionTypeEnum {
49+
values := make([]ActionTypeEnum, 0)
50+
for _, v := range mappingActionTypeEnum {
51+
values = append(values, v)
52+
}
53+
return values
54+
}
55+
56+
// GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
57+
func GetActionTypeEnumStringValues() []string {
58+
return []string{
59+
"CREATED",
60+
"UPDATED",
61+
"DELETED",
62+
"IN_PROGRESS",
63+
"RELATED",
64+
"FAILED",
65+
}
66+
}
67+
68+
// GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
69+
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool) {
70+
enum, ok := mappingActionTypeEnumLowerCase[strings.ToLower(val)]
71+
return enum, ok
72+
}

0 commit comments

Comments
 (0)