diff --git a/CHANGELOG.md b/CHANGELOG.md index 99cde10d14..807c567d0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) +## 65.63.0 - 2024-04-02 +### Added +- Support for assigned private IP and single stack IPV6 feature for Network Load Balancer Service +- Support for Configuration API in Email Delivery Service +- Support for the status field in creating data source resource for Cloud Guard Service +- Support for TLSv1.3 in Load Balancer Service +- Support for sending mails via HTTPS for Email Delivery Service + +### Breaking Changes +- The type of property `Reason` was changed from `SuppressionSummaryReasonEnum` to `SuppressionReasonEnum` in the model `SuppressionSummary` in the Email Delivery Service + + ## 65.62.0 - 2024-03-26 ### Added - Support for creating and updating a refreshable clone with auto-refresh for an Autonomous Database in the Database service diff --git a/Makefile b/Makefile index 882137d349..a3f1e93e6a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ DOC_SERVER_URL=https:\/\/docs.cloud.oracle.com -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 desktops ##SPECNAME## +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 desktops emaildataplane ##SPECNAME## NON_GEN_TARGETS = common common/auth objectstorage/transfer example TARGETS = $(NON_GEN_TARGETS) $(GEN_TARGETS) diff --git a/cloudguard/activity_problem_aggregation.go b/cloudguard/activity_problem_aggregation.go index bdfee6df8a..193d41b2d4 100644 --- a/cloudguard/activity_problem_aggregation.go +++ b/cloudguard/activity_problem_aggregation.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ActivityProblemAggregation Provides the dimensions and their corresponding count. +// ActivityProblemAggregation Provides the parameters and their corresponding count. type ActivityProblemAggregation struct { // The key-value pairs of dimensions and their names. diff --git a/cloudguard/cloudguard_client.go b/cloudguard/cloudguard_client.go index c77c48d039..c551045431 100644 --- a/cloudguard/cloudguard_client.go +++ b/cloudguard/cloudguard_client.go @@ -273,7 +273,7 @@ func (client CloudGuardClient) changeDataSourceCompartment(ctx context.Context, return response, err } -// ChangeDetectorRecipeCompartment Moves the DetectorRecipe from current compartment to another. +// ChangeDetectorRecipeCompartment Moves the detector recipe (DetectorRecipe object), identified by detectorRecipeId, from the current compartment to another compartment. // // # See also // @@ -335,7 +335,7 @@ func (client CloudGuardClient) changeDetectorRecipeCompartment(ctx context.Conte return response, err } -// ChangeManagedListCompartment Moves the ManagedList from current compartment to another. +// ChangeManagedListCompartment Moves the managed list (ManagedList object), identified by managedListId, from the current compartment to another compartment. // // # See also // @@ -583,7 +583,7 @@ func (client CloudGuardClient) changeSecurityZoneCompartment(ctx context.Context return response, err } -// CreateDataMaskRule Creates a new Data Mask Rule Definition +// CreateDataMaskRule Creates a new DataMaskRule object definition. // // # See also // @@ -707,7 +707,7 @@ func (client CloudGuardClient) createDataSource(ctx context.Context, request com return response, err } -// CreateDetectorRecipe Creates a DetectorRecipe +// CreateDetectorRecipe Creates a new DetectorRecipe object. // // # See also // @@ -831,7 +831,7 @@ func (client CloudGuardClient) createDetectorRecipeDetectorRule(ctx context.Cont return response, err } -// CreateManagedList Creates a new ManagedList. +// CreateManagedList Creates a new ManagedList object. // // # See also // @@ -1265,7 +1265,7 @@ func (client CloudGuardClient) createTargetResponderRecipe(ctx context.Context, return response, err } -// DeleteDataMaskRule Deletes a DataMaskRule identified by dataMaskRuleId +// DeleteDataMaskRule Deletes a DataMaskRule object, identified by dataMaskRuleId. // // # See also // @@ -1384,7 +1384,7 @@ func (client CloudGuardClient) deleteDataSource(ctx context.Context, request com return response, err } -// DeleteDetectorRecipe Deletes a DetectorRecipe identified by detectorRecipeId +// DeleteDetectorRecipe Deletes a detector recipe (DetectorRecipe object) identified by detectorRecipeId. // // # See also // @@ -1560,7 +1560,7 @@ func (client CloudGuardClient) deleteDetectorRecipeDetectorRuleDataSource(ctx co return response, err } -// DeleteManagedList Deletes a managed list identified by managedListId +// DeleteManagedList Deletes a managed list identified by managedListId. // // # See also // @@ -2026,7 +2026,7 @@ func (client CloudGuardClient) executeResponderExecution(ctx context.Context, re return response, err } -// GetConditionMetadataType Returns ConditionType with its details. +// GetConditionMetadataType Returns a ConditionMetatDataType object with its details. // // # See also // @@ -2083,7 +2083,7 @@ func (client CloudGuardClient) getConditionMetadataType(ctx context.Context, req return response, err } -// GetConfiguration GET Cloud Guard Configuration Details for a Tenancy. +// GetConfiguration Returns the configuration details for a Cloud Guard tenancy, identified by root compartment OCID. // // # See also // @@ -2140,7 +2140,7 @@ func (client CloudGuardClient) getConfiguration(ctx context.Context, request com return response, err } -// GetDataMaskRule Returns a DataMaskRule identified by DataMaskRuleId +// GetDataMaskRule Returns a DataMaskRule object, identified by DataMaskRuleId. // // # See also // @@ -2254,7 +2254,7 @@ func (client CloudGuardClient) getDataSource(ctx context.Context, request common return response, err } -// GetDetector Returns a Detector identified by detectorId. +// GetDetector Returns a Detector object, identified by detectorId. // // # See also // @@ -2311,7 +2311,7 @@ func (client CloudGuardClient) getDetector(ctx context.Context, request common.O return response, err } -// GetDetectorRecipe Returns a DetectorRecipe identified by detectorRecipeId +// GetDetectorRecipe Returns a detector recipe (DetectorRecipe object) identified by detectorRecipeId. // // # See also // @@ -2368,7 +2368,7 @@ func (client CloudGuardClient) getDetectorRecipe(ctx context.Context, request co return response, err } -// GetDetectorRecipeDetectorRule Get DetectorRule by identifier +// GetDetectorRecipeDetectorRule Returns a detector rule (DetectorRule object) identified by detectorRuleId. // // # See also // @@ -2425,7 +2425,7 @@ func (client CloudGuardClient) getDetectorRecipeDetectorRule(ctx context.Context return response, err } -// GetDetectorRule Returns a Detector Rule identified by detectorRuleId +// GetDetectorRule Returns a detector rule (DetectorRule object) identified by detectorRuleId. // // # See also // @@ -2482,7 +2482,7 @@ func (client CloudGuardClient) getDetectorRule(ctx context.Context, request comm return response, err } -// GetManagedList Returns a managed list identified by managedListId +// GetManagedList Returns a managed list identified by managedListId. // // # See also // @@ -2539,7 +2539,7 @@ func (client CloudGuardClient) getManagedList(ctx context.Context, request commo return response, err } -// GetProblem Returns a Problems response +// GetProblem Returns the Problem object identified by a problemId. // // # See also // @@ -3451,7 +3451,7 @@ func (client CloudGuardClient) getWorkRequest(ctx context.Context, request commo return response, err } -// ListConditionMetadataTypes Returns a list of condition types. +// ListConditionMetadataTypes Returns a list of ConditionMetadataType objects. // // # See also // @@ -3508,7 +3508,7 @@ func (client CloudGuardClient) listConditionMetadataTypes(ctx context.Context, r return response, err } -// ListDataMaskRules Returns a list of all Data Mask Rules in the root 'compartmentId' passed. +// ListDataMaskRules Returns a list of all DataMaskRule objects in the specified compartmentId (OCID) and its subcompartments. // // # See also // @@ -3690,7 +3690,7 @@ func (client CloudGuardClient) listDataSources(ctx context.Context, request comm return response, err } -// ListDetectorRecipeDetectorRules Returns a list of DetectorRule associated with DetectorRecipe. +// ListDetectorRecipeDetectorRules Returns a list of detector rules (DetectorRule objects) for a detector recipe (DetectorRecipe object), identified by detectorRecipeId. // // # See also // @@ -3747,7 +3747,7 @@ func (client CloudGuardClient) listDetectorRecipeDetectorRules(ctx context.Conte return response, err } -// ListDetectorRecipes Returns a list of all Detector Recipes in a compartment +// ListDetectorRecipes Returns a list of all detector recipes (DetectorRecipe objects) in a compartment, identified by compartmentId. // The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed. // The list does not include any subcompartments of the compartmentId passed. // The parameter `accessLevel` specifies whether to return only those compartments for which the @@ -3815,7 +3815,7 @@ func (client CloudGuardClient) listDetectorRecipes(ctx context.Context, request return response, err } -// ListDetectorRules Returns a list of detector rules for the detectorId passed. +// ListDetectorRules Returns a list of detector rules for the DetectorRecipe object identified by detectorId. // // # See also // @@ -3872,7 +3872,7 @@ func (client CloudGuardClient) listDetectorRules(ctx context.Context, request co return response, err } -// ListDetectors Returns detector catalog - list of detectors supported by Cloud Guard +// ListDetectors Returns a detector catalog (DetectorCollection object) with a list of DetectorSummary objects. // // # See also // @@ -3929,7 +3929,7 @@ func (client CloudGuardClient) listDetectors(ctx context.Context, request common return response, err } -// ListImpactedResources Returns a list of Impacted Resources for a CloudGuard Problem +// ListImpactedResources Returns a list of impacted resources for a Cloud Guard problem with a specified problem ID. // // # See also // @@ -3986,7 +3986,7 @@ func (client CloudGuardClient) listImpactedResources(ctx context.Context, reques return response, err } -// ListManagedListTypes Returns all ManagedList types supported by Cloud Guard +// ListManagedListTypes Returns all managed list types (listType parameter) that Cloud Guard supports. // // # See also // @@ -4043,7 +4043,7 @@ func (client CloudGuardClient) listManagedListTypes(ctx context.Context, request return response, err } -// ListManagedLists Returns a list of ListManagedLists. +// ListManagedLists Returns a list of all ManagedList objects in a compartment, identified by compartmentId. // The ListManagedLists operation returns only the managed lists in `compartmentId` passed. // The list does not include any subcompartments of the compartmentId passed. // The parameter `accessLevel` specifies whether to return ManagedLists in only @@ -4111,7 +4111,7 @@ func (client CloudGuardClient) listManagedLists(ctx context.Context, request com return response, err } -// ListPolicies Returns the list of global policy statements needed by Cloud Guard when enabling +// ListPolicies Returns the list of global policy statements (policy attributes) needed to fully enable Cloud Guard. // // # See also // @@ -4168,7 +4168,7 @@ func (client CloudGuardClient) listPolicies(ctx context.Context, request common. return response, err } -// ListProblemEndpoints Returns a list of endpoints associated with a cloud guard problem +// ListProblemEndpoints Returns a list of endpoints associated with a problem, identified by problemId. // // # See also // @@ -4282,7 +4282,7 @@ func (client CloudGuardClient) listProblemEntities(ctx context.Context, request return response, err } -// ListProblemHistories Returns a list of Actions done on CloudGuard Problem +// ListProblemHistories Returns a list of actions taken on a Cloud Guard problem. // // # See also // @@ -4339,7 +4339,7 @@ func (client CloudGuardClient) listProblemHistories(ctx context.Context, request return response, err } -// ListProblems Returns a list of all Problems identified by the Cloud Guard +// ListProblems Returns a list of all Problems identified by Cloud Guard which are currently in the database and meet the filtering criteria. // The ListProblems operation returns only the problems in `compartmentId` passed. // The list does not include any subcompartments of the compartmentId passed. // The parameter `accessLevel` specifies whether to return only those compartments for which the @@ -6166,7 +6166,7 @@ func (client CloudGuardClient) requestSecurityScores(ctx context.Context, reques return response, err } -// RequestSummarizedActivityProblems Returns the summary of Activity type problems identified by cloud guard, for a given set of dimensions. +// RequestSummarizedActivityProblems Returns the summary of problems generated by OCI Activity Detector rules, identified by parameters specified. // The parameter `accessLevel` specifies whether to return only those compartments for which the // requestor has INSPECT permissions on at least one resource directly // or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if @@ -6234,7 +6234,7 @@ func (client CloudGuardClient) requestSummarizedActivityProblems(ctx context.Con return response, err } -// RequestSummarizedProblems Returns the number of problems identified by cloud guard, for a given set of dimensions. +// RequestSummarizedProblems Returns the number of problems matching the key-value pairs in dimensionMap. // The parameter `accessLevel` specifies whether to return only those compartments for which the // requestor has INSPECT permissions on at least one resource directly // or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if @@ -6537,7 +6537,7 @@ func (client CloudGuardClient) requestSummarizedTopTrendResourceProfileRiskScore return response, err } -// RequestSummarizedTrendProblems Returns the number of problems identified by cloud guard, for a given time period. +// RequestSummarizedTrendProblems Returns a ProblemTrendAggregationCollection resource for a compartment, identified by compartmentId, for the specified time period. The ProblemTrendAggregationCollection resource contains a list of ProblemTrendAggregation resources. // The parameter `accessLevel` specifies whether to return only those compartments for which the // requestor has INSPECT permissions on at least one resource directly // or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if @@ -6903,7 +6903,7 @@ func (client CloudGuardClient) skipResponderExecution(ctx context.Context, reque return response, err } -// TriggerResponder push the problem to responder +// TriggerResponder Sends the problem identified by problemId to the responder engine, to be processed by rule that’s identified by responderRuleId, in the TriggerResponderDetails resource that’s passed. // // # See also // @@ -6965,8 +6965,7 @@ func (client CloudGuardClient) triggerResponder(ctx context.Context, request com return response, err } -// UpdateBulkProblemStatus Updates the statuses in bulk for a list of problems -// The operation is atomic in nature +// UpdateBulkProblemStatus Changes the status for all problems listed in the problemIds array, passed through the UpdateBulkProblemStatusDetails resource, from the current status to the status set in UpdateBulkProblemStatusDetails. // // # See also // @@ -7023,7 +7022,7 @@ func (client CloudGuardClient) updateBulkProblemStatus(ctx context.Context, requ return response, err } -// UpdateConfiguration Enable/Disable Cloud Guard. The reporting region cannot be updated once created. +// UpdateConfiguration Update configuration details for a Cloud Guard tenancy, identified by root compartment OCID. The reporting region cannot be updated once created. // // # See also // @@ -7085,7 +7084,7 @@ func (client CloudGuardClient) updateConfiguration(ctx context.Context, request return response, err } -// UpdateDataMaskRule Updates a DataMaskRule identified by dataMaskRuleId +// UpdateDataMaskRule Updates a data mask rule (DataMaskRule object) identified by dataMaskRuleId. // // # See also // @@ -7204,7 +7203,7 @@ func (client CloudGuardClient) updateDataSource(ctx context.Context, request com return response, err } -// UpdateDetectorRecipe Updates a detector recipe identified by detectorRecipeId +// UpdateDetectorRecipe Updates a detector recipe (DetectorRecipe object) identified by detectorRecipeId. // // # See also // @@ -7266,7 +7265,7 @@ func (client CloudGuardClient) updateDetectorRecipe(ctx context.Context, request return response, err } -// UpdateDetectorRecipeDetectorRule Update the DetectorRule by identifier +// UpdateDetectorRecipeDetectorRule Updates a detector rule (DetectorRule object) identified by detectorRuleId. // // # See also // @@ -7323,7 +7322,7 @@ func (client CloudGuardClient) updateDetectorRecipeDetectorRule(ctx context.Cont return response, err } -// UpdateManagedList Updates a managed list identified by managedListId +// UpdateManagedList Updates a ManagedList object, identified by managedList. // // # See also // @@ -7385,7 +7384,7 @@ func (client CloudGuardClient) updateManagedList(ctx context.Context, request co return response, err } -// UpdateProblemStatus updates the problem details +// UpdateProblemStatus Changes the current status of the problem, identified by problemId, to the status specified in the UpdateProblemStatusDetails resource that you pass. // // # See also // diff --git a/cloudguard/condition_metadata_type.go b/cloudguard/condition_metadata_type.go index b9f09bc433..7db0875fa1 100644 --- a/cloudguard/condition_metadata_type.go +++ b/cloudguard/condition_metadata_type.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ConditionMetadataType condition type provided by cloud guard +// ConditionMetadataType The metadata definition of the requested condition type. type ConditionMetadataType struct { // Name used to identify diff --git a/cloudguard/configuration.go b/cloudguard/configuration.go index f01277122e..5a79764e6a 100644 --- a/cloudguard/configuration.go +++ b/cloudguard/configuration.go @@ -16,7 +16,7 @@ import ( "strings" ) -// Configuration Cloud Guard configuration details of a tenancy. +// Configuration Specifies several key settings for a Cloud Guard tenancy, identified by tenancy root compartment OCID. type Configuration struct { // The reporting region value diff --git a/cloudguard/create_data_source_details.go b/cloudguard/create_data_source_details.go index cdb8e016b6..09cdcf8375 100644 --- a/cloudguard/create_data_source_details.go +++ b/cloudguard/create_data_source_details.go @@ -29,6 +29,9 @@ type CreateDataSourceDetails struct { // Possible type of dataSourceFeed Provider(LoggingQuery) DataSourceFeedProvider DataSourceFeedProviderEnum `mandatory:"true" json:"dataSourceFeedProvider"` + // Status of DataSource. Default value is DISABLED. + Status DataSourceStatusEnum `mandatory:"false" json:"status,omitempty"` + DataSourceDetails DataSourceDetails `mandatory:"false" json:"dataSourceDetails"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. @@ -54,6 +57,9 @@ func (m CreateDataSourceDetails) ValidateEnumValue() (bool, error) { errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for DataSourceFeedProvider: %s. Supported values are: %s.", m.DataSourceFeedProvider, strings.Join(GetDataSourceFeedProviderEnumStringValues(), ","))) } + if _, ok := GetMappingDataSourceStatusEnum(string(m.Status)); !ok && m.Status != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Status: %s. Supported values are: %s.", m.Status, strings.Join(GetDataSourceStatusEnumStringValues(), ","))) + } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } @@ -63,6 +69,7 @@ func (m CreateDataSourceDetails) ValidateEnumValue() (bool, error) { // UnmarshalJSON unmarshals from json func (m *CreateDataSourceDetails) UnmarshalJSON(data []byte) (e error) { model := struct { + Status DataSourceStatusEnum `json:"status"` DataSourceDetails datasourcedetails `json:"dataSourceDetails"` FreeformTags map[string]string `json:"freeformTags"` DefinedTags map[string]map[string]interface{} `json:"definedTags"` @@ -76,6 +83,8 @@ func (m *CreateDataSourceDetails) UnmarshalJSON(data []byte) (e error) { return } var nn interface{} + m.Status = model.Status + nn, e = model.DataSourceDetails.UnmarshalPolymorphicJSON(model.DataSourceDetails.JsonData) if e != nil { return diff --git a/cloudguard/data_mask_rule.go b/cloudguard/data_mask_rule.go index 2b3069ec2d..cb1cce95d7 100644 --- a/cloudguard/data_mask_rule.go +++ b/cloudguard/data_mask_rule.go @@ -17,7 +17,7 @@ import ( "strings" ) -// DataMaskRule Description of DataMaskRule. +// DataMaskRule A data mask rule specifies the conditions in which the value for a sensitive data field in the UI is to be hidden or displayed when viewed by specified groups of users. The DataMaskRule object contains the parameters for a data mask rule. type DataMaskRule struct { // Unique identifier that is immutable on creation diff --git a/cloudguard/detector.go b/cloudguard/detector.go index f452dc8cbf..29671c8b6c 100644 --- a/cloudguard/detector.go +++ b/cloudguard/detector.go @@ -16,7 +16,7 @@ import ( "strings" ) -// Detector A single Detector +// Detector Information for a single detector category. For example, IAAS_ACTIVITY_DETECTOR or IAAS_CONFIGURATION_DETECTOR. type Detector struct { // detector key diff --git a/cloudguard/detector_recipe.go b/cloudguard/detector_recipe.go index b1313fd2e6..e92a588948 100644 --- a/cloudguard/detector_recipe.go +++ b/cloudguard/detector_recipe.go @@ -16,7 +16,7 @@ import ( "strings" ) -// DetectorRecipe Details of Detector recipe +// DetectorRecipe A detector recipe is a collection of rules that can be configured to trigger problems that appear on the Cloud Guard Problems page. A DetectorRecipe object contains settings for a specific detector recipe, plus a list of the detector rules (DetectorRecipeDetectorRule objects) belonging to the DetectorRecipe object. type DetectorRecipe struct { // Ocid for detector recipe diff --git a/cloudguard/detector_recipe_detector_rule.go b/cloudguard/detector_recipe_detector_rule.go index 5989f845c3..2b09ce20e5 100644 --- a/cloudguard/detector_recipe_detector_rule.go +++ b/cloudguard/detector_recipe_detector_rule.go @@ -16,7 +16,7 @@ import ( "strings" ) -// DetectorRecipeDetectorRule Detector Recipe Rule +// DetectorRecipeDetectorRule A DetectorRecipeDetectorRule object defines a single recipe rule in the collection for a DetectorRecipe object. type DetectorRecipeDetectorRule struct { // The unique identifier of the detector rule. @@ -100,48 +100,54 @@ type DetectorRecipeDetectorRuleManagedListTypesEnum string // Set of constants representing the allowable values for DetectorRecipeDetectorRuleManagedListTypesEnum const ( - DetectorRecipeDetectorRuleManagedListTypesCidrBlock DetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK" - DetectorRecipeDetectorRuleManagedListTypesUsers DetectorRecipeDetectorRuleManagedListTypesEnum = "USERS" - DetectorRecipeDetectorRuleManagedListTypesGroups DetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS" - DetectorRecipeDetectorRuleManagedListTypesIpv4address DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS" - DetectorRecipeDetectorRuleManagedListTypesIpv6address DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS" - DetectorRecipeDetectorRuleManagedListTypesResourceOcid DetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID" - DetectorRecipeDetectorRuleManagedListTypesRegion DetectorRecipeDetectorRuleManagedListTypesEnum = "REGION" - DetectorRecipeDetectorRuleManagedListTypesCountry DetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY" - DetectorRecipeDetectorRuleManagedListTypesState DetectorRecipeDetectorRuleManagedListTypesEnum = "STATE" - DetectorRecipeDetectorRuleManagedListTypesCity DetectorRecipeDetectorRuleManagedListTypesEnum = "CITY" - DetectorRecipeDetectorRuleManagedListTypesTags DetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS" - DetectorRecipeDetectorRuleManagedListTypesGeneric DetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC" + DetectorRecipeDetectorRuleManagedListTypesCidrBlock DetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK" + DetectorRecipeDetectorRuleManagedListTypesUsers DetectorRecipeDetectorRuleManagedListTypesEnum = "USERS" + DetectorRecipeDetectorRuleManagedListTypesGroups DetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS" + DetectorRecipeDetectorRuleManagedListTypesIpv4address DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS" + DetectorRecipeDetectorRuleManagedListTypesIpv6address DetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS" + DetectorRecipeDetectorRuleManagedListTypesResourceOcid DetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID" + DetectorRecipeDetectorRuleManagedListTypesRegion DetectorRecipeDetectorRuleManagedListTypesEnum = "REGION" + DetectorRecipeDetectorRuleManagedListTypesCountry DetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY" + DetectorRecipeDetectorRuleManagedListTypesState DetectorRecipeDetectorRuleManagedListTypesEnum = "STATE" + DetectorRecipeDetectorRuleManagedListTypesCity DetectorRecipeDetectorRuleManagedListTypesEnum = "CITY" + DetectorRecipeDetectorRuleManagedListTypesTags DetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS" + DetectorRecipeDetectorRuleManagedListTypesGeneric DetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC" + DetectorRecipeDetectorRuleManagedListTypesFusionAppsRole DetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE" + DetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission DetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION" ) var mappingDetectorRecipeDetectorRuleManagedListTypesEnum = map[string]DetectorRecipeDetectorRuleManagedListTypesEnum{ - "CIDR_BLOCK": DetectorRecipeDetectorRuleManagedListTypesCidrBlock, - "USERS": DetectorRecipeDetectorRuleManagedListTypesUsers, - "GROUPS": DetectorRecipeDetectorRuleManagedListTypesGroups, - "IPV4ADDRESS": DetectorRecipeDetectorRuleManagedListTypesIpv4address, - "IPV6ADDRESS": DetectorRecipeDetectorRuleManagedListTypesIpv6address, - "RESOURCE_OCID": DetectorRecipeDetectorRuleManagedListTypesResourceOcid, - "REGION": DetectorRecipeDetectorRuleManagedListTypesRegion, - "COUNTRY": DetectorRecipeDetectorRuleManagedListTypesCountry, - "STATE": DetectorRecipeDetectorRuleManagedListTypesState, - "CITY": DetectorRecipeDetectorRuleManagedListTypesCity, - "TAGS": DetectorRecipeDetectorRuleManagedListTypesTags, - "GENERIC": DetectorRecipeDetectorRuleManagedListTypesGeneric, + "CIDR_BLOCK": DetectorRecipeDetectorRuleManagedListTypesCidrBlock, + "USERS": DetectorRecipeDetectorRuleManagedListTypesUsers, + "GROUPS": DetectorRecipeDetectorRuleManagedListTypesGroups, + "IPV4ADDRESS": DetectorRecipeDetectorRuleManagedListTypesIpv4address, + "IPV6ADDRESS": DetectorRecipeDetectorRuleManagedListTypesIpv6address, + "RESOURCE_OCID": DetectorRecipeDetectorRuleManagedListTypesResourceOcid, + "REGION": DetectorRecipeDetectorRuleManagedListTypesRegion, + "COUNTRY": DetectorRecipeDetectorRuleManagedListTypesCountry, + "STATE": DetectorRecipeDetectorRuleManagedListTypesState, + "CITY": DetectorRecipeDetectorRuleManagedListTypesCity, + "TAGS": DetectorRecipeDetectorRuleManagedListTypesTags, + "GENERIC": DetectorRecipeDetectorRuleManagedListTypesGeneric, + "FUSION_APPS_ROLE": DetectorRecipeDetectorRuleManagedListTypesFusionAppsRole, + "FUSION_APPS_PERMISSION": DetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission, } var mappingDetectorRecipeDetectorRuleManagedListTypesEnumLowerCase = map[string]DetectorRecipeDetectorRuleManagedListTypesEnum{ - "cidr_block": DetectorRecipeDetectorRuleManagedListTypesCidrBlock, - "users": DetectorRecipeDetectorRuleManagedListTypesUsers, - "groups": DetectorRecipeDetectorRuleManagedListTypesGroups, - "ipv4address": DetectorRecipeDetectorRuleManagedListTypesIpv4address, - "ipv6address": DetectorRecipeDetectorRuleManagedListTypesIpv6address, - "resource_ocid": DetectorRecipeDetectorRuleManagedListTypesResourceOcid, - "region": DetectorRecipeDetectorRuleManagedListTypesRegion, - "country": DetectorRecipeDetectorRuleManagedListTypesCountry, - "state": DetectorRecipeDetectorRuleManagedListTypesState, - "city": DetectorRecipeDetectorRuleManagedListTypesCity, - "tags": DetectorRecipeDetectorRuleManagedListTypesTags, - "generic": DetectorRecipeDetectorRuleManagedListTypesGeneric, + "cidr_block": DetectorRecipeDetectorRuleManagedListTypesCidrBlock, + "users": DetectorRecipeDetectorRuleManagedListTypesUsers, + "groups": DetectorRecipeDetectorRuleManagedListTypesGroups, + "ipv4address": DetectorRecipeDetectorRuleManagedListTypesIpv4address, + "ipv6address": DetectorRecipeDetectorRuleManagedListTypesIpv6address, + "resource_ocid": DetectorRecipeDetectorRuleManagedListTypesResourceOcid, + "region": DetectorRecipeDetectorRuleManagedListTypesRegion, + "country": DetectorRecipeDetectorRuleManagedListTypesCountry, + "state": DetectorRecipeDetectorRuleManagedListTypesState, + "city": DetectorRecipeDetectorRuleManagedListTypesCity, + "tags": DetectorRecipeDetectorRuleManagedListTypesTags, + "generic": DetectorRecipeDetectorRuleManagedListTypesGeneric, + "fusion_apps_role": DetectorRecipeDetectorRuleManagedListTypesFusionAppsRole, + "fusion_apps_permission": DetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission, } // GetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleManagedListTypesEnum @@ -168,6 +174,8 @@ func GetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []string { "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/detector_recipe_detector_rule_summary.go b/cloudguard/detector_recipe_detector_rule_summary.go index 0c7ac36ca5..8a29512a93 100644 --- a/cloudguard/detector_recipe_detector_rule_summary.go +++ b/cloudguard/detector_recipe_detector_rule_summary.go @@ -100,48 +100,54 @@ type DetectorRecipeDetectorRuleSummaryManagedListTypesEnum string // Set of constants representing the allowable values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum const ( - DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" - DetectorRecipeDetectorRuleSummaryManagedListTypesUsers DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS" - DetectorRecipeDetectorRuleSummaryManagedListTypesGroups DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS" - DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" - DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" - DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" - DetectorRecipeDetectorRuleSummaryManagedListTypesRegion DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION" - DetectorRecipeDetectorRuleSummaryManagedListTypesCountry DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY" - DetectorRecipeDetectorRuleSummaryManagedListTypesState DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE" - DetectorRecipeDetectorRuleSummaryManagedListTypesCity DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY" - DetectorRecipeDetectorRuleSummaryManagedListTypesTags DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS" - DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC" + DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" + DetectorRecipeDetectorRuleSummaryManagedListTypesUsers DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS" + DetectorRecipeDetectorRuleSummaryManagedListTypesGroups DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS" + DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" + DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" + DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" + DetectorRecipeDetectorRuleSummaryManagedListTypesRegion DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION" + DetectorRecipeDetectorRuleSummaryManagedListTypesCountry DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY" + DetectorRecipeDetectorRuleSummaryManagedListTypesState DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE" + DetectorRecipeDetectorRuleSummaryManagedListTypesCity DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY" + DetectorRecipeDetectorRuleSummaryManagedListTypesTags DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS" + DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC" + DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE" + DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission DetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION" ) var mappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = map[string]DetectorRecipeDetectorRuleSummaryManagedListTypesEnum{ - "CIDR_BLOCK": DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, - "USERS": DetectorRecipeDetectorRuleSummaryManagedListTypesUsers, - "GROUPS": DetectorRecipeDetectorRuleSummaryManagedListTypesGroups, - "IPV4ADDRESS": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, - "IPV6ADDRESS": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, - "RESOURCE_OCID": DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, - "REGION": DetectorRecipeDetectorRuleSummaryManagedListTypesRegion, - "COUNTRY": DetectorRecipeDetectorRuleSummaryManagedListTypesCountry, - "STATE": DetectorRecipeDetectorRuleSummaryManagedListTypesState, - "CITY": DetectorRecipeDetectorRuleSummaryManagedListTypesCity, - "TAGS": DetectorRecipeDetectorRuleSummaryManagedListTypesTags, - "GENERIC": DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "CIDR_BLOCK": DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, + "USERS": DetectorRecipeDetectorRuleSummaryManagedListTypesUsers, + "GROUPS": DetectorRecipeDetectorRuleSummaryManagedListTypesGroups, + "IPV4ADDRESS": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, + "IPV6ADDRESS": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, + "RESOURCE_OCID": DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, + "REGION": DetectorRecipeDetectorRuleSummaryManagedListTypesRegion, + "COUNTRY": DetectorRecipeDetectorRuleSummaryManagedListTypesCountry, + "STATE": DetectorRecipeDetectorRuleSummaryManagedListTypesState, + "CITY": DetectorRecipeDetectorRuleSummaryManagedListTypesCity, + "TAGS": DetectorRecipeDetectorRuleSummaryManagedListTypesTags, + "GENERIC": DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "FUSION_APPS_ROLE": DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole, + "FUSION_APPS_PERMISSION": DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission, } var mappingDetectorRecipeDetectorRuleSummaryManagedListTypesEnumLowerCase = map[string]DetectorRecipeDetectorRuleSummaryManagedListTypesEnum{ - "cidr_block": DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, - "users": DetectorRecipeDetectorRuleSummaryManagedListTypesUsers, - "groups": DetectorRecipeDetectorRuleSummaryManagedListTypesGroups, - "ipv4address": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, - "ipv6address": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, - "resource_ocid": DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, - "region": DetectorRecipeDetectorRuleSummaryManagedListTypesRegion, - "country": DetectorRecipeDetectorRuleSummaryManagedListTypesCountry, - "state": DetectorRecipeDetectorRuleSummaryManagedListTypesState, - "city": DetectorRecipeDetectorRuleSummaryManagedListTypesCity, - "tags": DetectorRecipeDetectorRuleSummaryManagedListTypesTags, - "generic": DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "cidr_block": DetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, + "users": DetectorRecipeDetectorRuleSummaryManagedListTypesUsers, + "groups": DetectorRecipeDetectorRuleSummaryManagedListTypesGroups, + "ipv4address": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, + "ipv6address": DetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, + "resource_ocid": DetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, + "region": DetectorRecipeDetectorRuleSummaryManagedListTypesRegion, + "country": DetectorRecipeDetectorRuleSummaryManagedListTypesCountry, + "state": DetectorRecipeDetectorRuleSummaryManagedListTypesState, + "city": DetectorRecipeDetectorRuleSummaryManagedListTypesCity, + "tags": DetectorRecipeDetectorRuleSummaryManagedListTypesTags, + "generic": DetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "fusion_apps_role": DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole, + "fusion_apps_permission": DetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission, } // GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRecipeDetectorRuleSummaryManagedListTypesEnum @@ -168,6 +174,8 @@ func GetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues() []st "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/detector_rule.go b/cloudguard/detector_rule.go index 4fd34be7b0..019a0436e9 100644 --- a/cloudguard/detector_rule.go +++ b/cloudguard/detector_rule.go @@ -16,7 +16,7 @@ import ( "strings" ) -// DetectorRule Detector +// DetectorRule Information for a detector rule (DetectorRule object). type DetectorRule struct { // The unique identifier of the detector rule. @@ -94,48 +94,54 @@ type DetectorRuleManagedListTypesEnum string // Set of constants representing the allowable values for DetectorRuleManagedListTypesEnum const ( - DetectorRuleManagedListTypesCidrBlock DetectorRuleManagedListTypesEnum = "CIDR_BLOCK" - DetectorRuleManagedListTypesUsers DetectorRuleManagedListTypesEnum = "USERS" - DetectorRuleManagedListTypesGroups DetectorRuleManagedListTypesEnum = "GROUPS" - DetectorRuleManagedListTypesIpv4address DetectorRuleManagedListTypesEnum = "IPV4ADDRESS" - DetectorRuleManagedListTypesIpv6address DetectorRuleManagedListTypesEnum = "IPV6ADDRESS" - DetectorRuleManagedListTypesResourceOcid DetectorRuleManagedListTypesEnum = "RESOURCE_OCID" - DetectorRuleManagedListTypesRegion DetectorRuleManagedListTypesEnum = "REGION" - DetectorRuleManagedListTypesCountry DetectorRuleManagedListTypesEnum = "COUNTRY" - DetectorRuleManagedListTypesState DetectorRuleManagedListTypesEnum = "STATE" - DetectorRuleManagedListTypesCity DetectorRuleManagedListTypesEnum = "CITY" - DetectorRuleManagedListTypesTags DetectorRuleManagedListTypesEnum = "TAGS" - DetectorRuleManagedListTypesGeneric DetectorRuleManagedListTypesEnum = "GENERIC" + DetectorRuleManagedListTypesCidrBlock DetectorRuleManagedListTypesEnum = "CIDR_BLOCK" + DetectorRuleManagedListTypesUsers DetectorRuleManagedListTypesEnum = "USERS" + DetectorRuleManagedListTypesGroups DetectorRuleManagedListTypesEnum = "GROUPS" + DetectorRuleManagedListTypesIpv4address DetectorRuleManagedListTypesEnum = "IPV4ADDRESS" + DetectorRuleManagedListTypesIpv6address DetectorRuleManagedListTypesEnum = "IPV6ADDRESS" + DetectorRuleManagedListTypesResourceOcid DetectorRuleManagedListTypesEnum = "RESOURCE_OCID" + DetectorRuleManagedListTypesRegion DetectorRuleManagedListTypesEnum = "REGION" + DetectorRuleManagedListTypesCountry DetectorRuleManagedListTypesEnum = "COUNTRY" + DetectorRuleManagedListTypesState DetectorRuleManagedListTypesEnum = "STATE" + DetectorRuleManagedListTypesCity DetectorRuleManagedListTypesEnum = "CITY" + DetectorRuleManagedListTypesTags DetectorRuleManagedListTypesEnum = "TAGS" + DetectorRuleManagedListTypesGeneric DetectorRuleManagedListTypesEnum = "GENERIC" + DetectorRuleManagedListTypesFusionAppsRole DetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE" + DetectorRuleManagedListTypesFusionAppsPermission DetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION" ) var mappingDetectorRuleManagedListTypesEnum = map[string]DetectorRuleManagedListTypesEnum{ - "CIDR_BLOCK": DetectorRuleManagedListTypesCidrBlock, - "USERS": DetectorRuleManagedListTypesUsers, - "GROUPS": DetectorRuleManagedListTypesGroups, - "IPV4ADDRESS": DetectorRuleManagedListTypesIpv4address, - "IPV6ADDRESS": DetectorRuleManagedListTypesIpv6address, - "RESOURCE_OCID": DetectorRuleManagedListTypesResourceOcid, - "REGION": DetectorRuleManagedListTypesRegion, - "COUNTRY": DetectorRuleManagedListTypesCountry, - "STATE": DetectorRuleManagedListTypesState, - "CITY": DetectorRuleManagedListTypesCity, - "TAGS": DetectorRuleManagedListTypesTags, - "GENERIC": DetectorRuleManagedListTypesGeneric, + "CIDR_BLOCK": DetectorRuleManagedListTypesCidrBlock, + "USERS": DetectorRuleManagedListTypesUsers, + "GROUPS": DetectorRuleManagedListTypesGroups, + "IPV4ADDRESS": DetectorRuleManagedListTypesIpv4address, + "IPV6ADDRESS": DetectorRuleManagedListTypesIpv6address, + "RESOURCE_OCID": DetectorRuleManagedListTypesResourceOcid, + "REGION": DetectorRuleManagedListTypesRegion, + "COUNTRY": DetectorRuleManagedListTypesCountry, + "STATE": DetectorRuleManagedListTypesState, + "CITY": DetectorRuleManagedListTypesCity, + "TAGS": DetectorRuleManagedListTypesTags, + "GENERIC": DetectorRuleManagedListTypesGeneric, + "FUSION_APPS_ROLE": DetectorRuleManagedListTypesFusionAppsRole, + "FUSION_APPS_PERMISSION": DetectorRuleManagedListTypesFusionAppsPermission, } var mappingDetectorRuleManagedListTypesEnumLowerCase = map[string]DetectorRuleManagedListTypesEnum{ - "cidr_block": DetectorRuleManagedListTypesCidrBlock, - "users": DetectorRuleManagedListTypesUsers, - "groups": DetectorRuleManagedListTypesGroups, - "ipv4address": DetectorRuleManagedListTypesIpv4address, - "ipv6address": DetectorRuleManagedListTypesIpv6address, - "resource_ocid": DetectorRuleManagedListTypesResourceOcid, - "region": DetectorRuleManagedListTypesRegion, - "country": DetectorRuleManagedListTypesCountry, - "state": DetectorRuleManagedListTypesState, - "city": DetectorRuleManagedListTypesCity, - "tags": DetectorRuleManagedListTypesTags, - "generic": DetectorRuleManagedListTypesGeneric, + "cidr_block": DetectorRuleManagedListTypesCidrBlock, + "users": DetectorRuleManagedListTypesUsers, + "groups": DetectorRuleManagedListTypesGroups, + "ipv4address": DetectorRuleManagedListTypesIpv4address, + "ipv6address": DetectorRuleManagedListTypesIpv6address, + "resource_ocid": DetectorRuleManagedListTypesResourceOcid, + "region": DetectorRuleManagedListTypesRegion, + "country": DetectorRuleManagedListTypesCountry, + "state": DetectorRuleManagedListTypesState, + "city": DetectorRuleManagedListTypesCity, + "tags": DetectorRuleManagedListTypesTags, + "generic": DetectorRuleManagedListTypesGeneric, + "fusion_apps_role": DetectorRuleManagedListTypesFusionAppsRole, + "fusion_apps_permission": DetectorRuleManagedListTypesFusionAppsPermission, } // GetDetectorRuleManagedListTypesEnumValues Enumerates the set of values for DetectorRuleManagedListTypesEnum @@ -162,6 +168,8 @@ func GetDetectorRuleManagedListTypesEnumStringValues() []string { "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/detector_rule_summary.go b/cloudguard/detector_rule_summary.go index 5a01160e53..4391616234 100644 --- a/cloudguard/detector_rule_summary.go +++ b/cloudguard/detector_rule_summary.go @@ -94,48 +94,54 @@ type DetectorRuleSummaryManagedListTypesEnum string // Set of constants representing the allowable values for DetectorRuleSummaryManagedListTypesEnum const ( - DetectorRuleSummaryManagedListTypesCidrBlock DetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" - DetectorRuleSummaryManagedListTypesUsers DetectorRuleSummaryManagedListTypesEnum = "USERS" - DetectorRuleSummaryManagedListTypesGroups DetectorRuleSummaryManagedListTypesEnum = "GROUPS" - DetectorRuleSummaryManagedListTypesIpv4address DetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" - DetectorRuleSummaryManagedListTypesIpv6address DetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" - DetectorRuleSummaryManagedListTypesResourceOcid DetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" - DetectorRuleSummaryManagedListTypesRegion DetectorRuleSummaryManagedListTypesEnum = "REGION" - DetectorRuleSummaryManagedListTypesCountry DetectorRuleSummaryManagedListTypesEnum = "COUNTRY" - DetectorRuleSummaryManagedListTypesState DetectorRuleSummaryManagedListTypesEnum = "STATE" - DetectorRuleSummaryManagedListTypesCity DetectorRuleSummaryManagedListTypesEnum = "CITY" - DetectorRuleSummaryManagedListTypesTags DetectorRuleSummaryManagedListTypesEnum = "TAGS" - DetectorRuleSummaryManagedListTypesGeneric DetectorRuleSummaryManagedListTypesEnum = "GENERIC" + DetectorRuleSummaryManagedListTypesCidrBlock DetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" + DetectorRuleSummaryManagedListTypesUsers DetectorRuleSummaryManagedListTypesEnum = "USERS" + DetectorRuleSummaryManagedListTypesGroups DetectorRuleSummaryManagedListTypesEnum = "GROUPS" + DetectorRuleSummaryManagedListTypesIpv4address DetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" + DetectorRuleSummaryManagedListTypesIpv6address DetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" + DetectorRuleSummaryManagedListTypesResourceOcid DetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" + DetectorRuleSummaryManagedListTypesRegion DetectorRuleSummaryManagedListTypesEnum = "REGION" + DetectorRuleSummaryManagedListTypesCountry DetectorRuleSummaryManagedListTypesEnum = "COUNTRY" + DetectorRuleSummaryManagedListTypesState DetectorRuleSummaryManagedListTypesEnum = "STATE" + DetectorRuleSummaryManagedListTypesCity DetectorRuleSummaryManagedListTypesEnum = "CITY" + DetectorRuleSummaryManagedListTypesTags DetectorRuleSummaryManagedListTypesEnum = "TAGS" + DetectorRuleSummaryManagedListTypesGeneric DetectorRuleSummaryManagedListTypesEnum = "GENERIC" + DetectorRuleSummaryManagedListTypesFusionAppsRole DetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE" + DetectorRuleSummaryManagedListTypesFusionAppsPermission DetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION" ) var mappingDetectorRuleSummaryManagedListTypesEnum = map[string]DetectorRuleSummaryManagedListTypesEnum{ - "CIDR_BLOCK": DetectorRuleSummaryManagedListTypesCidrBlock, - "USERS": DetectorRuleSummaryManagedListTypesUsers, - "GROUPS": DetectorRuleSummaryManagedListTypesGroups, - "IPV4ADDRESS": DetectorRuleSummaryManagedListTypesIpv4address, - "IPV6ADDRESS": DetectorRuleSummaryManagedListTypesIpv6address, - "RESOURCE_OCID": DetectorRuleSummaryManagedListTypesResourceOcid, - "REGION": DetectorRuleSummaryManagedListTypesRegion, - "COUNTRY": DetectorRuleSummaryManagedListTypesCountry, - "STATE": DetectorRuleSummaryManagedListTypesState, - "CITY": DetectorRuleSummaryManagedListTypesCity, - "TAGS": DetectorRuleSummaryManagedListTypesTags, - "GENERIC": DetectorRuleSummaryManagedListTypesGeneric, + "CIDR_BLOCK": DetectorRuleSummaryManagedListTypesCidrBlock, + "USERS": DetectorRuleSummaryManagedListTypesUsers, + "GROUPS": DetectorRuleSummaryManagedListTypesGroups, + "IPV4ADDRESS": DetectorRuleSummaryManagedListTypesIpv4address, + "IPV6ADDRESS": DetectorRuleSummaryManagedListTypesIpv6address, + "RESOURCE_OCID": DetectorRuleSummaryManagedListTypesResourceOcid, + "REGION": DetectorRuleSummaryManagedListTypesRegion, + "COUNTRY": DetectorRuleSummaryManagedListTypesCountry, + "STATE": DetectorRuleSummaryManagedListTypesState, + "CITY": DetectorRuleSummaryManagedListTypesCity, + "TAGS": DetectorRuleSummaryManagedListTypesTags, + "GENERIC": DetectorRuleSummaryManagedListTypesGeneric, + "FUSION_APPS_ROLE": DetectorRuleSummaryManagedListTypesFusionAppsRole, + "FUSION_APPS_PERMISSION": DetectorRuleSummaryManagedListTypesFusionAppsPermission, } var mappingDetectorRuleSummaryManagedListTypesEnumLowerCase = map[string]DetectorRuleSummaryManagedListTypesEnum{ - "cidr_block": DetectorRuleSummaryManagedListTypesCidrBlock, - "users": DetectorRuleSummaryManagedListTypesUsers, - "groups": DetectorRuleSummaryManagedListTypesGroups, - "ipv4address": DetectorRuleSummaryManagedListTypesIpv4address, - "ipv6address": DetectorRuleSummaryManagedListTypesIpv6address, - "resource_ocid": DetectorRuleSummaryManagedListTypesResourceOcid, - "region": DetectorRuleSummaryManagedListTypesRegion, - "country": DetectorRuleSummaryManagedListTypesCountry, - "state": DetectorRuleSummaryManagedListTypesState, - "city": DetectorRuleSummaryManagedListTypesCity, - "tags": DetectorRuleSummaryManagedListTypesTags, - "generic": DetectorRuleSummaryManagedListTypesGeneric, + "cidr_block": DetectorRuleSummaryManagedListTypesCidrBlock, + "users": DetectorRuleSummaryManagedListTypesUsers, + "groups": DetectorRuleSummaryManagedListTypesGroups, + "ipv4address": DetectorRuleSummaryManagedListTypesIpv4address, + "ipv6address": DetectorRuleSummaryManagedListTypesIpv6address, + "resource_ocid": DetectorRuleSummaryManagedListTypesResourceOcid, + "region": DetectorRuleSummaryManagedListTypesRegion, + "country": DetectorRuleSummaryManagedListTypesCountry, + "state": DetectorRuleSummaryManagedListTypesState, + "city": DetectorRuleSummaryManagedListTypesCity, + "tags": DetectorRuleSummaryManagedListTypesTags, + "generic": DetectorRuleSummaryManagedListTypesGeneric, + "fusion_apps_role": DetectorRuleSummaryManagedListTypesFusionAppsRole, + "fusion_apps_permission": DetectorRuleSummaryManagedListTypesFusionAppsPermission, } // GetDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for DetectorRuleSummaryManagedListTypesEnum @@ -162,6 +168,8 @@ func GetDetectorRuleSummaryManagedListTypesEnumStringValues() []string { "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/impacted_resource_summary.go b/cloudguard/impacted_resource_summary.go index 3f64ca7021..52da23ff21 100644 --- a/cloudguard/impacted_resource_summary.go +++ b/cloudguard/impacted_resource_summary.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ImpactedResourceSummary Impacted Resource summary Definition. +// ImpactedResourceSummary A summary of detailed information on a resource that’s been impacted by a detected problem. type ImpactedResourceSummary struct { // Unique identifier for finding event diff --git a/cloudguard/list_managed_lists_request_response.go b/cloudguard/list_managed_lists_request_response.go index 434ee05341..3a79f0dd46 100644 --- a/cloudguard/list_managed_lists_request_response.go +++ b/cloudguard/list_managed_lists_request_response.go @@ -215,48 +215,54 @@ type ListManagedListsListTypeEnum string // Set of constants representing the allowable values for ListManagedListsListTypeEnum const ( - ListManagedListsListTypeCidrBlock ListManagedListsListTypeEnum = "CIDR_BLOCK" - ListManagedListsListTypeUsers ListManagedListsListTypeEnum = "USERS" - ListManagedListsListTypeGroups ListManagedListsListTypeEnum = "GROUPS" - ListManagedListsListTypeIpv4address ListManagedListsListTypeEnum = "IPV4ADDRESS" - ListManagedListsListTypeIpv6address ListManagedListsListTypeEnum = "IPV6ADDRESS" - ListManagedListsListTypeResourceOcid ListManagedListsListTypeEnum = "RESOURCE_OCID" - ListManagedListsListTypeRegion ListManagedListsListTypeEnum = "REGION" - ListManagedListsListTypeCountry ListManagedListsListTypeEnum = "COUNTRY" - ListManagedListsListTypeState ListManagedListsListTypeEnum = "STATE" - ListManagedListsListTypeCity ListManagedListsListTypeEnum = "CITY" - ListManagedListsListTypeTags ListManagedListsListTypeEnum = "TAGS" - ListManagedListsListTypeGeneric ListManagedListsListTypeEnum = "GENERIC" + ListManagedListsListTypeCidrBlock ListManagedListsListTypeEnum = "CIDR_BLOCK" + ListManagedListsListTypeUsers ListManagedListsListTypeEnum = "USERS" + ListManagedListsListTypeGroups ListManagedListsListTypeEnum = "GROUPS" + ListManagedListsListTypeIpv4address ListManagedListsListTypeEnum = "IPV4ADDRESS" + ListManagedListsListTypeIpv6address ListManagedListsListTypeEnum = "IPV6ADDRESS" + ListManagedListsListTypeResourceOcid ListManagedListsListTypeEnum = "RESOURCE_OCID" + ListManagedListsListTypeRegion ListManagedListsListTypeEnum = "REGION" + ListManagedListsListTypeCountry ListManagedListsListTypeEnum = "COUNTRY" + ListManagedListsListTypeState ListManagedListsListTypeEnum = "STATE" + ListManagedListsListTypeCity ListManagedListsListTypeEnum = "CITY" + ListManagedListsListTypeTags ListManagedListsListTypeEnum = "TAGS" + ListManagedListsListTypeGeneric ListManagedListsListTypeEnum = "GENERIC" + ListManagedListsListTypeFusionAppsRole ListManagedListsListTypeEnum = "FUSION_APPS_ROLE" + ListManagedListsListTypeFusionAppsPermission ListManagedListsListTypeEnum = "FUSION_APPS_PERMISSION" ) var mappingListManagedListsListTypeEnum = map[string]ListManagedListsListTypeEnum{ - "CIDR_BLOCK": ListManagedListsListTypeCidrBlock, - "USERS": ListManagedListsListTypeUsers, - "GROUPS": ListManagedListsListTypeGroups, - "IPV4ADDRESS": ListManagedListsListTypeIpv4address, - "IPV6ADDRESS": ListManagedListsListTypeIpv6address, - "RESOURCE_OCID": ListManagedListsListTypeResourceOcid, - "REGION": ListManagedListsListTypeRegion, - "COUNTRY": ListManagedListsListTypeCountry, - "STATE": ListManagedListsListTypeState, - "CITY": ListManagedListsListTypeCity, - "TAGS": ListManagedListsListTypeTags, - "GENERIC": ListManagedListsListTypeGeneric, + "CIDR_BLOCK": ListManagedListsListTypeCidrBlock, + "USERS": ListManagedListsListTypeUsers, + "GROUPS": ListManagedListsListTypeGroups, + "IPV4ADDRESS": ListManagedListsListTypeIpv4address, + "IPV6ADDRESS": ListManagedListsListTypeIpv6address, + "RESOURCE_OCID": ListManagedListsListTypeResourceOcid, + "REGION": ListManagedListsListTypeRegion, + "COUNTRY": ListManagedListsListTypeCountry, + "STATE": ListManagedListsListTypeState, + "CITY": ListManagedListsListTypeCity, + "TAGS": ListManagedListsListTypeTags, + "GENERIC": ListManagedListsListTypeGeneric, + "FUSION_APPS_ROLE": ListManagedListsListTypeFusionAppsRole, + "FUSION_APPS_PERMISSION": ListManagedListsListTypeFusionAppsPermission, } var mappingListManagedListsListTypeEnumLowerCase = map[string]ListManagedListsListTypeEnum{ - "cidr_block": ListManagedListsListTypeCidrBlock, - "users": ListManagedListsListTypeUsers, - "groups": ListManagedListsListTypeGroups, - "ipv4address": ListManagedListsListTypeIpv4address, - "ipv6address": ListManagedListsListTypeIpv6address, - "resource_ocid": ListManagedListsListTypeResourceOcid, - "region": ListManagedListsListTypeRegion, - "country": ListManagedListsListTypeCountry, - "state": ListManagedListsListTypeState, - "city": ListManagedListsListTypeCity, - "tags": ListManagedListsListTypeTags, - "generic": ListManagedListsListTypeGeneric, + "cidr_block": ListManagedListsListTypeCidrBlock, + "users": ListManagedListsListTypeUsers, + "groups": ListManagedListsListTypeGroups, + "ipv4address": ListManagedListsListTypeIpv4address, + "ipv6address": ListManagedListsListTypeIpv6address, + "resource_ocid": ListManagedListsListTypeResourceOcid, + "region": ListManagedListsListTypeRegion, + "country": ListManagedListsListTypeCountry, + "state": ListManagedListsListTypeState, + "city": ListManagedListsListTypeCity, + "tags": ListManagedListsListTypeTags, + "generic": ListManagedListsListTypeGeneric, + "fusion_apps_role": ListManagedListsListTypeFusionAppsRole, + "fusion_apps_permission": ListManagedListsListTypeFusionAppsPermission, } // GetListManagedListsListTypeEnumValues Enumerates the set of values for ListManagedListsListTypeEnum @@ -283,6 +289,8 @@ func GetListManagedListsListTypeEnumStringValues() []string { "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/managed_list.go b/cloudguard/managed_list.go index cc8ad6347e..e33a1bc776 100644 --- a/cloudguard/managed_list.go +++ b/cloudguard/managed_list.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ManagedList A cloud guard list containing one or more items of a list type +// ManagedList A managed list is a reusable list of parameters that makes it easier to set the scope for detector and responder rules. A ManagedList object contains the reusable list of parameters, plus metadata for the list. type ManagedList struct { // Unique identifier that is immutable on creation diff --git a/cloudguard/managed_list_type.go b/cloudguard/managed_list_type.go index b41c2a56f2..c226690a94 100644 --- a/cloudguard/managed_list_type.go +++ b/cloudguard/managed_list_type.go @@ -19,48 +19,54 @@ type ManagedListTypeEnum string // Set of constants representing the allowable values for ManagedListTypeEnum const ( - ManagedListTypeCidrBlock ManagedListTypeEnum = "CIDR_BLOCK" - ManagedListTypeUsers ManagedListTypeEnum = "USERS" - ManagedListTypeGroups ManagedListTypeEnum = "GROUPS" - ManagedListTypeIpv4Address ManagedListTypeEnum = "IPV4ADDRESS" - ManagedListTypeIpv6Address ManagedListTypeEnum = "IPV6ADDRESS" - ManagedListTypeResourceOcid ManagedListTypeEnum = "RESOURCE_OCID" - ManagedListTypeRegion ManagedListTypeEnum = "REGION" - ManagedListTypeCountry ManagedListTypeEnum = "COUNTRY" - ManagedListTypeState ManagedListTypeEnum = "STATE" - ManagedListTypeCity ManagedListTypeEnum = "CITY" - ManagedListTypeTags ManagedListTypeEnum = "TAGS" - ManagedListTypeGeneric ManagedListTypeEnum = "GENERIC" + ManagedListTypeCidrBlock ManagedListTypeEnum = "CIDR_BLOCK" + ManagedListTypeUsers ManagedListTypeEnum = "USERS" + ManagedListTypeGroups ManagedListTypeEnum = "GROUPS" + ManagedListTypeIpv4Address ManagedListTypeEnum = "IPV4ADDRESS" + ManagedListTypeIpv6Address ManagedListTypeEnum = "IPV6ADDRESS" + ManagedListTypeResourceOcid ManagedListTypeEnum = "RESOURCE_OCID" + ManagedListTypeRegion ManagedListTypeEnum = "REGION" + ManagedListTypeCountry ManagedListTypeEnum = "COUNTRY" + ManagedListTypeState ManagedListTypeEnum = "STATE" + ManagedListTypeCity ManagedListTypeEnum = "CITY" + ManagedListTypeTags ManagedListTypeEnum = "TAGS" + ManagedListTypeGeneric ManagedListTypeEnum = "GENERIC" + ManagedListTypeFusionAppsRole ManagedListTypeEnum = "FUSION_APPS_ROLE" + ManagedListTypeFusionAppsPermission ManagedListTypeEnum = "FUSION_APPS_PERMISSION" ) var mappingManagedListTypeEnum = map[string]ManagedListTypeEnum{ - "CIDR_BLOCK": ManagedListTypeCidrBlock, - "USERS": ManagedListTypeUsers, - "GROUPS": ManagedListTypeGroups, - "IPV4ADDRESS": ManagedListTypeIpv4Address, - "IPV6ADDRESS": ManagedListTypeIpv6Address, - "RESOURCE_OCID": ManagedListTypeResourceOcid, - "REGION": ManagedListTypeRegion, - "COUNTRY": ManagedListTypeCountry, - "STATE": ManagedListTypeState, - "CITY": ManagedListTypeCity, - "TAGS": ManagedListTypeTags, - "GENERIC": ManagedListTypeGeneric, + "CIDR_BLOCK": ManagedListTypeCidrBlock, + "USERS": ManagedListTypeUsers, + "GROUPS": ManagedListTypeGroups, + "IPV4ADDRESS": ManagedListTypeIpv4Address, + "IPV6ADDRESS": ManagedListTypeIpv6Address, + "RESOURCE_OCID": ManagedListTypeResourceOcid, + "REGION": ManagedListTypeRegion, + "COUNTRY": ManagedListTypeCountry, + "STATE": ManagedListTypeState, + "CITY": ManagedListTypeCity, + "TAGS": ManagedListTypeTags, + "GENERIC": ManagedListTypeGeneric, + "FUSION_APPS_ROLE": ManagedListTypeFusionAppsRole, + "FUSION_APPS_PERMISSION": ManagedListTypeFusionAppsPermission, } var mappingManagedListTypeEnumLowerCase = map[string]ManagedListTypeEnum{ - "cidr_block": ManagedListTypeCidrBlock, - "users": ManagedListTypeUsers, - "groups": ManagedListTypeGroups, - "ipv4address": ManagedListTypeIpv4Address, - "ipv6address": ManagedListTypeIpv6Address, - "resource_ocid": ManagedListTypeResourceOcid, - "region": ManagedListTypeRegion, - "country": ManagedListTypeCountry, - "state": ManagedListTypeState, - "city": ManagedListTypeCity, - "tags": ManagedListTypeTags, - "generic": ManagedListTypeGeneric, + "cidr_block": ManagedListTypeCidrBlock, + "users": ManagedListTypeUsers, + "groups": ManagedListTypeGroups, + "ipv4address": ManagedListTypeIpv4Address, + "ipv6address": ManagedListTypeIpv6Address, + "resource_ocid": ManagedListTypeResourceOcid, + "region": ManagedListTypeRegion, + "country": ManagedListTypeCountry, + "state": ManagedListTypeState, + "city": ManagedListTypeCity, + "tags": ManagedListTypeTags, + "generic": ManagedListTypeGeneric, + "fusion_apps_role": ManagedListTypeFusionAppsRole, + "fusion_apps_permission": ManagedListTypeFusionAppsPermission, } // GetManagedListTypeEnumValues Enumerates the set of values for ManagedListTypeEnum @@ -87,6 +93,8 @@ func GetManagedListTypeEnumStringValues() []string { "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/managed_list_type_summary.go b/cloudguard/managed_list_type_summary.go index 8101819481..bf6587fb59 100644 --- a/cloudguard/managed_list_type_summary.go +++ b/cloudguard/managed_list_type_summary.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ManagedListTypeSummary Summary of the ManagedListType. +// ManagedListTypeSummary A managed list type summary (ManagedListTypeSummary object) contains summary information for a managed list type (ManagedListType object). type ManagedListTypeSummary struct { // ManagedListType Identifier diff --git a/cloudguard/policy_summary.go b/cloudguard/policy_summary.go index 8aa1221082..cf0045dfff 100644 --- a/cloudguard/policy_summary.go +++ b/cloudguard/policy_summary.go @@ -16,7 +16,7 @@ import ( "strings" ) -// PolicySummary Global policy statement +// PolicySummary A policy summary (PolicySummary object) contains a list of all current global policy statements (policy attributes). type PolicySummary struct { // Global policy statement diff --git a/cloudguard/problem.go b/cloudguard/problem.go index bf74ceb14c..33f80817c0 100644 --- a/cloudguard/problem.go +++ b/cloudguard/problem.go @@ -16,7 +16,7 @@ import ( "strings" ) -// Problem Problem Definition. +// Problem Problems are at the core of Cloud Guard’s functionality. A Problem object is created whenever an action or a configuration on a resource triggers a rule in a detector that’s attached to the target containing the compartment where the resource is located. Each Problem object contains all the details for a single problem. This is the information for the problem that appears on the Cloud Guard Problems page. type Problem struct { // Unique identifier that is immutable on creation diff --git a/cloudguard/problem_aggregation.go b/cloudguard/problem_aggregation.go index 7a56f7029d..cd42a1c105 100644 --- a/cloudguard/problem_aggregation.go +++ b/cloudguard/problem_aggregation.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ProblemAggregation Provides the dimensions and their corresponding count value. +// ProblemAggregation Provides aggregated information on counts of problems by specified parameters. type ProblemAggregation struct { // The key-value pairs of dimensions and their names. diff --git a/cloudguard/problem_endpoint_summary.go b/cloudguard/problem_endpoint_summary.go index 94a09f31f2..4faf939ff6 100644 --- a/cloudguard/problem_endpoint_summary.go +++ b/cloudguard/problem_endpoint_summary.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ProblemEndpointSummary Problem endpoints summary. +// ProblemEndpointSummary Summary information for endpoints associated with a problem (Problem object). type ProblemEndpointSummary struct { // Unique identifier for problem endpoint. diff --git a/cloudguard/problem_trend_aggregation.go b/cloudguard/problem_trend_aggregation.go index f668d321e7..68e2cda637 100644 --- a/cloudguard/problem_trend_aggregation.go +++ b/cloudguard/problem_trend_aggregation.go @@ -16,7 +16,7 @@ import ( "strings" ) -// ProblemTrendAggregation Provides the dimensions and their corresponding time and count. +// ProblemTrendAggregation Provides aggregated information on trends for counts of problems by specified parameters. type ProblemTrendAggregation struct { // The key-value pairs of dimensions and their names. diff --git a/cloudguard/target_detector_recipe_detector_rule.go b/cloudguard/target_detector_recipe_detector_rule.go index 17b0290a59..faf9a8c762 100644 --- a/cloudguard/target_detector_recipe_detector_rule.go +++ b/cloudguard/target_detector_recipe_detector_rule.go @@ -97,48 +97,54 @@ type TargetDetectorRecipeDetectorRuleManagedListTypesEnum string // Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum const ( - TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK" - TargetDetectorRecipeDetectorRuleManagedListTypesUsers TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "USERS" - TargetDetectorRecipeDetectorRuleManagedListTypesGroups TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS" - TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS" - TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS" - TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID" - TargetDetectorRecipeDetectorRuleManagedListTypesRegion TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "REGION" - TargetDetectorRecipeDetectorRuleManagedListTypesCountry TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY" - TargetDetectorRecipeDetectorRuleManagedListTypesState TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "STATE" - TargetDetectorRecipeDetectorRuleManagedListTypesCity TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CITY" - TargetDetectorRecipeDetectorRuleManagedListTypesTags TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS" - TargetDetectorRecipeDetectorRuleManagedListTypesGeneric TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC" + TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CIDR_BLOCK" + TargetDetectorRecipeDetectorRuleManagedListTypesUsers TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "USERS" + TargetDetectorRecipeDetectorRuleManagedListTypesGroups TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GROUPS" + TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV4ADDRESS" + TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "IPV6ADDRESS" + TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "RESOURCE_OCID" + TargetDetectorRecipeDetectorRuleManagedListTypesRegion TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "REGION" + TargetDetectorRecipeDetectorRuleManagedListTypesCountry TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "COUNTRY" + TargetDetectorRecipeDetectorRuleManagedListTypesState TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "STATE" + TargetDetectorRecipeDetectorRuleManagedListTypesCity TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "CITY" + TargetDetectorRecipeDetectorRuleManagedListTypesTags TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "TAGS" + TargetDetectorRecipeDetectorRuleManagedListTypesGeneric TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "GENERIC" + TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsRole TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_ROLE" + TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission TargetDetectorRecipeDetectorRuleManagedListTypesEnum = "FUSION_APPS_PERMISSION" ) var mappingTargetDetectorRecipeDetectorRuleManagedListTypesEnum = map[string]TargetDetectorRecipeDetectorRuleManagedListTypesEnum{ - "CIDR_BLOCK": TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock, - "USERS": TargetDetectorRecipeDetectorRuleManagedListTypesUsers, - "GROUPS": TargetDetectorRecipeDetectorRuleManagedListTypesGroups, - "IPV4ADDRESS": TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address, - "IPV6ADDRESS": TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address, - "RESOURCE_OCID": TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid, - "REGION": TargetDetectorRecipeDetectorRuleManagedListTypesRegion, - "COUNTRY": TargetDetectorRecipeDetectorRuleManagedListTypesCountry, - "STATE": TargetDetectorRecipeDetectorRuleManagedListTypesState, - "CITY": TargetDetectorRecipeDetectorRuleManagedListTypesCity, - "TAGS": TargetDetectorRecipeDetectorRuleManagedListTypesTags, - "GENERIC": TargetDetectorRecipeDetectorRuleManagedListTypesGeneric, + "CIDR_BLOCK": TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock, + "USERS": TargetDetectorRecipeDetectorRuleManagedListTypesUsers, + "GROUPS": TargetDetectorRecipeDetectorRuleManagedListTypesGroups, + "IPV4ADDRESS": TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address, + "IPV6ADDRESS": TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address, + "RESOURCE_OCID": TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid, + "REGION": TargetDetectorRecipeDetectorRuleManagedListTypesRegion, + "COUNTRY": TargetDetectorRecipeDetectorRuleManagedListTypesCountry, + "STATE": TargetDetectorRecipeDetectorRuleManagedListTypesState, + "CITY": TargetDetectorRecipeDetectorRuleManagedListTypesCity, + "TAGS": TargetDetectorRecipeDetectorRuleManagedListTypesTags, + "GENERIC": TargetDetectorRecipeDetectorRuleManagedListTypesGeneric, + "FUSION_APPS_ROLE": TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsRole, + "FUSION_APPS_PERMISSION": TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission, } var mappingTargetDetectorRecipeDetectorRuleManagedListTypesEnumLowerCase = map[string]TargetDetectorRecipeDetectorRuleManagedListTypesEnum{ - "cidr_block": TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock, - "users": TargetDetectorRecipeDetectorRuleManagedListTypesUsers, - "groups": TargetDetectorRecipeDetectorRuleManagedListTypesGroups, - "ipv4address": TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address, - "ipv6address": TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address, - "resource_ocid": TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid, - "region": TargetDetectorRecipeDetectorRuleManagedListTypesRegion, - "country": TargetDetectorRecipeDetectorRuleManagedListTypesCountry, - "state": TargetDetectorRecipeDetectorRuleManagedListTypesState, - "city": TargetDetectorRecipeDetectorRuleManagedListTypesCity, - "tags": TargetDetectorRecipeDetectorRuleManagedListTypesTags, - "generic": TargetDetectorRecipeDetectorRuleManagedListTypesGeneric, + "cidr_block": TargetDetectorRecipeDetectorRuleManagedListTypesCidrBlock, + "users": TargetDetectorRecipeDetectorRuleManagedListTypesUsers, + "groups": TargetDetectorRecipeDetectorRuleManagedListTypesGroups, + "ipv4address": TargetDetectorRecipeDetectorRuleManagedListTypesIpv4address, + "ipv6address": TargetDetectorRecipeDetectorRuleManagedListTypesIpv6address, + "resource_ocid": TargetDetectorRecipeDetectorRuleManagedListTypesResourceOcid, + "region": TargetDetectorRecipeDetectorRuleManagedListTypesRegion, + "country": TargetDetectorRecipeDetectorRuleManagedListTypesCountry, + "state": TargetDetectorRecipeDetectorRuleManagedListTypesState, + "city": TargetDetectorRecipeDetectorRuleManagedListTypesCity, + "tags": TargetDetectorRecipeDetectorRuleManagedListTypesTags, + "generic": TargetDetectorRecipeDetectorRuleManagedListTypesGeneric, + "fusion_apps_role": TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsRole, + "fusion_apps_permission": TargetDetectorRecipeDetectorRuleManagedListTypesFusionAppsPermission, } // GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleManagedListTypesEnum @@ -165,6 +171,8 @@ func GetTargetDetectorRecipeDetectorRuleManagedListTypesEnumStringValues() []str "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/cloudguard/target_detector_recipe_detector_rule_summary.go b/cloudguard/target_detector_recipe_detector_rule_summary.go index 1a5dca81ec..270123b478 100644 --- a/cloudguard/target_detector_recipe_detector_rule_summary.go +++ b/cloudguard/target_detector_recipe_detector_rule_summary.go @@ -97,48 +97,54 @@ type TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum string // Set of constants representing the allowable values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum const ( - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS" - TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CIDR_BLOCK" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "USERS" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GROUPS" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV4ADDRESS" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "IPV6ADDRESS" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "RESOURCE_OCID" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "REGION" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "COUNTRY" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "STATE" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "CITY" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "TAGS" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "GENERIC" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_ROLE" + TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = "FUSION_APPS_PERMISSION" ) var mappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum = map[string]TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum{ - "CIDR_BLOCK": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, - "USERS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers, - "GROUPS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups, - "IPV4ADDRESS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, - "IPV6ADDRESS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, - "RESOURCE_OCID": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, - "REGION": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion, - "COUNTRY": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry, - "STATE": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState, - "CITY": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity, - "TAGS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags, - "GENERIC": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "CIDR_BLOCK": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, + "USERS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers, + "GROUPS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups, + "IPV4ADDRESS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, + "IPV6ADDRESS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, + "RESOURCE_OCID": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, + "REGION": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion, + "COUNTRY": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry, + "STATE": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState, + "CITY": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity, + "TAGS": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags, + "GENERIC": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "FUSION_APPS_ROLE": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole, + "FUSION_APPS_PERMISSION": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission, } var mappingTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumLowerCase = map[string]TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum{ - "cidr_block": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, - "users": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers, - "groups": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups, - "ipv4address": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, - "ipv6address": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, - "resource_ocid": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, - "region": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion, - "country": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry, - "state": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState, - "city": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity, - "tags": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags, - "generic": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "cidr_block": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCidrBlock, + "users": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesUsers, + "groups": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGroups, + "ipv4address": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv4address, + "ipv6address": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesIpv6address, + "resource_ocid": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesResourceOcid, + "region": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesRegion, + "country": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCountry, + "state": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesState, + "city": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesCity, + "tags": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesTags, + "generic": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesGeneric, + "fusion_apps_role": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsRole, + "fusion_apps_permission": TargetDetectorRecipeDetectorRuleSummaryManagedListTypesFusionAppsPermission, } // GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumValues Enumerates the set of values for TargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnum @@ -165,6 +171,8 @@ func GetTargetDetectorRecipeDetectorRuleSummaryManagedListTypesEnumStringValues( "CITY", "TAGS", "GENERIC", + "FUSION_APPS_ROLE", + "FUSION_APPS_PERMISSION", } } diff --git a/common/version.go b/common/version.go index 9c53ce1883..0a721a5d8f 100644 --- a/common/version.go +++ b/common/version.go @@ -12,7 +12,7 @@ import ( const ( major = "65" - minor = "62" + minor = "63" patch = "0" tag = "" ) diff --git a/email/action_type.go b/email/action_type.go index 1d7f62d0b3..f3f71bae9f 100644 --- a/email/action_type.go +++ b/email/action_type.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -27,6 +26,7 @@ const ( ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" + ActionTypeFailed ActionTypeEnum = "FAILED" ) var mappingActionTypeEnum = map[string]ActionTypeEnum{ @@ -35,6 +35,7 @@ var mappingActionTypeEnum = map[string]ActionTypeEnum{ "DELETED": ActionTypeDeleted, "IN_PROGRESS": ActionTypeInProgress, "RELATED": ActionTypeRelated, + "FAILED": ActionTypeFailed, } var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{ @@ -43,6 +44,7 @@ var mappingActionTypeEnumLowerCase = map[string]ActionTypeEnum{ "deleted": ActionTypeDeleted, "in_progress": ActionTypeInProgress, "related": ActionTypeRelated, + "failed": ActionTypeFailed, } // GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum @@ -62,6 +64,7 @@ func GetActionTypeEnumStringValues() []string { "DELETED", "IN_PROGRESS", "RELATED", + "FAILED", } } diff --git a/email/change_email_domain_compartment_details.go b/email/change_email_domain_compartment_details.go index 3139af8b67..d15d99f669 100644 --- a/email/change_email_domain_compartment_details.go +++ b/email/change_email_domain_compartment_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/change_sender_compartment_details.go b/email/change_sender_compartment_details.go index b3bcd0e6cf..4055f6f859 100644 --- a/email/change_sender_compartment_details.go +++ b/email/change_sender_compartment_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/configuration.go b/email/configuration.go new file mode 100644 index 0000000000..a03816bf31 --- /dev/null +++ b/email/configuration.go @@ -0,0 +1,48 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery API +// +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// + +package email + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Configuration Tenancy level customer email configuration details. +type Configuration struct { + + // The root compartment OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (same as the tenancy OCID) + CompartmentId *string `mandatory:"true" json:"compartmentId"` + + // Endpoint used to submit emails via the HTTP email submission API + HttpSubmitEndpoint *string `mandatory:"true" json:"httpSubmitEndpoint"` + + // Endpoint used to submit emails via the standard SMTP submission protocol. Note that TLS 1.2 and standard SMTP authentication is required for submission. + SmtpSubmitEndpoint *string `mandatory:"true" json:"smtpSubmitEndpoint"` +} + +func (m Configuration) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Configuration) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/email/create_dkim_details.go b/email/create_dkim_details.go index 2ccd967d4f..939fb2dc37 100644 --- a/email/create_dkim_details.go +++ b/email/create_dkim_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -29,8 +28,8 @@ type CreateDkimDetails struct { // The DKIM selector. This selector is required to be globally unique for this email domain. // If you do not provide the selector, we will generate one for you. // If you do provide the selector, we suggest adding a short region indicator - // to differentiate from your signing of emails in other regions you may be subscribed to. - // Selectors limited to ASCII characters may use alphanumeric, dash ("-"), and dot (".") characters. + // to differentiate from your signing of emails in other regions you might be subscribed to. + // Selectors limited to ASCII characters can use alphanumeric, dash ("-"), and dot (".") characters. // Non-ASCII selector names should adopt IDNA2008 normalization (RFC 5891-5892). // Avoid entering confidential information. // Example: `mydomain-phx-20210228` diff --git a/email/create_email_domain_details.go b/email/create_email_domain_details.go index c7f96f3be6..0448fdb88e 100644 --- a/email/create_email_domain_details.go +++ b/email/create_email_domain_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -26,7 +25,7 @@ type CreateEmailDomainDetails struct { // The email domain name must be unique in the region for this tenancy. // Domain names limited to ASCII characters use alphanumeric, dash ("-"), and dot (".") characters. // The dash and dot are only allowed between alphanumeric characters. - // For details, please see: https://tools.ietf.org/html/rfc5321#section-4.1.2 + // For details, see RFC 5321, section 4.1.2 (https://tools.ietf.org/html/rfc5321#section-4.1.2) // Non-ASCII domain names should adopt IDNA2008 normalization (RFC 5891-5892). Name *string `mandatory:"true" json:"name"` diff --git a/email/create_sender_details.go b/email/create_sender_details.go index a134e43a75..c989de62e6 100644 --- a/email/create_sender_details.go +++ b/email/create_sender_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/create_suppression_details.go b/email/create_suppression_details.go index a4762bcd1e..4cb85ad33a 100644 --- a/email/create_suppression_details.go +++ b/email/create_suppression_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/dkim.go b/email/dkim.go index c55e9904c7..5ff6774f1a 100644 --- a/email/dkim.go +++ b/email/dkim.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -59,16 +58,16 @@ type Dkim struct { TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The name of the DNS subdomain that must be provisioned to enable email recipients to verify DKIM signatures. - // It is usually created with a CNAME record set to the cnameRecordValue + // It is usually created with a CNAME record set to the cnameRecordValue. DnsSubdomainName *string `mandatory:"false" json:"dnsSubdomainName"` // The DNS CNAME record value to provision to the DKIM DNS subdomain, when using the CNAME method for DKIM setup (preferred). CnameRecordValue *string `mandatory:"false" json:"cnameRecordValue"` // The DNS TXT record value to provision to the DKIM DNS subdomain in place of using a CNAME record. - // This is used in cases where a CNAME can not be used, such as when the cnameRecordValue would exceed the maximum length for a DNS entry. - // This can also be used by customers who have an existing procedure to directly provision TXT records for DKIM. - // Be aware that many DNS APIs will require you to break this string into segments of less than 255 characters. + // This is used in cases where a CNAME cannot be used, such as when the cnameRecordValue would exceed the maximum length for a DNS entry. + // You can also use this if you have an existing procedure to directly provision TXT records for DKIM. + // Many DNS APIs require you to break this string into segments of fewer than 255 characters. TxtRecordValue *string `mandatory:"false" json:"txtRecordValue"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. diff --git a/email/dkim_collection.go b/email/dkim_collection.go index 9277240914..8ff71ababb 100644 --- a/email/dkim_collection.go +++ b/email/dkim_collection.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -19,7 +18,7 @@ import ( "strings" ) -// DkimCollection Results of a search. Contains boh DkimSummary items and other information, such as metadata. +// DkimCollection Results of a search. Contains both DkimSummary items and other information, such as metadata. type DkimCollection struct { // List of dkims. diff --git a/email/dkim_summary.go b/email/dkim_summary.go index 1a4a804f0c..886096abe0 100644 --- a/email/dkim_summary.go +++ b/email/dkim_summary.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/email_client.go b/email/email_client.go index 7240f62578..f208e94fe6 100644 --- a/email/email_client.go +++ b/email/email_client.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -95,11 +94,11 @@ func (client *EmailClient) ConfigurationProvider() *common.ConfigurationProvider return client.config } -// ChangeEmailDomainCompartment Moves a email domain into a different compartment. +// ChangeEmailDomainCompartment Moves an email domain into a different compartment. // When provided, If-Match is checked against ETag value of the resource. // For information about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). -// **Note:** All Dkim objects associated with this email domain will also be moved into the provided compartment. +// **Note:** All DKIM objects associated with this email domain will also be moved into the provided compartment. // // # See also // @@ -218,10 +217,10 @@ func (client EmailClient) changeSenderCompartment(ctx context.Context, request c return response, err } -// CreateDkim Creates a new DKIM for a email domain. -// This DKIM will sign all approved senders in the tenancy that are in this email domain. +// CreateDkim Creates a new DKIM for an email domain. +// This DKIM signs all approved senders in the tenancy that are in this email domain. // Best security practices indicate to periodically rotate the DKIM that is doing the signing. -// When a second DKIM is applied, all senders will seamlessly pick up the new key +// When a second DKIM is applied, all senders seamlessly pick up the new key // without interruption in signing. // // # See also @@ -468,7 +467,7 @@ func (client EmailClient) createSuppression(ctx context.Context, request common. // will stop signing the domain's outgoing mail. // DKIM keys are left in DELETING state for about a day to allow DKIM signatures on // in-transit mail to be validated. -// Consider instead of deletion creating a new DKIM for this domain so the signing can be rotated to it. +// Consider creating a new DKIM for this domain so the signing can be rotated to it instead of deletion. // // # See also // @@ -525,7 +524,7 @@ func (client EmailClient) deleteDkim(ctx context.Context, request common.OCIRequ return response, err } -// DeleteEmailDomain Deletes a email domain. +// DeleteEmailDomain Deletes an email domain. // // # See also // @@ -755,6 +754,63 @@ func (client EmailClient) getDkim(ctx context.Context, request common.OCIRequest return response, err } +// GetEmailConfiguration Returns email configuration associated with the specified compartment. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/email/GetEmailConfiguration.go.html to see an example of how to use GetEmailConfiguration API. +func (client EmailClient) GetEmailConfiguration(ctx context.Context, request GetEmailConfigurationRequest) (response GetEmailConfigurationResponse, err error) { + var ociResponse common.OCIResponse + policy := common.NoRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.getEmailConfiguration, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = GetEmailConfigurationResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = GetEmailConfigurationResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(GetEmailConfigurationResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into GetEmailConfigurationResponse") + } + return +} + +// getEmailConfiguration implements the OCIOperation interface (enables retrying operations) +func (client EmailClient) getEmailConfiguration(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodGet, "/configuration", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response GetEmailConfigurationResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Configuration/GetEmailConfiguration" + err = common.PostProcessServiceError(err, "Email", "GetEmailConfiguration", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} + // GetEmailDomain Retrieves the specified email domain. // // # See also @@ -984,7 +1040,7 @@ func (client EmailClient) getWorkRequest(ctx context.Context, request common.OCI return response, err } -// ListDkims Lists DKIMs for a email domain. +// ListDkims Lists DKIMs for an email domain. // // # See also // @@ -1442,7 +1498,7 @@ func (client EmailClient) updateDkim(ctx context.Context, request common.OCIRequ return response, err } -// UpdateEmailDomain Modifies a email domain. +// UpdateEmailDomain Modifies an email domain. // // # See also // diff --git a/email/email_domain.go b/email/email_domain.go index da27d9b789..19adce2eaa 100644 --- a/email/email_domain.go +++ b/email/email_domain.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -19,12 +18,12 @@ import ( "strings" ) -// EmailDomain The properties that define a email domain. -// A Email Domain contains configuration used to assert responsibility for emails sent from that domain. +// EmailDomain The properties that define an email domain. +// An email domain contains configuration used to assert responsibility for emails sent from that domain. type EmailDomain struct { // The name of the email domain in the Internet Domain Name System (DNS). - // Example: `example.net` + // Example: `mydomain.example.com` Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain. @@ -44,7 +43,7 @@ type EmailDomain struct { // SPF Authentication (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm#components). IsSpf *bool `mandatory:"false" json:"isSpf"` - // The description of a email domain. + // The description of an email domain. Description *string `mandatory:"false" json:"description"` // The time the email domain was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) diff --git a/email/email_domain_collection.go b/email/email_domain_collection.go index 21dc8942a8..e7d34c4a02 100644 --- a/email/email_domain_collection.go +++ b/email/email_domain_collection.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -19,7 +18,7 @@ import ( "strings" ) -// EmailDomainCollection Results of an EmailDomain search. Contains boh EmailDomainSummary items and other information, such as metadata. +// EmailDomainCollection Results of an EmailDomain search. Contains both EmailDomainSummary items and other information, such as metadata. type EmailDomainCollection struct { // List of email domains. diff --git a/email/email_domain_summary.go b/email/email_domain_summary.go index a7782c57fd..34c2f2d524 100644 --- a/email/email_domain_summary.go +++ b/email/email_domain_summary.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -19,12 +18,12 @@ import ( "strings" ) -// EmailDomainSummary The properties that define a email domain. -// A Email Domain contains configuration used to assert responsibility for emails sent from that domain. +// EmailDomainSummary The properties that define an email domain. +// An email domain contains configuration used to assert responsibility for emails sent from that domain. type EmailDomainSummary struct { // The name of the email domain in the Internet Domain Name System (DNS). - // Example: `example.net` + // Example: `mydomain.example.com` Name *string `mandatory:"true" json:"name"` // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the email domain. @@ -40,7 +39,7 @@ type EmailDomainSummary struct { // that is adding the DKIM signature for this email domain. ActiveDkimId *string `mandatory:"false" json:"activeDkimId"` - // The description of a email domain. + // The description of an email domain. Description *string `mandatory:"false" json:"description"` // The time the email domain was created, expressed in RFC 3339 (https://tools.ietf.org/html/rfc3339) diff --git a/email/get_email_configuration_request_response.go b/email/get_email_configuration_request_response.go new file mode 100644 index 0000000000..d9463fd242 --- /dev/null +++ b/email/get_email_configuration_request_response.go @@ -0,0 +1,90 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +package email + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// GetEmailConfigurationRequest wrapper for the GetEmailConfiguration operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/email/GetEmailConfiguration.go.html to see an example of how to use GetEmailConfigurationRequest. +type GetEmailConfigurationRequest struct { + + // The OCID for the compartment. + CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` + + // The request ID for tracing from the system + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request GetEmailConfigurationRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request GetEmailConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request GetEmailConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request GetEmailConfigurationRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request GetEmailConfigurationRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// GetEmailConfigurationResponse wrapper for the GetEmailConfiguration operation +type GetEmailConfigurationResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The Configuration instance + Configuration `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response GetEmailConfigurationResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response GetEmailConfigurationResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/email/list_suppressions_request_response.go b/email/list_suppressions_request_response.go index 7769c9fcd2..ae0c5b3305 100644 --- a/email/list_suppressions_request_response.go +++ b/email/list_suppressions_request_response.go @@ -32,7 +32,7 @@ type ListSuppressionsRequest struct { // returned list (inclusive). Specifying this parameter without the // corresponding `timeCreatedLessThan` parameter will retrieve suppressions created from the // given `timeCreatedGreaterThanOrEqualTo` to the current time, in "YYYY-MM-ddThh:mmZ" format with a - // Z offset, as defined by RFC 3339. + // Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // **Example:** 2016-12-19T16:39:57.600Z TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"` @@ -41,7 +41,7 @@ type ListSuppressionsRequest struct { // list (exclusive). Specifying this parameter without the corresponding // `timeCreatedGreaterThanOrEqualTo` parameter will retrieve all suppressions created before the // specified end date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as - // defined by RFC 3339. + // defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // **Example:** 2016-12-19T16:39:57.600Z TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"` diff --git a/email/operation_status.go b/email/operation_status.go index 5f68d0409c..2a436d0999 100644 --- a/email/operation_status.go +++ b/email/operation_status.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -22,30 +21,36 @@ type OperationStatusEnum string // Set of constants representing the allowable values for OperationStatusEnum const ( - OperationStatusAccepted OperationStatusEnum = "ACCEPTED" - OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" - OperationStatusFailed OperationStatusEnum = "FAILED" - OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" - OperationStatusCanceling OperationStatusEnum = "CANCELING" - OperationStatusCanceled OperationStatusEnum = "CANCELED" + OperationStatusAccepted OperationStatusEnum = "ACCEPTED" + OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" + OperationStatusWaiting OperationStatusEnum = "WAITING" + OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" + OperationStatusFailed OperationStatusEnum = "FAILED" + OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" + OperationStatusCanceling OperationStatusEnum = "CANCELING" + OperationStatusCanceled OperationStatusEnum = "CANCELED" ) var mappingOperationStatusEnum = map[string]OperationStatusEnum{ - "ACCEPTED": OperationStatusAccepted, - "IN_PROGRESS": OperationStatusInProgress, - "FAILED": OperationStatusFailed, - "SUCCEEDED": OperationStatusSucceeded, - "CANCELING": OperationStatusCanceling, - "CANCELED": OperationStatusCanceled, + "ACCEPTED": OperationStatusAccepted, + "IN_PROGRESS": OperationStatusInProgress, + "WAITING": OperationStatusWaiting, + "NEEDS_ATTENTION": OperationStatusNeedsAttention, + "FAILED": OperationStatusFailed, + "SUCCEEDED": OperationStatusSucceeded, + "CANCELING": OperationStatusCanceling, + "CANCELED": OperationStatusCanceled, } var mappingOperationStatusEnumLowerCase = map[string]OperationStatusEnum{ - "accepted": OperationStatusAccepted, - "in_progress": OperationStatusInProgress, - "failed": OperationStatusFailed, - "succeeded": OperationStatusSucceeded, - "canceling": OperationStatusCanceling, - "canceled": OperationStatusCanceled, + "accepted": OperationStatusAccepted, + "in_progress": OperationStatusInProgress, + "waiting": OperationStatusWaiting, + "needs_attention": OperationStatusNeedsAttention, + "failed": OperationStatusFailed, + "succeeded": OperationStatusSucceeded, + "canceling": OperationStatusCanceling, + "canceled": OperationStatusCanceled, } // GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum @@ -62,6 +67,8 @@ func GetOperationStatusEnumStringValues() []string { return []string{ "ACCEPTED", "IN_PROGRESS", + "WAITING", + "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", diff --git a/email/operation_type.go b/email/operation_type.go index 59be83ded0..b7f4e74ef0 100644 --- a/email/operation_type.go +++ b/email/operation_type.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/sender.go b/email/sender.go index 2a1b7b9c6d..7a0e18c1bf 100644 --- a/email/sender.go +++ b/email/sender.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -39,7 +38,7 @@ type Sender struct { LifecycleState SenderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // The date and time the approved sender was added in "YYYY-MM-ddThh:mmZ" - // format with a Z offset, as defined by RFC 3339. + // format with a Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The email domain used to assert responsibility for emails sent from this sender. @@ -54,6 +53,10 @@ type Sender struct { // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` } func (m Sender) String() string { diff --git a/email/sender_summary.go b/email/sender_summary.go index b5133c1049..b956d692ac 100644 --- a/email/sender_summary.go +++ b/email/sender_summary.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -35,7 +34,7 @@ type SenderSummary struct { LifecycleState SenderLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // Date time the approved sender was added, in "YYYY-MM-ddThh:mmZ" - // format with a Z offset, as defined by RFC 3339. + // format with a Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. @@ -47,6 +46,10 @@ type SenderSummary struct { // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` + + // Usage of system tag keys. These predefined keys are scoped to namespaces. + // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` + SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"` } func (m SenderSummary) String() string { diff --git a/email/sort_order.go b/email/sort_order.go index 0c54ecaac4..9cd1f3f40c 100644 --- a/email/sort_order.go +++ b/email/sort_order.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/suppression.go b/email/suppression.go index 7a9108e201..9c4b6030fd 100644 --- a/email/suppression.go +++ b/email/suppression.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -37,12 +36,12 @@ type Suppression struct { Reason SuppressionReasonEnum `mandatory:"false" json:"reason,omitempty"` // The date and time the suppression was added in "YYYY-MM-ddThh:mmZ" - // format with a Z offset, as defined by RFC 3339. + // format with a Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The last date and time the suppression prevented submission // in "YYYY-MM-ddThh:mmZ" - // format with a Z offset, as defined by RFC 3339. + // format with a Z offset, as defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeLastSuppressed *common.SDKTime `mandatory:"false" json:"timeLastSuppressed"` // The value of the Message-ID header from the email that triggered a suppression. @@ -80,61 +79,3 @@ func (m Suppression) ValidateEnumValue() (bool, error) { } return false, nil } - -// SuppressionReasonEnum Enum with underlying type: string -type SuppressionReasonEnum string - -// Set of constants representing the allowable values for SuppressionReasonEnum -const ( - SuppressionReasonUnknown SuppressionReasonEnum = "UNKNOWN" - SuppressionReasonHardbounce SuppressionReasonEnum = "HARDBOUNCE" - SuppressionReasonComplaint SuppressionReasonEnum = "COMPLAINT" - SuppressionReasonManual SuppressionReasonEnum = "MANUAL" - SuppressionReasonSoftbounce SuppressionReasonEnum = "SOFTBOUNCE" - SuppressionReasonUnsubscribe SuppressionReasonEnum = "UNSUBSCRIBE" -) - -var mappingSuppressionReasonEnum = map[string]SuppressionReasonEnum{ - "UNKNOWN": SuppressionReasonUnknown, - "HARDBOUNCE": SuppressionReasonHardbounce, - "COMPLAINT": SuppressionReasonComplaint, - "MANUAL": SuppressionReasonManual, - "SOFTBOUNCE": SuppressionReasonSoftbounce, - "UNSUBSCRIBE": SuppressionReasonUnsubscribe, -} - -var mappingSuppressionReasonEnumLowerCase = map[string]SuppressionReasonEnum{ - "unknown": SuppressionReasonUnknown, - "hardbounce": SuppressionReasonHardbounce, - "complaint": SuppressionReasonComplaint, - "manual": SuppressionReasonManual, - "softbounce": SuppressionReasonSoftbounce, - "unsubscribe": SuppressionReasonUnsubscribe, -} - -// GetSuppressionReasonEnumValues Enumerates the set of values for SuppressionReasonEnum -func GetSuppressionReasonEnumValues() []SuppressionReasonEnum { - values := make([]SuppressionReasonEnum, 0) - for _, v := range mappingSuppressionReasonEnum { - values = append(values, v) - } - return values -} - -// GetSuppressionReasonEnumStringValues Enumerates the set of values in String for SuppressionReasonEnum -func GetSuppressionReasonEnumStringValues() []string { - return []string{ - "UNKNOWN", - "HARDBOUNCE", - "COMPLAINT", - "MANUAL", - "SOFTBOUNCE", - "UNSUBSCRIBE", - } -} - -// GetMappingSuppressionReasonEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingSuppressionReasonEnum(val string) (SuppressionReasonEnum, bool) { - enum, ok := mappingSuppressionReasonEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/email/suppression_reason.go b/email/suppression_reason.go new file mode 100644 index 0000000000..b7e1082ae4 --- /dev/null +++ b/email/suppression_reason.go @@ -0,0 +1,75 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery API +// +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// + +package email + +import ( + "strings" +) + +// SuppressionReasonEnum Enum with underlying type: string +type SuppressionReasonEnum string + +// Set of constants representing the allowable values for SuppressionReasonEnum +const ( + SuppressionReasonUnknown SuppressionReasonEnum = "UNKNOWN" + SuppressionReasonHardbounce SuppressionReasonEnum = "HARDBOUNCE" + SuppressionReasonComplaint SuppressionReasonEnum = "COMPLAINT" + SuppressionReasonManual SuppressionReasonEnum = "MANUAL" + SuppressionReasonSoftbounce SuppressionReasonEnum = "SOFTBOUNCE" + SuppressionReasonUnsubscribe SuppressionReasonEnum = "UNSUBSCRIBE" +) + +var mappingSuppressionReasonEnum = map[string]SuppressionReasonEnum{ + "UNKNOWN": SuppressionReasonUnknown, + "HARDBOUNCE": SuppressionReasonHardbounce, + "COMPLAINT": SuppressionReasonComplaint, + "MANUAL": SuppressionReasonManual, + "SOFTBOUNCE": SuppressionReasonSoftbounce, + "UNSUBSCRIBE": SuppressionReasonUnsubscribe, +} + +var mappingSuppressionReasonEnumLowerCase = map[string]SuppressionReasonEnum{ + "unknown": SuppressionReasonUnknown, + "hardbounce": SuppressionReasonHardbounce, + "complaint": SuppressionReasonComplaint, + "manual": SuppressionReasonManual, + "softbounce": SuppressionReasonSoftbounce, + "unsubscribe": SuppressionReasonUnsubscribe, +} + +// GetSuppressionReasonEnumValues Enumerates the set of values for SuppressionReasonEnum +func GetSuppressionReasonEnumValues() []SuppressionReasonEnum { + values := make([]SuppressionReasonEnum, 0) + for _, v := range mappingSuppressionReasonEnum { + values = append(values, v) + } + return values +} + +// GetSuppressionReasonEnumStringValues Enumerates the set of values in String for SuppressionReasonEnum +func GetSuppressionReasonEnumStringValues() []string { + return []string{ + "UNKNOWN", + "HARDBOUNCE", + "COMPLAINT", + "MANUAL", + "SOFTBOUNCE", + "UNSUBSCRIBE", + } +} + +// GetMappingSuppressionReasonEnum performs case Insensitive comparison on enum value and return the desired enum +func GetMappingSuppressionReasonEnum(val string) (SuppressionReasonEnum, bool) { + enum, ok := mappingSuppressionReasonEnumLowerCase[strings.ToLower(val)] + return enum, ok +} diff --git a/email/suppression_summary.go b/email/suppression_summary.go index 9eab822ed3..088829b472 100644 --- a/email/suppression_summary.go +++ b/email/suppression_summary.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -32,11 +31,11 @@ type SuppressionSummary struct { Id *string `mandatory:"true" json:"id"` // The reason that the email address was suppressed. - Reason SuppressionSummaryReasonEnum `mandatory:"false" json:"reason,omitempty"` + Reason SuppressionReasonEnum `mandatory:"false" json:"reason,omitempty"` // The date and time a recipient's email address was added to the // suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as - // defined by RFC 3339. + // defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` } @@ -50,69 +49,11 @@ func (m SuppressionSummary) String() string { func (m SuppressionSummary) ValidateEnumValue() (bool, error) { errMessage := []string{} - if _, ok := GetMappingSuppressionSummaryReasonEnum(string(m.Reason)); !ok && m.Reason != "" { - errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Reason: %s. Supported values are: %s.", m.Reason, strings.Join(GetSuppressionSummaryReasonEnumStringValues(), ","))) + if _, ok := GetMappingSuppressionReasonEnum(string(m.Reason)); !ok && m.Reason != "" { + errMessage = append(errMessage, fmt.Sprintf("unsupported enum value for Reason: %s. Supported values are: %s.", m.Reason, strings.Join(GetSuppressionReasonEnumStringValues(), ","))) } if len(errMessage) > 0 { return true, fmt.Errorf(strings.Join(errMessage, "\n")) } return false, nil } - -// SuppressionSummaryReasonEnum Enum with underlying type: string -type SuppressionSummaryReasonEnum string - -// Set of constants representing the allowable values for SuppressionSummaryReasonEnum -const ( - SuppressionSummaryReasonUnknown SuppressionSummaryReasonEnum = "UNKNOWN" - SuppressionSummaryReasonHardbounce SuppressionSummaryReasonEnum = "HARDBOUNCE" - SuppressionSummaryReasonComplaint SuppressionSummaryReasonEnum = "COMPLAINT" - SuppressionSummaryReasonManual SuppressionSummaryReasonEnum = "MANUAL" - SuppressionSummaryReasonSoftbounce SuppressionSummaryReasonEnum = "SOFTBOUNCE" - SuppressionSummaryReasonUnsubscribe SuppressionSummaryReasonEnum = "UNSUBSCRIBE" -) - -var mappingSuppressionSummaryReasonEnum = map[string]SuppressionSummaryReasonEnum{ - "UNKNOWN": SuppressionSummaryReasonUnknown, - "HARDBOUNCE": SuppressionSummaryReasonHardbounce, - "COMPLAINT": SuppressionSummaryReasonComplaint, - "MANUAL": SuppressionSummaryReasonManual, - "SOFTBOUNCE": SuppressionSummaryReasonSoftbounce, - "UNSUBSCRIBE": SuppressionSummaryReasonUnsubscribe, -} - -var mappingSuppressionSummaryReasonEnumLowerCase = map[string]SuppressionSummaryReasonEnum{ - "unknown": SuppressionSummaryReasonUnknown, - "hardbounce": SuppressionSummaryReasonHardbounce, - "complaint": SuppressionSummaryReasonComplaint, - "manual": SuppressionSummaryReasonManual, - "softbounce": SuppressionSummaryReasonSoftbounce, - "unsubscribe": SuppressionSummaryReasonUnsubscribe, -} - -// GetSuppressionSummaryReasonEnumValues Enumerates the set of values for SuppressionSummaryReasonEnum -func GetSuppressionSummaryReasonEnumValues() []SuppressionSummaryReasonEnum { - values := make([]SuppressionSummaryReasonEnum, 0) - for _, v := range mappingSuppressionSummaryReasonEnum { - values = append(values, v) - } - return values -} - -// GetSuppressionSummaryReasonEnumStringValues Enumerates the set of values in String for SuppressionSummaryReasonEnum -func GetSuppressionSummaryReasonEnumStringValues() []string { - return []string{ - "UNKNOWN", - "HARDBOUNCE", - "COMPLAINT", - "MANUAL", - "SOFTBOUNCE", - "UNSUBSCRIBE", - } -} - -// GetMappingSuppressionSummaryReasonEnum performs case Insensitive comparison on enum value and return the desired enum -func GetMappingSuppressionSummaryReasonEnum(val string) (SuppressionSummaryReasonEnum, bool) { - enum, ok := mappingSuppressionSummaryReasonEnumLowerCase[strings.ToLower(val)] - return enum, ok -} diff --git a/email/update_dkim_details.go b/email/update_dkim_details.go index 8b72e29aef..7e23bbbeee 100644 --- a/email/update_dkim_details.go +++ b/email/update_dkim_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/update_email_domain_details.go b/email/update_email_domain_details.go index 27fd7efbb3..4452967643 100644 --- a/email/update_email_domain_details.go +++ b/email/update_email_domain_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/update_sender_details.go b/email/update_sender_details.go index 2cf2709f33..97c1cca69b 100644 --- a/email/update_sender_details.go +++ b/email/update_sender_details.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/work_request.go b/email/work_request.go index 8d3d025ebf..169681fc56 100644 --- a/email/work_request.go +++ b/email/work_request.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -31,7 +30,7 @@ type WorkRequest struct { // The id of the work request. Id *string `mandatory:"true" json:"id"` - // The ocid of the compartment that contains the work request. Work requests should be scoped to + // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used diff --git a/email/work_request_error.go b/email/work_request_error.go index d1cc118cba..bfe6600963 100644 --- a/email/work_request_error.go +++ b/email/work_request_error.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -22,14 +21,13 @@ import ( // WorkRequestError An error encountered while executing a work request. type WorkRequestError struct { - // A machine-usable code for the error that occured. Error codes are listed on - // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) + // A machine-usable code for the error that occurred. Refer to API Errors (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) for a list of error codes. Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` - // The time the error occured. An RFC3339 formatted datetime string. + // The time the error occurred. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` } diff --git a/email/work_request_error_collection.go b/email/work_request_error_collection.go index 7719d8f221..65e4195b88 100644 --- a/email/work_request_error_collection.go +++ b/email/work_request_error_collection.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/work_request_log_entry.go b/email/work_request_log_entry.go index 04fac21739..416931a7c8 100644 --- a/email/work_request_log_entry.go +++ b/email/work_request_log_entry.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/work_request_log_entry_collection.go b/email/work_request_log_entry_collection.go index 46e619a749..aac887f4dd 100644 --- a/email/work_request_log_entry_collection.go +++ b/email/work_request_log_entry_collection.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/work_request_resource.go b/email/work_request_resource.go index aeb2ccdd49..988c5185f9 100644 --- a/email/work_request_resource.go +++ b/email/work_request_resource.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/email/work_request_summary.go b/email/work_request_summary.go index 00162abb58..b171c730fc 100644 --- a/email/work_request_summary.go +++ b/email/work_request_summary.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email @@ -31,7 +30,7 @@ type WorkRequestSummary struct { // The id of the work request. Id *string `mandatory:"true" json:"id"` - // The ocid of the compartment that contains the work request. Work requests should be scoped to + // The OCID of the compartment that contains the work request. Work requests should be scoped to // the same compartment as the resource the work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the service team to pick the primary // resource whose compartment should be used diff --git a/email/work_request_summary_collection.go b/email/work_request_summary_collection.go index d55f6f14c2..7e1e72f1f2 100644 --- a/email/work_request_summary_collection.go +++ b/email/work_request_summary_collection.go @@ -4,11 +4,10 @@ // Email Delivery API // -// API for the Email Delivery service. Use this API to send high-volume, application-generated -// emails. For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). -// -// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. -// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. +// Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. +// If a subsequent read request fails to reflect your changes, wait a few minutes and try again. // package email diff --git a/emaildataplane/email_address.go b/emaildataplane/email_address.go new file mode 100644 index 0000000000..808bfcec97 --- /dev/null +++ b/emaildataplane/email_address.go @@ -0,0 +1,43 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery Submission API +// +// Use the Email Delivery API to send high-volume and application-generated emails. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// + +package emaildataplane + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// EmailAddress Email address Object that holds display name and email address. +type EmailAddress struct { + + // ASCII only email address. + Email *string `mandatory:"true" json:"email"` + + // Display name for the email address. UTF-8 is supported for display name RFC 2047 (https://www.rfc-editor.org/rfc/rfc2047). + Name *string `mandatory:"false" json:"name"` +} + +func (m EmailAddress) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m EmailAddress) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/emaildataplane/email_submitted_response.go b/emaildataplane/email_submitted_response.go new file mode 100644 index 0000000000..6c593c9390 --- /dev/null +++ b/emaildataplane/email_submitted_response.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery Submission API +// +// Use the Email Delivery API to send high-volume and application-generated emails. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// + +package emaildataplane + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// EmailSubmittedResponse Response object that is returned to sender upon successfully submitting the email request. +type EmailSubmittedResponse struct { + + // The unique ID for the email's Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided. + // Example: sdiofu234qwermls24fd@mail.example.com + MessageId *string `mandatory:"true" json:"messageId"` + + // Email Delivery generated unique Envelope ID of the email submission. If you need to contact Email Delivery about a particular request, please provide the Envelope ID. + EnvelopeId *string `mandatory:"true" json:"envelopeId"` + + // Return list of suppressed email addresses. + SuppressedRecipients []EmailAddress `mandatory:"true" json:"suppressedRecipients"` +} + +func (m EmailSubmittedResponse) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m EmailSubmittedResponse) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/emaildataplane/emaildataplane_emaildp_client.go b/emaildataplane/emaildataplane_emaildp_client.go new file mode 100644 index 0000000000..689616c9ae --- /dev/null +++ b/emaildataplane/emaildataplane_emaildp_client.go @@ -0,0 +1,151 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery Submission API +// +// Use the Email Delivery API to send high-volume and application-generated emails. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// + +package emaildataplane + +import ( + "context" + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "github.com/oracle/oci-go-sdk/v65/common/auth" + "net/http" +) + +// EmailDPClient a client for EmailDP +type EmailDPClient struct { + common.BaseClient + config *common.ConfigurationProvider +} + +// NewEmailDPClientWithConfigurationProvider Creates a new default EmailDP client with the given configuration provider. +// the configuration provider will be used for the default signer as well as reading the region +func NewEmailDPClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client EmailDPClient, err error) { + if enabled := common.CheckForEnabledServices("emaildataplane"); !enabled { + return client, fmt.Errorf("the Developer Tool configuration disabled this service, this behavior is controlled by OciSdkEnabledServicesMap variables. Please check if your local developer-tool-configuration.json file configured the service you're targeting or contact the cloud provider on the availability of this service") + } + provider, err := auth.GetGenericConfigurationProvider(configProvider) + if err != nil { + return client, err + } + baseClient, e := common.NewClientWithConfig(provider) + if e != nil { + return client, e + } + return newEmailDPClientFromBaseClient(baseClient, provider) +} + +// NewEmailDPClientWithOboToken Creates a new default EmailDP client with the given configuration provider. +// The obotoken will be added to default headers and signed; the configuration provider will be used for the signer +// +// as well as reading the region +func NewEmailDPClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client EmailDPClient, err error) { + baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) + if err != nil { + return client, err + } + + return newEmailDPClientFromBaseClient(baseClient, configProvider) +} + +func newEmailDPClientFromBaseClient(baseClient common.BaseClient, configProvider common.ConfigurationProvider) (client EmailDPClient, err error) { + // EmailDP service default circuit breaker is enabled + baseClient.Configuration.CircuitBreaker = common.NewCircuitBreaker(common.DefaultCircuitBreakerSettingWithServiceName("EmailDP")) + common.ConfigCircuitBreakerFromEnvVar(&baseClient) + common.ConfigCircuitBreakerFromGlobalVar(&baseClient) + + client = EmailDPClient{BaseClient: baseClient} + client.BasePath = "20220926" + err = client.setConfigurationProvider(configProvider) + return +} + +// SetRegion overrides the region of this client. +func (client *EmailDPClient) SetRegion(region string) { + client.Host = common.StringToRegion(region).EndpointForTemplate("emaildataplane", "https://cell0.submit.email.{region}.oci.{secondLevelDomain}") +} + +// SetConfigurationProvider sets the configuration provider including the region, returns an error if is not valid +func (client *EmailDPClient) setConfigurationProvider(configProvider common.ConfigurationProvider) error { + if ok, err := common.IsConfigurationProviderValid(configProvider); !ok { + return err + } + + // Error has been checked already + region, _ := configProvider.Region() + client.SetRegion(region) + if client.Host == "" { + return fmt.Errorf("invalid region or Host. Endpoint cannot be constructed without endpointServiceName or serviceEndpointTemplate for a dotted region") + } + client.config = &configProvider + return nil +} + +// ConfigurationProvider the ConfigurationProvider used in this client, or null if none set +func (client *EmailDPClient) ConfigurationProvider() *common.ConfigurationProvider { + return client.config +} + +// SubmitEmail Submits a formatted email. +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/emaildataplane/SubmitEmail.go.html to see an example of how to use SubmitEmail API. +// A default retry strategy applies to this operation SubmitEmail() +func (client EmailDPClient) SubmitEmail(ctx context.Context, request SubmitEmailRequest) (response SubmitEmailResponse, err error) { + var ociResponse common.OCIResponse + policy := common.DefaultRetryPolicy() + if client.RetryPolicy() != nil { + policy = *client.RetryPolicy() + } + if request.RetryPolicy() != nil { + policy = *request.RetryPolicy() + } + ociResponse, err = common.Retry(ctx, request, client.submitEmail, policy) + if err != nil { + if ociResponse != nil { + if httpResponse := ociResponse.HTTPResponse(); httpResponse != nil { + opcRequestId := httpResponse.Header.Get("opc-request-id") + response = SubmitEmailResponse{RawResponse: httpResponse, OpcRequestId: &opcRequestId} + } else { + response = SubmitEmailResponse{} + } + } + return + } + if convertedResponse, ok := ociResponse.(SubmitEmailResponse); ok { + response = convertedResponse + } else { + err = fmt.Errorf("failed to convert OCIResponse into SubmitEmailResponse") + } + return +} + +// submitEmail implements the OCIOperation interface (enables retrying operations) +func (client EmailDPClient) submitEmail(ctx context.Context, request common.OCIRequest, binaryReqBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (common.OCIResponse, error) { + + httpRequest, err := request.HTTPRequest(http.MethodPost, "/actions/submitEmail", binaryReqBody, extraHeaders) + if err != nil { + return nil, err + } + + var response SubmitEmailResponse + var httpResponse *http.Response + httpResponse, err = client.Call(ctx, &httpRequest) + defer common.CloseBodyIfValid(httpResponse) + response.RawResponse = httpResponse + if err != nil { + apiReferenceLink := "" + err = common.PostProcessServiceError(err, "EmailDP", "SubmitEmail", apiReferenceLink) + return response, err + } + + err = common.UnmarshalResponse(httpResponse, &response) + return response, err +} diff --git a/emaildataplane/recipients.go b/emaildataplane/recipients.go new file mode 100644 index 0000000000..c8a2d67f76 --- /dev/null +++ b/emaildataplane/recipients.go @@ -0,0 +1,47 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery Submission API +// +// Use the Email Delivery API to send high-volume and application-generated emails. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// + +package emaildataplane + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Recipients The destination for the email, composed of To, CC, and BCC fields. +// NOTE: At least one of To, CC, and BCC must be provided. And max 50 recipients are allowed across the To:, CC: and BCC: fields. +type Recipients struct { + + // Array of To address. + To []EmailAddress `mandatory:"false" json:"to"` + + // Array of CC address. + Cc []EmailAddress `mandatory:"false" json:"cc"` + + // Array of BCC address. Bcc headers can only be viewed by non bcc recipients. + Bcc []EmailAddress `mandatory:"false" json:"bcc"` +} + +func (m Recipients) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Recipients) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/emaildataplane/sender.go b/emaildataplane/sender.go new file mode 100644 index 0000000000..a3df572192 --- /dev/null +++ b/emaildataplane/sender.go @@ -0,0 +1,41 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery Submission API +// +// Use the Email Delivery API to send high-volume and application-generated emails. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// + +package emaildataplane + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// Sender The envelope and the header from email address details, that is sending the email. Email address must be an approved sender. +type Sender struct { + SenderAddress *EmailAddress `mandatory:"true" json:"senderAddress"` + + // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the approved sender resource. + CompartmentId *string `mandatory:"true" json:"compartmentId"` +} + +func (m Sender) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m Sender) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/emaildataplane/submit_email_details.go b/emaildataplane/submit_email_details.go new file mode 100644 index 0000000000..372c66bc86 --- /dev/null +++ b/emaildataplane/submit_email_details.go @@ -0,0 +1,62 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +// Email Delivery Submission API +// +// Use the Email Delivery API to send high-volume and application-generated emails. +// For more information, see Overview of the Email Delivery Service (https://docs.cloud.oracle.com/iaas/Content/Email/Concepts/overview.htm). +// + +package emaildataplane + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "strings" +) + +// SubmitEmailDetails Details that are required by the sender to submit a request to send email. +type SubmitEmailDetails struct { + Sender *Sender `mandatory:"true" json:"sender"` + + Recipients *Recipients `mandatory:"true" json:"recipients"` + + // A short summary of the content, which will appear in the recipient's inbox. UTF-8 supported RFC 2047 (https://www.rfc-editor.org/rfc/rfc2047). + Subject *string `mandatory:"true" json:"subject"` + + // The unique ID for the email's Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 (https://www.rfc-editor.org/rfc/rfc5322) Message-ID. This will be generated if not provided. + // Example: sdiofu234qwermls24fd@mail.example.com + MessageId *string `mandatory:"false" json:"messageId"` + + // HTML body content in UTF-8. + // NOTE: Even though bodytext and bodyhtml are both optional, at least one of them must be provided. + BodyHtml *string `mandatory:"false" json:"bodyHtml"` + + // Text body content. + // NOTE: Even though bodytext and bodyhtml are both optional, at least one of them must be provided. + BodyText *string `mandatory:"false" json:"bodyText"` + + // The email address for the recipient to reply to. If left blank, defaults to the sender address. + ReplyTo []EmailAddress `mandatory:"false" json:"replyTo"` + + // The header used by the customer for the email sent. Reserved headers are not allowed e.g "subject", "from", and "to" etc. + // Example: `{"bar-key": "value"}` + HeaderFields map[string]string `mandatory:"false" json:"headerFields"` +} + +func (m SubmitEmailDetails) String() string { + return common.PointerString(m) +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (m SubmitEmailDetails) ValidateEnumValue() (bool, error) { + errMessage := []string{} + + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} diff --git a/emaildataplane/submit_email_request_response.go b/emaildataplane/submit_email_request_response.go new file mode 100644 index 0000000000..28e54f853a --- /dev/null +++ b/emaildataplane/submit_email_request_response.go @@ -0,0 +1,90 @@ +// Copyright (c) 2016, 2018, 2024, Oracle and/or its affiliates. All rights reserved. +// 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. +// Code generated. DO NOT EDIT. + +package emaildataplane + +import ( + "fmt" + "github.com/oracle/oci-go-sdk/v65/common" + "net/http" + "strings" +) + +// SubmitEmailRequest wrapper for the SubmitEmail operation +// +// # See also +// +// Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/emaildataplane/SubmitEmail.go.html to see an example of how to use SubmitEmailRequest. +type SubmitEmailRequest struct { + + // Parameters for submitEmail API. + SubmitEmailDetails `contributesTo:"body"` + + // The request ID for tracing from the system + OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` + + // Metadata about the request. This information will not be transmitted to the service, but + // represents information that the SDK will consume to drive retry behavior. + RequestMetadata common.RequestMetadata +} + +func (request SubmitEmailRequest) String() string { + return common.PointerString(request) +} + +// HTTPRequest implements the OCIRequest interface +func (request SubmitEmailRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error) { + + _, err := request.ValidateEnumValue() + if err != nil { + return http.Request{}, err + } + return common.MakeDefaultHTTPRequestWithTaggedStructAndExtraHeaders(method, path, request, extraHeaders) +} + +// BinaryRequestBody implements the OCIRequest interface +func (request SubmitEmailRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) { + + return nil, false + +} + +// RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy. +func (request SubmitEmailRequest) RetryPolicy() *common.RetryPolicy { + return request.RequestMetadata.RetryPolicy +} + +// ValidateEnumValue returns an error when providing an unsupported enum value +// This function is being called during constructing API request process +// Not recommended for calling this function directly +func (request SubmitEmailRequest) ValidateEnumValue() (bool, error) { + errMessage := []string{} + if len(errMessage) > 0 { + return true, fmt.Errorf(strings.Join(errMessage, "\n")) + } + return false, nil +} + +// SubmitEmailResponse wrapper for the SubmitEmail operation +type SubmitEmailResponse struct { + + // The underlying http response + RawResponse *http.Response + + // The EmailSubmittedResponse instance + EmailSubmittedResponse `presentIn:"body"` + + // Unique Oracle-assigned identifier for the request. If you need to contact + // Oracle about a particular request, please provide the request ID. + OpcRequestId *string `presentIn:"header" name:"opc-request-id"` +} + +func (response SubmitEmailResponse) String() string { + return common.PointerString(response) +} + +// HTTPResponse implements the OCIResponse interface +func (response SubmitEmailResponse) HTTPResponse() *http.Response { + return response.RawResponse +} diff --git a/loadbalancer/create_ssl_cipher_suite_details.go b/loadbalancer/create_ssl_cipher_suite_details.go index bc9aabd0af..05a32edf67 100644 --- a/loadbalancer/create_ssl_cipher_suite_details.go +++ b/loadbalancer/create_ssl_cipher_suite_details.go @@ -172,6 +172,69 @@ import ( // "RC4-MD5" // "RC4-SHA" // "SEED-SHA" +// - __oci-default-http2-ssl-cipher-suite-v1__ +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "DHE-RSA-AES256-GCM-SHA384" +// "DHE-RSA-AES128-GCM-SHA256" +// - __oci-default-http2-tls-13-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-default-http2-tls-12-13-ssl-cipher-suite-v1__ +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "DHE-RSA-AES256-GCM-SHA384" +// "DHE-RSA-AES128-GCM-SHA256" +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-tls-13-recommended-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-tls-12-13-wider-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-SHA256" +// "ECDHE-RSA-AES128-SHA256" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-SHA384" +// "ECDHE-RSA-AES256-SHA384" +// "AES128-GCM-SHA256" +// "AES128-SHA256" +// "AES256-GCM-SHA384" +// "AES256-SHA256" +// - __oci-tls-11-12-13-wider-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-SHA256" +// "ECDHE-RSA-AES128-SHA256" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-SHA384" +// "ECDHE-RSA-AES256-SHA384" +// "AES128-GCM-SHA256" +// "AES128-SHA256" +// "AES256-GCM-SHA384" +// "AES256-SHA256" +// "ECDHE-ECDSA-AES128-SHA" +// "ECDHE-RSA-AES128-SHA" +// "ECDHE-RSA-AES256-SHA" +// "ECDHE-ECDSA-AES256-SHA" +// "AES128-SHA" +// "AES256-SHA" type CreateSslCipherSuiteDetails struct { // A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -182,11 +245,23 @@ type CreateSslCipherSuiteDetails struct { // * oci-compatible-ssl-cipher-suite-v1 // * oci-wider-compatible-ssl-cipher-suite-v1 // * oci-customized-ssl-cipher-suite + // * oci-default-http2-ssl-cipher-suite-v1 + // * oci-default-http2-tls-13-ssl-cipher-suite-v1 + // * oci-default-http2-tls-12-13-ssl-cipher-suite-v1 + // * oci-tls-13-recommended-ssl-cipher-suite-v1 + // * oci-tls-12-13-wider-ssl-cipher-suite-v1 + // * oci-tls-11-12-13-wider-ssl-cipher-suite-v1 // example: `example_cipher_suite` Name *string `mandatory:"true" json:"name"` // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. // The following ciphers are valid values for this property: + // * __TLSv1.3 ciphers__ + // "TLS-AES-128-GCM-SHA256" + // "TLS-AES-256-GCM-SHA384" + // "TLS-CHACHA20-POLY1305-SHA256" + // "TLS-AES-128-CCM-SHA256" + // "TLS-AES-128-CCM-8-SHA256" // * __TLSv1.2 ciphers__ // "AES128-GCM-SHA256" // "AES128-SHA256" diff --git a/loadbalancer/ssl_cipher_suite.go b/loadbalancer/ssl_cipher_suite.go index 6efdff3df8..822cfb485b 100644 --- a/loadbalancer/ssl_cipher_suite.go +++ b/loadbalancer/ssl_cipher_suite.go @@ -172,6 +172,69 @@ import ( // "RC4-MD5" // "RC4-SHA" // "SEED-SHA" +// - __oci-default-http2-ssl-cipher-suite-v1__ +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "DHE-RSA-AES256-GCM-SHA384" +// "DHE-RSA-AES128-GCM-SHA256" +// - __oci-default-http2-tls-13-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-default-http2-tls-12-13-ssl-cipher-suite-v1__ +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "DHE-RSA-AES256-GCM-SHA384" +// "DHE-RSA-AES128-GCM-SHA256" +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-tls-13-recommended-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-tls-12-13-wider-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-SHA256" +// "ECDHE-RSA-AES128-SHA256" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-SHA384" +// "ECDHE-RSA-AES256-SHA384" +// "AES128-GCM-SHA256" +// "AES128-SHA256" +// "AES256-GCM-SHA384" +// "AES256-SHA256" +// - __oci-tls-11-12-13-wider-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-SHA256" +// "ECDHE-RSA-AES128-SHA256" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-SHA384" +// "ECDHE-RSA-AES256-SHA384" +// "AES128-GCM-SHA256" +// "AES128-SHA256" +// "AES256-GCM-SHA384" +// "AES256-SHA256" +// "ECDHE-ECDSA-AES128-SHA" +// "ECDHE-RSA-AES128-SHA" +// "ECDHE-RSA-AES256-SHA" +// "ECDHE-ECDSA-AES256-SHA" +// "AES128-SHA" +// "AES256-SHA" type SslCipherSuite struct { // A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -182,11 +245,23 @@ type SslCipherSuite struct { // * oci-compatible-ssl-cipher-suite-v1 // * oci-wider-compatible-ssl-cipher-suite-v1 // * oci-customized-ssl-cipher-suite + // * oci-default-http2-ssl-cipher-suite-v1 + // * oci-default-http2-tls-13-ssl-cipher-suite-v1 + // * oci-default-http2-tls-12-13-ssl-cipher-suite-v1 + // * oci-tls-13-recommended-ssl-cipher-suite-v1 + // * oci-tls-12-13-wider-ssl-cipher-suite-v1 + // * oci-tls-11-12-13-wider-ssl-cipher-suite-v1 // example: `example_cipher_suite` Name *string `mandatory:"true" json:"name"` // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. // The following ciphers are valid values for this property: + // * __TLSv1.3 ciphers__ + // "TLS-AES-128-GCM-SHA256" + // "TLS-AES-256-GCM-SHA384" + // "TLS-CHACHA20-POLY1305-SHA256" + // "TLS-AES-128-CCM-SHA256" + // "TLS-AES-128-CCM-8-SHA256" // * __TLSv1.2 ciphers__ // "AES128-GCM-SHA256" // "AES128-SHA256" diff --git a/loadbalancer/ssl_cipher_suite_details.go b/loadbalancer/ssl_cipher_suite_details.go index 66595886e5..d2eae113e2 100644 --- a/loadbalancer/ssl_cipher_suite_details.go +++ b/loadbalancer/ssl_cipher_suite_details.go @@ -172,6 +172,69 @@ import ( // "RC4-MD5" // "RC4-SHA" // "SEED-SHA" +// - __oci-default-http2-ssl-cipher-suite-v1__ +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "DHE-RSA-AES256-GCM-SHA384" +// "DHE-RSA-AES128-GCM-SHA256" +// - __oci-default-http2-tls-13-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-default-http2-tls-12-13-ssl-cipher-suite-v1__ +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "DHE-RSA-AES256-GCM-SHA384" +// "DHE-RSA-AES128-GCM-SHA256" +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-tls-13-recommended-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// - __oci-tls-12-13-wider-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-SHA256" +// "ECDHE-RSA-AES128-SHA256" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-SHA384" +// "ECDHE-RSA-AES256-SHA384" +// "AES128-GCM-SHA256" +// "AES128-SHA256" +// "AES256-GCM-SHA384" +// "AES256-SHA256" +// - __oci-tls-11-12-13-wider-ssl-cipher-suite-v1__ +// "TLS-AES-128-GCM-SHA256" +// "TLS-AES-256-GCM-SHA384" +// "TLS-CHACHA20-POLY1305-SHA256" +// "ECDHE-ECDSA-AES128-GCM-SHA256" +// "ECDHE-RSA-AES128-GCM-SHA256" +// "ECDHE-ECDSA-AES128-SHA256" +// "ECDHE-RSA-AES128-SHA256" +// "ECDHE-ECDSA-AES256-GCM-SHA384" +// "ECDHE-RSA-AES256-GCM-SHA384" +// "ECDHE-ECDSA-AES256-SHA384" +// "ECDHE-RSA-AES256-SHA384" +// "AES128-GCM-SHA256" +// "AES128-SHA256" +// "AES256-GCM-SHA384" +// "AES256-SHA256" +// "ECDHE-ECDSA-AES128-SHA" +// "ECDHE-RSA-AES128-SHA" +// "ECDHE-RSA-AES256-SHA" +// "ECDHE-ECDSA-AES256-SHA" +// "AES128-SHA" +// "AES256-SHA" type SslCipherSuiteDetails struct { // A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -182,11 +245,23 @@ type SslCipherSuiteDetails struct { // * oci-compatible-ssl-cipher-suite-v1 // * oci-wider-compatible-ssl-cipher-suite-v1 // * oci-customized-ssl-cipher-suite + // * oci-default-http2-ssl-cipher-suite-v1 + // * oci-default-http2-tls-13-ssl-cipher-suite-v1 + // * oci-default-http2-tls-12-13-ssl-cipher-suite-v1 + // * oci-tls-13-recommended-ssl-cipher-suite-v1 + // * oci-tls-12-13-wider-ssl-cipher-suite-v1 + // * oci-tls-11-12-13-wider-ssl-cipher-suite-v1 // example: `example_cipher_suite` Name *string `mandatory:"true" json:"name"` // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. // The following ciphers are valid values for this property: + // * __TLSv1.3 ciphers__ + // "TLS-AES-128-GCM-SHA256" + // "TLS-AES-256-GCM-SHA384" + // "TLS-CHACHA20-POLY1305-SHA256" + // "TLS-AES-128-CCM-SHA256" + // "TLS-AES-128-CCM-8-SHA256" // * __TLSv1.2 ciphers__ // "AES128-GCM-SHA256" // "AES128-SHA256" diff --git a/loadbalancer/ssl_configuration.go b/loadbalancer/ssl_configuration.go index e2ac10bbf2..e284647f48 100644 --- a/loadbalancer/ssl_configuration.go +++ b/loadbalancer/ssl_configuration.go @@ -79,6 +79,7 @@ type SslConfiguration struct { // * TLSv1 // * TLSv1.1 // * TLSv1.2 + // * TLSv1.3 // If this field is not specified, TLSv1.2 is the default. // **Warning:** All SSL listeners created on a given port must use the same set of SSL protocols. // **Notes:** diff --git a/loadbalancer/ssl_configuration_details.go b/loadbalancer/ssl_configuration_details.go index 88ad08b7ad..cf129b12bf 100644 --- a/loadbalancer/ssl_configuration_details.go +++ b/loadbalancer/ssl_configuration_details.go @@ -49,6 +49,7 @@ type SslConfigurationDetails struct { // * TLSv1 // * TLSv1.1 // * TLSv1.2 + // * TLSv1.3 // If this field is not specified, TLSv1.2 is the default. // **Warning:** All SSL listeners created on a given port must use the same set of SSL protocols. // **Notes:** diff --git a/loadbalancer/update_ssl_cipher_suite_details.go b/loadbalancer/update_ssl_cipher_suite_details.go index 6c27dc9483..1a40da035d 100644 --- a/loadbalancer/update_ssl_cipher_suite_details.go +++ b/loadbalancer/update_ssl_cipher_suite_details.go @@ -22,6 +22,12 @@ type UpdateSslCipherSuiteDetails struct { // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. // The following ciphers are valid values for this property: + // * __TLSv1.3 ciphers__ + // "TLS-AES-128-GCM-SHA256" + // "TLS-AES-256-GCM-SHA384" + // "TLS-CHACHA20-POLY1305-SHA256" + // "TLS-AES-128-CCM-SHA256" + // "TLS-AES-128-CCM-8-SHA256" // * __TLSv1.2 ciphers__ // "AES128-GCM-SHA256" // "AES128-SHA256" diff --git a/networkloadbalancer/create_network_load_balancer_details.go b/networkloadbalancer/create_network_load_balancer_details.go index 7441f2e639..70a9b85afb 100644 --- a/networkloadbalancer/create_network_load_balancer_details.go +++ b/networkloadbalancer/create_network_load_balancer_details.go @@ -69,6 +69,19 @@ type CreateNetworkLoadBalancerDetails struct { // IP version associated with the NLB. NlbIpVersion NlbIpVersionEnum `mandatory:"false" json:"nlbIpVersion,omitempty"` + // IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this. + SubnetIpv6Cidr *string `mandatory:"false" json:"subnetIpv6Cidr"` + + // Private IP address to be assigned to the network load balancer being created. + // This IP address has to be in the CIDR range of the subnet where network load balancer is being created + // Example: "10.0.0.1" + AssignedPrivateIpv4 *string `mandatory:"false" json:"assignedPrivateIpv4"` + + // IPv6 address to be assigned to the network load balancer being created. + // This IP address has to be part of one of the prefixes supported by the subnet. + // Example: "2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789" + AssignedIpv6 *string `mandatory:"false" json:"assignedIpv6"` + // Listeners associated with the network load balancer. Listeners map[string]ListenerDetails `mandatory:"false" json:"listeners"` diff --git a/networkloadbalancer/hcs_infra_ip_version.go b/networkloadbalancer/hcs_infra_ip_version.go index 975dae6b26..615e1d44b6 100644 --- a/networkloadbalancer/hcs_infra_ip_version.go +++ b/networkloadbalancer/hcs_infra_ip_version.go @@ -20,16 +20,19 @@ type HcsInfraIpVersionEnum string const ( HcsInfraIpVersionIpv4 HcsInfraIpVersionEnum = "IPV4" HcsInfraIpVersionIpv4AndIpv6 HcsInfraIpVersionEnum = "IPV4_AND_IPV6" + HcsInfraIpVersionIpv6 HcsInfraIpVersionEnum = "IPV6" ) var mappingHcsInfraIpVersionEnum = map[string]HcsInfraIpVersionEnum{ "IPV4": HcsInfraIpVersionIpv4, "IPV4_AND_IPV6": HcsInfraIpVersionIpv4AndIpv6, + "IPV6": HcsInfraIpVersionIpv6, } var mappingHcsInfraIpVersionEnumLowerCase = map[string]HcsInfraIpVersionEnum{ "ipv4": HcsInfraIpVersionIpv4, "ipv4_and_ipv6": HcsInfraIpVersionIpv4AndIpv6, + "ipv6": HcsInfraIpVersionIpv6, } // GetHcsInfraIpVersionEnumValues Enumerates the set of values for HcsInfraIpVersionEnum @@ -46,6 +49,7 @@ func GetHcsInfraIpVersionEnumStringValues() []string { return []string{ "IPV4", "IPV4_AND_IPV6", + "IPV6", } } diff --git a/networkloadbalancer/nlb_ip_version.go b/networkloadbalancer/nlb_ip_version.go index b19edf9662..ef17a299b1 100644 --- a/networkloadbalancer/nlb_ip_version.go +++ b/networkloadbalancer/nlb_ip_version.go @@ -20,16 +20,19 @@ type NlbIpVersionEnum string const ( NlbIpVersionIpv4 NlbIpVersionEnum = "IPV4" NlbIpVersionIpv4AndIpv6 NlbIpVersionEnum = "IPV4_AND_IPV6" + NlbIpVersionIpv6 NlbIpVersionEnum = "IPV6" ) var mappingNlbIpVersionEnum = map[string]NlbIpVersionEnum{ "IPV4": NlbIpVersionIpv4, "IPV4_AND_IPV6": NlbIpVersionIpv4AndIpv6, + "IPV6": NlbIpVersionIpv6, } var mappingNlbIpVersionEnumLowerCase = map[string]NlbIpVersionEnum{ "ipv4": NlbIpVersionIpv4, "ipv4_and_ipv6": NlbIpVersionIpv4AndIpv6, + "ipv6": NlbIpVersionIpv6, } // GetNlbIpVersionEnumValues Enumerates the set of values for NlbIpVersionEnum @@ -46,6 +49,7 @@ func GetNlbIpVersionEnumStringValues() []string { return []string{ "IPV4", "IPV4_AND_IPV6", + "IPV6", } } diff --git a/networkloadbalancer/update_network_load_balancer_details.go b/networkloadbalancer/update_network_load_balancer_details.go index bb29d932b1..edce3db554 100644 --- a/networkloadbalancer/update_network_load_balancer_details.go +++ b/networkloadbalancer/update_network_load_balancer_details.go @@ -35,6 +35,14 @@ type UpdateNetworkLoadBalancerDetails struct { // IP version associated with the NLB. NlbIpVersion NlbIpVersionEnum `mandatory:"false" json:"nlbIpVersion,omitempty"` + // IPv6 subnet prefix selection. If Ipv6 subnet prefix is passed, Nlb Ipv6 Address would be assign within the cidr block. NLB has to be dual or single stack ipv6 to support this. + SubnetIpv6Cidr *string `mandatory:"false" json:"subnetIpv6Cidr"` + + // IPv6 address to be assigned to the network load balancer being created. + // This IP address has to be part of one of the prefixes supported by the subnet. + // Example: "2607:9b80:9a0a:9a7e:abcd:ef01:2345:6789" + AssignedIpv6 *string `mandatory:"false" json:"assignedIpv6"` + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` diff --git a/opsi/opsi_operationsinsights_client.go b/opsi/opsi_operationsinsights_client.go index 50dc3930ac..cbf05275f0 100644 --- a/opsi/opsi_operationsinsights_client.go +++ b/opsi/opsi_operationsinsights_client.go @@ -147,7 +147,7 @@ func (client OperationsInsightsClient) addExadataInsightMembers(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/AddExadataInsightMembers" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "AddExadataInsightMembers", apiReferenceLink) return response, err } @@ -210,7 +210,7 @@ func (client OperationsInsightsClient) changeAutonomousDatabaseInsightAdvancedFe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ChangeAutonomousDatabaseInsightAdvancedFeatures" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeAutonomousDatabaseInsightAdvancedFeatures", apiReferenceLink) return response, err } @@ -273,7 +273,7 @@ func (client OperationsInsightsClient) changeAwrHubSourceCompartment(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/ChangeAwrHubSourceCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeAwrHubSourceCompartment", apiReferenceLink) return response, err } @@ -336,7 +336,7 @@ func (client OperationsInsightsClient) changeDatabaseInsightCompartment(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ChangeDatabaseInsightCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeDatabaseInsightCompartment", apiReferenceLink) return response, err } @@ -394,7 +394,7 @@ func (client OperationsInsightsClient) changeEnterpriseManagerBridgeCompartment( defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/ChangeEnterpriseManagerBridgeCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeEnterpriseManagerBridgeCompartment", apiReferenceLink) return response, err } @@ -457,7 +457,7 @@ func (client OperationsInsightsClient) changeExadataInsightCompartment(ctx conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/ChangeExadataInsightCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeExadataInsightCompartment", apiReferenceLink) return response, err } @@ -520,7 +520,7 @@ func (client OperationsInsightsClient) changeHostInsightCompartment(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ChangeHostInsightCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeHostInsightCompartment", apiReferenceLink) return response, err } @@ -583,7 +583,7 @@ func (client OperationsInsightsClient) changeNewsReportCompartment(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/ChangeNewsReportCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeNewsReportCompartment", apiReferenceLink) return response, err } @@ -646,7 +646,7 @@ func (client OperationsInsightsClient) changeOperationsInsightsPrivateEndpointCo defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/ChangeOperationsInsightsPrivateEndpointCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeOperationsInsightsPrivateEndpointCompartment", apiReferenceLink) return response, err } @@ -709,7 +709,7 @@ func (client OperationsInsightsClient) changeOperationsInsightsWarehouseCompartm defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/ChangeOperationsInsightsWarehouseCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeOperationsInsightsWarehouseCompartment", apiReferenceLink) return response, err } @@ -772,7 +772,7 @@ func (client OperationsInsightsClient) changeOpsiConfigurationCompartment(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/ChangeOpsiConfigurationCompartment" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangeOpsiConfigurationCompartment", apiReferenceLink) return response, err } @@ -835,7 +835,7 @@ func (client OperationsInsightsClient) changePeComanagedDatabaseInsight(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ChangePeComanagedDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ChangePeComanagedDatabaseInsight", apiReferenceLink) return response, err } @@ -899,7 +899,7 @@ func (client OperationsInsightsClient) createAwrHub(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/CreateAwrHub" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateAwrHub", apiReferenceLink) return response, err } @@ -962,7 +962,7 @@ func (client OperationsInsightsClient) createAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/CreateAwrHubSource" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateAwrHubSource", apiReferenceLink) return response, err } @@ -1025,7 +1025,7 @@ func (client OperationsInsightsClient) createDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/CreateDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateDatabaseInsight", apiReferenceLink) return response, err } @@ -1088,7 +1088,7 @@ func (client OperationsInsightsClient) createEnterpriseManagerBridge(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/CreateEnterpriseManagerBridge" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -1151,7 +1151,7 @@ func (client OperationsInsightsClient) createExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/CreateExadataInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateExadataInsight", apiReferenceLink) return response, err } @@ -1214,7 +1214,7 @@ func (client OperationsInsightsClient) createHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/CreateHostInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateHostInsight", apiReferenceLink) return response, err } @@ -1277,7 +1277,7 @@ func (client OperationsInsightsClient) createNewsReport(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/CreateNewsReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateNewsReport", apiReferenceLink) return response, err } @@ -1341,7 +1341,7 @@ func (client OperationsInsightsClient) createOperationsInsightsPrivateEndpoint(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/CreateOperationsInsightsPrivateEndpoint" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -1406,7 +1406,7 @@ func (client OperationsInsightsClient) createOperationsInsightsWarehouse(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/CreateOperationsInsightsWarehouse" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -1470,7 +1470,7 @@ func (client OperationsInsightsClient) createOperationsInsightsWarehouseUser(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/CreateOperationsInsightsWarehouseUser" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -1533,7 +1533,7 @@ func (client OperationsInsightsClient) createOpsiConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/CreateOpsiConfiguration" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "CreateOpsiConfiguration", apiReferenceLink) return response, err } @@ -1591,7 +1591,7 @@ func (client OperationsInsightsClient) deleteAwrHub(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/DeleteAwrHub" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteAwrHub", apiReferenceLink) return response, err } @@ -1649,7 +1649,7 @@ func (client OperationsInsightsClient) deleteAwrHubObject(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/DeleteAwrHubObject" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteAwrHubObject", apiReferenceLink) return response, err } @@ -1707,7 +1707,7 @@ func (client OperationsInsightsClient) deleteAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/DeleteAwrHubSource" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteAwrHubSource", apiReferenceLink) return response, err } @@ -1765,7 +1765,7 @@ func (client OperationsInsightsClient) deleteDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/DeleteDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteDatabaseInsight", apiReferenceLink) return response, err } @@ -1823,7 +1823,7 @@ func (client OperationsInsightsClient) deleteEnterpriseManagerBridge(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/DeleteEnterpriseManagerBridge" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -1881,7 +1881,7 @@ func (client OperationsInsightsClient) deleteExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/DeleteExadataInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteExadataInsight", apiReferenceLink) return response, err } @@ -1939,7 +1939,7 @@ func (client OperationsInsightsClient) deleteHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/DeleteHostInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteHostInsight", apiReferenceLink) return response, err } @@ -1997,7 +1997,7 @@ func (client OperationsInsightsClient) deleteNewsReport(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/DeleteNewsReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteNewsReport", apiReferenceLink) return response, err } @@ -2055,7 +2055,7 @@ func (client OperationsInsightsClient) deleteOperationsInsightsPrivateEndpoint(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/DeleteOperationsInsightsPrivateEndpoint" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -2116,7 +2116,7 @@ func (client OperationsInsightsClient) deleteOperationsInsightsWarehouse(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/DeleteOperationsInsightsWarehouse" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -2174,7 +2174,7 @@ func (client OperationsInsightsClient) deleteOperationsInsightsWarehouseUser(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/DeleteOperationsInsightsWarehouseUser" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -2232,7 +2232,7 @@ func (client OperationsInsightsClient) deleteOpsiConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/DeleteOpsiConfiguration" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DeleteOpsiConfiguration", apiReferenceLink) return response, err } @@ -2295,7 +2295,7 @@ func (client OperationsInsightsClient) disableAutonomousDatabaseInsightAdvancedF defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/DisableAutonomousDatabaseInsightAdvancedFeatures" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableAutonomousDatabaseInsightAdvancedFeatures", apiReferenceLink) return response, err } @@ -2358,7 +2358,7 @@ func (client OperationsInsightsClient) disableAwrHubSource(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/DisableAwrHubSource" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableAwrHubSource", apiReferenceLink) return response, err } @@ -2421,7 +2421,7 @@ func (client OperationsInsightsClient) disableDatabaseInsight(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/DisableDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableDatabaseInsight", apiReferenceLink) return response, err } @@ -2484,7 +2484,7 @@ func (client OperationsInsightsClient) disableExadataInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/DisableExadataInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableExadataInsight", apiReferenceLink) return response, err } @@ -2547,7 +2547,7 @@ func (client OperationsInsightsClient) disableHostInsight(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/DisableHostInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DisableHostInsight", apiReferenceLink) return response, err } @@ -2609,7 +2609,7 @@ func (client OperationsInsightsClient) downloadOperationsInsightsWarehouseWallet httpResponse, err = client.Call(ctx, &httpRequest) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/DownloadOperationsInsightsWarehouseWallet" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "DownloadOperationsInsightsWarehouseWallet", apiReferenceLink) return response, err } @@ -2672,7 +2672,7 @@ func (client OperationsInsightsClient) enableAutonomousDatabaseInsightAdvancedFe defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/EnableAutonomousDatabaseInsightAdvancedFeatures" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableAutonomousDatabaseInsightAdvancedFeatures", apiReferenceLink) return response, err } @@ -2735,7 +2735,7 @@ func (client OperationsInsightsClient) enableAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/EnableAwrHubSource" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableAwrHubSource", apiReferenceLink) return response, err } @@ -2798,7 +2798,7 @@ func (client OperationsInsightsClient) enableDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/EnableDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableDatabaseInsight", apiReferenceLink) return response, err } @@ -2861,7 +2861,7 @@ func (client OperationsInsightsClient) enableExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/EnableExadataInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableExadataInsight", apiReferenceLink) return response, err } @@ -2924,7 +2924,7 @@ func (client OperationsInsightsClient) enableHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/EnableHostInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "EnableHostInsight", apiReferenceLink) return response, err } @@ -2982,7 +2982,7 @@ func (client OperationsInsightsClient) getAwrDatabaseReport(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrDatabaseReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrDatabaseReport", apiReferenceLink) return response, err } @@ -3040,7 +3040,7 @@ func (client OperationsInsightsClient) getAwrDatabaseSqlReport(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrDatabaseSqlReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrDatabaseSqlReport", apiReferenceLink) return response, err } @@ -3098,7 +3098,7 @@ func (client OperationsInsightsClient) getAwrHub(ctx context.Context, request co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrHub" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrHub", apiReferenceLink) return response, err } @@ -3155,7 +3155,7 @@ func (client OperationsInsightsClient) getAwrHubObject(ctx context.Context, requ httpResponse, err = client.Call(ctx, &httpRequest) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/GetAwrHubObject" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrHubObject", apiReferenceLink) return response, err } @@ -3213,7 +3213,7 @@ func (client OperationsInsightsClient) getAwrHubSource(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/GetAwrHubSource" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrHubSource", apiReferenceLink) return response, err } @@ -3272,7 +3272,7 @@ func (client OperationsInsightsClient) getAwrReport(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/GetAwrReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetAwrReport", apiReferenceLink) return response, err } @@ -3330,7 +3330,7 @@ func (client OperationsInsightsClient) getDatabaseInsight(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/GetDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetDatabaseInsight", apiReferenceLink) return response, err } @@ -3388,7 +3388,7 @@ func (client OperationsInsightsClient) getEnterpriseManagerBridge(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/GetEnterpriseManagerBridge" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -3446,7 +3446,7 @@ func (client OperationsInsightsClient) getExadataInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/GetExadataInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetExadataInsight", apiReferenceLink) return response, err } @@ -3504,7 +3504,7 @@ func (client OperationsInsightsClient) getHostInsight(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/GetHostInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetHostInsight", apiReferenceLink) return response, err } @@ -3562,7 +3562,7 @@ func (client OperationsInsightsClient) getNewsReport(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/GetNewsReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetNewsReport", apiReferenceLink) return response, err } @@ -3620,7 +3620,7 @@ func (client OperationsInsightsClient) getOperationsInsightsPrivateEndpoint(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/GetOperationsInsightsPrivateEndpoint" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -3679,7 +3679,7 @@ func (client OperationsInsightsClient) getOperationsInsightsWarehouse(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/GetOperationsInsightsWarehouse" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -3737,7 +3737,7 @@ func (client OperationsInsightsClient) getOperationsInsightsWarehouseUser(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/GetOperationsInsightsWarehouseUser" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -3797,7 +3797,7 @@ func (client OperationsInsightsClient) getOpsiConfiguration(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/GetOpsiConfiguration" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOpsiConfiguration", apiReferenceLink) return response, err } @@ -3855,7 +3855,7 @@ func (client OperationsInsightsClient) getOpsiDataObject(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiDataObjects/GetOpsiDataObject" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetOpsiDataObject", apiReferenceLink) return response, err } @@ -3913,7 +3913,7 @@ func (client OperationsInsightsClient) getWorkRequest(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/GetWorkRequest" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "GetWorkRequest", apiReferenceLink) return response, err } @@ -3971,7 +3971,7 @@ func (client OperationsInsightsClient) headAwrHubObject(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/HeadAwrHubObject" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "HeadAwrHubObject", apiReferenceLink) return response, err } @@ -4035,7 +4035,7 @@ func (client OperationsInsightsClient) ingestAddmReports(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestAddmReports" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestAddmReports", apiReferenceLink) return response, err } @@ -4098,7 +4098,7 @@ func (client OperationsInsightsClient) ingestDatabaseConfiguration(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestDatabaseConfiguration" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestDatabaseConfiguration", apiReferenceLink) return response, err } @@ -4161,7 +4161,7 @@ func (client OperationsInsightsClient) ingestHostConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/IngestHostConfiguration" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestHostConfiguration", apiReferenceLink) return response, err } @@ -4224,7 +4224,7 @@ func (client OperationsInsightsClient) ingestHostMetrics(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/IngestHostMetrics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestHostMetrics", apiReferenceLink) return response, err } @@ -4288,7 +4288,7 @@ func (client OperationsInsightsClient) ingestSqlBucket(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlBucket" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlBucket", apiReferenceLink) return response, err } @@ -4352,7 +4352,7 @@ func (client OperationsInsightsClient) ingestSqlPlanLines(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlPlanLines" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlPlanLines", apiReferenceLink) return response, err } @@ -4416,7 +4416,7 @@ func (client OperationsInsightsClient) ingestSqlStats(ctx context.Context, reque defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlStats" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlStats", apiReferenceLink) return response, err } @@ -4481,7 +4481,7 @@ func (client OperationsInsightsClient) ingestSqlText(ctx context.Context, reques defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/IngestSqlText" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "IngestSqlText", apiReferenceLink) return response, err } @@ -4539,7 +4539,7 @@ func (client OperationsInsightsClient) listAddmDbFindingCategories(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbFindingCategories" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbFindingCategories", apiReferenceLink) return response, err } @@ -4597,7 +4597,7 @@ func (client OperationsInsightsClient) listAddmDbFindingsTimeSeries(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbFindingsTimeSeries" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbFindingsTimeSeries", apiReferenceLink) return response, err } @@ -4655,7 +4655,7 @@ func (client OperationsInsightsClient) listAddmDbParameterCategories(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbParameterCategories" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbParameterCategories", apiReferenceLink) return response, err } @@ -4713,7 +4713,7 @@ func (client OperationsInsightsClient) listAddmDbRecommendationCategories(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbRecommendationCategories" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbRecommendationCategories", apiReferenceLink) return response, err } @@ -4771,7 +4771,7 @@ func (client OperationsInsightsClient) listAddmDbRecommendationsTimeSeries(ctx c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbRecommendationsTimeSeries" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbRecommendationsTimeSeries", apiReferenceLink) return response, err } @@ -4829,7 +4829,7 @@ func (client OperationsInsightsClient) listAddmDbs(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListAddmDbs" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAddmDbs", apiReferenceLink) return response, err } @@ -4887,7 +4887,7 @@ func (client OperationsInsightsClient) listAwrDatabaseSnapshots(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrDatabaseSnapshots" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrDatabaseSnapshots", apiReferenceLink) return response, err } @@ -4945,7 +4945,7 @@ func (client OperationsInsightsClient) listAwrDatabases(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrDatabases" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrDatabases", apiReferenceLink) return response, err } @@ -5003,7 +5003,7 @@ func (client OperationsInsightsClient) listAwrHubObjects(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/ListAwrHubObjects" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrHubObjects", apiReferenceLink) return response, err } @@ -5061,7 +5061,7 @@ func (client OperationsInsightsClient) listAwrHubSources(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/ListAwrHubSources" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrHubSources", apiReferenceLink) return response, err } @@ -5119,7 +5119,7 @@ func (client OperationsInsightsClient) listAwrHubs(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrHubs" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrHubs", apiReferenceLink) return response, err } @@ -5178,7 +5178,7 @@ func (client OperationsInsightsClient) listAwrSnapshots(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/ListAwrSnapshots" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListAwrSnapshots", apiReferenceLink) return response, err } @@ -5237,7 +5237,7 @@ func (client OperationsInsightsClient) listDatabaseConfigurations(ctx context.Co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListDatabaseConfigurations" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListDatabaseConfigurations", apiReferenceLink) return response, err } @@ -5296,7 +5296,7 @@ func (client OperationsInsightsClient) listDatabaseInsights(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListDatabaseInsights" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListDatabaseInsights", apiReferenceLink) return response, err } @@ -5355,7 +5355,7 @@ func (client OperationsInsightsClient) listEnterpriseManagerBridges(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/ListEnterpriseManagerBridges" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListEnterpriseManagerBridges", apiReferenceLink) return response, err } @@ -5413,7 +5413,7 @@ func (client OperationsInsightsClient) listExadataConfigurations(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/ListExadataConfigurations" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListExadataConfigurations", apiReferenceLink) return response, err } @@ -5472,7 +5472,7 @@ func (client OperationsInsightsClient) listExadataInsights(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/ListExadataInsights" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListExadataInsights", apiReferenceLink) return response, err } @@ -5531,7 +5531,7 @@ func (client OperationsInsightsClient) listHostConfigurations(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListHostConfigurations" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListHostConfigurations", apiReferenceLink) return response, err } @@ -5590,7 +5590,7 @@ func (client OperationsInsightsClient) listHostInsights(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListHostInsights" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListHostInsights", apiReferenceLink) return response, err } @@ -5648,7 +5648,7 @@ func (client OperationsInsightsClient) listHostedEntities(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListHostedEntities" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListHostedEntities", apiReferenceLink) return response, err } @@ -5710,7 +5710,7 @@ func (client OperationsInsightsClient) listImportableAgentEntities(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListImportableAgentEntities" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListImportableAgentEntities", apiReferenceLink) return response, err } @@ -5774,7 +5774,7 @@ func (client OperationsInsightsClient) listImportableComputeEntities(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/ListImportableComputeEntities" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListImportableComputeEntities", apiReferenceLink) return response, err } @@ -5832,7 +5832,7 @@ func (client OperationsInsightsClient) listImportableEnterpriseManagerEntities(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/ListImportableEnterpriseManagerEntities" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListImportableEnterpriseManagerEntities", apiReferenceLink) return response, err } @@ -5890,7 +5890,7 @@ func (client OperationsInsightsClient) listNewsReports(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReport/ListNewsReports" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListNewsReports", apiReferenceLink) return response, err } @@ -5948,7 +5948,7 @@ func (client OperationsInsightsClient) listOperationsInsightsPrivateEndpoints(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/ListOperationsInsightsPrivateEndpoints" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOperationsInsightsPrivateEndpoints", apiReferenceLink) return response, err } @@ -6006,7 +6006,7 @@ func (client OperationsInsightsClient) listOperationsInsightsWarehouseUsers(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/ListOperationsInsightsWarehouseUsers" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOperationsInsightsWarehouseUsers", apiReferenceLink) return response, err } @@ -6065,7 +6065,7 @@ func (client OperationsInsightsClient) listOperationsInsightsWarehouses(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/ListOperationsInsightsWarehouses" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOperationsInsightsWarehouses", apiReferenceLink) return response, err } @@ -6123,7 +6123,7 @@ func (client OperationsInsightsClient) listOpsiConfigurations(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/ListOpsiConfigurations" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOpsiConfigurations", apiReferenceLink) return response, err } @@ -6181,7 +6181,7 @@ func (client OperationsInsightsClient) listOpsiDataObjects(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiDataObjects/ListOpsiDataObjects" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListOpsiDataObjects", apiReferenceLink) return response, err } @@ -6240,7 +6240,7 @@ func (client OperationsInsightsClient) listSqlPlans(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListSqlPlans" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListSqlPlans", apiReferenceLink) return response, err } @@ -6299,7 +6299,7 @@ func (client OperationsInsightsClient) listSqlSearches(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListSqlSearches" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListSqlSearches", apiReferenceLink) return response, err } @@ -6357,7 +6357,7 @@ func (client OperationsInsightsClient) listSqlTexts(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/ListSqlTexts" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListSqlTexts", apiReferenceLink) return response, err } @@ -6415,7 +6415,7 @@ func (client OperationsInsightsClient) listWarehouseDataObjects(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiWarehouseDataObjects/ListWarehouseDataObjects" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWarehouseDataObjects", apiReferenceLink) return response, err } @@ -6473,7 +6473,7 @@ func (client OperationsInsightsClient) listWorkRequestErrors(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/ListWorkRequestErrors" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWorkRequestErrors", apiReferenceLink) return response, err } @@ -6531,7 +6531,7 @@ func (client OperationsInsightsClient) listWorkRequestLogs(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/ListWorkRequestLogs" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWorkRequestLogs", apiReferenceLink) return response, err } @@ -6589,7 +6589,7 @@ func (client OperationsInsightsClient) listWorkRequests(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/WorkRequests/ListWorkRequests" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "ListWorkRequests", apiReferenceLink) return response, err } @@ -6657,7 +6657,7 @@ func (client OperationsInsightsClient) putAwrHubObject(ctx context.Context, requ defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubObjects/PutAwrHubObject" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "PutAwrHubObject", apiReferenceLink) return response, err } @@ -6716,7 +6716,7 @@ func (client OperationsInsightsClient) queryOpsiDataObjectData(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiDataObjects/QueryOpsiDataObjectData" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "QueryOpsiDataObjectData", apiReferenceLink) return response, err } @@ -6775,7 +6775,7 @@ func (client OperationsInsightsClient) queryWarehouseDataObjectData(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiWarehouseDataObjects/QueryWarehouseDataObjectData" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "QueryWarehouseDataObjectData", apiReferenceLink) return response, err } @@ -6833,7 +6833,7 @@ func (client OperationsInsightsClient) rotateOperationsInsightsWarehouseWallet(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/RotateOperationsInsightsWarehouseWallet" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "RotateOperationsInsightsWarehouseWallet", apiReferenceLink) return response, err } @@ -6891,7 +6891,7 @@ func (client OperationsInsightsClient) summarizeAddmDbFindings(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbFindings" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbFindings", apiReferenceLink) return response, err } @@ -6951,7 +6951,7 @@ func (client OperationsInsightsClient) summarizeAddmDbParameterChanges(ctx conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbParameterChanges" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbParameterChanges", apiReferenceLink) return response, err } @@ -7012,7 +7012,7 @@ func (client OperationsInsightsClient) summarizeAddmDbParameters(ctx context.Con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbParameters" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbParameters", apiReferenceLink) return response, err } @@ -7070,7 +7070,7 @@ func (client OperationsInsightsClient) summarizeAddmDbRecommendations(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbRecommendations" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbRecommendations", apiReferenceLink) return response, err } @@ -7128,7 +7128,7 @@ func (client OperationsInsightsClient) summarizeAddmDbSchemaObjects(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbSchemaObjects" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbSchemaObjects", apiReferenceLink) return response, err } @@ -7186,7 +7186,7 @@ func (client OperationsInsightsClient) summarizeAddmDbSqlStatements(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeAddmDbSqlStatements" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAddmDbSqlStatements", apiReferenceLink) return response, err } @@ -7248,7 +7248,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseCpuUsages(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseCpuUsages" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseCpuUsages", apiReferenceLink) return response, err } @@ -7306,7 +7306,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseMetrics(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseMetrics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseMetrics", apiReferenceLink) return response, err } @@ -7368,7 +7368,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseParameterChanges(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseParameterChanges" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseParameterChanges", apiReferenceLink) return response, err } @@ -7434,7 +7434,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseParameters(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseParameters" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseParameters", apiReferenceLink) return response, err } @@ -7492,7 +7492,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseSnapshotRanges(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseSnapshotRanges" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseSnapshotRanges", apiReferenceLink) return response, err } @@ -7550,7 +7550,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseSysstats(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseSysstats" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseSysstats", apiReferenceLink) return response, err } @@ -7608,7 +7608,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseTopWaitEvents(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseTopWaitEvents" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseTopWaitEvents", apiReferenceLink) return response, err } @@ -7666,7 +7666,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseWaitEventBuckets(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseWaitEventBuckets" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseWaitEventBuckets", apiReferenceLink) return response, err } @@ -7724,7 +7724,7 @@ func (client OperationsInsightsClient) summarizeAwrDatabaseWaitEvents(ctx contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrDatabaseWaitEvents" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrDatabaseWaitEvents", apiReferenceLink) return response, err } @@ -7782,7 +7782,7 @@ func (client OperationsInsightsClient) summarizeAwrSourcesSummaries(ctx context. defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/SummarizeAwrSourcesSummaries" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeAwrSourcesSummaries", apiReferenceLink) return response, err } @@ -7841,7 +7841,7 @@ func (client OperationsInsightsClient) summarizeConfigurationItems(ctx context.C defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/SummarizeConfigurationItems" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeConfigurationItems", apiReferenceLink) return response, err } @@ -7901,7 +7901,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceCapacityT defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceCapacityTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceCapacityTrend", apiReferenceLink) return response, err } @@ -7960,7 +7960,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceForecastT defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceForecastTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceForecastTrend", apiReferenceLink) return response, err } @@ -8019,7 +8019,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceStatistic defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceStatistics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceStatistics", apiReferenceLink) return response, err } @@ -8080,7 +8080,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceUsage(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceUsage" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceUsage", apiReferenceLink) return response, err } @@ -8140,7 +8140,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceUsageTren defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceUsageTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceUsageTrend", apiReferenceLink) return response, err } @@ -8199,7 +8199,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightResourceUtilizati defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightResourceUtilizationInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightResourceUtilizationInsight", apiReferenceLink) return response, err } @@ -8259,7 +8259,7 @@ func (client OperationsInsightsClient) summarizeDatabaseInsightTablespaceUsageTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeDatabaseInsightTablespaceUsageTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeDatabaseInsightTablespaceUsageTrend", apiReferenceLink) return response, err } @@ -8324,7 +8324,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceCapacityTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceCapacityTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceCapacityTrend", apiReferenceLink) return response, err } @@ -8386,7 +8386,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceCapacityTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceCapacityTrendAggregated" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceCapacityTrendAggregated", apiReferenceLink) return response, err } @@ -8451,7 +8451,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceForecastTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceForecastTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceForecastTrend", apiReferenceLink) return response, err } @@ -8512,7 +8512,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceForecastTr defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceForecastTrendAggregated" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceForecastTrendAggregated", apiReferenceLink) return response, err } @@ -8574,7 +8574,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceStatistics defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceStatistics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceStatistics", apiReferenceLink) return response, err } @@ -8637,7 +8637,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceUsage(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceUsage" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceUsage", apiReferenceLink) return response, err } @@ -8700,7 +8700,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceUsageAggre defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceUsageAggregated" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceUsageAggregated", apiReferenceLink) return response, err } @@ -8758,7 +8758,7 @@ func (client OperationsInsightsClient) summarizeExadataInsightResourceUtilizatio defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataInsightResourceUtilizationInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataInsightResourceUtilizationInsight", apiReferenceLink) return response, err } @@ -8816,7 +8816,7 @@ func (client OperationsInsightsClient) summarizeExadataMembers(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/SummarizeExadataMembers" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeExadataMembers", apiReferenceLink) return response, err } @@ -8874,7 +8874,7 @@ func (client OperationsInsightsClient) summarizeHostInsightDiskStatistics(ctx co defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightDiskStatistics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightDiskStatistics", apiReferenceLink) return response, err } @@ -8932,7 +8932,7 @@ func (client OperationsInsightsClient) summarizeHostInsightHostRecommendation(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightHostRecommendation" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightHostRecommendation", apiReferenceLink) return response, err } @@ -8990,7 +8990,7 @@ func (client OperationsInsightsClient) summarizeHostInsightNetworkUsageTrend(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightNetworkUsageTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightNetworkUsageTrend", apiReferenceLink) return response, err } @@ -9050,7 +9050,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceCapacityTrend defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceCapacityTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceCapacityTrend", apiReferenceLink) return response, err } @@ -9109,7 +9109,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceForecastTrend defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceForecastTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceForecastTrend", apiReferenceLink) return response, err } @@ -9168,7 +9168,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceStatistics(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceStatistics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceStatistics", apiReferenceLink) return response, err } @@ -9229,7 +9229,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceUsage(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceUsage" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceUsage", apiReferenceLink) return response, err } @@ -9289,7 +9289,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceUsageTrend(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceUsageTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceUsageTrend", apiReferenceLink) return response, err } @@ -9348,7 +9348,7 @@ func (client OperationsInsightsClient) summarizeHostInsightResourceUtilizationIn defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightResourceUtilizationInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightResourceUtilizationInsight", apiReferenceLink) return response, err } @@ -9406,7 +9406,7 @@ func (client OperationsInsightsClient) summarizeHostInsightStorageUsageTrend(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightStorageUsageTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightStorageUsageTrend", apiReferenceLink) return response, err } @@ -9466,7 +9466,7 @@ func (client OperationsInsightsClient) summarizeHostInsightTopProcessesUsage(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightTopProcessesUsage" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightTopProcessesUsage", apiReferenceLink) return response, err } @@ -9526,7 +9526,7 @@ func (client OperationsInsightsClient) summarizeHostInsightTopProcessesUsageTren defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/SummarizeHostInsightTopProcessesUsageTrend" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeHostInsightTopProcessesUsageTrend", apiReferenceLink) return response, err } @@ -9585,7 +9585,7 @@ func (client OperationsInsightsClient) summarizeOperationsInsightsWarehouseResou defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/SummarizeOperationsInsightsWarehouseResourceUsage" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeOperationsInsightsWarehouseResourceUsage", apiReferenceLink) return response, err } @@ -9644,7 +9644,7 @@ func (client OperationsInsightsClient) summarizeSqlInsights(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlInsights" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlInsights", apiReferenceLink) return response, err } @@ -9703,7 +9703,7 @@ func (client OperationsInsightsClient) summarizeSqlPlanInsights(ctx context.Cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlPlanInsights" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlPlanInsights", apiReferenceLink) return response, err } @@ -9762,7 +9762,7 @@ func (client OperationsInsightsClient) summarizeSqlResponseTimeDistributions(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlResponseTimeDistributions" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlResponseTimeDistributions", apiReferenceLink) return response, err } @@ -9821,7 +9821,7 @@ func (client OperationsInsightsClient) summarizeSqlStatistics(ctx context.Contex defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlStatistics" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlStatistics", apiReferenceLink) return response, err } @@ -9880,7 +9880,7 @@ func (client OperationsInsightsClient) summarizeSqlStatisticsTimeSeries(ctx cont defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlStatisticsTimeSeries" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlStatisticsTimeSeries", apiReferenceLink) return response, err } @@ -9939,7 +9939,7 @@ func (client OperationsInsightsClient) summarizeSqlStatisticsTimeSeriesByPlan(ct defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/SummarizeSqlStatisticsTimeSeriesByPlan" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "SummarizeSqlStatisticsTimeSeriesByPlan", apiReferenceLink) return response, err } @@ -9997,7 +9997,7 @@ func (client OperationsInsightsClient) updateAwrHub(ctx context.Context, request defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubs/UpdateAwrHub" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateAwrHub", apiReferenceLink) return response, err } @@ -10055,7 +10055,7 @@ func (client OperationsInsightsClient) updateAwrHubSource(ctx context.Context, r defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/AwrHubSources/UpdateAwrHubSource" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateAwrHubSource", apiReferenceLink) return response, err } @@ -10113,7 +10113,7 @@ func (client OperationsInsightsClient) updateDatabaseInsight(ctx context.Context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/DatabaseInsights/UpdateDatabaseInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateDatabaseInsight", apiReferenceLink) return response, err } @@ -10171,7 +10171,7 @@ func (client OperationsInsightsClient) updateEnterpriseManagerBridge(ctx context defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/EnterpriseManagerBridges/UpdateEnterpriseManagerBridge" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateEnterpriseManagerBridge", apiReferenceLink) return response, err } @@ -10229,7 +10229,7 @@ func (client OperationsInsightsClient) updateExadataInsight(ctx context.Context, defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/ExadataInsights/UpdateExadataInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateExadataInsight", apiReferenceLink) return response, err } @@ -10287,7 +10287,7 @@ func (client OperationsInsightsClient) updateHostInsight(ctx context.Context, re defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/HostInsights/UpdateHostInsight" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateHostInsight", apiReferenceLink) return response, err } @@ -10345,7 +10345,7 @@ func (client OperationsInsightsClient) updateNewsReport(ctx context.Context, req defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/NewsReports/UpdateNewsReport" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateNewsReport", apiReferenceLink) return response, err } @@ -10403,7 +10403,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsPrivateEndpoint(c defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsPrivateEndpoint/UpdateOperationsInsightsPrivateEndpoint" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOperationsInsightsPrivateEndpoint", apiReferenceLink) return response, err } @@ -10462,7 +10462,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsWarehouse(ctx con defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouses/UpdateOperationsInsightsWarehouse" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOperationsInsightsWarehouse", apiReferenceLink) return response, err } @@ -10520,7 +10520,7 @@ func (client OperationsInsightsClient) updateOperationsInsightsWarehouseUser(ctx defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OperationsInsightsWarehouseUsers/UpdateOperationsInsightsWarehouseUser" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOperationsInsightsWarehouseUser", apiReferenceLink) return response, err } @@ -10578,7 +10578,7 @@ func (client OperationsInsightsClient) updateOpsiConfiguration(ctx context.Conte defer common.CloseBodyIfValid(httpResponse) response.RawResponse = httpResponse if err != nil { - apiReferenceLink := "https://docs.oracle.com/iaas/api/#/en/operations-insights/20200630/OpsiConfigurations/UpdateOpsiConfiguration" + apiReferenceLink := "" err = common.PostProcessServiceError(err, "OperationsInsights", "UpdateOpsiConfiguration", apiReferenceLink) return response, err }