oci-datasafe 2.56.0 → 2.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +515 -215
- package/lib/client.js +1719 -288
- package/lib/client.js.map +1 -1
- package/lib/datasafe-waiter.d.ts +8 -0
- package/lib/datasafe-waiter.js +12 -0
- package/lib/datasafe-waiter.js.map +1 -1
- package/lib/model/alerts-update-details.d.ts +2 -2
- package/lib/model/apply-sdm-masking-policy-difference-details.d.ts +25 -0
- package/lib/model/apply-sdm-masking-policy-difference-details.js +29 -0
- package/lib/model/apply-sdm-masking-policy-difference-details.js.map +1 -0
- package/lib/model/audit-event-aggregation-dimensions.d.ts +3 -3
- package/lib/model/audit-event-aggregation-items.d.ts +1 -1
- package/lib/model/audit-event-summary.d.ts +15 -15
- package/lib/model/audit-policy-aggregation-items.d.ts +2 -2
- package/lib/model/audit-policy-dimensions.d.ts +5 -1
- package/lib/model/audit-policy-dimensions.js.map +1 -1
- package/lib/model/audit-trail-collection.d.ts +1 -1
- package/lib/model/audit-trail.d.ts +2 -3
- package/lib/model/audit-trail.js.map +1 -1
- package/lib/model/change-report-compartment-details.d.ts +1 -1
- package/lib/model/change-sdm-masking-policy-difference-compartment-details.d.ts +25 -0
- package/lib/model/change-sdm-masking-policy-difference-compartment-details.js +29 -0
- package/lib/model/change-sdm-masking-policy-difference-compartment-details.js.map +1 -0
- package/lib/model/change-target-alert-policy-association-compartment-details.d.ts +1 -1
- package/lib/model/column-filter.d.ts +2 -2
- package/lib/model/column-sorting.d.ts +1 -1
- package/lib/model/column.d.ts +1 -1
- package/lib/model/create-masking-policy-details.d.ts +3 -2
- package/lib/model/create-masking-policy-details.js.map +1 -1
- package/lib/model/create-report-definition-details.d.ts +1 -1
- package/lib/model/create-sdm-masking-policy-difference-details.d.ts +64 -0
- package/lib/model/create-sdm-masking-policy-difference-details.js +29 -0
- package/lib/model/create-sdm-masking-policy-difference-details.js.map +1 -0
- package/lib/model/database-details.d.ts +0 -2
- package/lib/model/database-details.js.map +1 -1
- package/lib/model/difference-column-summary.d.ts +75 -0
- package/lib/model/difference-column-summary.js +29 -0
- package/lib/model/difference-column-summary.js.map +1 -0
- package/lib/model/difference-column.d.ts +107 -0
- package/lib/model/difference-column.js +60 -0
- package/lib/model/difference-column.js.map +1 -0
- package/lib/model/generate-report-details.d.ts +2 -2
- package/lib/model/index.d.ts +46 -0
- package/lib/model/index.js +53 -7
- package/lib/model/index.js.map +1 -1
- package/lib/model/mask-data-details.d.ts +44 -0
- package/lib/model/mask-data-details.js.map +1 -1
- package/lib/model/masking-object-collection.d.ts +26 -0
- package/lib/model/masking-object-collection.js +61 -0
- package/lib/model/masking-object-collection.js.map +1 -0
- package/lib/model/masking-object-summary.d.ts +34 -0
- package/lib/model/masking-object-summary.js +29 -0
- package/lib/model/masking-object-summary.js.map +1 -0
- package/lib/model/masking-policy.d.ts +3 -2
- package/lib/model/masking-policy.js.map +1 -1
- package/lib/model/masking-report-summary.d.ts +25 -0
- package/lib/model/masking-report-summary.js.map +1 -1
- package/lib/model/masking-report.d.ts +25 -0
- package/lib/model/masking-report.js.map +1 -1
- package/lib/model/masking-schema-collection.d.ts +26 -0
- package/lib/model/masking-schema-collection.js +61 -0
- package/lib/model/masking-schema-collection.js.map +1 -0
- package/lib/model/masking-schema-summary.d.ts +25 -0
- package/lib/model/masking-schema-summary.js +29 -0
- package/lib/model/masking-schema-summary.js.map +1 -0
- package/lib/model/object-type.d.ts +1 -1
- package/lib/model/object-type.js +1 -1
- package/lib/model/patch-alerts-details.d.ts +2 -2
- package/lib/model/patch-sdm-masking-policy-difference-columns-details.d.ts +26 -0
- package/lib/model/patch-sdm-masking-policy-difference-columns-details.js +61 -0
- package/lib/model/patch-sdm-masking-policy-difference-columns-details.js.map +1 -0
- package/lib/model/patch-target-alert-policy-association-details.d.ts +1 -1
- package/lib/model/profile-aggregation.d.ts +60 -0
- package/lib/model/profile-aggregation.js +29 -0
- package/lib/model/profile-aggregation.js.map +1 -0
- package/lib/model/profile-summary.d.ts +91 -0
- package/lib/model/profile-summary.js +29 -0
- package/lib/model/profile-summary.js.map +1 -0
- package/lib/model/profile.d.ts +151 -0
- package/lib/model/profile.js +29 -0
- package/lib/model/profile.js.map +1 -0
- package/lib/model/report-definition-collection.d.ts +1 -1
- package/lib/model/report-definition-summary.d.ts +4 -4
- package/lib/model/report-definition.d.ts +10 -11
- package/lib/model/report-definition.js.map +1 -1
- package/lib/model/report-details.d.ts +1 -1
- package/lib/model/report-summary.d.ts +1 -1
- package/lib/model/report-type.d.ts +1 -1
- package/lib/model/report-type.js +1 -1
- package/lib/model/report.d.ts +4 -4
- package/lib/model/schedule-audit-report-details.d.ts +1 -1
- package/lib/model/schedule-report-details.d.ts +4 -4
- package/lib/model/sdm-masking-policy-difference-collection.d.ts +26 -0
- package/lib/model/sdm-masking-policy-difference-collection.js +61 -0
- package/lib/model/sdm-masking-policy-difference-collection.js.map +1 -0
- package/lib/model/sdm-masking-policy-difference-column-collection.d.ts +26 -0
- package/lib/model/sdm-masking-policy-difference-column-collection.js +61 -0
- package/lib/model/sdm-masking-policy-difference-column-collection.js.map +1 -0
- package/lib/model/sdm-masking-policy-difference-summary.d.ts +78 -0
- package/lib/model/sdm-masking-policy-difference-summary.js +29 -0
- package/lib/model/sdm-masking-policy-difference-summary.js.map +1 -0
- package/lib/model/sdm-masking-policy-difference.d.ts +117 -0
- package/lib/model/sdm-masking-policy-difference.js +55 -0
- package/lib/model/sdm-masking-policy-difference.js.map +1 -0
- package/lib/model/security-assessment-references.d.ts +24 -0
- package/lib/model/security-assessment-references.js +35 -0
- package/lib/model/security-assessment-references.js.map +1 -0
- package/lib/model/security-assessment-summary.d.ts +4 -0
- package/lib/model/security-assessment-summary.js.map +1 -1
- package/lib/model/security-assessment.d.ts +4 -0
- package/lib/model/security-assessment.js.map +1 -1
- package/lib/model/sensitive-object-collection.d.ts +26 -0
- package/lib/model/sensitive-object-collection.js +61 -0
- package/lib/model/sensitive-object-collection.js.map +1 -0
- package/lib/model/sensitive-object-summary.d.ts +34 -0
- package/lib/model/sensitive-object-summary.js +29 -0
- package/lib/model/sensitive-object-summary.js.map +1 -0
- package/lib/model/sensitive-schema-collection.d.ts +26 -0
- package/lib/model/sensitive-schema-collection.js +61 -0
- package/lib/model/sensitive-schema-collection.js.map +1 -0
- package/lib/model/sensitive-schema-summary.d.ts +25 -0
- package/lib/model/sensitive-schema-summary.js +29 -0
- package/lib/model/sensitive-schema-summary.js.map +1 -0
- package/lib/model/target-alert-policy-association.d.ts +1 -1
- package/lib/model/update-data-safe-private-endpoint-details.d.ts +1 -1
- package/lib/model/update-masking-policy-details.d.ts +3 -2
- package/lib/model/update-masking-policy-details.js.map +1 -1
- package/lib/model/update-report-definition-details.d.ts +1 -1
- package/lib/model/update-sdm-masking-policy-difference-details.d.ts +45 -0
- package/lib/model/update-sdm-masking-policy-difference-details.js +29 -0
- package/lib/model/update-sdm-masking-policy-difference-details.js.map +1 -0
- package/lib/model/user-assessment-summary.d.ts +4 -0
- package/lib/model/user-assessment-summary.js.map +1 -1
- package/lib/model/user-assessment.d.ts +5 -0
- package/lib/model/user-assessment.js.map +1 -1
- package/lib/model/work-request-summary.d.ts +5 -0
- package/lib/model/work-request-summary.js +5 -0
- package/lib/model/work-request-summary.js.map +1 -1
- package/lib/model/work-request.d.ts +5 -0
- package/lib/model/work-request.js +5 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/activate-target-database-request.d.ts +1 -1
- package/lib/request/add-masking-columns-from-sdm-request.d.ts +1 -1
- package/lib/request/alerts-update-request.d.ts +2 -2
- package/lib/request/apply-discovery-job-results-request.d.ts +1 -1
- package/lib/request/apply-sdm-masking-policy-difference-request.d.ts +48 -0
- package/lib/request/apply-sdm-masking-policy-difference-request.js +15 -0
- package/lib/request/apply-sdm-masking-policy-difference-request.js.map +1 -0
- package/lib/request/calculate-audit-volume-available-request.d.ts +1 -1
- package/lib/request/calculate-audit-volume-collected-request.d.ts +1 -1
- package/lib/request/cancel-work-request-request.d.ts +1 -1
- package/lib/request/change-alert-compartment-request.d.ts +1 -1
- package/lib/request/change-audit-archive-retrieval-compartment-request.d.ts +1 -1
- package/lib/request/change-audit-policy-compartment-request.d.ts +1 -1
- package/lib/request/change-audit-profile-compartment-request.d.ts +1 -1
- package/lib/request/change-data-safe-private-endpoint-compartment-request.d.ts +1 -1
- package/lib/request/change-discovery-job-compartment-request.d.ts +1 -1
- package/lib/request/change-library-masking-format-compartment-request.d.ts +1 -1
- package/lib/request/change-masking-policy-compartment-request.d.ts +1 -1
- package/lib/request/change-on-prem-connector-compartment-request.d.ts +1 -1
- package/lib/request/change-report-compartment-request.d.ts +1 -1
- package/lib/request/change-report-definition-compartment-request.d.ts +1 -1
- package/lib/request/change-retention-request.d.ts +1 -1
- package/lib/request/change-sdm-masking-policy-difference-compartment-request.d.ts +48 -0
- package/lib/request/change-sdm-masking-policy-difference-compartment-request.js +15 -0
- package/lib/request/change-sdm-masking-policy-difference-compartment-request.js.map +1 -0
- package/lib/request/change-security-assessment-compartment-request.d.ts +1 -1
- package/lib/request/change-sensitive-data-model-compartment-request.d.ts +1 -1
- package/lib/request/change-sensitive-type-compartment-request.d.ts +1 -1
- package/lib/request/change-target-alert-policy-association-compartment-request.d.ts +1 -1
- package/lib/request/change-target-database-compartment-request.d.ts +1 -1
- package/lib/request/change-user-assessment-compartment-request.d.ts +1 -1
- package/lib/request/compare-security-assessment-request.d.ts +1 -1
- package/lib/request/compare-user-assessment-request.d.ts +1 -1
- package/lib/request/create-audit-archive-retrieval-request.d.ts +1 -1
- package/lib/request/create-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/create-discovery-job-request.d.ts +1 -1
- package/lib/request/create-library-masking-format-request.d.ts +1 -1
- package/lib/request/create-masking-column-request.d.ts +1 -1
- package/lib/request/create-masking-policy-request.d.ts +1 -1
- package/lib/request/create-on-prem-connector-request.d.ts +1 -1
- package/lib/request/create-report-definition-request.d.ts +1 -1
- package/lib/request/create-sdm-masking-policy-difference-request.d.ts +35 -0
- package/lib/request/create-sdm-masking-policy-difference-request.js +15 -0
- package/lib/request/create-sdm-masking-policy-difference-request.js.map +1 -0
- package/lib/request/create-security-assessment-request.d.ts +1 -1
- package/lib/request/create-sensitive-column-request.d.ts +1 -1
- package/lib/request/create-sensitive-data-model-request.d.ts +1 -1
- package/lib/request/create-sensitive-type-request.d.ts +1 -1
- package/lib/request/create-target-alert-policy-association-request.d.ts +1 -1
- package/lib/request/create-target-database-request.d.ts +1 -1
- package/lib/request/create-user-assessment-request.d.ts +1 -1
- package/lib/request/deactivate-target-database-request.d.ts +1 -1
- package/lib/request/delete-audit-archive-retrieval-request.d.ts +1 -1
- package/lib/request/delete-audit-trail-request.d.ts +1 -1
- package/lib/request/delete-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/delete-discovery-job-request.d.ts +1 -1
- package/lib/request/delete-discovery-job-result-request.d.ts +1 -1
- package/lib/request/delete-library-masking-format-request.d.ts +1 -1
- package/lib/request/delete-masking-column-request.d.ts +1 -1
- package/lib/request/delete-masking-policy-request.d.ts +1 -1
- package/lib/request/delete-on-prem-connector-request.d.ts +1 -1
- package/lib/request/delete-report-definition-request.d.ts +1 -1
- package/lib/request/delete-sdm-masking-policy-difference-request.d.ts +35 -0
- package/lib/request/delete-sdm-masking-policy-difference-request.js +15 -0
- package/lib/request/delete-sdm-masking-policy-difference-request.js.map +1 -0
- package/lib/request/delete-security-assessment-request.d.ts +1 -1
- package/lib/request/delete-sensitive-column-request.d.ts +1 -1
- package/lib/request/delete-sensitive-data-model-request.d.ts +1 -1
- package/lib/request/delete-sensitive-type-request.d.ts +1 -1
- package/lib/request/delete-target-alert-policy-association-request.d.ts +1 -1
- package/lib/request/delete-target-database-request.d.ts +1 -1
- package/lib/request/delete-user-assessment-request.d.ts +1 -1
- package/lib/request/discover-audit-trails-request.d.ts +1 -1
- package/lib/request/download-discovery-report-request.d.ts +1 -1
- package/lib/request/download-masking-log-request.d.ts +1 -1
- package/lib/request/download-masking-policy-request.d.ts +1 -1
- package/lib/request/download-masking-report-request.d.ts +1 -1
- package/lib/request/download-privilege-script-request.d.ts +1 -1
- package/lib/request/download-security-assessment-report-request.d.ts +1 -1
- package/lib/request/download-sensitive-data-model-request.d.ts +1 -1
- package/lib/request/download-user-assessment-report-request.d.ts +1 -1
- package/lib/request/enable-data-safe-configuration-request.d.ts +1 -1
- package/lib/request/generate-discovery-report-for-download-request.d.ts +1 -1
- package/lib/request/generate-masking-policy-for-download-request.d.ts +1 -1
- package/lib/request/generate-masking-report-for-download-request.d.ts +1 -1
- package/lib/request/generate-on-prem-connector-configuration-request.d.ts +1 -1
- package/lib/request/generate-report-request.d.ts +1 -1
- package/lib/request/generate-security-assessment-report-request.d.ts +1 -1
- package/lib/request/generate-sensitive-data-model-for-download-request.d.ts +1 -1
- package/lib/request/generate-user-assessment-report-request.d.ts +1 -1
- package/lib/request/get-alert-policy-request.d.ts +1 -1
- package/lib/request/get-alert-request.d.ts +1 -1
- package/lib/request/get-audit-archive-retrieval-request.d.ts +1 -1
- package/lib/request/get-audit-policy-request.d.ts +1 -1
- package/lib/request/get-audit-profile-request.d.ts +1 -1
- package/lib/request/get-audit-trail-request.d.ts +1 -1
- package/lib/request/get-compatible-formats-for-data-types-request.d.ts +1 -1
- package/lib/request/get-compatible-formats-for-sensitive-types-request.d.ts +1 -1
- package/lib/request/get-data-safe-configuration-request.d.ts +1 -1
- package/lib/request/get-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/get-difference-column-request.d.ts +30 -0
- package/lib/request/get-difference-column-request.js +15 -0
- package/lib/request/get-difference-column-request.js.map +1 -0
- package/lib/request/get-discovery-job-request.d.ts +1 -1
- package/lib/request/get-discovery-job-result-request.d.ts +1 -1
- package/lib/request/get-library-masking-format-request.d.ts +1 -1
- package/lib/request/get-masking-column-request.d.ts +1 -1
- package/lib/request/get-masking-policy-request.d.ts +1 -1
- package/lib/request/get-masking-report-request.d.ts +1 -1
- package/lib/request/get-on-prem-connector-request.d.ts +1 -1
- package/lib/request/get-profile-request.d.ts +30 -0
- package/lib/request/get-profile-request.js +15 -0
- package/lib/request/get-profile-request.js.map +1 -0
- package/lib/request/get-report-content-request.d.ts +1 -1
- package/lib/request/get-report-definition-request.d.ts +1 -1
- package/lib/request/get-report-request.d.ts +1 -1
- package/lib/request/get-sdm-masking-policy-difference-request.d.ts +26 -0
- package/lib/request/get-sdm-masking-policy-difference-request.js +15 -0
- package/lib/request/get-sdm-masking-policy-difference-request.js.map +1 -0
- package/lib/request/get-security-assessment-comparison-request.d.ts +1 -1
- package/lib/request/get-security-assessment-request.d.ts +1 -1
- package/lib/request/get-sensitive-column-request.d.ts +1 -1
- package/lib/request/get-sensitive-data-model-request.d.ts +1 -1
- package/lib/request/get-sensitive-type-request.d.ts +1 -1
- package/lib/request/get-target-alert-policy-association-request.d.ts +1 -1
- package/lib/request/get-target-database-request.d.ts +1 -1
- package/lib/request/get-user-assessment-comparison-request.d.ts +1 -1
- package/lib/request/get-user-assessment-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/index.d.ts +36 -0
- package/lib/request/index.js +20 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-alert-analytics-request.d.ts +6 -2
- package/lib/request/list-alert-analytics-request.js.map +1 -1
- package/lib/request/list-alert-policies-request.d.ts +2 -2
- package/lib/request/list-alert-policy-rules-request.d.ts +1 -1
- package/lib/request/list-alerts-request.d.ts +6 -2
- package/lib/request/list-alerts-request.js.map +1 -1
- package/lib/request/list-audit-archive-retrievals-request.d.ts +1 -1
- package/lib/request/list-audit-event-analytics-request.d.ts +1 -1
- package/lib/request/list-audit-events-request.d.ts +1 -1
- package/lib/request/list-audit-policies-request.d.ts +1 -1
- package/lib/request/list-audit-policy-analytics-request.d.ts +83 -0
- package/lib/request/list-audit-policy-analytics-request.js +30 -0
- package/lib/request/list-audit-policy-analytics-request.js.map +1 -0
- package/lib/request/list-audit-profile-analytics-request.d.ts +1 -1
- package/lib/request/list-audit-profiles-request.d.ts +1 -1
- package/lib/request/list-audit-trail-analytics-request.d.ts +1 -1
- package/lib/request/list-audit-trails-request.d.ts +1 -1
- package/lib/request/list-available-audit-volumes-request.d.ts +1 -1
- package/lib/request/list-collected-audit-volumes-request.d.ts +1 -1
- package/lib/request/list-columns-request.d.ts +1 -1
- package/lib/request/list-data-safe-private-endpoints-request.d.ts +1 -1
- package/lib/request/list-difference-columns-request.d.ts +81 -0
- package/lib/request/list-difference-columns-request.js +32 -0
- package/lib/request/list-difference-columns-request.js.map +1 -0
- package/lib/request/list-discovery-analytics-request.d.ts +1 -1
- package/lib/request/list-discovery-job-results-request.d.ts +1 -1
- package/lib/request/list-discovery-jobs-request.d.ts +1 -1
- package/lib/request/list-findings-request.d.ts +6 -1
- package/lib/request/list-findings-request.js.map +1 -1
- package/lib/request/list-grants-request.d.ts +1 -1
- package/lib/request/list-library-masking-formats-request.d.ts +1 -1
- package/lib/request/list-masked-columns-request.d.ts +1 -1
- package/lib/request/list-masking-analytics-request.d.ts +1 -1
- package/lib/request/list-masking-columns-request.d.ts +1 -1
- package/lib/request/list-masking-objects-request.d.ts +72 -0
- package/lib/request/list-masking-objects-request.js +36 -0
- package/lib/request/list-masking-objects-request.js.map +1 -0
- package/lib/request/list-masking-policies-request.d.ts +1 -1
- package/lib/request/list-masking-reports-request.d.ts +1 -1
- package/lib/request/list-masking-schemas-request.d.ts +57 -0
- package/lib/request/list-masking-schemas-request.js +28 -0
- package/lib/request/list-masking-schemas-request.js.map +1 -0
- package/lib/request/list-on-prem-connectors-request.d.ts +1 -1
- package/lib/request/list-profile-analytics-request.d.ts +85 -0
- package/lib/request/list-profile-analytics-request.js +34 -0
- package/lib/request/list-profile-analytics-request.js.map +1 -0
- package/lib/request/list-profile-summaries-request.d.ts +155 -0
- package/lib/request/list-profile-summaries-request.js +40 -0
- package/lib/request/list-profile-summaries-request.js.map +1 -0
- package/lib/request/list-report-definitions-request.d.ts +2 -2
- package/lib/request/list-reports-request.d.ts +1 -1
- package/lib/request/list-roles-request.d.ts +1 -1
- package/lib/request/list-schemas-request.d.ts +1 -1
- package/lib/request/list-sdm-masking-policy-differences-request.d.ts +88 -0
- package/lib/request/list-sdm-masking-policy-differences-request.js +33 -0
- package/lib/request/list-sdm-masking-policy-differences-request.js.map +1 -0
- package/lib/request/list-security-assessments-request.d.ts +1 -1
- package/lib/request/list-sensitive-columns-request.d.ts +7 -1
- package/lib/request/list-sensitive-columns-request.js.map +1 -1
- package/lib/request/list-sensitive-data-models-request.d.ts +1 -1
- package/lib/request/list-sensitive-objects-request.d.ts +72 -0
- package/lib/request/list-sensitive-objects-request.js +36 -0
- package/lib/request/list-sensitive-objects-request.js.map +1 -0
- package/lib/request/list-sensitive-schemas-request.d.ts +57 -0
- package/lib/request/list-sensitive-schemas-request.js +28 -0
- package/lib/request/list-sensitive-schemas-request.js.map +1 -0
- package/lib/request/list-sensitive-types-request.d.ts +1 -1
- package/lib/request/list-tables-request.d.ts +1 -1
- package/lib/request/list-target-alert-policy-associations-request.d.ts +2 -2
- package/lib/request/list-target-databases-request.d.ts +1 -1
- package/lib/request/list-user-analytics-request.d.ts +1 -1
- package/lib/request/list-user-assessments-request.d.ts +1 -1
- package/lib/request/list-users-request.d.ts +20 -1
- package/lib/request/list-users-request.js.map +1 -1
- package/lib/request/list-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/mask-data-request.d.ts +1 -1
- package/lib/request/modify-global-settings-request.d.ts +1 -1
- package/lib/request/patch-alerts-request.d.ts +2 -2
- package/lib/request/patch-discovery-job-results-request.d.ts +1 -1
- package/lib/request/patch-masking-columns-request.d.ts +1 -1
- package/lib/request/patch-sdm-masking-policy-difference-columns-request.d.ts +40 -0
- package/lib/request/patch-sdm-masking-policy-difference-columns-request.js +15 -0
- package/lib/request/patch-sdm-masking-policy-difference-columns-request.js.map +1 -0
- package/lib/request/patch-sensitive-columns-request.d.ts +1 -1
- package/lib/request/patch-target-alert-policy-association-request.d.ts +2 -2
- package/lib/request/provision-audit-policy-request.d.ts +1 -1
- package/lib/request/refresh-security-assessment-request.d.ts +1 -1
- package/lib/request/refresh-user-assessment-request.d.ts +1 -1
- package/lib/request/remove-schedule-report-request.d.ts +1 -1
- package/lib/request/resume-audit-trail-request.d.ts +1 -1
- package/lib/request/resume-work-request-request.d.ts +1 -1
- package/lib/request/retrieve-audit-policies-request.d.ts +1 -1
- package/lib/request/schedule-report-request.d.ts +2 -2
- package/lib/request/set-security-assessment-baseline-request.d.ts +1 -1
- package/lib/request/set-user-assessment-baseline-request.d.ts +1 -1
- package/lib/request/start-audit-trail-request.d.ts +1 -1
- package/lib/request/stop-audit-trail-request.d.ts +1 -1
- package/lib/request/suspend-work-request-request.d.ts +1 -1
- package/lib/request/unset-security-assessment-baseline-request.d.ts +1 -1
- package/lib/request/unset-user-assessment-baseline-request.d.ts +1 -1
- package/lib/request/update-alert-request.d.ts +1 -1
- package/lib/request/update-audit-archive-retrieval-request.d.ts +1 -1
- package/lib/request/update-audit-policy-request.d.ts +1 -1
- package/lib/request/update-audit-profile-request.d.ts +1 -1
- package/lib/request/update-audit-trail-request.d.ts +1 -1
- package/lib/request/update-data-safe-private-endpoint-request.d.ts +1 -1
- package/lib/request/update-library-masking-format-request.d.ts +1 -1
- package/lib/request/update-masking-column-request.d.ts +1 -1
- package/lib/request/update-masking-policy-request.d.ts +1 -1
- package/lib/request/update-on-prem-connector-request.d.ts +1 -1
- package/lib/request/update-on-prem-connector-wallet-request.d.ts +1 -1
- package/lib/request/update-report-definition-request.d.ts +1 -1
- package/lib/request/update-sdm-masking-policy-difference-request.d.ts +40 -0
- package/lib/request/update-sdm-masking-policy-difference-request.js +15 -0
- package/lib/request/update-sdm-masking-policy-difference-request.js.map +1 -0
- package/lib/request/update-security-assessment-request.d.ts +1 -1
- package/lib/request/update-sensitive-column-request.d.ts +1 -1
- package/lib/request/update-sensitive-data-model-request.d.ts +1 -1
- package/lib/request/update-sensitive-type-request.d.ts +1 -1
- package/lib/request/update-target-alert-policy-association-request.d.ts +1 -1
- package/lib/request/update-target-database-request.d.ts +1 -1
- package/lib/request/update-user-assessment-request.d.ts +1 -1
- package/lib/request/upload-masking-policy-request.d.ts +1 -1
- package/lib/request/upload-sensitive-data-model-request.d.ts +1 -1
- package/lib/response/apply-sdm-masking-policy-difference-response.d.ts +24 -0
- package/lib/response/apply-sdm-masking-policy-difference-response.js +15 -0
- package/lib/response/apply-sdm-masking-policy-difference-response.js.map +1 -0
- package/lib/response/change-sdm-masking-policy-difference-compartment-response.d.ts +19 -0
- package/lib/response/change-sdm-masking-policy-difference-compartment-response.js +15 -0
- package/lib/response/change-sdm-masking-policy-difference-compartment-response.js.map +1 -0
- package/lib/response/create-sdm-masking-policy-difference-response.d.ts +38 -0
- package/lib/response/create-sdm-masking-policy-difference-response.js +15 -0
- package/lib/response/create-sdm-masking-policy-difference-response.js.map +1 -0
- package/lib/response/delete-sdm-masking-policy-difference-response.d.ts +24 -0
- package/lib/response/delete-sdm-masking-policy-difference-response.js +15 -0
- package/lib/response/delete-sdm-masking-policy-difference-response.js.map +1 -0
- package/lib/response/get-difference-column-response.d.ts +29 -0
- package/lib/response/get-difference-column-response.js +15 -0
- package/lib/response/get-difference-column-response.js.map +1 -0
- package/lib/response/get-profile-response.d.ts +36 -0
- package/lib/response/get-profile-response.js +15 -0
- package/lib/response/get-profile-response.js.map +1 -0
- package/lib/response/get-sdm-masking-policy-difference-response.d.ts +29 -0
- package/lib/response/get-sdm-masking-policy-difference-response.js +15 -0
- package/lib/response/get-sdm-masking-policy-difference-response.js.map +1 -0
- package/lib/response/index.d.ts +36 -0
- package/lib/response/list-audit-policy-analytics-response.d.ts +36 -0
- package/lib/response/list-audit-policy-analytics-response.js +15 -0
- package/lib/response/list-audit-policy-analytics-response.js.map +1 -0
- package/lib/response/list-difference-columns-response.d.ts +36 -0
- package/lib/response/list-difference-columns-response.js +15 -0
- package/lib/response/list-difference-columns-response.js.map +1 -0
- package/lib/response/list-masking-objects-response.d.ts +36 -0
- package/lib/response/list-masking-objects-response.js +15 -0
- package/lib/response/list-masking-objects-response.js.map +1 -0
- package/lib/response/list-masking-schemas-response.d.ts +36 -0
- package/lib/response/list-masking-schemas-response.js +15 -0
- package/lib/response/list-masking-schemas-response.js.map +1 -0
- package/lib/response/list-profile-analytics-response.d.ts +36 -0
- package/lib/response/list-profile-analytics-response.js +15 -0
- package/lib/response/list-profile-analytics-response.js.map +1 -0
- package/lib/response/list-profile-summaries-response.d.ts +36 -0
- package/lib/response/list-profile-summaries-response.js +15 -0
- package/lib/response/list-profile-summaries-response.js.map +1 -0
- package/lib/response/list-sdm-masking-policy-differences-response.d.ts +36 -0
- package/lib/response/list-sdm-masking-policy-differences-response.js +15 -0
- package/lib/response/list-sdm-masking-policy-differences-response.js.map +1 -0
- package/lib/response/list-sensitive-objects-response.d.ts +36 -0
- package/lib/response/list-sensitive-objects-response.js +15 -0
- package/lib/response/list-sensitive-objects-response.js.map +1 -0
- package/lib/response/list-sensitive-schemas-response.d.ts +36 -0
- package/lib/response/list-sensitive-schemas-response.js +15 -0
- package/lib/response/list-sensitive-schemas-response.js.map +1 -0
- package/lib/response/patch-sdm-masking-policy-difference-columns-response.d.ts +24 -0
- package/lib/response/patch-sdm-masking-policy-difference-columns-response.js +15 -0
- package/lib/response/patch-sdm-masking-policy-difference-columns-response.js.map +1 -0
- package/lib/response/update-sdm-masking-policy-difference-response.d.ts +24 -0
- package/lib/response/update-sdm-masking-policy-difference-response.js +15 -0
- package/lib/response/update-sdm-masking-policy-difference-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -158,7 +158,7 @@ class DataSafeClient {
|
|
|
158
158
|
* @param ActivateTargetDatabaseRequest
|
|
159
159
|
* @return ActivateTargetDatabaseResponse
|
|
160
160
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ActivateTargetDatabase.ts.html |here} to see how to use ActivateTargetDatabase API.
|
|
162
162
|
*/
|
|
163
163
|
activateTargetDatabase(activateTargetDatabaseRequest) {
|
|
164
164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -224,7 +224,7 @@ class DataSafeClient {
|
|
|
224
224
|
* @param AddMaskingColumnsFromSdmRequest
|
|
225
225
|
* @return AddMaskingColumnsFromSdmResponse
|
|
226
226
|
* @throws OciError when an error occurs
|
|
227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
227
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/AddMaskingColumnsFromSdm.ts.html |here} to see how to use AddMaskingColumnsFromSdm API.
|
|
228
228
|
*/
|
|
229
229
|
addMaskingColumnsFromSdm(addMaskingColumnsFromSdmRequest) {
|
|
230
230
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -279,12 +279,12 @@ class DataSafeClient {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
/**
|
|
282
|
-
*
|
|
282
|
+
* Updates alerts in the specified compartment.
|
|
283
283
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
284
284
|
* @param AlertsUpdateRequest
|
|
285
285
|
* @return AlertsUpdateResponse
|
|
286
286
|
* @throws OciError when an error occurs
|
|
287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/AlertsUpdate.ts.html |here} to see how to use AlertsUpdate API.
|
|
288
288
|
*/
|
|
289
289
|
alertsUpdate(alertsUpdateRequest) {
|
|
290
290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -351,7 +351,7 @@ class DataSafeClient {
|
|
|
351
351
|
* @param ApplyDiscoveryJobResultsRequest
|
|
352
352
|
* @return ApplyDiscoveryJobResultsResponse
|
|
353
353
|
* @throws OciError when an error occurs
|
|
354
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
354
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ApplyDiscoveryJobResults.ts.html |here} to see how to use ApplyDiscoveryJobResults API.
|
|
355
355
|
*/
|
|
356
356
|
applyDiscoveryJobResults(applyDiscoveryJobResultsRequest) {
|
|
357
357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -406,13 +406,81 @@ class DataSafeClient {
|
|
|
406
406
|
}
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* Applies the difference of a SDM Masking policy difference resource to the specified masking policy. Note that the plannedAction attribute
|
|
411
|
+
* of difference columns is used for processing. You should first use PatchSdmMaskingPolicyDifferenceColumns to set the plannedAction
|
|
412
|
+
* attribute of the difference columns you want to process. ApplySdmMaskingPolicyDifference automatically reads the plannedAction
|
|
413
|
+
* attribute and updates the masking policy to reflect the actions you planned. If the sdmMaskingPolicydifferenceId is not passed, the
|
|
414
|
+
* latest sdmMaskingPolicydifference is used. Note that if the masking policy associated with the SdmMaskingPolicyDifference used for this
|
|
415
|
+
* operation is not associated with the original SDM anymore, this operation won't be allowed.
|
|
416
|
+
*
|
|
417
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
418
|
+
* @param ApplySdmMaskingPolicyDifferenceRequest
|
|
419
|
+
* @return ApplySdmMaskingPolicyDifferenceResponse
|
|
420
|
+
* @throws OciError when an error occurs
|
|
421
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ApplySdmMaskingPolicyDifference.ts.html |here} to see how to use ApplySdmMaskingPolicyDifference API.
|
|
422
|
+
*/
|
|
423
|
+
applySdmMaskingPolicyDifference(applySdmMaskingPolicyDifferenceRequest) {
|
|
424
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
425
|
+
if (this.logger)
|
|
426
|
+
this.logger.debug("Calling operation DataSafeClient#applySdmMaskingPolicyDifference.");
|
|
427
|
+
const operationName = "applySdmMaskingPolicyDifference";
|
|
428
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingPolicy/ApplySdmMaskingPolicyDifference";
|
|
429
|
+
const pathParams = {
|
|
430
|
+
"{maskingPolicyId}": applySdmMaskingPolicyDifferenceRequest.maskingPolicyId
|
|
431
|
+
};
|
|
432
|
+
const queryParams = {};
|
|
433
|
+
let headerParams = {
|
|
434
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
435
|
+
"if-match": applySdmMaskingPolicyDifferenceRequest.ifMatch,
|
|
436
|
+
"opc-request-id": applySdmMaskingPolicyDifferenceRequest.opcRequestId,
|
|
437
|
+
"opc-retry-token": applySdmMaskingPolicyDifferenceRequest.opcRetryToken
|
|
438
|
+
};
|
|
439
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
440
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, applySdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
441
|
+
if (this.logger)
|
|
442
|
+
retrier.logger = this.logger;
|
|
443
|
+
const request = yield oci_common_2.composeRequest({
|
|
444
|
+
baseEndpoint: this._endpoint,
|
|
445
|
+
defaultHeaders: this._defaultHeaders,
|
|
446
|
+
path: "/maskingPolicies/{maskingPolicyId}/maskingColumns/actions/applyDifferenceToMaskingColumns",
|
|
447
|
+
method: "POST",
|
|
448
|
+
bodyContent: common.ObjectSerializer.serialize(applySdmMaskingPolicyDifferenceRequest.applySdmMaskingPolicyDifferenceDetails, "ApplySdmMaskingPolicyDifferenceDetails", model.ApplySdmMaskingPolicyDifferenceDetails.getJsonObj),
|
|
449
|
+
pathParams: pathParams,
|
|
450
|
+
headerParams: headerParams,
|
|
451
|
+
queryParams: queryParams
|
|
452
|
+
});
|
|
453
|
+
try {
|
|
454
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
455
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
456
|
+
responseObject: {},
|
|
457
|
+
responseHeaders: [
|
|
458
|
+
{
|
|
459
|
+
value: response.headers.get("opc-request-id"),
|
|
460
|
+
key: "opcRequestId",
|
|
461
|
+
dataType: "string"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
value: response.headers.get("opc-work-request-id"),
|
|
465
|
+
key: "opcWorkRequestId",
|
|
466
|
+
dataType: "string"
|
|
467
|
+
}
|
|
468
|
+
]
|
|
469
|
+
});
|
|
470
|
+
return sdkResponse;
|
|
471
|
+
}
|
|
472
|
+
catch (err) {
|
|
473
|
+
throw err;
|
|
474
|
+
}
|
|
475
|
+
});
|
|
476
|
+
}
|
|
409
477
|
/**
|
|
410
478
|
* Calculates the volume of audit events available on the target database to be collected. Measurable up to the defined retention period of the audit target resource.
|
|
411
479
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
412
480
|
* @param CalculateAuditVolumeAvailableRequest
|
|
413
481
|
* @return CalculateAuditVolumeAvailableResponse
|
|
414
482
|
* @throws OciError when an error occurs
|
|
415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
483
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CalculateAuditVolumeAvailable.ts.html |here} to see how to use CalculateAuditVolumeAvailable API.
|
|
416
484
|
*/
|
|
417
485
|
calculateAuditVolumeAvailable(calculateAuditVolumeAvailableRequest) {
|
|
418
486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -474,7 +542,7 @@ class DataSafeClient {
|
|
|
474
542
|
* @param CalculateAuditVolumeCollectedRequest
|
|
475
543
|
* @return CalculateAuditVolumeCollectedResponse
|
|
476
544
|
* @throws OciError when an error occurs
|
|
477
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
545
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CalculateAuditVolumeCollected.ts.html |here} to see how to use CalculateAuditVolumeCollected API.
|
|
478
546
|
*/
|
|
479
547
|
calculateAuditVolumeCollected(calculateAuditVolumeCollectedRequest) {
|
|
480
548
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -537,7 +605,7 @@ class DataSafeClient {
|
|
|
537
605
|
* @param CancelWorkRequestRequest
|
|
538
606
|
* @return CancelWorkRequestResponse
|
|
539
607
|
* @throws OciError when an error occurs
|
|
540
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
541
609
|
*/
|
|
542
610
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
543
611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -598,7 +666,7 @@ class DataSafeClient {
|
|
|
598
666
|
* @param ChangeAlertCompartmentRequest
|
|
599
667
|
* @return ChangeAlertCompartmentResponse
|
|
600
668
|
* @throws OciError when an error occurs
|
|
601
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
669
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeAlertCompartment.ts.html |here} to see how to use ChangeAlertCompartment API.
|
|
602
670
|
*/
|
|
603
671
|
changeAlertCompartment(changeAlertCompartmentRequest) {
|
|
604
672
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -656,7 +724,7 @@ class DataSafeClient {
|
|
|
656
724
|
* @param ChangeAuditArchiveRetrievalCompartmentRequest
|
|
657
725
|
* @return ChangeAuditArchiveRetrievalCompartmentResponse
|
|
658
726
|
* @throws OciError when an error occurs
|
|
659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
727
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeAuditArchiveRetrievalCompartment.ts.html |here} to see how to use ChangeAuditArchiveRetrievalCompartment API.
|
|
660
728
|
*/
|
|
661
729
|
changeAuditArchiveRetrievalCompartment(changeAuditArchiveRetrievalCompartmentRequest) {
|
|
662
730
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -718,7 +786,7 @@ class DataSafeClient {
|
|
|
718
786
|
* @param ChangeAuditPolicyCompartmentRequest
|
|
719
787
|
* @return ChangeAuditPolicyCompartmentResponse
|
|
720
788
|
* @throws OciError when an error occurs
|
|
721
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
789
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeAuditPolicyCompartment.ts.html |here} to see how to use ChangeAuditPolicyCompartment API.
|
|
722
790
|
*/
|
|
723
791
|
changeAuditPolicyCompartment(changeAuditPolicyCompartmentRequest) {
|
|
724
792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -780,7 +848,7 @@ class DataSafeClient {
|
|
|
780
848
|
* @param ChangeAuditProfileCompartmentRequest
|
|
781
849
|
* @return ChangeAuditProfileCompartmentResponse
|
|
782
850
|
* @throws OciError when an error occurs
|
|
783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
851
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeAuditProfileCompartment.ts.html |here} to see how to use ChangeAuditProfileCompartment API.
|
|
784
852
|
*/
|
|
785
853
|
changeAuditProfileCompartment(changeAuditProfileCompartmentRequest) {
|
|
786
854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -842,7 +910,7 @@ class DataSafeClient {
|
|
|
842
910
|
* @param ChangeDataSafePrivateEndpointCompartmentRequest
|
|
843
911
|
* @return ChangeDataSafePrivateEndpointCompartmentResponse
|
|
844
912
|
* @throws OciError when an error occurs
|
|
845
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
913
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeDataSafePrivateEndpointCompartment.ts.html |here} to see how to use ChangeDataSafePrivateEndpointCompartment API.
|
|
846
914
|
*/
|
|
847
915
|
changeDataSafePrivateEndpointCompartment(changeDataSafePrivateEndpointCompartmentRequest) {
|
|
848
916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -903,7 +971,7 @@ class DataSafeClient {
|
|
|
903
971
|
* @param ChangeDiscoveryJobCompartmentRequest
|
|
904
972
|
* @return ChangeDiscoveryJobCompartmentResponse
|
|
905
973
|
* @throws OciError when an error occurs
|
|
906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeDiscoveryJobCompartment.ts.html |here} to see how to use ChangeDiscoveryJobCompartment API.
|
|
907
975
|
*/
|
|
908
976
|
changeDiscoveryJobCompartment(changeDiscoveryJobCompartmentRequest) {
|
|
909
977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -960,7 +1028,7 @@ class DataSafeClient {
|
|
|
960
1028
|
* @param ChangeLibraryMaskingFormatCompartmentRequest
|
|
961
1029
|
* @return ChangeLibraryMaskingFormatCompartmentResponse
|
|
962
1030
|
* @throws OciError when an error occurs
|
|
963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1031
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeLibraryMaskingFormatCompartment.ts.html |here} to see how to use ChangeLibraryMaskingFormatCompartment API.
|
|
964
1032
|
*/
|
|
965
1033
|
changeLibraryMaskingFormatCompartment(changeLibraryMaskingFormatCompartmentRequest) {
|
|
966
1034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1085,7 @@ class DataSafeClient {
|
|
|
1017
1085
|
* @param ChangeMaskingPolicyCompartmentRequest
|
|
1018
1086
|
* @return ChangeMaskingPolicyCompartmentResponse
|
|
1019
1087
|
* @throws OciError when an error occurs
|
|
1020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1088
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeMaskingPolicyCompartment.ts.html |here} to see how to use ChangeMaskingPolicyCompartment API.
|
|
1021
1089
|
*/
|
|
1022
1090
|
changeMaskingPolicyCompartment(changeMaskingPolicyCompartmentRequest) {
|
|
1023
1091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1074,7 +1142,7 @@ class DataSafeClient {
|
|
|
1074
1142
|
* @param ChangeOnPremConnectorCompartmentRequest
|
|
1075
1143
|
* @return ChangeOnPremConnectorCompartmentResponse
|
|
1076
1144
|
* @throws OciError when an error occurs
|
|
1077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1145
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeOnPremConnectorCompartment.ts.html |here} to see how to use ChangeOnPremConnectorCompartment API.
|
|
1078
1146
|
*/
|
|
1079
1147
|
changeOnPremConnectorCompartment(changeOnPremConnectorCompartmentRequest) {
|
|
1080
1148
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1131,7 +1199,7 @@ class DataSafeClient {
|
|
|
1131
1199
|
* @param ChangeReportCompartmentRequest
|
|
1132
1200
|
* @return ChangeReportCompartmentResponse
|
|
1133
1201
|
* @throws OciError when an error occurs
|
|
1134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeReportCompartment.ts.html |here} to see how to use ChangeReportCompartment API.
|
|
1135
1203
|
*/
|
|
1136
1204
|
changeReportCompartment(changeReportCompartmentRequest) {
|
|
1137
1205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1193,7 +1261,7 @@ class DataSafeClient {
|
|
|
1193
1261
|
* @param ChangeReportDefinitionCompartmentRequest
|
|
1194
1262
|
* @return ChangeReportDefinitionCompartmentResponse
|
|
1195
1263
|
* @throws OciError when an error occurs
|
|
1196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeReportDefinitionCompartment.ts.html |here} to see how to use ChangeReportDefinitionCompartment API.
|
|
1197
1265
|
*/
|
|
1198
1266
|
changeReportDefinitionCompartment(changeReportDefinitionCompartmentRequest) {
|
|
1199
1267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1255,7 +1323,7 @@ class DataSafeClient {
|
|
|
1255
1323
|
* @param ChangeRetentionRequest
|
|
1256
1324
|
* @return ChangeRetentionResponse
|
|
1257
1325
|
* @throws OciError when an error occurs
|
|
1258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1326
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeRetention.ts.html |here} to see how to use ChangeRetention API.
|
|
1259
1327
|
*/
|
|
1260
1328
|
changeRetention(changeRetentionRequest) {
|
|
1261
1329
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1311,6 +1379,63 @@ class DataSafeClient {
|
|
|
1311
1379
|
}
|
|
1312
1380
|
});
|
|
1313
1381
|
}
|
|
1382
|
+
/**
|
|
1383
|
+
* Moves the specified SDM masking policy difference into a different compartment.
|
|
1384
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1385
|
+
* @param ChangeSdmMaskingPolicyDifferenceCompartmentRequest
|
|
1386
|
+
* @return ChangeSdmMaskingPolicyDifferenceCompartmentResponse
|
|
1387
|
+
* @throws OciError when an error occurs
|
|
1388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeSdmMaskingPolicyDifferenceCompartment.ts.html |here} to see how to use ChangeSdmMaskingPolicyDifferenceCompartment API.
|
|
1389
|
+
*/
|
|
1390
|
+
changeSdmMaskingPolicyDifferenceCompartment(changeSdmMaskingPolicyDifferenceCompartmentRequest) {
|
|
1391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1392
|
+
if (this.logger)
|
|
1393
|
+
this.logger.debug("Calling operation DataSafeClient#changeSdmMaskingPolicyDifferenceCompartment.");
|
|
1394
|
+
const operationName = "changeSdmMaskingPolicyDifferenceCompartment";
|
|
1395
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/ChangeSdmMaskingPolicyDifferenceCompartment";
|
|
1396
|
+
const pathParams = {
|
|
1397
|
+
"{sdmMaskingPolicyDifferenceId}": changeSdmMaskingPolicyDifferenceCompartmentRequest.sdmMaskingPolicyDifferenceId
|
|
1398
|
+
};
|
|
1399
|
+
const queryParams = {};
|
|
1400
|
+
let headerParams = {
|
|
1401
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1402
|
+
"if-match": changeSdmMaskingPolicyDifferenceCompartmentRequest.ifMatch,
|
|
1403
|
+
"opc-request-id": changeSdmMaskingPolicyDifferenceCompartmentRequest.opcRequestId,
|
|
1404
|
+
"opc-retry-token": changeSdmMaskingPolicyDifferenceCompartmentRequest.opcRetryToken
|
|
1405
|
+
};
|
|
1406
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1407
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSdmMaskingPolicyDifferenceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1408
|
+
if (this.logger)
|
|
1409
|
+
retrier.logger = this.logger;
|
|
1410
|
+
const request = yield oci_common_2.composeRequest({
|
|
1411
|
+
baseEndpoint: this._endpoint,
|
|
1412
|
+
defaultHeaders: this._defaultHeaders,
|
|
1413
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/actions/changeCompartment",
|
|
1414
|
+
method: "POST",
|
|
1415
|
+
bodyContent: common.ObjectSerializer.serialize(changeSdmMaskingPolicyDifferenceCompartmentRequest.changeSdmMaskingPolicyDifferenceCompartmentDetails, "ChangeSdmMaskingPolicyDifferenceCompartmentDetails", model.ChangeSdmMaskingPolicyDifferenceCompartmentDetails.getJsonObj),
|
|
1416
|
+
pathParams: pathParams,
|
|
1417
|
+
headerParams: headerParams,
|
|
1418
|
+
queryParams: queryParams
|
|
1419
|
+
});
|
|
1420
|
+
try {
|
|
1421
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1422
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1423
|
+
responseObject: {},
|
|
1424
|
+
responseHeaders: [
|
|
1425
|
+
{
|
|
1426
|
+
value: response.headers.get("opc-request-id"),
|
|
1427
|
+
key: "opcRequestId",
|
|
1428
|
+
dataType: "string"
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
});
|
|
1432
|
+
return sdkResponse;
|
|
1433
|
+
}
|
|
1434
|
+
catch (err) {
|
|
1435
|
+
throw err;
|
|
1436
|
+
}
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1314
1439
|
/**
|
|
1315
1440
|
* Moves the specified saved security assessment or future scheduled assessments into a different compartment.
|
|
1316
1441
|
* <p>
|
|
@@ -1322,7 +1447,7 @@ class DataSafeClient {
|
|
|
1322
1447
|
* @param ChangeSecurityAssessmentCompartmentRequest
|
|
1323
1448
|
* @return ChangeSecurityAssessmentCompartmentResponse
|
|
1324
1449
|
* @throws OciError when an error occurs
|
|
1325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1450
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeSecurityAssessmentCompartment.ts.html |here} to see how to use ChangeSecurityAssessmentCompartment API.
|
|
1326
1451
|
*/
|
|
1327
1452
|
changeSecurityAssessmentCompartment(changeSecurityAssessmentCompartmentRequest) {
|
|
1328
1453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1379,7 +1504,7 @@ class DataSafeClient {
|
|
|
1379
1504
|
* @param ChangeSensitiveDataModelCompartmentRequest
|
|
1380
1505
|
* @return ChangeSensitiveDataModelCompartmentResponse
|
|
1381
1506
|
* @throws OciError when an error occurs
|
|
1382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1507
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeSensitiveDataModelCompartment.ts.html |here} to see how to use ChangeSensitiveDataModelCompartment API.
|
|
1383
1508
|
*/
|
|
1384
1509
|
changeSensitiveDataModelCompartment(changeSensitiveDataModelCompartmentRequest) {
|
|
1385
1510
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1436,7 +1561,7 @@ class DataSafeClient {
|
|
|
1436
1561
|
* @param ChangeSensitiveTypeCompartmentRequest
|
|
1437
1562
|
* @return ChangeSensitiveTypeCompartmentResponse
|
|
1438
1563
|
* @throws OciError when an error occurs
|
|
1439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1564
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeSensitiveTypeCompartment.ts.html |here} to see how to use ChangeSensitiveTypeCompartment API.
|
|
1440
1565
|
*/
|
|
1441
1566
|
changeSensitiveTypeCompartment(changeSensitiveTypeCompartmentRequest) {
|
|
1442
1567
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1493,7 +1618,7 @@ class DataSafeClient {
|
|
|
1493
1618
|
* @param ChangeTargetAlertPolicyAssociationCompartmentRequest
|
|
1494
1619
|
* @return ChangeTargetAlertPolicyAssociationCompartmentResponse
|
|
1495
1620
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeTargetAlertPolicyAssociationCompartment.ts.html |here} to see how to use ChangeTargetAlertPolicyAssociationCompartment API.
|
|
1497
1622
|
*/
|
|
1498
1623
|
changeTargetAlertPolicyAssociationCompartment(changeTargetAlertPolicyAssociationCompartmentRequest) {
|
|
1499
1624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1550,7 +1675,7 @@ class DataSafeClient {
|
|
|
1550
1675
|
* @param ChangeTargetDatabaseCompartmentRequest
|
|
1551
1676
|
* @return ChangeTargetDatabaseCompartmentResponse
|
|
1552
1677
|
* @throws OciError when an error occurs
|
|
1553
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1678
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeTargetDatabaseCompartment.ts.html |here} to see how to use ChangeTargetDatabaseCompartment API.
|
|
1554
1679
|
*/
|
|
1555
1680
|
changeTargetDatabaseCompartment(changeTargetDatabaseCompartmentRequest) {
|
|
1556
1681
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1612,7 +1737,7 @@ class DataSafeClient {
|
|
|
1612
1737
|
* @param ChangeUserAssessmentCompartmentRequest
|
|
1613
1738
|
* @return ChangeUserAssessmentCompartmentResponse
|
|
1614
1739
|
* @throws OciError when an error occurs
|
|
1615
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1740
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ChangeUserAssessmentCompartment.ts.html |here} to see how to use ChangeUserAssessmentCompartment API.
|
|
1616
1741
|
*/
|
|
1617
1742
|
changeUserAssessmentCompartment(changeUserAssessmentCompartmentRequest) {
|
|
1618
1743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1671,7 +1796,7 @@ class DataSafeClient {
|
|
|
1671
1796
|
* @param CompareSecurityAssessmentRequest
|
|
1672
1797
|
* @return CompareSecurityAssessmentResponse
|
|
1673
1798
|
* @throws OciError when an error occurs
|
|
1674
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CompareSecurityAssessment.ts.html |here} to see how to use CompareSecurityAssessment API.
|
|
1675
1800
|
*/
|
|
1676
1801
|
compareSecurityAssessment(compareSecurityAssessmentRequest) {
|
|
1677
1802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1735,7 +1860,7 @@ class DataSafeClient {
|
|
|
1735
1860
|
* @param CompareUserAssessmentRequest
|
|
1736
1861
|
* @return CompareUserAssessmentResponse
|
|
1737
1862
|
* @throws OciError when an error occurs
|
|
1738
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1863
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CompareUserAssessment.ts.html |here} to see how to use CompareUserAssessment API.
|
|
1739
1864
|
*/
|
|
1740
1865
|
compareUserAssessment(compareUserAssessmentRequest) {
|
|
1741
1866
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1800,7 +1925,7 @@ class DataSafeClient {
|
|
|
1800
1925
|
* @param CreateAuditArchiveRetrievalRequest
|
|
1801
1926
|
* @return CreateAuditArchiveRetrievalResponse
|
|
1802
1927
|
* @throws OciError when an error occurs
|
|
1803
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateAuditArchiveRetrieval.ts.html |here} to see how to use CreateAuditArchiveRetrieval API.
|
|
1804
1929
|
*/
|
|
1805
1930
|
createAuditArchiveRetrieval(createAuditArchiveRetrievalRequest) {
|
|
1806
1931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1869,7 +1994,7 @@ class DataSafeClient {
|
|
|
1869
1994
|
* @param CreateDataSafePrivateEndpointRequest
|
|
1870
1995
|
* @return CreateDataSafePrivateEndpointResponse
|
|
1871
1996
|
* @throws OciError when an error occurs
|
|
1872
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1997
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateDataSafePrivateEndpoint.ts.html |here} to see how to use CreateDataSafePrivateEndpoint API.
|
|
1873
1998
|
*/
|
|
1874
1999
|
createDataSafePrivateEndpoint(createDataSafePrivateEndpointRequest) {
|
|
1875
2000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1947,7 +2072,7 @@ class DataSafeClient {
|
|
|
1947
2072
|
* @param CreateDiscoveryJobRequest
|
|
1948
2073
|
* @return CreateDiscoveryJobResponse
|
|
1949
2074
|
* @throws OciError when an error occurs
|
|
1950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2075
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateDiscoveryJob.ts.html |here} to see how to use CreateDiscoveryJob API.
|
|
1951
2076
|
*/
|
|
1952
2077
|
createDiscoveryJob(createDiscoveryJobRequest) {
|
|
1953
2078
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2025,7 +2150,7 @@ class DataSafeClient {
|
|
|
2025
2150
|
* @param CreateLibraryMaskingFormatRequest
|
|
2026
2151
|
* @return CreateLibraryMaskingFormatResponse
|
|
2027
2152
|
* @throws OciError when an error occurs
|
|
2028
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2153
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateLibraryMaskingFormat.ts.html |here} to see how to use CreateLibraryMaskingFormat API.
|
|
2029
2154
|
*/
|
|
2030
2155
|
createLibraryMaskingFormat(createLibraryMaskingFormatRequest) {
|
|
2031
2156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2118,7 +2243,7 @@ class DataSafeClient {
|
|
|
2118
2243
|
* @param CreateMaskingColumnRequest
|
|
2119
2244
|
* @return CreateMaskingColumnResponse
|
|
2120
2245
|
* @throws OciError when an error occurs
|
|
2121
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2246
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateMaskingColumn.ts.html |here} to see how to use CreateMaskingColumn API.
|
|
2122
2247
|
*/
|
|
2123
2248
|
createMaskingColumn(createMaskingColumnRequest) {
|
|
2124
2249
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2196,7 +2321,7 @@ class DataSafeClient {
|
|
|
2196
2321
|
* @param CreateMaskingPolicyRequest
|
|
2197
2322
|
* @return CreateMaskingPolicyResponse
|
|
2198
2323
|
* @throws OciError when an error occurs
|
|
2199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateMaskingPolicy.ts.html |here} to see how to use CreateMaskingPolicy API.
|
|
2200
2325
|
*/
|
|
2201
2326
|
createMaskingPolicy(createMaskingPolicyRequest) {
|
|
2202
2327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2270,7 +2395,7 @@ class DataSafeClient {
|
|
|
2270
2395
|
* @param CreateOnPremConnectorRequest
|
|
2271
2396
|
* @return CreateOnPremConnectorResponse
|
|
2272
2397
|
* @throws OciError when an error occurs
|
|
2273
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2398
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateOnPremConnector.ts.html |here} to see how to use CreateOnPremConnector API.
|
|
2274
2399
|
*/
|
|
2275
2400
|
createOnPremConnector(createOnPremConnectorRequest) {
|
|
2276
2401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2344,7 +2469,7 @@ class DataSafeClient {
|
|
|
2344
2469
|
* @param CreateReportDefinitionRequest
|
|
2345
2470
|
* @return CreateReportDefinitionResponse
|
|
2346
2471
|
* @throws OciError when an error occurs
|
|
2347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2472
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateReportDefinition.ts.html |here} to see how to use CreateReportDefinition API.
|
|
2348
2473
|
*/
|
|
2349
2474
|
createReportDefinition(createReportDefinitionRequest) {
|
|
2350
2475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2406,6 +2531,84 @@ class DataSafeClient {
|
|
|
2406
2531
|
}
|
|
2407
2532
|
});
|
|
2408
2533
|
}
|
|
2534
|
+
/**
|
|
2535
|
+
* Creates SDM masking policy difference for the specified masking policy. It finds the difference between
|
|
2536
|
+
* masking columns of the masking policy and sensitive columns of the SDM. After performing this operation,
|
|
2537
|
+
* you can use ListDifferenceColumns to view the difference columns, PatchSdmMaskingPolicyDifferenceColumns
|
|
2538
|
+
* to specify the action you want perform on these columns, and then ApplySdmMaskingPolicyDifference to process the
|
|
2539
|
+
* difference columns and apply them to the masking policy.
|
|
2540
|
+
*
|
|
2541
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2542
|
+
* @param CreateSdmMaskingPolicyDifferenceRequest
|
|
2543
|
+
* @return CreateSdmMaskingPolicyDifferenceResponse
|
|
2544
|
+
* @throws OciError when an error occurs
|
|
2545
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateSdmMaskingPolicyDifference.ts.html |here} to see how to use CreateSdmMaskingPolicyDifference API.
|
|
2546
|
+
*/
|
|
2547
|
+
createSdmMaskingPolicyDifference(createSdmMaskingPolicyDifferenceRequest) {
|
|
2548
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2549
|
+
if (this.logger)
|
|
2550
|
+
this.logger.debug("Calling operation DataSafeClient#createSdmMaskingPolicyDifference.");
|
|
2551
|
+
const operationName = "createSdmMaskingPolicyDifference";
|
|
2552
|
+
const apiReferenceLink = "";
|
|
2553
|
+
const pathParams = {};
|
|
2554
|
+
const queryParams = {};
|
|
2555
|
+
let headerParams = {
|
|
2556
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2557
|
+
"opc-retry-token": createSdmMaskingPolicyDifferenceRequest.opcRetryToken,
|
|
2558
|
+
"opc-request-id": createSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
2559
|
+
};
|
|
2560
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2561
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
2562
|
+
if (this.logger)
|
|
2563
|
+
retrier.logger = this.logger;
|
|
2564
|
+
const request = yield oci_common_2.composeRequest({
|
|
2565
|
+
baseEndpoint: this._endpoint,
|
|
2566
|
+
defaultHeaders: this._defaultHeaders,
|
|
2567
|
+
path: "/sdmMaskingPolicyDifferences",
|
|
2568
|
+
method: "POST",
|
|
2569
|
+
bodyContent: common.ObjectSerializer.serialize(createSdmMaskingPolicyDifferenceRequest.createSdmMaskingPolicyDifferenceDetails, "CreateSdmMaskingPolicyDifferenceDetails", model.CreateSdmMaskingPolicyDifferenceDetails.getJsonObj),
|
|
2570
|
+
pathParams: pathParams,
|
|
2571
|
+
headerParams: headerParams,
|
|
2572
|
+
queryParams: queryParams
|
|
2573
|
+
});
|
|
2574
|
+
try {
|
|
2575
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2576
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2577
|
+
responseObject: {},
|
|
2578
|
+
body: yield response.json(),
|
|
2579
|
+
bodyKey: "sdmMaskingPolicyDifference",
|
|
2580
|
+
bodyModel: model.SdmMaskingPolicyDifference,
|
|
2581
|
+
type: "model.SdmMaskingPolicyDifference",
|
|
2582
|
+
responseHeaders: [
|
|
2583
|
+
{
|
|
2584
|
+
value: response.headers.get("etag"),
|
|
2585
|
+
key: "etag",
|
|
2586
|
+
dataType: "string"
|
|
2587
|
+
},
|
|
2588
|
+
{
|
|
2589
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2590
|
+
key: "opcWorkRequestId",
|
|
2591
|
+
dataType: "string"
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
value: response.headers.get("opc-request-id"),
|
|
2595
|
+
key: "opcRequestId",
|
|
2596
|
+
dataType: "string"
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
value: response.headers.get("location"),
|
|
2600
|
+
key: "location",
|
|
2601
|
+
dataType: "string"
|
|
2602
|
+
}
|
|
2603
|
+
]
|
|
2604
|
+
});
|
|
2605
|
+
return sdkResponse;
|
|
2606
|
+
}
|
|
2607
|
+
catch (err) {
|
|
2608
|
+
throw err;
|
|
2609
|
+
}
|
|
2610
|
+
});
|
|
2611
|
+
}
|
|
2409
2612
|
/**
|
|
2410
2613
|
* Creates a new saved security assessment for one or multiple targets in a compartment. When this operation is performed,
|
|
2411
2614
|
* it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments,
|
|
@@ -2415,7 +2618,7 @@ class DataSafeClient {
|
|
|
2415
2618
|
* @param CreateSecurityAssessmentRequest
|
|
2416
2619
|
* @return CreateSecurityAssessmentResponse
|
|
2417
2620
|
* @throws OciError when an error occurs
|
|
2418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2621
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateSecurityAssessment.ts.html |here} to see how to use CreateSecurityAssessment API.
|
|
2419
2622
|
*/
|
|
2420
2623
|
createSecurityAssessment(createSecurityAssessmentRequest) {
|
|
2421
2624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2489,7 +2692,7 @@ class DataSafeClient {
|
|
|
2489
2692
|
* @param CreateSensitiveColumnRequest
|
|
2490
2693
|
* @return CreateSensitiveColumnResponse
|
|
2491
2694
|
* @throws OciError when an error occurs
|
|
2492
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2695
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateSensitiveColumn.ts.html |here} to see how to use CreateSensitiveColumn API.
|
|
2493
2696
|
*/
|
|
2494
2697
|
createSensitiveColumn(createSensitiveColumnRequest) {
|
|
2495
2698
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2553,7 +2756,7 @@ class DataSafeClient {
|
|
|
2553
2756
|
* @param CreateSensitiveDataModelRequest
|
|
2554
2757
|
* @return CreateSensitiveDataModelResponse
|
|
2555
2758
|
* @throws OciError when an error occurs
|
|
2556
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2759
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateSensitiveDataModel.ts.html |here} to see how to use CreateSensitiveDataModel API.
|
|
2557
2760
|
*/
|
|
2558
2761
|
createSensitiveDataModel(createSensitiveDataModelRequest) {
|
|
2559
2762
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2629,7 +2832,7 @@ class DataSafeClient {
|
|
|
2629
2832
|
* @param CreateSensitiveTypeRequest
|
|
2630
2833
|
* @return CreateSensitiveTypeResponse
|
|
2631
2834
|
* @throws OciError when an error occurs
|
|
2632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2835
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateSensitiveType.ts.html |here} to see how to use CreateSensitiveType API.
|
|
2633
2836
|
*/
|
|
2634
2837
|
createSensitiveType(createSensitiveTypeRequest) {
|
|
2635
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2703,7 +2906,7 @@ class DataSafeClient {
|
|
|
2703
2906
|
* @param CreateTargetAlertPolicyAssociationRequest
|
|
2704
2907
|
* @return CreateTargetAlertPolicyAssociationResponse
|
|
2705
2908
|
* @throws OciError when an error occurs
|
|
2706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2909
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateTargetAlertPolicyAssociation.ts.html |here} to see how to use CreateTargetAlertPolicyAssociation API.
|
|
2707
2910
|
*/
|
|
2708
2911
|
createTargetAlertPolicyAssociation(createTargetAlertPolicyAssociationRequest) {
|
|
2709
2912
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2777,7 +2980,7 @@ class DataSafeClient {
|
|
|
2777
2980
|
* @param CreateTargetDatabaseRequest
|
|
2778
2981
|
* @return CreateTargetDatabaseResponse
|
|
2779
2982
|
* @throws OciError when an error occurs
|
|
2780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateTargetDatabase.ts.html |here} to see how to use CreateTargetDatabase API.
|
|
2781
2984
|
*/
|
|
2782
2985
|
createTargetDatabase(createTargetDatabaseRequest) {
|
|
2783
2986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2853,7 +3056,7 @@ class DataSafeClient {
|
|
|
2853
3056
|
* @param CreateUserAssessmentRequest
|
|
2854
3057
|
* @return CreateUserAssessmentResponse
|
|
2855
3058
|
* @throws OciError when an error occurs
|
|
2856
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/CreateUserAssessment.ts.html |here} to see how to use CreateUserAssessment API.
|
|
2857
3060
|
*/
|
|
2858
3061
|
createUserAssessment(createUserAssessmentRequest) {
|
|
2859
3062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2927,7 +3130,7 @@ class DataSafeClient {
|
|
|
2927
3130
|
* @param DeactivateTargetDatabaseRequest
|
|
2928
3131
|
* @return DeactivateTargetDatabaseResponse
|
|
2929
3132
|
* @throws OciError when an error occurs
|
|
2930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeactivateTargetDatabase.ts.html |here} to see how to use DeactivateTargetDatabase API.
|
|
2931
3134
|
*/
|
|
2932
3135
|
deactivateTargetDatabase(deactivateTargetDatabaseRequest) {
|
|
2933
3136
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2990,7 +3193,7 @@ class DataSafeClient {
|
|
|
2990
3193
|
* @param DeleteAuditArchiveRetrievalRequest
|
|
2991
3194
|
* @return DeleteAuditArchiveRetrievalResponse
|
|
2992
3195
|
* @throws OciError when an error occurs
|
|
2993
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3196
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteAuditArchiveRetrieval.ts.html |here} to see how to use DeleteAuditArchiveRetrieval API.
|
|
2994
3197
|
*/
|
|
2995
3198
|
deleteAuditArchiveRetrieval(deleteAuditArchiveRetrievalRequest) {
|
|
2996
3199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3050,7 +3253,7 @@ class DataSafeClient {
|
|
|
3050
3253
|
* @param DeleteAuditTrailRequest
|
|
3051
3254
|
* @return DeleteAuditTrailResponse
|
|
3052
3255
|
* @throws OciError when an error occurs
|
|
3053
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3256
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteAuditTrail.ts.html |here} to see how to use DeleteAuditTrail API.
|
|
3054
3257
|
*/
|
|
3055
3258
|
deleteAuditTrail(deleteAuditTrailRequest) {
|
|
3056
3259
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3110,7 +3313,7 @@ class DataSafeClient {
|
|
|
3110
3313
|
* @param DeleteDataSafePrivateEndpointRequest
|
|
3111
3314
|
* @return DeleteDataSafePrivateEndpointResponse
|
|
3112
3315
|
* @throws OciError when an error occurs
|
|
3113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3316
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteDataSafePrivateEndpoint.ts.html |here} to see how to use DeleteDataSafePrivateEndpoint API.
|
|
3114
3317
|
*/
|
|
3115
3318
|
deleteDataSafePrivateEndpoint(deleteDataSafePrivateEndpointRequest) {
|
|
3116
3319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3170,7 +3373,7 @@ class DataSafeClient {
|
|
|
3170
3373
|
* @param DeleteDiscoveryJobRequest
|
|
3171
3374
|
* @return DeleteDiscoveryJobResponse
|
|
3172
3375
|
* @throws OciError when an error occurs
|
|
3173
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3376
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteDiscoveryJob.ts.html |here} to see how to use DeleteDiscoveryJob API.
|
|
3174
3377
|
*/
|
|
3175
3378
|
deleteDiscoveryJob(deleteDiscoveryJobRequest) {
|
|
3176
3379
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3230,7 +3433,7 @@ class DataSafeClient {
|
|
|
3230
3433
|
* @param DeleteDiscoveryJobResultRequest
|
|
3231
3434
|
* @return DeleteDiscoveryJobResultResponse
|
|
3232
3435
|
* @throws OciError when an error occurs
|
|
3233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3436
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteDiscoveryJobResult.ts.html |here} to see how to use DeleteDiscoveryJobResult API.
|
|
3234
3437
|
*/
|
|
3235
3438
|
deleteDiscoveryJobResult(deleteDiscoveryJobResultRequest) {
|
|
3236
3439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3286,7 +3489,7 @@ class DataSafeClient {
|
|
|
3286
3489
|
* @param DeleteLibraryMaskingFormatRequest
|
|
3287
3490
|
* @return DeleteLibraryMaskingFormatResponse
|
|
3288
3491
|
* @throws OciError when an error occurs
|
|
3289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3492
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteLibraryMaskingFormat.ts.html |here} to see how to use DeleteLibraryMaskingFormat API.
|
|
3290
3493
|
*/
|
|
3291
3494
|
deleteLibraryMaskingFormat(deleteLibraryMaskingFormatRequest) {
|
|
3292
3495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3341,7 +3544,7 @@ class DataSafeClient {
|
|
|
3341
3544
|
* @param DeleteMaskingColumnRequest
|
|
3342
3545
|
* @return DeleteMaskingColumnResponse
|
|
3343
3546
|
* @throws OciError when an error occurs
|
|
3344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteMaskingColumn.ts.html |here} to see how to use DeleteMaskingColumn API.
|
|
3345
3548
|
*/
|
|
3346
3549
|
deleteMaskingColumn(deleteMaskingColumnRequest) {
|
|
3347
3550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3397,7 +3600,7 @@ class DataSafeClient {
|
|
|
3397
3600
|
* @param DeleteMaskingPolicyRequest
|
|
3398
3601
|
* @return DeleteMaskingPolicyResponse
|
|
3399
3602
|
* @throws OciError when an error occurs
|
|
3400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3603
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteMaskingPolicy.ts.html |here} to see how to use DeleteMaskingPolicy API.
|
|
3401
3604
|
*/
|
|
3402
3605
|
deleteMaskingPolicy(deleteMaskingPolicyRequest) {
|
|
3403
3606
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3457,7 +3660,7 @@ class DataSafeClient {
|
|
|
3457
3660
|
* @param DeleteOnPremConnectorRequest
|
|
3458
3661
|
* @return DeleteOnPremConnectorResponse
|
|
3459
3662
|
* @throws OciError when an error occurs
|
|
3460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3663
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteOnPremConnector.ts.html |here} to see how to use DeleteOnPremConnector API.
|
|
3461
3664
|
*/
|
|
3462
3665
|
deleteOnPremConnector(deleteOnPremConnectorRequest) {
|
|
3463
3666
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3517,7 +3720,7 @@ class DataSafeClient {
|
|
|
3517
3720
|
* @param DeleteReportDefinitionRequest
|
|
3518
3721
|
* @return DeleteReportDefinitionResponse
|
|
3519
3722
|
* @throws OciError when an error occurs
|
|
3520
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3723
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteReportDefinition.ts.html |here} to see how to use DeleteReportDefinition API.
|
|
3521
3724
|
*/
|
|
3522
3725
|
deleteReportDefinition(deleteReportDefinitionRequest) {
|
|
3523
3726
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3571,6 +3774,66 @@ class DataSafeClient {
|
|
|
3571
3774
|
}
|
|
3572
3775
|
});
|
|
3573
3776
|
}
|
|
3777
|
+
/**
|
|
3778
|
+
* Deletes the specified SDM Masking policy difference.
|
|
3779
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3780
|
+
* @param DeleteSdmMaskingPolicyDifferenceRequest
|
|
3781
|
+
* @return DeleteSdmMaskingPolicyDifferenceResponse
|
|
3782
|
+
* @throws OciError when an error occurs
|
|
3783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteSdmMaskingPolicyDifference.ts.html |here} to see how to use DeleteSdmMaskingPolicyDifference API.
|
|
3784
|
+
*/
|
|
3785
|
+
deleteSdmMaskingPolicyDifference(deleteSdmMaskingPolicyDifferenceRequest) {
|
|
3786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3787
|
+
if (this.logger)
|
|
3788
|
+
this.logger.debug("Calling operation DataSafeClient#deleteSdmMaskingPolicyDifference.");
|
|
3789
|
+
const operationName = "deleteSdmMaskingPolicyDifference";
|
|
3790
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/DeleteSdmMaskingPolicyDifference";
|
|
3791
|
+
const pathParams = {
|
|
3792
|
+
"{sdmMaskingPolicyDifferenceId}": deleteSdmMaskingPolicyDifferenceRequest.sdmMaskingPolicyDifferenceId
|
|
3793
|
+
};
|
|
3794
|
+
const queryParams = {};
|
|
3795
|
+
let headerParams = {
|
|
3796
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3797
|
+
"if-match": deleteSdmMaskingPolicyDifferenceRequest.ifMatch,
|
|
3798
|
+
"opc-request-id": deleteSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
3799
|
+
};
|
|
3800
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3801
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
3802
|
+
if (this.logger)
|
|
3803
|
+
retrier.logger = this.logger;
|
|
3804
|
+
const request = yield oci_common_2.composeRequest({
|
|
3805
|
+
baseEndpoint: this._endpoint,
|
|
3806
|
+
defaultHeaders: this._defaultHeaders,
|
|
3807
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}",
|
|
3808
|
+
method: "DELETE",
|
|
3809
|
+
pathParams: pathParams,
|
|
3810
|
+
headerParams: headerParams,
|
|
3811
|
+
queryParams: queryParams
|
|
3812
|
+
});
|
|
3813
|
+
try {
|
|
3814
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3815
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3816
|
+
responseObject: {},
|
|
3817
|
+
responseHeaders: [
|
|
3818
|
+
{
|
|
3819
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3820
|
+
key: "opcWorkRequestId",
|
|
3821
|
+
dataType: "string"
|
|
3822
|
+
},
|
|
3823
|
+
{
|
|
3824
|
+
value: response.headers.get("opc-request-id"),
|
|
3825
|
+
key: "opcRequestId",
|
|
3826
|
+
dataType: "string"
|
|
3827
|
+
}
|
|
3828
|
+
]
|
|
3829
|
+
});
|
|
3830
|
+
return sdkResponse;
|
|
3831
|
+
}
|
|
3832
|
+
catch (err) {
|
|
3833
|
+
throw err;
|
|
3834
|
+
}
|
|
3835
|
+
});
|
|
3836
|
+
}
|
|
3574
3837
|
/**
|
|
3575
3838
|
* Deletes the specified saved security assessment or schedule. To delete a security assessment schedule,
|
|
3576
3839
|
* first call the operation ListSecurityAssessments with filters \"type = save_schedule\".
|
|
@@ -3581,7 +3844,7 @@ class DataSafeClient {
|
|
|
3581
3844
|
* @param DeleteSecurityAssessmentRequest
|
|
3582
3845
|
* @return DeleteSecurityAssessmentResponse
|
|
3583
3846
|
* @throws OciError when an error occurs
|
|
3584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteSecurityAssessment.ts.html |here} to see how to use DeleteSecurityAssessment API.
|
|
3585
3848
|
*/
|
|
3586
3849
|
deleteSecurityAssessment(deleteSecurityAssessmentRequest) {
|
|
3587
3850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3641,7 +3904,7 @@ class DataSafeClient {
|
|
|
3641
3904
|
* @param DeleteSensitiveColumnRequest
|
|
3642
3905
|
* @return DeleteSensitiveColumnResponse
|
|
3643
3906
|
* @throws OciError when an error occurs
|
|
3644
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3907
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteSensitiveColumn.ts.html |here} to see how to use DeleteSensitiveColumn API.
|
|
3645
3908
|
*/
|
|
3646
3909
|
deleteSensitiveColumn(deleteSensitiveColumnRequest) {
|
|
3647
3910
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3697,7 +3960,7 @@ class DataSafeClient {
|
|
|
3697
3960
|
* @param DeleteSensitiveDataModelRequest
|
|
3698
3961
|
* @return DeleteSensitiveDataModelResponse
|
|
3699
3962
|
* @throws OciError when an error occurs
|
|
3700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3963
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteSensitiveDataModel.ts.html |here} to see how to use DeleteSensitiveDataModel API.
|
|
3701
3964
|
*/
|
|
3702
3965
|
deleteSensitiveDataModel(deleteSensitiveDataModelRequest) {
|
|
3703
3966
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3757,7 +4020,7 @@ class DataSafeClient {
|
|
|
3757
4020
|
* @param DeleteSensitiveTypeRequest
|
|
3758
4021
|
* @return DeleteSensitiveTypeResponse
|
|
3759
4022
|
* @throws OciError when an error occurs
|
|
3760
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4023
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteSensitiveType.ts.html |here} to see how to use DeleteSensitiveType API.
|
|
3761
4024
|
*/
|
|
3762
4025
|
deleteSensitiveType(deleteSensitiveTypeRequest) {
|
|
3763
4026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3812,7 +4075,7 @@ class DataSafeClient {
|
|
|
3812
4075
|
* @param DeleteTargetAlertPolicyAssociationRequest
|
|
3813
4076
|
* @return DeleteTargetAlertPolicyAssociationResponse
|
|
3814
4077
|
* @throws OciError when an error occurs
|
|
3815
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteTargetAlertPolicyAssociation.ts.html |here} to see how to use DeleteTargetAlertPolicyAssociation API.
|
|
3816
4079
|
*/
|
|
3817
4080
|
deleteTargetAlertPolicyAssociation(deleteTargetAlertPolicyAssociationRequest) {
|
|
3818
4081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3872,7 +4135,7 @@ class DataSafeClient {
|
|
|
3872
4135
|
* @param DeleteTargetDatabaseRequest
|
|
3873
4136
|
* @return DeleteTargetDatabaseResponse
|
|
3874
4137
|
* @throws OciError when an error occurs
|
|
3875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4138
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteTargetDatabase.ts.html |here} to see how to use DeleteTargetDatabase API.
|
|
3876
4139
|
*/
|
|
3877
4140
|
deleteTargetDatabase(deleteTargetDatabaseRequest) {
|
|
3878
4141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3936,7 +4199,7 @@ class DataSafeClient {
|
|
|
3936
4199
|
* @param DeleteUserAssessmentRequest
|
|
3937
4200
|
* @return DeleteUserAssessmentResponse
|
|
3938
4201
|
* @throws OciError when an error occurs
|
|
3939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4202
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DeleteUserAssessment.ts.html |here} to see how to use DeleteUserAssessment API.
|
|
3940
4203
|
*/
|
|
3941
4204
|
deleteUserAssessment(deleteUserAssessmentRequest) {
|
|
3942
4205
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4000,7 +4263,7 @@ class DataSafeClient {
|
|
|
4000
4263
|
* @param DiscoverAuditTrailsRequest
|
|
4001
4264
|
* @return DiscoverAuditTrailsResponse
|
|
4002
4265
|
* @throws OciError when an error occurs
|
|
4003
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DiscoverAuditTrails.ts.html |here} to see how to use DiscoverAuditTrails API.
|
|
4004
4267
|
*/
|
|
4005
4268
|
discoverAuditTrails(discoverAuditTrailsRequest) {
|
|
4006
4269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4065,7 +4328,7 @@ class DataSafeClient {
|
|
|
4065
4328
|
* @param DownloadDiscoveryReportRequest
|
|
4066
4329
|
* @return DownloadDiscoveryReportResponse
|
|
4067
4330
|
* @throws OciError when an error occurs
|
|
4068
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4331
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadDiscoveryReport.ts.html |here} to see how to use DownloadDiscoveryReport API.
|
|
4069
4332
|
*/
|
|
4070
4333
|
downloadDiscoveryReport(downloadDiscoveryReportRequest) {
|
|
4071
4334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4133,7 +4396,7 @@ class DataSafeClient {
|
|
|
4133
4396
|
* @param DownloadMaskingLogRequest
|
|
4134
4397
|
* @return DownloadMaskingLogResponse
|
|
4135
4398
|
* @throws OciError when an error occurs
|
|
4136
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4399
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadMaskingLog.ts.html |here} to see how to use DownloadMaskingLog API.
|
|
4137
4400
|
*/
|
|
4138
4401
|
downloadMaskingLog(downloadMaskingLogRequest) {
|
|
4139
4402
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4205,7 +4468,7 @@ class DataSafeClient {
|
|
|
4205
4468
|
* @param DownloadMaskingPolicyRequest
|
|
4206
4469
|
* @return DownloadMaskingPolicyResponse
|
|
4207
4470
|
* @throws OciError when an error occurs
|
|
4208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadMaskingPolicy.ts.html |here} to see how to use DownloadMaskingPolicy API.
|
|
4209
4472
|
*/
|
|
4210
4473
|
downloadMaskingPolicy(downloadMaskingPolicyRequest) {
|
|
4211
4474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4276,7 +4539,7 @@ class DataSafeClient {
|
|
|
4276
4539
|
* @param DownloadMaskingReportRequest
|
|
4277
4540
|
* @return DownloadMaskingReportResponse
|
|
4278
4541
|
* @throws OciError when an error occurs
|
|
4279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4542
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadMaskingReport.ts.html |here} to see how to use DownloadMaskingReport API.
|
|
4280
4543
|
*/
|
|
4281
4544
|
downloadMaskingReport(downloadMaskingReportRequest) {
|
|
4282
4545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4345,7 +4608,7 @@ class DataSafeClient {
|
|
|
4345
4608
|
* @param DownloadPrivilegeScriptRequest
|
|
4346
4609
|
* @return DownloadPrivilegeScriptResponse
|
|
4347
4610
|
* @throws OciError when an error occurs
|
|
4348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4611
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadPrivilegeScript.ts.html |here} to see how to use DownloadPrivilegeScript API.
|
|
4349
4612
|
*/
|
|
4350
4613
|
downloadPrivilegeScript(downloadPrivilegeScriptRequest) {
|
|
4351
4614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4414,7 +4677,7 @@ class DataSafeClient {
|
|
|
4414
4677
|
* @param DownloadSecurityAssessmentReportRequest
|
|
4415
4678
|
* @return DownloadSecurityAssessmentReportResponse
|
|
4416
4679
|
* @throws OciError when an error occurs
|
|
4417
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4680
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadSecurityAssessmentReport.ts.html |here} to see how to use DownloadSecurityAssessmentReport API.
|
|
4418
4681
|
*/
|
|
4419
4682
|
downloadSecurityAssessmentReport(downloadSecurityAssessmentReportRequest) {
|
|
4420
4683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4488,7 +4751,7 @@ class DataSafeClient {
|
|
|
4488
4751
|
* @param DownloadSensitiveDataModelRequest
|
|
4489
4752
|
* @return DownloadSensitiveDataModelResponse
|
|
4490
4753
|
* @throws OciError when an error occurs
|
|
4491
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4754
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadSensitiveDataModel.ts.html |here} to see how to use DownloadSensitiveDataModel API.
|
|
4492
4755
|
*/
|
|
4493
4756
|
downloadSensitiveDataModel(downloadSensitiveDataModelRequest) {
|
|
4494
4757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4558,7 +4821,7 @@ class DataSafeClient {
|
|
|
4558
4821
|
* @param DownloadUserAssessmentReportRequest
|
|
4559
4822
|
* @return DownloadUserAssessmentReportResponse
|
|
4560
4823
|
* @throws OciError when an error occurs
|
|
4561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4824
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/DownloadUserAssessmentReport.ts.html |here} to see how to use DownloadUserAssessmentReport API.
|
|
4562
4825
|
*/
|
|
4563
4826
|
downloadUserAssessmentReport(downloadUserAssessmentReportRequest) {
|
|
4564
4827
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4629,7 +4892,7 @@ class DataSafeClient {
|
|
|
4629
4892
|
* @param EnableDataSafeConfigurationRequest
|
|
4630
4893
|
* @return EnableDataSafeConfigurationResponse
|
|
4631
4894
|
* @throws OciError when an error occurs
|
|
4632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4895
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/EnableDataSafeConfiguration.ts.html |here} to see how to use EnableDataSafeConfiguration API.
|
|
4633
4896
|
*/
|
|
4634
4897
|
enableDataSafeConfiguration(enableDataSafeConfigurationRequest) {
|
|
4635
4898
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4694,7 +4957,7 @@ class DataSafeClient {
|
|
|
4694
4957
|
* @param GenerateDiscoveryReportForDownloadRequest
|
|
4695
4958
|
* @return GenerateDiscoveryReportForDownloadResponse
|
|
4696
4959
|
* @throws OciError when an error occurs
|
|
4697
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4960
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateDiscoveryReportForDownload.ts.html |here} to see how to use GenerateDiscoveryReportForDownload API.
|
|
4698
4961
|
*/
|
|
4699
4962
|
generateDiscoveryReportForDownload(generateDiscoveryReportForDownloadRequest) {
|
|
4700
4963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4759,7 +5022,7 @@ class DataSafeClient {
|
|
|
4759
5022
|
* @param GenerateMaskingPolicyForDownloadRequest
|
|
4760
5023
|
* @return GenerateMaskingPolicyForDownloadResponse
|
|
4761
5024
|
* @throws OciError when an error occurs
|
|
4762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5025
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateMaskingPolicyForDownload.ts.html |here} to see how to use GenerateMaskingPolicyForDownload API.
|
|
4763
5026
|
*/
|
|
4764
5027
|
generateMaskingPolicyForDownload(generateMaskingPolicyForDownloadRequest) {
|
|
4765
5028
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4823,7 +5086,7 @@ class DataSafeClient {
|
|
|
4823
5086
|
* @param GenerateMaskingReportForDownloadRequest
|
|
4824
5087
|
* @return GenerateMaskingReportForDownloadResponse
|
|
4825
5088
|
* @throws OciError when an error occurs
|
|
4826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5089
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateMaskingReportForDownload.ts.html |here} to see how to use GenerateMaskingReportForDownload API.
|
|
4827
5090
|
*/
|
|
4828
5091
|
generateMaskingReportForDownload(generateMaskingReportForDownloadRequest) {
|
|
4829
5092
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4884,7 +5147,7 @@ class DataSafeClient {
|
|
|
4884
5147
|
* @param GenerateOnPremConnectorConfigurationRequest
|
|
4885
5148
|
* @return GenerateOnPremConnectorConfigurationResponse
|
|
4886
5149
|
* @throws OciError when an error occurs
|
|
4887
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5150
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateOnPremConnectorConfiguration.ts.html |here} to see how to use GenerateOnPremConnectorConfiguration API.
|
|
4888
5151
|
*/
|
|
4889
5152
|
generateOnPremConnectorConfiguration(generateOnPremConnectorConfigurationRequest) {
|
|
4890
5153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4954,7 +5217,7 @@ class DataSafeClient {
|
|
|
4954
5217
|
* @param GenerateReportRequest
|
|
4955
5218
|
* @return GenerateReportResponse
|
|
4956
5219
|
* @throws OciError when an error occurs
|
|
4957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5220
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateReport.ts.html |here} to see how to use GenerateReport API.
|
|
4958
5221
|
*/
|
|
4959
5222
|
generateReport(generateReportRequest) {
|
|
4960
5223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5020,7 +5283,7 @@ class DataSafeClient {
|
|
|
5020
5283
|
* @param GenerateSecurityAssessmentReportRequest
|
|
5021
5284
|
* @return GenerateSecurityAssessmentReportResponse
|
|
5022
5285
|
* @throws OciError when an error occurs
|
|
5023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5286
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateSecurityAssessmentReport.ts.html |here} to see how to use GenerateSecurityAssessmentReport API.
|
|
5024
5287
|
*/
|
|
5025
5288
|
generateSecurityAssessmentReport(generateSecurityAssessmentReportRequest) {
|
|
5026
5289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5086,7 +5349,7 @@ class DataSafeClient {
|
|
|
5086
5349
|
* @param GenerateSensitiveDataModelForDownloadRequest
|
|
5087
5350
|
* @return GenerateSensitiveDataModelForDownloadResponse
|
|
5088
5351
|
* @throws OciError when an error occurs
|
|
5089
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5352
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateSensitiveDataModelForDownload.ts.html |here} to see how to use GenerateSensitiveDataModelForDownload API.
|
|
5090
5353
|
*/
|
|
5091
5354
|
generateSensitiveDataModelForDownload(generateSensitiveDataModelForDownloadRequest) {
|
|
5092
5355
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5148,7 +5411,7 @@ class DataSafeClient {
|
|
|
5148
5411
|
* @param GenerateUserAssessmentReportRequest
|
|
5149
5412
|
* @return GenerateUserAssessmentReportResponse
|
|
5150
5413
|
* @throws OciError when an error occurs
|
|
5151
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5414
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GenerateUserAssessmentReport.ts.html |here} to see how to use GenerateUserAssessmentReport API.
|
|
5152
5415
|
*/
|
|
5153
5416
|
generateUserAssessmentReport(generateUserAssessmentReportRequest) {
|
|
5154
5417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5205,12 +5468,12 @@ class DataSafeClient {
|
|
|
5205
5468
|
});
|
|
5206
5469
|
}
|
|
5207
5470
|
/**
|
|
5208
|
-
* Gets the details of
|
|
5471
|
+
* Gets the details of the specified alerts.
|
|
5209
5472
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5210
5473
|
* @param GetAlertRequest
|
|
5211
5474
|
* @return GetAlertResponse
|
|
5212
5475
|
* @throws OciError when an error occurs
|
|
5213
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5476
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetAlert.ts.html |here} to see how to use GetAlert API.
|
|
5214
5477
|
*/
|
|
5215
5478
|
getAlert(getAlertRequest) {
|
|
5216
5479
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5273,7 +5536,7 @@ class DataSafeClient {
|
|
|
5273
5536
|
* @param GetAlertPolicyRequest
|
|
5274
5537
|
* @return GetAlertPolicyResponse
|
|
5275
5538
|
* @throws OciError when an error occurs
|
|
5276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5539
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetAlertPolicy.ts.html |here} to see how to use GetAlertPolicy API.
|
|
5277
5540
|
*/
|
|
5278
5541
|
getAlertPolicy(getAlertPolicyRequest) {
|
|
5279
5542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5336,7 +5599,7 @@ class DataSafeClient {
|
|
|
5336
5599
|
* @param GetAuditArchiveRetrievalRequest
|
|
5337
5600
|
* @return GetAuditArchiveRetrievalResponse
|
|
5338
5601
|
* @throws OciError when an error occurs
|
|
5339
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetAuditArchiveRetrieval.ts.html |here} to see how to use GetAuditArchiveRetrieval API.
|
|
5340
5603
|
*/
|
|
5341
5604
|
getAuditArchiveRetrieval(getAuditArchiveRetrievalRequest) {
|
|
5342
5605
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5400,7 +5663,7 @@ class DataSafeClient {
|
|
|
5400
5663
|
* @param GetAuditPolicyRequest
|
|
5401
5664
|
* @return GetAuditPolicyResponse
|
|
5402
5665
|
* @throws OciError when an error occurs
|
|
5403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5666
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetAuditPolicy.ts.html |here} to see how to use GetAuditPolicy API.
|
|
5404
5667
|
*/
|
|
5405
5668
|
getAuditPolicy(getAuditPolicyRequest) {
|
|
5406
5669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5463,7 +5726,7 @@ class DataSafeClient {
|
|
|
5463
5726
|
* @param GetAuditProfileRequest
|
|
5464
5727
|
* @return GetAuditProfileResponse
|
|
5465
5728
|
* @throws OciError when an error occurs
|
|
5466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5729
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetAuditProfile.ts.html |here} to see how to use GetAuditProfile API.
|
|
5467
5730
|
*/
|
|
5468
5731
|
getAuditProfile(getAuditProfileRequest) {
|
|
5469
5732
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5526,7 +5789,7 @@ class DataSafeClient {
|
|
|
5526
5789
|
* @param GetAuditTrailRequest
|
|
5527
5790
|
* @return GetAuditTrailResponse
|
|
5528
5791
|
* @throws OciError when an error occurs
|
|
5529
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetAuditTrail.ts.html |here} to see how to use GetAuditTrail API.
|
|
5530
5793
|
*/
|
|
5531
5794
|
getAuditTrail(getAuditTrailRequest) {
|
|
5532
5795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5596,7 +5859,7 @@ class DataSafeClient {
|
|
|
5596
5859
|
* @param GetCompatibleFormatsForDataTypesRequest
|
|
5597
5860
|
* @return GetCompatibleFormatsForDataTypesResponse
|
|
5598
5861
|
* @throws OciError when an error occurs
|
|
5599
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5862
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetCompatibleFormatsForDataTypes.ts.html |here} to see how to use GetCompatibleFormatsForDataTypes API.
|
|
5600
5863
|
*/
|
|
5601
5864
|
getCompatibleFormatsForDataTypes(getCompatibleFormatsForDataTypesRequest) {
|
|
5602
5865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5669,7 +5932,7 @@ class DataSafeClient {
|
|
|
5669
5932
|
* @param GetCompatibleFormatsForSensitiveTypesRequest
|
|
5670
5933
|
* @return GetCompatibleFormatsForSensitiveTypesResponse
|
|
5671
5934
|
* @throws OciError when an error occurs
|
|
5672
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetCompatibleFormatsForSensitiveTypes.ts.html |here} to see how to use GetCompatibleFormatsForSensitiveTypes API.
|
|
5673
5936
|
*/
|
|
5674
5937
|
getCompatibleFormatsForSensitiveTypes(getCompatibleFormatsForSensitiveTypesRequest) {
|
|
5675
5938
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5741,7 +6004,7 @@ class DataSafeClient {
|
|
|
5741
6004
|
* @param GetDataSafeConfigurationRequest
|
|
5742
6005
|
* @return GetDataSafeConfigurationResponse
|
|
5743
6006
|
* @throws OciError when an error occurs
|
|
5744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6007
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetDataSafeConfiguration.ts.html |here} to see how to use GetDataSafeConfiguration API.
|
|
5745
6008
|
*/
|
|
5746
6009
|
getDataSafeConfiguration(getDataSafeConfigurationRequest) {
|
|
5747
6010
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5804,7 +6067,7 @@ class DataSafeClient {
|
|
|
5804
6067
|
* @param GetDataSafePrivateEndpointRequest
|
|
5805
6068
|
* @return GetDataSafePrivateEndpointResponse
|
|
5806
6069
|
* @throws OciError when an error occurs
|
|
5807
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6070
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetDataSafePrivateEndpoint.ts.html |here} to see how to use GetDataSafePrivateEndpoint API.
|
|
5808
6071
|
*/
|
|
5809
6072
|
getDataSafePrivateEndpoint(getDataSafePrivateEndpointRequest) {
|
|
5810
6073
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5861,13 +6124,77 @@ class DataSafeClient {
|
|
|
5861
6124
|
}
|
|
5862
6125
|
});
|
|
5863
6126
|
}
|
|
6127
|
+
/**
|
|
6128
|
+
* Gets the details of the specified SDM Masking policy difference column.
|
|
6129
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6130
|
+
* @param GetDifferenceColumnRequest
|
|
6131
|
+
* @return GetDifferenceColumnResponse
|
|
6132
|
+
* @throws OciError when an error occurs
|
|
6133
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetDifferenceColumn.ts.html |here} to see how to use GetDifferenceColumn API.
|
|
6134
|
+
*/
|
|
6135
|
+
getDifferenceColumn(getDifferenceColumnRequest) {
|
|
6136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6137
|
+
if (this.logger)
|
|
6138
|
+
this.logger.debug("Calling operation DataSafeClient#getDifferenceColumn.");
|
|
6139
|
+
const operationName = "getDifferenceColumn";
|
|
6140
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/DifferenceColumn/GetDifferenceColumn";
|
|
6141
|
+
const pathParams = {
|
|
6142
|
+
"{sdmMaskingPolicyDifferenceId}": getDifferenceColumnRequest.sdmMaskingPolicyDifferenceId,
|
|
6143
|
+
"{differenceColumnKey}": getDifferenceColumnRequest.differenceColumnKey
|
|
6144
|
+
};
|
|
6145
|
+
const queryParams = {};
|
|
6146
|
+
let headerParams = {
|
|
6147
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6148
|
+
"opc-request-id": getDifferenceColumnRequest.opcRequestId
|
|
6149
|
+
};
|
|
6150
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6151
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDifferenceColumnRequest.retryConfiguration, specRetryConfiguration);
|
|
6152
|
+
if (this.logger)
|
|
6153
|
+
retrier.logger = this.logger;
|
|
6154
|
+
const request = yield oci_common_2.composeRequest({
|
|
6155
|
+
baseEndpoint: this._endpoint,
|
|
6156
|
+
defaultHeaders: this._defaultHeaders,
|
|
6157
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/differenceColumns/{differenceColumnKey}",
|
|
6158
|
+
method: "GET",
|
|
6159
|
+
pathParams: pathParams,
|
|
6160
|
+
headerParams: headerParams,
|
|
6161
|
+
queryParams: queryParams
|
|
6162
|
+
});
|
|
6163
|
+
try {
|
|
6164
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6165
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6166
|
+
responseObject: {},
|
|
6167
|
+
body: yield response.json(),
|
|
6168
|
+
bodyKey: "differenceColumn",
|
|
6169
|
+
bodyModel: model.DifferenceColumn,
|
|
6170
|
+
type: "model.DifferenceColumn",
|
|
6171
|
+
responseHeaders: [
|
|
6172
|
+
{
|
|
6173
|
+
value: response.headers.get("etag"),
|
|
6174
|
+
key: "etag",
|
|
6175
|
+
dataType: "string"
|
|
6176
|
+
},
|
|
6177
|
+
{
|
|
6178
|
+
value: response.headers.get("opc-request-id"),
|
|
6179
|
+
key: "opcRequestId",
|
|
6180
|
+
dataType: "string"
|
|
6181
|
+
}
|
|
6182
|
+
]
|
|
6183
|
+
});
|
|
6184
|
+
return sdkResponse;
|
|
6185
|
+
}
|
|
6186
|
+
catch (err) {
|
|
6187
|
+
throw err;
|
|
6188
|
+
}
|
|
6189
|
+
});
|
|
6190
|
+
}
|
|
5864
6191
|
/**
|
|
5865
6192
|
* Gets the details of the specified discovery job.
|
|
5866
6193
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5867
6194
|
* @param GetDiscoveryJobRequest
|
|
5868
6195
|
* @return GetDiscoveryJobResponse
|
|
5869
6196
|
* @throws OciError when an error occurs
|
|
5870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6197
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetDiscoveryJob.ts.html |here} to see how to use GetDiscoveryJob API.
|
|
5871
6198
|
*/
|
|
5872
6199
|
getDiscoveryJob(getDiscoveryJobRequest) {
|
|
5873
6200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5930,7 +6257,7 @@ class DataSafeClient {
|
|
|
5930
6257
|
* @param GetDiscoveryJobResultRequest
|
|
5931
6258
|
* @return GetDiscoveryJobResultResponse
|
|
5932
6259
|
* @throws OciError when an error occurs
|
|
5933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6260
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetDiscoveryJobResult.ts.html |here} to see how to use GetDiscoveryJobResult API.
|
|
5934
6261
|
*/
|
|
5935
6262
|
getDiscoveryJobResult(getDiscoveryJobResultRequest) {
|
|
5936
6263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5994,7 +6321,7 @@ class DataSafeClient {
|
|
|
5994
6321
|
* @param GetLibraryMaskingFormatRequest
|
|
5995
6322
|
* @return GetLibraryMaskingFormatResponse
|
|
5996
6323
|
* @throws OciError when an error occurs
|
|
5997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetLibraryMaskingFormat.ts.html |here} to see how to use GetLibraryMaskingFormat API.
|
|
5998
6325
|
*/
|
|
5999
6326
|
getLibraryMaskingFormat(getLibraryMaskingFormatRequest) {
|
|
6000
6327
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6057,7 +6384,7 @@ class DataSafeClient {
|
|
|
6057
6384
|
* @param GetMaskingColumnRequest
|
|
6058
6385
|
* @return GetMaskingColumnResponse
|
|
6059
6386
|
* @throws OciError when an error occurs
|
|
6060
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6387
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetMaskingColumn.ts.html |here} to see how to use GetMaskingColumn API.
|
|
6061
6388
|
*/
|
|
6062
6389
|
getMaskingColumn(getMaskingColumnRequest) {
|
|
6063
6390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6121,7 +6448,7 @@ class DataSafeClient {
|
|
|
6121
6448
|
* @param GetMaskingPolicyRequest
|
|
6122
6449
|
* @return GetMaskingPolicyResponse
|
|
6123
6450
|
* @throws OciError when an error occurs
|
|
6124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6451
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetMaskingPolicy.ts.html |here} to see how to use GetMaskingPolicy API.
|
|
6125
6452
|
*/
|
|
6126
6453
|
getMaskingPolicy(getMaskingPolicyRequest) {
|
|
6127
6454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6184,7 +6511,7 @@ class DataSafeClient {
|
|
|
6184
6511
|
* @param GetMaskingReportRequest
|
|
6185
6512
|
* @return GetMaskingReportResponse
|
|
6186
6513
|
* @throws OciError when an error occurs
|
|
6187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6514
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetMaskingReport.ts.html |here} to see how to use GetMaskingReport API.
|
|
6188
6515
|
*/
|
|
6189
6516
|
getMaskingReport(getMaskingReportRequest) {
|
|
6190
6517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6247,7 +6574,7 @@ class DataSafeClient {
|
|
|
6247
6574
|
* @param GetOnPremConnectorRequest
|
|
6248
6575
|
* @return GetOnPremConnectorResponse
|
|
6249
6576
|
* @throws OciError when an error occurs
|
|
6250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6577
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetOnPremConnector.ts.html |here} to see how to use GetOnPremConnector API.
|
|
6251
6578
|
*/
|
|
6252
6579
|
getOnPremConnector(getOnPremConnectorRequest) {
|
|
6253
6580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6305,14 +6632,87 @@ class DataSafeClient {
|
|
|
6305
6632
|
});
|
|
6306
6633
|
}
|
|
6307
6634
|
/**
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6635
|
+
* Lists the details of given profile available on the target.
|
|
6636
|
+
* <p>
|
|
6637
|
+
The GetProfile operation returns only the profiles in the specified 'userAssessmentId'.
|
|
6638
|
+
* This does not include any subcompartments of the current compartment.
|
|
6639
|
+
*
|
|
6640
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6641
|
+
* @param GetProfileRequest
|
|
6642
|
+
* @return GetProfileResponse
|
|
6643
|
+
* @throws OciError when an error occurs
|
|
6644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetProfile.ts.html |here} to see how to use GetProfile API.
|
|
6645
|
+
*/
|
|
6646
|
+
getProfile(getProfileRequest) {
|
|
6647
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6648
|
+
if (this.logger)
|
|
6649
|
+
this.logger.debug("Calling operation DataSafeClient#getProfile.");
|
|
6650
|
+
const operationName = "getProfile";
|
|
6651
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/UserAssessment/GetProfile";
|
|
6652
|
+
const pathParams = {
|
|
6653
|
+
"{userAssessmentId}": getProfileRequest.userAssessmentId,
|
|
6654
|
+
"{profileName}": getProfileRequest.profileName
|
|
6655
|
+
};
|
|
6656
|
+
const queryParams = {};
|
|
6657
|
+
let headerParams = {
|
|
6658
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6659
|
+
"opc-request-id": getProfileRequest.opcRequestId
|
|
6660
|
+
};
|
|
6661
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6662
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProfileRequest.retryConfiguration, specRetryConfiguration);
|
|
6663
|
+
if (this.logger)
|
|
6664
|
+
retrier.logger = this.logger;
|
|
6665
|
+
const request = yield oci_common_2.composeRequest({
|
|
6666
|
+
baseEndpoint: this._endpoint,
|
|
6667
|
+
defaultHeaders: this._defaultHeaders,
|
|
6668
|
+
path: "/userAssessments/{userAssessmentId}/profiles/{profileName}",
|
|
6669
|
+
method: "GET",
|
|
6670
|
+
pathParams: pathParams,
|
|
6671
|
+
headerParams: headerParams,
|
|
6672
|
+
queryParams: queryParams
|
|
6673
|
+
});
|
|
6674
|
+
try {
|
|
6675
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6676
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6677
|
+
responseObject: {},
|
|
6678
|
+
body: yield response.json(),
|
|
6679
|
+
bodyKey: "items",
|
|
6680
|
+
bodyModel: model.Profile,
|
|
6681
|
+
type: "Array<model.Profile>",
|
|
6682
|
+
responseHeaders: [
|
|
6683
|
+
{
|
|
6684
|
+
value: response.headers.get("opc-request-id"),
|
|
6685
|
+
key: "opcRequestId",
|
|
6686
|
+
dataType: "string"
|
|
6687
|
+
},
|
|
6688
|
+
{
|
|
6689
|
+
value: response.headers.get("opc-next-page"),
|
|
6690
|
+
key: "opcNextPage",
|
|
6691
|
+
dataType: "string"
|
|
6692
|
+
},
|
|
6693
|
+
{
|
|
6694
|
+
value: response.headers.get("opc-prev-page"),
|
|
6695
|
+
key: "opcPrevPage",
|
|
6696
|
+
dataType: "string"
|
|
6697
|
+
}
|
|
6698
|
+
]
|
|
6699
|
+
});
|
|
6700
|
+
return sdkResponse;
|
|
6701
|
+
}
|
|
6702
|
+
catch (err) {
|
|
6703
|
+
throw err;
|
|
6704
|
+
}
|
|
6705
|
+
});
|
|
6706
|
+
}
|
|
6707
|
+
/**
|
|
6708
|
+
* Gets a report by identifier
|
|
6709
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6710
|
+
* @param GetReportRequest
|
|
6711
|
+
* @return GetReportResponse
|
|
6712
|
+
* @throws OciError when an error occurs
|
|
6713
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetReport.ts.html |here} to see how to use GetReport API.
|
|
6714
|
+
*/
|
|
6715
|
+
getReport(getReportRequest) {
|
|
6316
6716
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6317
6717
|
if (this.logger)
|
|
6318
6718
|
this.logger.debug("Calling operation DataSafeClient#getReport.");
|
|
@@ -6373,7 +6773,7 @@ class DataSafeClient {
|
|
|
6373
6773
|
* @param GetReportContentRequest
|
|
6374
6774
|
* @return GetReportContentResponse
|
|
6375
6775
|
* @throws OciError when an error occurs
|
|
6376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetReportContent.ts.html |here} to see how to use GetReportContent API.
|
|
6377
6777
|
*/
|
|
6378
6778
|
getReportContent(getReportContentRequest) {
|
|
6379
6779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6445,7 +6845,7 @@ class DataSafeClient {
|
|
|
6445
6845
|
* @param GetReportDefinitionRequest
|
|
6446
6846
|
* @return GetReportDefinitionResponse
|
|
6447
6847
|
* @throws OciError when an error occurs
|
|
6448
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6848
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetReportDefinition.ts.html |here} to see how to use GetReportDefinition API.
|
|
6449
6849
|
*/
|
|
6450
6850
|
getReportDefinition(getReportDefinitionRequest) {
|
|
6451
6851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6502,13 +6902,76 @@ class DataSafeClient {
|
|
|
6502
6902
|
}
|
|
6503
6903
|
});
|
|
6504
6904
|
}
|
|
6905
|
+
/**
|
|
6906
|
+
* Gets the details of the specified SDM Masking policy difference.
|
|
6907
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6908
|
+
* @param GetSdmMaskingPolicyDifferenceRequest
|
|
6909
|
+
* @return GetSdmMaskingPolicyDifferenceResponse
|
|
6910
|
+
* @throws OciError when an error occurs
|
|
6911
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetSdmMaskingPolicyDifference.ts.html |here} to see how to use GetSdmMaskingPolicyDifference API.
|
|
6912
|
+
*/
|
|
6913
|
+
getSdmMaskingPolicyDifference(getSdmMaskingPolicyDifferenceRequest) {
|
|
6914
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6915
|
+
if (this.logger)
|
|
6916
|
+
this.logger.debug("Calling operation DataSafeClient#getSdmMaskingPolicyDifference.");
|
|
6917
|
+
const operationName = "getSdmMaskingPolicyDifference";
|
|
6918
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/GetSdmMaskingPolicyDifference";
|
|
6919
|
+
const pathParams = {
|
|
6920
|
+
"{sdmMaskingPolicyDifferenceId}": getSdmMaskingPolicyDifferenceRequest.sdmMaskingPolicyDifferenceId
|
|
6921
|
+
};
|
|
6922
|
+
const queryParams = {};
|
|
6923
|
+
let headerParams = {
|
|
6924
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6925
|
+
"opc-request-id": getSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
6926
|
+
};
|
|
6927
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6928
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
6929
|
+
if (this.logger)
|
|
6930
|
+
retrier.logger = this.logger;
|
|
6931
|
+
const request = yield oci_common_2.composeRequest({
|
|
6932
|
+
baseEndpoint: this._endpoint,
|
|
6933
|
+
defaultHeaders: this._defaultHeaders,
|
|
6934
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}",
|
|
6935
|
+
method: "GET",
|
|
6936
|
+
pathParams: pathParams,
|
|
6937
|
+
headerParams: headerParams,
|
|
6938
|
+
queryParams: queryParams
|
|
6939
|
+
});
|
|
6940
|
+
try {
|
|
6941
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6942
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6943
|
+
responseObject: {},
|
|
6944
|
+
body: yield response.json(),
|
|
6945
|
+
bodyKey: "sdmMaskingPolicyDifference",
|
|
6946
|
+
bodyModel: model.SdmMaskingPolicyDifference,
|
|
6947
|
+
type: "model.SdmMaskingPolicyDifference",
|
|
6948
|
+
responseHeaders: [
|
|
6949
|
+
{
|
|
6950
|
+
value: response.headers.get("etag"),
|
|
6951
|
+
key: "etag",
|
|
6952
|
+
dataType: "string"
|
|
6953
|
+
},
|
|
6954
|
+
{
|
|
6955
|
+
value: response.headers.get("opc-request-id"),
|
|
6956
|
+
key: "opcRequestId",
|
|
6957
|
+
dataType: "string"
|
|
6958
|
+
}
|
|
6959
|
+
]
|
|
6960
|
+
});
|
|
6961
|
+
return sdkResponse;
|
|
6962
|
+
}
|
|
6963
|
+
catch (err) {
|
|
6964
|
+
throw err;
|
|
6965
|
+
}
|
|
6966
|
+
});
|
|
6967
|
+
}
|
|
6505
6968
|
/**
|
|
6506
6969
|
* Gets the details of the specified security assessment.
|
|
6507
6970
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6508
6971
|
* @param GetSecurityAssessmentRequest
|
|
6509
6972
|
* @return GetSecurityAssessmentResponse
|
|
6510
6973
|
* @throws OciError when an error occurs
|
|
6511
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6974
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetSecurityAssessment.ts.html |here} to see how to use GetSecurityAssessment API.
|
|
6512
6975
|
*/
|
|
6513
6976
|
getSecurityAssessment(getSecurityAssessmentRequest) {
|
|
6514
6977
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6571,7 +7034,7 @@ class DataSafeClient {
|
|
|
6571
7034
|
* @param GetSecurityAssessmentComparisonRequest
|
|
6572
7035
|
* @return GetSecurityAssessmentComparisonResponse
|
|
6573
7036
|
* @throws OciError when an error occurs
|
|
6574
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetSecurityAssessmentComparison.ts.html |here} to see how to use GetSecurityAssessmentComparison API.
|
|
6575
7038
|
*/
|
|
6576
7039
|
getSecurityAssessmentComparison(getSecurityAssessmentComparisonRequest) {
|
|
6577
7040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6635,7 +7098,7 @@ class DataSafeClient {
|
|
|
6635
7098
|
* @param GetSensitiveColumnRequest
|
|
6636
7099
|
* @return GetSensitiveColumnResponse
|
|
6637
7100
|
* @throws OciError when an error occurs
|
|
6638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7101
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetSensitiveColumn.ts.html |here} to see how to use GetSensitiveColumn API.
|
|
6639
7102
|
*/
|
|
6640
7103
|
getSensitiveColumn(getSensitiveColumnRequest) {
|
|
6641
7104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6699,7 +7162,7 @@ class DataSafeClient {
|
|
|
6699
7162
|
* @param GetSensitiveDataModelRequest
|
|
6700
7163
|
* @return GetSensitiveDataModelResponse
|
|
6701
7164
|
* @throws OciError when an error occurs
|
|
6702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7165
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetSensitiveDataModel.ts.html |here} to see how to use GetSensitiveDataModel API.
|
|
6703
7166
|
*/
|
|
6704
7167
|
getSensitiveDataModel(getSensitiveDataModelRequest) {
|
|
6705
7168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6762,7 +7225,7 @@ class DataSafeClient {
|
|
|
6762
7225
|
* @param GetSensitiveTypeRequest
|
|
6763
7226
|
* @return GetSensitiveTypeResponse
|
|
6764
7227
|
* @throws OciError when an error occurs
|
|
6765
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7228
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetSensitiveType.ts.html |here} to see how to use GetSensitiveType API.
|
|
6766
7229
|
*/
|
|
6767
7230
|
getSensitiveType(getSensitiveTypeRequest) {
|
|
6768
7231
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6825,7 +7288,7 @@ class DataSafeClient {
|
|
|
6825
7288
|
* @param GetTargetAlertPolicyAssociationRequest
|
|
6826
7289
|
* @return GetTargetAlertPolicyAssociationResponse
|
|
6827
7290
|
* @throws OciError when an error occurs
|
|
6828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7291
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetTargetAlertPolicyAssociation.ts.html |here} to see how to use GetTargetAlertPolicyAssociation API.
|
|
6829
7292
|
*/
|
|
6830
7293
|
getTargetAlertPolicyAssociation(getTargetAlertPolicyAssociationRequest) {
|
|
6831
7294
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6889,7 +7352,7 @@ class DataSafeClient {
|
|
|
6889
7352
|
* @param GetTargetDatabaseRequest
|
|
6890
7353
|
* @return GetTargetDatabaseResponse
|
|
6891
7354
|
* @throws OciError when an error occurs
|
|
6892
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7355
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetTargetDatabase.ts.html |here} to see how to use GetTargetDatabase API.
|
|
6893
7356
|
*/
|
|
6894
7357
|
getTargetDatabase(getTargetDatabaseRequest) {
|
|
6895
7358
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6952,7 +7415,7 @@ class DataSafeClient {
|
|
|
6952
7415
|
* @param GetUserAssessmentRequest
|
|
6953
7416
|
* @return GetUserAssessmentResponse
|
|
6954
7417
|
* @throws OciError when an error occurs
|
|
6955
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetUserAssessment.ts.html |here} to see how to use GetUserAssessment API.
|
|
6956
7419
|
*/
|
|
6957
7420
|
getUserAssessment(getUserAssessmentRequest) {
|
|
6958
7421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7015,7 +7478,7 @@ class DataSafeClient {
|
|
|
7015
7478
|
* @param GetUserAssessmentComparisonRequest
|
|
7016
7479
|
* @return GetUserAssessmentComparisonResponse
|
|
7017
7480
|
* @throws OciError when an error occurs
|
|
7018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7481
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetUserAssessmentComparison.ts.html |here} to see how to use GetUserAssessmentComparison API.
|
|
7019
7482
|
*/
|
|
7020
7483
|
getUserAssessmentComparison(getUserAssessmentComparisonRequest) {
|
|
7021
7484
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7074,7 +7537,7 @@ class DataSafeClient {
|
|
|
7074
7537
|
* @param GetWorkRequestRequest
|
|
7075
7538
|
* @return GetWorkRequestResponse
|
|
7076
7539
|
* @throws OciError when an error occurs
|
|
7077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7540
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
7078
7541
|
*/
|
|
7079
7542
|
getWorkRequest(getWorkRequestRequest) {
|
|
7080
7543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7137,13 +7600,13 @@ class DataSafeClient {
|
|
|
7137
7600
|
});
|
|
7138
7601
|
}
|
|
7139
7602
|
/**
|
|
7140
|
-
* Returns aggregation details of alerts.
|
|
7603
|
+
* Returns the aggregation details of the alerts.
|
|
7141
7604
|
*
|
|
7142
7605
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
7143
7606
|
* @param ListAlertAnalyticsRequest
|
|
7144
7607
|
* @return ListAlertAnalyticsResponse
|
|
7145
7608
|
* @throws OciError when an error occurs
|
|
7146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7609
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAlertAnalytics.ts.html |here} to see how to use ListAlertAnalytics API.
|
|
7147
7610
|
*/
|
|
7148
7611
|
listAlertAnalytics(listAlertAnalyticsRequest) {
|
|
7149
7612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7221,7 +7684,7 @@ class DataSafeClient {
|
|
|
7221
7684
|
* @param ListAlertPoliciesRequest
|
|
7222
7685
|
* @return ListAlertPoliciesResponse
|
|
7223
7686
|
* @throws OciError when an error occurs
|
|
7224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7687
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAlertPolicies.ts.html |here} to see how to use ListAlertPolicies API.
|
|
7225
7688
|
*/
|
|
7226
7689
|
listAlertPolicies(listAlertPoliciesRequest) {
|
|
7227
7690
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7309,7 +7772,7 @@ class DataSafeClient {
|
|
|
7309
7772
|
* @param ListAlertPolicyRulesRequest
|
|
7310
7773
|
* @return ListAlertPolicyRulesResponse
|
|
7311
7774
|
* @throws OciError when an error occurs
|
|
7312
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7775
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAlertPolicyRules.ts.html |here} to see how to use ListAlertPolicyRules API.
|
|
7313
7776
|
*/
|
|
7314
7777
|
listAlertPolicyRules(listAlertPolicyRulesRequest) {
|
|
7315
7778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7386,7 +7849,7 @@ class DataSafeClient {
|
|
|
7386
7849
|
* @param ListAlertsRequest
|
|
7387
7850
|
* @return ListAlertsResponse
|
|
7388
7851
|
* @throws OciError when an error occurs
|
|
7389
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7852
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAlerts.ts.html |here} to see how to use ListAlerts API.
|
|
7390
7853
|
*/
|
|
7391
7854
|
listAlerts(listAlertsRequest) {
|
|
7392
7855
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7464,7 +7927,7 @@ class DataSafeClient {
|
|
|
7464
7927
|
* @param ListAuditArchiveRetrievalsRequest
|
|
7465
7928
|
* @return ListAuditArchiveRetrievalsResponse
|
|
7466
7929
|
* @throws OciError when an error occurs
|
|
7467
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7930
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditArchiveRetrievals.ts.html |here} to see how to use ListAuditArchiveRetrievals API.
|
|
7468
7931
|
*/
|
|
7469
7932
|
listAuditArchiveRetrievals(listAuditArchiveRetrievalsRequest) {
|
|
7470
7933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7538,19 +8001,26 @@ class DataSafeClient {
|
|
|
7538
8001
|
});
|
|
7539
8002
|
}
|
|
7540
8003
|
/**
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
8004
|
+
* By default the ListAuditEventAnalytics operation will return all of the summary columns. To filter for a specific summary column, specify
|
|
8005
|
+
* it in the `summaryField` query parameter.
|
|
8006
|
+
* <p>
|
|
8007
|
+
**Example:**
|
|
8008
|
+
* /ListAuditEventAnalytics?summaryField=targetName&summaryField=userName&summaryField=clientHostname
|
|
8009
|
+
* &summaryField=dmls&summaryField=privilegeChanges&summaryField=ddls&summaryField=loginFailure&summaryField=loginSuccess
|
|
8010
|
+
* &summaryField=allRecord&q=(auditEventTime ge \"2021-06-13T23:49:14\")
|
|
8011
|
+
* <p>
|
|
8012
|
+
/ListAuditEventAnalytics?timeStarted=2022-08-18T11:02:26.000Z&timeEnded=2022-08-24T11:02:26.000Z
|
|
8013
|
+
* This will give number of events grouped by periods. Period can be 1 day, 1 week, etc.
|
|
8014
|
+
* <p>
|
|
8015
|
+
/ListAuditEventAnalytics?summaryField=targetName&groupBy=targetName
|
|
8016
|
+
* This will give the number of events group by targetName. Only targetName summary column would be returned.
|
|
8017
|
+
*
|
|
8018
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8019
|
+
* @param ListAuditEventAnalyticsRequest
|
|
8020
|
+
* @return ListAuditEventAnalyticsResponse
|
|
8021
|
+
* @throws OciError when an error occurs
|
|
8022
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditEventAnalytics.ts.html |here} to see how to use ListAuditEventAnalytics API.
|
|
8023
|
+
*/
|
|
7554
8024
|
listAuditEventAnalytics(listAuditEventAnalyticsRequest) {
|
|
7555
8025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7556
8026
|
if (this.logger)
|
|
@@ -7644,7 +8114,7 @@ class DataSafeClient {
|
|
|
7644
8114
|
* @param ListAuditEventsRequest
|
|
7645
8115
|
* @return ListAuditEventsResponse
|
|
7646
8116
|
* @throws OciError when an error occurs
|
|
7647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditEvents.ts.html |here} to see how to use ListAuditEvents API.
|
|
7648
8118
|
*/
|
|
7649
8119
|
listAuditEvents(listAuditEventsRequest) {
|
|
7650
8120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7734,7 +8204,7 @@ class DataSafeClient {
|
|
|
7734
8204
|
* @param ListAuditPoliciesRequest
|
|
7735
8205
|
* @return ListAuditPoliciesResponse
|
|
7736
8206
|
* @throws OciError when an error occurs
|
|
7737
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8207
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditPolicies.ts.html |here} to see how to use ListAuditPolicies API.
|
|
7738
8208
|
*/
|
|
7739
8209
|
listAuditPolicies(listAuditPoliciesRequest) {
|
|
7740
8210
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7806,6 +8276,99 @@ class DataSafeClient {
|
|
|
7806
8276
|
}
|
|
7807
8277
|
});
|
|
7808
8278
|
}
|
|
8279
|
+
/**
|
|
8280
|
+
* Gets a list of aggregated audit policy details on the target databases. A audit policy aggregation
|
|
8281
|
+
* helps understand the overall state of policies provisioned on targets.
|
|
8282
|
+
* It is especially useful to create dashboards or to support analytics.
|
|
8283
|
+
* <p>
|
|
8284
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
8285
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
8286
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
8287
|
+
* principal doesn't have access to even one of the child compartments. This is valid only when
|
|
8288
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
8289
|
+
* <p>
|
|
8290
|
+
The parameter `compartmentIdInSubtree` applies when you perform SummarizedAuditPolicyInfo on the specified
|
|
8291
|
+
* `compartmentId` and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
8292
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
8293
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
8294
|
+
* <p>
|
|
8295
|
+
**Example:** ListAuditPolicyAnalytics?groupBy=auditPolicyCategory
|
|
8296
|
+
*
|
|
8297
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8298
|
+
* @param ListAuditPolicyAnalyticsRequest
|
|
8299
|
+
* @return ListAuditPolicyAnalyticsResponse
|
|
8300
|
+
* @throws OciError when an error occurs
|
|
8301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditPolicyAnalytics.ts.html |here} to see how to use ListAuditPolicyAnalytics API.
|
|
8302
|
+
*/
|
|
8303
|
+
listAuditPolicyAnalytics(listAuditPolicyAnalyticsRequest) {
|
|
8304
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8305
|
+
if (this.logger)
|
|
8306
|
+
this.logger.debug("Calling operation DataSafeClient#listAuditPolicyAnalytics.");
|
|
8307
|
+
const operationName = "listAuditPolicyAnalytics";
|
|
8308
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/AuditPolicyAnalyticCollection/ListAuditPolicyAnalytics";
|
|
8309
|
+
const pathParams = {};
|
|
8310
|
+
const queryParams = {
|
|
8311
|
+
"compartmentId": listAuditPolicyAnalyticsRequest.compartmentId,
|
|
8312
|
+
"compartmentIdInSubtree": listAuditPolicyAnalyticsRequest.compartmentIdInSubtree,
|
|
8313
|
+
"accessLevel": listAuditPolicyAnalyticsRequest.accessLevel,
|
|
8314
|
+
"limit": listAuditPolicyAnalyticsRequest.limit,
|
|
8315
|
+
"page": listAuditPolicyAnalyticsRequest.page,
|
|
8316
|
+
"groupBy": listAuditPolicyAnalyticsRequest.groupBy,
|
|
8317
|
+
"auditPolicyCategory": listAuditPolicyAnalyticsRequest.auditPolicyCategory,
|
|
8318
|
+
"auditPolicyName": listAuditPolicyAnalyticsRequest.auditPolicyName,
|
|
8319
|
+
"targetId": listAuditPolicyAnalyticsRequest.targetId,
|
|
8320
|
+
"lifecycleState": listAuditPolicyAnalyticsRequest.lifecycleState
|
|
8321
|
+
};
|
|
8322
|
+
let headerParams = {
|
|
8323
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8324
|
+
"opc-request-id": listAuditPolicyAnalyticsRequest.opcRequestId
|
|
8325
|
+
};
|
|
8326
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8327
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAuditPolicyAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
8328
|
+
if (this.logger)
|
|
8329
|
+
retrier.logger = this.logger;
|
|
8330
|
+
const request = yield oci_common_2.composeRequest({
|
|
8331
|
+
baseEndpoint: this._endpoint,
|
|
8332
|
+
defaultHeaders: this._defaultHeaders,
|
|
8333
|
+
path: "/auditPolicyAnalytics",
|
|
8334
|
+
method: "GET",
|
|
8335
|
+
pathParams: pathParams,
|
|
8336
|
+
headerParams: headerParams,
|
|
8337
|
+
queryParams: queryParams
|
|
8338
|
+
});
|
|
8339
|
+
try {
|
|
8340
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8341
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
8342
|
+
responseObject: {},
|
|
8343
|
+
body: yield response.json(),
|
|
8344
|
+
bodyKey: "auditPolicyAnalyticCollection",
|
|
8345
|
+
bodyModel: model.AuditPolicyAnalyticCollection,
|
|
8346
|
+
type: "model.AuditPolicyAnalyticCollection",
|
|
8347
|
+
responseHeaders: [
|
|
8348
|
+
{
|
|
8349
|
+
value: response.headers.get("opc-request-id"),
|
|
8350
|
+
key: "opcRequestId",
|
|
8351
|
+
dataType: "string"
|
|
8352
|
+
},
|
|
8353
|
+
{
|
|
8354
|
+
value: response.headers.get("opc-next-page"),
|
|
8355
|
+
key: "opcNextPage",
|
|
8356
|
+
dataType: "string"
|
|
8357
|
+
},
|
|
8358
|
+
{
|
|
8359
|
+
value: response.headers.get("opc-prev-page"),
|
|
8360
|
+
key: "opcPrevPage",
|
|
8361
|
+
dataType: "string"
|
|
8362
|
+
}
|
|
8363
|
+
]
|
|
8364
|
+
});
|
|
8365
|
+
return sdkResponse;
|
|
8366
|
+
}
|
|
8367
|
+
catch (err) {
|
|
8368
|
+
throw err;
|
|
8369
|
+
}
|
|
8370
|
+
});
|
|
8371
|
+
}
|
|
7809
8372
|
/**
|
|
7810
8373
|
* Gets a list of audit profile aggregated details . A audit profile aggregation helps understand the overall state of audit profile profiles.
|
|
7811
8374
|
* As an example, it helps understand how many audit profiles have paid usage. It is especially useful to create dashboards or to support analytics.
|
|
@@ -7825,7 +8388,7 @@ class DataSafeClient {
|
|
|
7825
8388
|
* @param ListAuditProfileAnalyticsRequest
|
|
7826
8389
|
* @return ListAuditProfileAnalyticsResponse
|
|
7827
8390
|
* @throws OciError when an error occurs
|
|
7828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8391
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditProfileAnalytics.ts.html |here} to see how to use ListAuditProfileAnalytics API.
|
|
7829
8392
|
*/
|
|
7830
8393
|
listAuditProfileAnalytics(listAuditProfileAnalyticsRequest) {
|
|
7831
8394
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7913,7 +8476,7 @@ class DataSafeClient {
|
|
|
7913
8476
|
* @param ListAuditProfilesRequest
|
|
7914
8477
|
* @return ListAuditProfilesResponse
|
|
7915
8478
|
* @throws OciError when an error occurs
|
|
7916
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditProfiles.ts.html |here} to see how to use ListAuditProfiles API.
|
|
7917
8480
|
*/
|
|
7918
8481
|
listAuditProfiles(listAuditProfilesRequest) {
|
|
7919
8482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8007,7 +8570,7 @@ class DataSafeClient {
|
|
|
8007
8570
|
* @param ListAuditTrailAnalyticsRequest
|
|
8008
8571
|
* @return ListAuditTrailAnalyticsResponse
|
|
8009
8572
|
* @throws OciError when an error occurs
|
|
8010
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8573
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditTrailAnalytics.ts.html |here} to see how to use ListAuditTrailAnalytics API.
|
|
8011
8574
|
*/
|
|
8012
8575
|
listAuditTrailAnalytics(listAuditTrailAnalyticsRequest) {
|
|
8013
8576
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8095,7 +8658,7 @@ class DataSafeClient {
|
|
|
8095
8658
|
* @param ListAuditTrailsRequest
|
|
8096
8659
|
* @return ListAuditTrailsResponse
|
|
8097
8660
|
* @throws OciError when an error occurs
|
|
8098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8661
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAuditTrails.ts.html |here} to see how to use ListAuditTrails API.
|
|
8099
8662
|
*/
|
|
8100
8663
|
listAuditTrails(listAuditTrailsRequest) {
|
|
8101
8664
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8174,7 +8737,7 @@ class DataSafeClient {
|
|
|
8174
8737
|
* @param ListAvailableAuditVolumesRequest
|
|
8175
8738
|
* @return ListAvailableAuditVolumesResponse
|
|
8176
8739
|
* @throws OciError when an error occurs
|
|
8177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8740
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListAvailableAuditVolumes.ts.html |here} to see how to use ListAvailableAuditVolumes API.
|
|
8178
8741
|
*/
|
|
8179
8742
|
listAvailableAuditVolumes(listAvailableAuditVolumesRequest) {
|
|
8180
8743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8251,7 +8814,7 @@ class DataSafeClient {
|
|
|
8251
8814
|
* @param ListCollectedAuditVolumesRequest
|
|
8252
8815
|
* @return ListCollectedAuditVolumesResponse
|
|
8253
8816
|
* @throws OciError when an error occurs
|
|
8254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8817
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListCollectedAuditVolumes.ts.html |here} to see how to use ListCollectedAuditVolumes API.
|
|
8255
8818
|
*/
|
|
8256
8819
|
listCollectedAuditVolumes(listCollectedAuditVolumesRequest) {
|
|
8257
8820
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8328,7 +8891,7 @@ class DataSafeClient {
|
|
|
8328
8891
|
* @param ListColumnsRequest
|
|
8329
8892
|
* @return ListColumnsResponse
|
|
8330
8893
|
* @throws OciError when an error occurs
|
|
8331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8894
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListColumns.ts.html |here} to see how to use ListColumns API.
|
|
8332
8895
|
*/
|
|
8333
8896
|
listColumns(listColumnsRequest) {
|
|
8334
8897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8449,7 +9012,7 @@ class DataSafeClient {
|
|
|
8449
9012
|
* @param ListDataSafePrivateEndpointsRequest
|
|
8450
9013
|
* @return ListDataSafePrivateEndpointsResponse
|
|
8451
9014
|
* @throws OciError when an error occurs
|
|
8452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9015
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListDataSafePrivateEndpoints.ts.html |here} to see how to use ListDataSafePrivateEndpoints API.
|
|
8453
9016
|
*/
|
|
8454
9017
|
listDataSafePrivateEndpoints(listDataSafePrivateEndpointsRequest) {
|
|
8455
9018
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8555,6 +9118,85 @@ class DataSafeClient {
|
|
|
8555
9118
|
listDataSafePrivateEndpointsResponseIterator(request) {
|
|
8556
9119
|
return oci_common_1.paginateResponses(request, req => this.listDataSafePrivateEndpoints(req));
|
|
8557
9120
|
}
|
|
9121
|
+
/**
|
|
9122
|
+
* Gets a list of columns of a SDM masking policy difference resource based on the specified query parameters.
|
|
9123
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
9124
|
+
* @param ListDifferenceColumnsRequest
|
|
9125
|
+
* @return ListDifferenceColumnsResponse
|
|
9126
|
+
* @throws OciError when an error occurs
|
|
9127
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListDifferenceColumns.ts.html |here} to see how to use ListDifferenceColumns API.
|
|
9128
|
+
*/
|
|
9129
|
+
listDifferenceColumns(listDifferenceColumnsRequest) {
|
|
9130
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9131
|
+
if (this.logger)
|
|
9132
|
+
this.logger.debug("Calling operation DataSafeClient#listDifferenceColumns.");
|
|
9133
|
+
const operationName = "listDifferenceColumns";
|
|
9134
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/ListDifferenceColumns";
|
|
9135
|
+
const pathParams = {
|
|
9136
|
+
"{sdmMaskingPolicyDifferenceId}": listDifferenceColumnsRequest.sdmMaskingPolicyDifferenceId
|
|
9137
|
+
};
|
|
9138
|
+
const queryParams = {
|
|
9139
|
+
"differenceType": listDifferenceColumnsRequest.differenceType,
|
|
9140
|
+
"plannedAction": listDifferenceColumnsRequest.plannedAction,
|
|
9141
|
+
"syncStatus": listDifferenceColumnsRequest.syncStatus,
|
|
9142
|
+
"schemaName": listDifferenceColumnsRequest.schemaName,
|
|
9143
|
+
"objectName": listDifferenceColumnsRequest.objectName,
|
|
9144
|
+
"columnName": listDifferenceColumnsRequest.columnName,
|
|
9145
|
+
"sortOrder": listDifferenceColumnsRequest.sortOrder,
|
|
9146
|
+
"sortBy": listDifferenceColumnsRequest.sortBy,
|
|
9147
|
+
"limit": listDifferenceColumnsRequest.limit,
|
|
9148
|
+
"page": listDifferenceColumnsRequest.page
|
|
9149
|
+
};
|
|
9150
|
+
let headerParams = {
|
|
9151
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9152
|
+
"opc-request-id": listDifferenceColumnsRequest.opcRequestId
|
|
9153
|
+
};
|
|
9154
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9155
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDifferenceColumnsRequest.retryConfiguration, specRetryConfiguration);
|
|
9156
|
+
if (this.logger)
|
|
9157
|
+
retrier.logger = this.logger;
|
|
9158
|
+
const request = yield oci_common_2.composeRequest({
|
|
9159
|
+
baseEndpoint: this._endpoint,
|
|
9160
|
+
defaultHeaders: this._defaultHeaders,
|
|
9161
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/differenceColumns",
|
|
9162
|
+
method: "GET",
|
|
9163
|
+
pathParams: pathParams,
|
|
9164
|
+
headerParams: headerParams,
|
|
9165
|
+
queryParams: queryParams
|
|
9166
|
+
});
|
|
9167
|
+
try {
|
|
9168
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9169
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
9170
|
+
responseObject: {},
|
|
9171
|
+
body: yield response.json(),
|
|
9172
|
+
bodyKey: "sdmMaskingPolicyDifferenceColumnCollection",
|
|
9173
|
+
bodyModel: model.SdmMaskingPolicyDifferenceColumnCollection,
|
|
9174
|
+
type: "model.SdmMaskingPolicyDifferenceColumnCollection",
|
|
9175
|
+
responseHeaders: [
|
|
9176
|
+
{
|
|
9177
|
+
value: response.headers.get("opc-request-id"),
|
|
9178
|
+
key: "opcRequestId",
|
|
9179
|
+
dataType: "string"
|
|
9180
|
+
},
|
|
9181
|
+
{
|
|
9182
|
+
value: response.headers.get("opc-next-page"),
|
|
9183
|
+
key: "opcNextPage",
|
|
9184
|
+
dataType: "string"
|
|
9185
|
+
},
|
|
9186
|
+
{
|
|
9187
|
+
value: response.headers.get("opc-prev-page"),
|
|
9188
|
+
key: "opcPrevPage",
|
|
9189
|
+
dataType: "string"
|
|
9190
|
+
}
|
|
9191
|
+
]
|
|
9192
|
+
});
|
|
9193
|
+
return sdkResponse;
|
|
9194
|
+
}
|
|
9195
|
+
catch (err) {
|
|
9196
|
+
throw err;
|
|
9197
|
+
}
|
|
9198
|
+
});
|
|
9199
|
+
}
|
|
8558
9200
|
/**
|
|
8559
9201
|
* Gets consolidated discovery analytics data based on the specified query parameters.
|
|
8560
9202
|
* If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour
|
|
@@ -8564,7 +9206,7 @@ class DataSafeClient {
|
|
|
8564
9206
|
* @param ListDiscoveryAnalyticsRequest
|
|
8565
9207
|
* @return ListDiscoveryAnalyticsResponse
|
|
8566
9208
|
* @throws OciError when an error occurs
|
|
8567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9209
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListDiscoveryAnalytics.ts.html |here} to see how to use ListDiscoveryAnalytics API.
|
|
8568
9210
|
*/
|
|
8569
9211
|
listDiscoveryAnalytics(listDiscoveryAnalyticsRequest) {
|
|
8570
9212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8638,7 +9280,7 @@ class DataSafeClient {
|
|
|
8638
9280
|
* @param ListDiscoveryJobResultsRequest
|
|
8639
9281
|
* @return ListDiscoveryJobResultsResponse
|
|
8640
9282
|
* @throws OciError when an error occurs
|
|
8641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListDiscoveryJobResults.ts.html |here} to see how to use ListDiscoveryJobResults API.
|
|
8642
9284
|
*/
|
|
8643
9285
|
listDiscoveryJobResults(listDiscoveryJobResultsRequest) {
|
|
8644
9286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8717,7 +9359,7 @@ class DataSafeClient {
|
|
|
8717
9359
|
* @param ListDiscoveryJobsRequest
|
|
8718
9360
|
* @return ListDiscoveryJobsResponse
|
|
8719
9361
|
* @throws OciError when an error occurs
|
|
8720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListDiscoveryJobs.ts.html |here} to see how to use ListDiscoveryJobs API.
|
|
8721
9363
|
*/
|
|
8722
9364
|
listDiscoveryJobs(listDiscoveryJobsRequest) {
|
|
8723
9365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8797,7 +9439,7 @@ class DataSafeClient {
|
|
|
8797
9439
|
* @param ListFindingsRequest
|
|
8798
9440
|
* @return ListFindingsResponse
|
|
8799
9441
|
* @throws OciError when an error occurs
|
|
8800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9442
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListFindings.ts.html |here} to see how to use ListFindings API.
|
|
8801
9443
|
*/
|
|
8802
9444
|
listFindings(listFindingsRequest) {
|
|
8803
9445
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8810,6 +9452,7 @@ class DataSafeClient {
|
|
|
8810
9452
|
};
|
|
8811
9453
|
const queryParams = {
|
|
8812
9454
|
"severity": listFindingsRequest.severity,
|
|
9455
|
+
"references": listFindingsRequest.references,
|
|
8813
9456
|
"limit": listFindingsRequest.limit,
|
|
8814
9457
|
"page": listFindingsRequest.page,
|
|
8815
9458
|
"compartmentIdInSubtree": listFindingsRequest.compartmentIdInSubtree,
|
|
@@ -8916,7 +9559,7 @@ class DataSafeClient {
|
|
|
8916
9559
|
* @param ListGrantsRequest
|
|
8917
9560
|
* @return ListGrantsResponse
|
|
8918
9561
|
* @throws OciError when an error occurs
|
|
8919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9562
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListGrants.ts.html |here} to see how to use ListGrants API.
|
|
8920
9563
|
*/
|
|
8921
9564
|
listGrants(listGrantsRequest) {
|
|
8922
9565
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9038,7 +9681,7 @@ class DataSafeClient {
|
|
|
9038
9681
|
* @param ListLibraryMaskingFormatsRequest
|
|
9039
9682
|
* @return ListLibraryMaskingFormatsResponse
|
|
9040
9683
|
* @throws OciError when an error occurs
|
|
9041
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9684
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListLibraryMaskingFormats.ts.html |here} to see how to use ListLibraryMaskingFormats API.
|
|
9042
9685
|
*/
|
|
9043
9686
|
listLibraryMaskingFormats(listLibraryMaskingFormatsRequest) {
|
|
9044
9687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9119,7 +9762,7 @@ class DataSafeClient {
|
|
|
9119
9762
|
* @param ListMaskedColumnsRequest
|
|
9120
9763
|
* @return ListMaskedColumnsResponse
|
|
9121
9764
|
* @throws OciError when an error occurs
|
|
9122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9765
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskedColumns.ts.html |here} to see how to use ListMaskedColumns API.
|
|
9123
9766
|
*/
|
|
9124
9767
|
listMaskedColumns(listMaskedColumnsRequest) {
|
|
9125
9768
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9201,7 +9844,7 @@ class DataSafeClient {
|
|
|
9201
9844
|
* @param ListMaskingAnalyticsRequest
|
|
9202
9845
|
* @return ListMaskingAnalyticsResponse
|
|
9203
9846
|
* @throws OciError when an error occurs
|
|
9204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskingAnalytics.ts.html |here} to see how to use ListMaskingAnalytics API.
|
|
9205
9848
|
*/
|
|
9206
9849
|
listMaskingAnalytics(listMaskingAnalyticsRequest) {
|
|
9207
9850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9276,7 +9919,7 @@ class DataSafeClient {
|
|
|
9276
9919
|
* @param ListMaskingColumnsRequest
|
|
9277
9920
|
* @return ListMaskingColumnsResponse
|
|
9278
9921
|
* @throws OciError when an error occurs
|
|
9279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9922
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskingColumns.ts.html |here} to see how to use ListMaskingColumns API.
|
|
9280
9923
|
*/
|
|
9281
9924
|
listMaskingColumns(listMaskingColumnsRequest) {
|
|
9282
9925
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9358,32 +10001,109 @@ class DataSafeClient {
|
|
|
9358
10001
|
});
|
|
9359
10002
|
}
|
|
9360
10003
|
/**
|
|
9361
|
-
* Gets a list of masking
|
|
10004
|
+
* Gets a list of masking objects present in the specified masking policy and based on the specified query parameters.
|
|
10005
|
+
*
|
|
9362
10006
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
9363
|
-
* @param
|
|
9364
|
-
* @return
|
|
10007
|
+
* @param ListMaskingObjectsRequest
|
|
10008
|
+
* @return ListMaskingObjectsResponse
|
|
9365
10009
|
* @throws OciError when an error occurs
|
|
9366
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10010
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskingObjects.ts.html |here} to see how to use ListMaskingObjects API.
|
|
9367
10011
|
*/
|
|
9368
|
-
|
|
10012
|
+
listMaskingObjects(listMaskingObjectsRequest) {
|
|
9369
10013
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9370
10014
|
if (this.logger)
|
|
9371
|
-
this.logger.debug("Calling operation DataSafeClient#
|
|
9372
|
-
const operationName = "
|
|
9373
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/
|
|
9374
|
-
const pathParams = {
|
|
10015
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingObjects.");
|
|
10016
|
+
const operationName = "listMaskingObjects";
|
|
10017
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingObjectCollection/ListMaskingObjects";
|
|
10018
|
+
const pathParams = {
|
|
10019
|
+
"{maskingPolicyId}": listMaskingObjectsRequest.maskingPolicyId
|
|
10020
|
+
};
|
|
9375
10021
|
const queryParams = {
|
|
9376
|
-
"
|
|
9377
|
-
"
|
|
9378
|
-
"
|
|
9379
|
-
"
|
|
9380
|
-
"
|
|
9381
|
-
"
|
|
9382
|
-
"
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
"
|
|
9386
|
-
"
|
|
10022
|
+
"limit": listMaskingObjectsRequest.limit,
|
|
10023
|
+
"page": listMaskingObjectsRequest.page,
|
|
10024
|
+
"sortOrder": listMaskingObjectsRequest.sortOrder,
|
|
10025
|
+
"sortBy": listMaskingObjectsRequest.sortBy,
|
|
10026
|
+
"schemaName": listMaskingObjectsRequest.schemaName,
|
|
10027
|
+
"objectName": listMaskingObjectsRequest.objectName,
|
|
10028
|
+
"objectType": listMaskingObjectsRequest.objectType
|
|
10029
|
+
};
|
|
10030
|
+
let headerParams = {
|
|
10031
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10032
|
+
"opc-request-id": listMaskingObjectsRequest.opcRequestId
|
|
10033
|
+
};
|
|
10034
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10035
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
10036
|
+
if (this.logger)
|
|
10037
|
+
retrier.logger = this.logger;
|
|
10038
|
+
const request = yield oci_common_2.composeRequest({
|
|
10039
|
+
baseEndpoint: this._endpoint,
|
|
10040
|
+
defaultHeaders: this._defaultHeaders,
|
|
10041
|
+
path: "/maskingPolicies/{maskingPolicyId}/maskingObjects",
|
|
10042
|
+
method: "GET",
|
|
10043
|
+
pathParams: pathParams,
|
|
10044
|
+
headerParams: headerParams,
|
|
10045
|
+
queryParams: queryParams
|
|
10046
|
+
});
|
|
10047
|
+
try {
|
|
10048
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10049
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10050
|
+
responseObject: {},
|
|
10051
|
+
body: yield response.json(),
|
|
10052
|
+
bodyKey: "maskingObjectCollection",
|
|
10053
|
+
bodyModel: model.MaskingObjectCollection,
|
|
10054
|
+
type: "model.MaskingObjectCollection",
|
|
10055
|
+
responseHeaders: [
|
|
10056
|
+
{
|
|
10057
|
+
value: response.headers.get("opc-request-id"),
|
|
10058
|
+
key: "opcRequestId",
|
|
10059
|
+
dataType: "string"
|
|
10060
|
+
},
|
|
10061
|
+
{
|
|
10062
|
+
value: response.headers.get("opc-next-page"),
|
|
10063
|
+
key: "opcNextPage",
|
|
10064
|
+
dataType: "string"
|
|
10065
|
+
},
|
|
10066
|
+
{
|
|
10067
|
+
value: response.headers.get("opc-prev-page"),
|
|
10068
|
+
key: "opcPrevPage",
|
|
10069
|
+
dataType: "string"
|
|
10070
|
+
}
|
|
10071
|
+
]
|
|
10072
|
+
});
|
|
10073
|
+
return sdkResponse;
|
|
10074
|
+
}
|
|
10075
|
+
catch (err) {
|
|
10076
|
+
throw err;
|
|
10077
|
+
}
|
|
10078
|
+
});
|
|
10079
|
+
}
|
|
10080
|
+
/**
|
|
10081
|
+
* Gets a list of masking policies based on the specified query parameters.
|
|
10082
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10083
|
+
* @param ListMaskingPoliciesRequest
|
|
10084
|
+
* @return ListMaskingPoliciesResponse
|
|
10085
|
+
* @throws OciError when an error occurs
|
|
10086
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskingPolicies.ts.html |here} to see how to use ListMaskingPolicies API.
|
|
10087
|
+
*/
|
|
10088
|
+
listMaskingPolicies(listMaskingPoliciesRequest) {
|
|
10089
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10090
|
+
if (this.logger)
|
|
10091
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingPolicies.");
|
|
10092
|
+
const operationName = "listMaskingPolicies";
|
|
10093
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingPolicy/ListMaskingPolicies";
|
|
10094
|
+
const pathParams = {};
|
|
10095
|
+
const queryParams = {
|
|
10096
|
+
"maskingPolicyId": listMaskingPoliciesRequest.maskingPolicyId,
|
|
10097
|
+
"compartmentId": listMaskingPoliciesRequest.compartmentId,
|
|
10098
|
+
"displayName": listMaskingPoliciesRequest.displayName,
|
|
10099
|
+
"limit": listMaskingPoliciesRequest.limit,
|
|
10100
|
+
"page": listMaskingPoliciesRequest.page,
|
|
10101
|
+
"lifecycleState": listMaskingPoliciesRequest.lifecycleState,
|
|
10102
|
+
"sortOrder": listMaskingPoliciesRequest.sortOrder,
|
|
10103
|
+
"sortBy": listMaskingPoliciesRequest.sortBy,
|
|
10104
|
+
"sensitiveDataModelId": listMaskingPoliciesRequest.sensitiveDataModelId,
|
|
10105
|
+
"targetId": listMaskingPoliciesRequest.targetId,
|
|
10106
|
+
"timeCreatedGreaterThanOrEqualTo": listMaskingPoliciesRequest.timeCreatedGreaterThanOrEqualTo,
|
|
9387
10107
|
"timeCreatedLessThan": listMaskingPoliciesRequest.timeCreatedLessThan,
|
|
9388
10108
|
"compartmentIdInSubtree": listMaskingPoliciesRequest.compartmentIdInSubtree,
|
|
9389
10109
|
"accessLevel": listMaskingPoliciesRequest.accessLevel
|
|
@@ -9444,7 +10164,7 @@ class DataSafeClient {
|
|
|
9444
10164
|
* @param ListMaskingReportsRequest
|
|
9445
10165
|
* @return ListMaskingReportsResponse
|
|
9446
10166
|
* @throws OciError when an error occurs
|
|
9447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10167
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskingReports.ts.html |here} to see how to use ListMaskingReports API.
|
|
9448
10168
|
*/
|
|
9449
10169
|
listMaskingReports(listMaskingReportsRequest) {
|
|
9450
10170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9514,6 +10234,81 @@ class DataSafeClient {
|
|
|
9514
10234
|
}
|
|
9515
10235
|
});
|
|
9516
10236
|
}
|
|
10237
|
+
/**
|
|
10238
|
+
* Gets a list of masking schemas present in the specified masking policy and based on the specified query parameters.
|
|
10239
|
+
*
|
|
10240
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10241
|
+
* @param ListMaskingSchemasRequest
|
|
10242
|
+
* @return ListMaskingSchemasResponse
|
|
10243
|
+
* @throws OciError when an error occurs
|
|
10244
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListMaskingSchemas.ts.html |here} to see how to use ListMaskingSchemas API.
|
|
10245
|
+
*/
|
|
10246
|
+
listMaskingSchemas(listMaskingSchemasRequest) {
|
|
10247
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10248
|
+
if (this.logger)
|
|
10249
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingSchemas.");
|
|
10250
|
+
const operationName = "listMaskingSchemas";
|
|
10251
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingSchemaCollection/ListMaskingSchemas";
|
|
10252
|
+
const pathParams = {
|
|
10253
|
+
"{maskingPolicyId}": listMaskingSchemasRequest.maskingPolicyId
|
|
10254
|
+
};
|
|
10255
|
+
const queryParams = {
|
|
10256
|
+
"limit": listMaskingSchemasRequest.limit,
|
|
10257
|
+
"page": listMaskingSchemasRequest.page,
|
|
10258
|
+
"sortOrder": listMaskingSchemasRequest.sortOrder,
|
|
10259
|
+
"sortBy": listMaskingSchemasRequest.sortBy,
|
|
10260
|
+
"schemaName": listMaskingSchemasRequest.schemaName
|
|
10261
|
+
};
|
|
10262
|
+
let headerParams = {
|
|
10263
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10264
|
+
"opc-request-id": listMaskingSchemasRequest.opcRequestId
|
|
10265
|
+
};
|
|
10266
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10267
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingSchemasRequest.retryConfiguration, specRetryConfiguration);
|
|
10268
|
+
if (this.logger)
|
|
10269
|
+
retrier.logger = this.logger;
|
|
10270
|
+
const request = yield oci_common_2.composeRequest({
|
|
10271
|
+
baseEndpoint: this._endpoint,
|
|
10272
|
+
defaultHeaders: this._defaultHeaders,
|
|
10273
|
+
path: "/maskingPolicies/{maskingPolicyId}/maskingSchemas",
|
|
10274
|
+
method: "GET",
|
|
10275
|
+
pathParams: pathParams,
|
|
10276
|
+
headerParams: headerParams,
|
|
10277
|
+
queryParams: queryParams
|
|
10278
|
+
});
|
|
10279
|
+
try {
|
|
10280
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10281
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10282
|
+
responseObject: {},
|
|
10283
|
+
body: yield response.json(),
|
|
10284
|
+
bodyKey: "maskingSchemaCollection",
|
|
10285
|
+
bodyModel: model.MaskingSchemaCollection,
|
|
10286
|
+
type: "model.MaskingSchemaCollection",
|
|
10287
|
+
responseHeaders: [
|
|
10288
|
+
{
|
|
10289
|
+
value: response.headers.get("opc-request-id"),
|
|
10290
|
+
key: "opcRequestId",
|
|
10291
|
+
dataType: "string"
|
|
10292
|
+
},
|
|
10293
|
+
{
|
|
10294
|
+
value: response.headers.get("opc-next-page"),
|
|
10295
|
+
key: "opcNextPage",
|
|
10296
|
+
dataType: "string"
|
|
10297
|
+
},
|
|
10298
|
+
{
|
|
10299
|
+
value: response.headers.get("opc-prev-page"),
|
|
10300
|
+
key: "opcPrevPage",
|
|
10301
|
+
dataType: "string"
|
|
10302
|
+
}
|
|
10303
|
+
]
|
|
10304
|
+
});
|
|
10305
|
+
return sdkResponse;
|
|
10306
|
+
}
|
|
10307
|
+
catch (err) {
|
|
10308
|
+
throw err;
|
|
10309
|
+
}
|
|
10310
|
+
});
|
|
10311
|
+
}
|
|
9517
10312
|
/**
|
|
9518
10313
|
* Gets a list of on-premises connectors.
|
|
9519
10314
|
*
|
|
@@ -9521,7 +10316,7 @@ class DataSafeClient {
|
|
|
9521
10316
|
* @param ListOnPremConnectorsRequest
|
|
9522
10317
|
* @return ListOnPremConnectorsResponse
|
|
9523
10318
|
* @throws OciError when an error occurs
|
|
9524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10319
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListOnPremConnectors.ts.html |here} to see how to use ListOnPremConnectors API.
|
|
9525
10320
|
*/
|
|
9526
10321
|
listOnPremConnectors(listOnPremConnectorsRequest) {
|
|
9527
10322
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9627,6 +10422,284 @@ class DataSafeClient {
|
|
|
9627
10422
|
listOnPremConnectorsResponseIterator(request) {
|
|
9628
10423
|
return oci_common_1.paginateResponses(request, req => this.listOnPremConnectors(req));
|
|
9629
10424
|
}
|
|
10425
|
+
/**
|
|
10426
|
+
* Gets a list of aggregated user profile details in the specified compartment. This provides information about the
|
|
10427
|
+
* overall profiles available. For example, the user profile details include how many users have the profile assigned
|
|
10428
|
+
* and do how many use password verification function. This data is especially useful content for dashboards or to support analytics.
|
|
10429
|
+
* <p>
|
|
10430
|
+
When you perform the ListProfileAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the
|
|
10431
|
+
* parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT
|
|
10432
|
+
* permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
|
10433
|
+
* root compartment. If the requestor does not have access to at least one subcompartment of the compartment specified by
|
|
10434
|
+
* compartmentId, then \"Not Authorized\" is returned.
|
|
10435
|
+
* <p>
|
|
10436
|
+
The parameter compartmentIdInSubtree applies when you perform ListProfileAnalytics on the compartmentId passed and when it is
|
|
10437
|
+
* set to true, the entire hierarchy of compartments can be returned.
|
|
10438
|
+
* <p>
|
|
10439
|
+
To use ListProfileAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
|
10440
|
+
* set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
|
10441
|
+
*
|
|
10442
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10443
|
+
* @param ListProfileAnalyticsRequest
|
|
10444
|
+
* @return ListProfileAnalyticsResponse
|
|
10445
|
+
* @throws OciError when an error occurs
|
|
10446
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListProfileAnalytics.ts.html |here} to see how to use ListProfileAnalytics API.
|
|
10447
|
+
*/
|
|
10448
|
+
listProfileAnalytics(listProfileAnalyticsRequest) {
|
|
10449
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10450
|
+
if (this.logger)
|
|
10451
|
+
this.logger.debug("Calling operation DataSafeClient#listProfileAnalytics.");
|
|
10452
|
+
const operationName = "listProfileAnalytics";
|
|
10453
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/Profile/ListProfileAnalytics";
|
|
10454
|
+
const pathParams = {
|
|
10455
|
+
"{userAssessmentId}": listProfileAnalyticsRequest.userAssessmentId
|
|
10456
|
+
};
|
|
10457
|
+
const queryParams = {
|
|
10458
|
+
"compartmentId": listProfileAnalyticsRequest.compartmentId,
|
|
10459
|
+
"compartmentIdInSubtree": listProfileAnalyticsRequest.compartmentIdInSubtree,
|
|
10460
|
+
"accessLevel": listProfileAnalyticsRequest.accessLevel,
|
|
10461
|
+
"targetId": listProfileAnalyticsRequest.targetId,
|
|
10462
|
+
"limit": listProfileAnalyticsRequest.limit,
|
|
10463
|
+
"page": listProfileAnalyticsRequest.page,
|
|
10464
|
+
"profileName": listProfileAnalyticsRequest.profileName,
|
|
10465
|
+
"sortBy": listProfileAnalyticsRequest.sortBy,
|
|
10466
|
+
"sortOrder": listProfileAnalyticsRequest.sortOrder
|
|
10467
|
+
};
|
|
10468
|
+
let headerParams = {
|
|
10469
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10470
|
+
"opc-request-id": listProfileAnalyticsRequest.opcRequestId
|
|
10471
|
+
};
|
|
10472
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10473
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfileAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
10474
|
+
if (this.logger)
|
|
10475
|
+
retrier.logger = this.logger;
|
|
10476
|
+
const request = yield oci_common_2.composeRequest({
|
|
10477
|
+
baseEndpoint: this._endpoint,
|
|
10478
|
+
defaultHeaders: this._defaultHeaders,
|
|
10479
|
+
path: "/userAssessments/{userAssessmentId}/profileAnalytics",
|
|
10480
|
+
method: "GET",
|
|
10481
|
+
pathParams: pathParams,
|
|
10482
|
+
headerParams: headerParams,
|
|
10483
|
+
queryParams: queryParams
|
|
10484
|
+
});
|
|
10485
|
+
try {
|
|
10486
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10487
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10488
|
+
responseObject: {},
|
|
10489
|
+
body: yield response.json(),
|
|
10490
|
+
bodyKey: "items",
|
|
10491
|
+
bodyModel: model.ProfileAggregation,
|
|
10492
|
+
type: "Array<model.ProfileAggregation>",
|
|
10493
|
+
responseHeaders: [
|
|
10494
|
+
{
|
|
10495
|
+
value: response.headers.get("opc-request-id"),
|
|
10496
|
+
key: "opcRequestId",
|
|
10497
|
+
dataType: "string"
|
|
10498
|
+
},
|
|
10499
|
+
{
|
|
10500
|
+
value: response.headers.get("opc-next-page"),
|
|
10501
|
+
key: "opcNextPage",
|
|
10502
|
+
dataType: "string"
|
|
10503
|
+
},
|
|
10504
|
+
{
|
|
10505
|
+
value: response.headers.get("opc-prev-page"),
|
|
10506
|
+
key: "opcPrevPage",
|
|
10507
|
+
dataType: "string"
|
|
10508
|
+
}
|
|
10509
|
+
]
|
|
10510
|
+
});
|
|
10511
|
+
return sdkResponse;
|
|
10512
|
+
}
|
|
10513
|
+
catch (err) {
|
|
10514
|
+
throw err;
|
|
10515
|
+
}
|
|
10516
|
+
});
|
|
10517
|
+
}
|
|
10518
|
+
/**
|
|
10519
|
+
* NOTE: This function is deprecated in favor of listProfileAnalyticsRecordIterator function.
|
|
10520
|
+
* Creates a new async iterator which will iterate over the models.ProfileAggregation objects
|
|
10521
|
+
* contained in responses from the listProfileAnalytics operation. This iterator will fetch more data from the
|
|
10522
|
+
* server as needed.
|
|
10523
|
+
*
|
|
10524
|
+
* @param request a request which can be sent to the service operation
|
|
10525
|
+
*/
|
|
10526
|
+
listAllProfileAnalytics(request) {
|
|
10527
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileAnalytics(req));
|
|
10528
|
+
}
|
|
10529
|
+
/**
|
|
10530
|
+
* NOTE: This function is deprecated in favor of listProfileAnalyticsResponseIterator function.
|
|
10531
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileAnalytics operation. This iterator
|
|
10532
|
+
* will fetch more data from the server as needed.
|
|
10533
|
+
*
|
|
10534
|
+
* @param request a request which can be sent to the service operation
|
|
10535
|
+
*/
|
|
10536
|
+
listAllProfileAnalyticsResponses(request) {
|
|
10537
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileAnalytics(req));
|
|
10538
|
+
}
|
|
10539
|
+
/**
|
|
10540
|
+
* Creates a new async iterator which will iterate over the models.ProfileAggregation objects
|
|
10541
|
+
* contained in responses from the listProfileAnalytics operation. This iterator will fetch more data from the
|
|
10542
|
+
* server as needed.
|
|
10543
|
+
*
|
|
10544
|
+
* @param request a request which can be sent to the service operation
|
|
10545
|
+
*/
|
|
10546
|
+
listProfileAnalyticsRecordIterator(request) {
|
|
10547
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileAnalytics(req));
|
|
10548
|
+
}
|
|
10549
|
+
/**
|
|
10550
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileAnalytics operation. This iterator
|
|
10551
|
+
* will fetch more data from the server as needed.
|
|
10552
|
+
*
|
|
10553
|
+
* @param request a request which can be sent to the service operation
|
|
10554
|
+
*/
|
|
10555
|
+
listProfileAnalyticsResponseIterator(request) {
|
|
10556
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileAnalytics(req));
|
|
10557
|
+
}
|
|
10558
|
+
/**
|
|
10559
|
+
* Gets a list of user profiles containing the profile details along with the target id and user counts.
|
|
10560
|
+
* <p>
|
|
10561
|
+
The ListProfiles operation returns only the profiles belonging to a certain target. If compartment type user assessment
|
|
10562
|
+
* id is provided, then profile information for all the targets belonging to the pertaining compartment is returned.
|
|
10563
|
+
* The list does not include any subcompartments of the compartment under consideration.
|
|
10564
|
+
* <p>
|
|
10565
|
+
The parameter 'accessLevel' specifies whether to return only those compartments for which the requestor has
|
|
10566
|
+
* INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a
|
|
10567
|
+
* subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments.
|
|
10568
|
+
* This is valid only when 'compartmentIdInSubtree' is set to 'true'.
|
|
10569
|
+
* <p>
|
|
10570
|
+
The parameter 'compartmentIdInSubtree' applies when you perform ListUserProfiles on the 'compartmentId' belonging
|
|
10571
|
+
* to the assessmentId passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
10572
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter
|
|
10573
|
+
* 'compartmentIdInSubtree' to true and 'accessLevel' to ACCESSIBLE.
|
|
10574
|
+
*
|
|
10575
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10576
|
+
* @param ListProfileSummariesRequest
|
|
10577
|
+
* @return ListProfileSummariesResponse
|
|
10578
|
+
* @throws OciError when an error occurs
|
|
10579
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListProfileSummaries.ts.html |here} to see how to use ListProfileSummaries API.
|
|
10580
|
+
*/
|
|
10581
|
+
listProfileSummaries(listProfileSummariesRequest) {
|
|
10582
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10583
|
+
if (this.logger)
|
|
10584
|
+
this.logger.debug("Calling operation DataSafeClient#listProfileSummaries.");
|
|
10585
|
+
const operationName = "listProfileSummaries";
|
|
10586
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/UserAssessment/ListProfileSummaries";
|
|
10587
|
+
const pathParams = {
|
|
10588
|
+
"{userAssessmentId}": listProfileSummariesRequest.userAssessmentId
|
|
10589
|
+
};
|
|
10590
|
+
const queryParams = {
|
|
10591
|
+
"compartmentId": listProfileSummariesRequest.compartmentId,
|
|
10592
|
+
"compartmentIdInSubtree": listProfileSummariesRequest.compartmentIdInSubtree,
|
|
10593
|
+
"accessLevel": listProfileSummariesRequest.accessLevel,
|
|
10594
|
+
"targetId": listProfileSummariesRequest.targetId,
|
|
10595
|
+
"limit": listProfileSummariesRequest.limit,
|
|
10596
|
+
"page": listProfileSummariesRequest.page,
|
|
10597
|
+
"profileName": listProfileSummariesRequest.profileName,
|
|
10598
|
+
"isUserCreated": listProfileSummariesRequest.isUserCreated,
|
|
10599
|
+
"passwordVerificationFunction": listProfileSummariesRequest.passwordVerificationFunction,
|
|
10600
|
+
"userCountGreaterThanOrEqual": listProfileSummariesRequest.userCountGreaterThanOrEqual,
|
|
10601
|
+
"userCountLessThan": listProfileSummariesRequest.userCountLessThan,
|
|
10602
|
+
"failedLoginAttemptsGreaterThanOrEqual": listProfileSummariesRequest.failedLoginAttemptsGreaterThanOrEqual,
|
|
10603
|
+
"failedLoginAttemptsLessThan": listProfileSummariesRequest.failedLoginAttemptsLessThan,
|
|
10604
|
+
"sessionsPerUserGreaterThanOrEqual": listProfileSummariesRequest.sessionsPerUserGreaterThanOrEqual,
|
|
10605
|
+
"sessionsPerUserLessThan": listProfileSummariesRequest.sessionsPerUserLessThan,
|
|
10606
|
+
"inactiveAccountTimeGreaterThanOrEqual": listProfileSummariesRequest.inactiveAccountTimeGreaterThanOrEqual,
|
|
10607
|
+
"inactiveAccountTimeLessThan": listProfileSummariesRequest.inactiveAccountTimeLessThan,
|
|
10608
|
+
"passwordLockTimeGreaterThanOrEqual": listProfileSummariesRequest.passwordLockTimeGreaterThanOrEqual,
|
|
10609
|
+
"passwordLockTimeLessThan": listProfileSummariesRequest.passwordLockTimeLessThan,
|
|
10610
|
+
"sortBy": listProfileSummariesRequest.sortBy,
|
|
10611
|
+
"sortOrder": listProfileSummariesRequest.sortOrder
|
|
10612
|
+
};
|
|
10613
|
+
let headerParams = {
|
|
10614
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10615
|
+
"opc-request-id": listProfileSummariesRequest.opcRequestId
|
|
10616
|
+
};
|
|
10617
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10618
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfileSummariesRequest.retryConfiguration, specRetryConfiguration);
|
|
10619
|
+
if (this.logger)
|
|
10620
|
+
retrier.logger = this.logger;
|
|
10621
|
+
const request = yield oci_common_2.composeRequest({
|
|
10622
|
+
baseEndpoint: this._endpoint,
|
|
10623
|
+
defaultHeaders: this._defaultHeaders,
|
|
10624
|
+
path: "/userAssessments/{userAssessmentId}/profiles",
|
|
10625
|
+
method: "GET",
|
|
10626
|
+
pathParams: pathParams,
|
|
10627
|
+
headerParams: headerParams,
|
|
10628
|
+
queryParams: queryParams
|
|
10629
|
+
});
|
|
10630
|
+
try {
|
|
10631
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10632
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10633
|
+
responseObject: {},
|
|
10634
|
+
body: yield response.json(),
|
|
10635
|
+
bodyKey: "items",
|
|
10636
|
+
bodyModel: model.ProfileSummary,
|
|
10637
|
+
type: "Array<model.ProfileSummary>",
|
|
10638
|
+
responseHeaders: [
|
|
10639
|
+
{
|
|
10640
|
+
value: response.headers.get("opc-request-id"),
|
|
10641
|
+
key: "opcRequestId",
|
|
10642
|
+
dataType: "string"
|
|
10643
|
+
},
|
|
10644
|
+
{
|
|
10645
|
+
value: response.headers.get("opc-next-page"),
|
|
10646
|
+
key: "opcNextPage",
|
|
10647
|
+
dataType: "string"
|
|
10648
|
+
},
|
|
10649
|
+
{
|
|
10650
|
+
value: response.headers.get("opc-prev-page"),
|
|
10651
|
+
key: "opcPrevPage",
|
|
10652
|
+
dataType: "string"
|
|
10653
|
+
}
|
|
10654
|
+
]
|
|
10655
|
+
});
|
|
10656
|
+
return sdkResponse;
|
|
10657
|
+
}
|
|
10658
|
+
catch (err) {
|
|
10659
|
+
throw err;
|
|
10660
|
+
}
|
|
10661
|
+
});
|
|
10662
|
+
}
|
|
10663
|
+
/**
|
|
10664
|
+
* NOTE: This function is deprecated in favor of listProfileSummariesRecordIterator function.
|
|
10665
|
+
* Creates a new async iterator which will iterate over the models.ProfileSummary objects
|
|
10666
|
+
* contained in responses from the listProfileSummaries operation. This iterator will fetch more data from the
|
|
10667
|
+
* server as needed.
|
|
10668
|
+
*
|
|
10669
|
+
* @param request a request which can be sent to the service operation
|
|
10670
|
+
*/
|
|
10671
|
+
listAllProfileSummaries(request) {
|
|
10672
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileSummaries(req));
|
|
10673
|
+
}
|
|
10674
|
+
/**
|
|
10675
|
+
* NOTE: This function is deprecated in favor of listProfileSummariesResponseIterator function.
|
|
10676
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileSummaries operation. This iterator
|
|
10677
|
+
* will fetch more data from the server as needed.
|
|
10678
|
+
*
|
|
10679
|
+
* @param request a request which can be sent to the service operation
|
|
10680
|
+
*/
|
|
10681
|
+
listAllProfileSummariesResponses(request) {
|
|
10682
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileSummaries(req));
|
|
10683
|
+
}
|
|
10684
|
+
/**
|
|
10685
|
+
* Creates a new async iterator which will iterate over the models.ProfileSummary objects
|
|
10686
|
+
* contained in responses from the listProfileSummaries operation. This iterator will fetch more data from the
|
|
10687
|
+
* server as needed.
|
|
10688
|
+
*
|
|
10689
|
+
* @param request a request which can be sent to the service operation
|
|
10690
|
+
*/
|
|
10691
|
+
listProfileSummariesRecordIterator(request) {
|
|
10692
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileSummaries(req));
|
|
10693
|
+
}
|
|
10694
|
+
/**
|
|
10695
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileSummaries operation. This iterator
|
|
10696
|
+
* will fetch more data from the server as needed.
|
|
10697
|
+
*
|
|
10698
|
+
* @param request a request which can be sent to the service operation
|
|
10699
|
+
*/
|
|
10700
|
+
listProfileSummariesResponseIterator(request) {
|
|
10701
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileSummaries(req));
|
|
10702
|
+
}
|
|
9630
10703
|
/**
|
|
9631
10704
|
* Gets a list of report definitions.
|
|
9632
10705
|
* The ListReportDefinitions operation returns only the report definitions in the specified `compartmentId`.
|
|
@@ -9636,7 +10709,7 @@ class DataSafeClient {
|
|
|
9636
10709
|
* @param ListReportDefinitionsRequest
|
|
9637
10710
|
* @return ListReportDefinitionsResponse
|
|
9638
10711
|
* @throws OciError when an error occurs
|
|
9639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListReportDefinitions.ts.html |here} to see how to use ListReportDefinitions API.
|
|
9640
10713
|
*/
|
|
9641
10714
|
listReportDefinitions(listReportDefinitionsRequest) {
|
|
9642
10715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9710,7 +10783,7 @@ class DataSafeClient {
|
|
|
9710
10783
|
* @param ListReportsRequest
|
|
9711
10784
|
* @return ListReportsResponse
|
|
9712
10785
|
* @throws OciError when an error occurs
|
|
9713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10786
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListReports.ts.html |here} to see how to use ListReports API.
|
|
9714
10787
|
*/
|
|
9715
10788
|
listReports(listReportsRequest) {
|
|
9716
10789
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9784,7 +10857,7 @@ class DataSafeClient {
|
|
|
9784
10857
|
* @param ListRolesRequest
|
|
9785
10858
|
* @return ListRolesResponse
|
|
9786
10859
|
* @throws OciError when an error occurs
|
|
9787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListRoles.ts.html |here} to see how to use ListRoles API.
|
|
9788
10861
|
*/
|
|
9789
10862
|
listRoles(listRolesRequest) {
|
|
9790
10863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9902,7 +10975,7 @@ class DataSafeClient {
|
|
|
9902
10975
|
* @param ListSchemasRequest
|
|
9903
10976
|
* @return ListSchemasResponse
|
|
9904
10977
|
* @throws OciError when an error occurs
|
|
9905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10978
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSchemas.ts.html |here} to see how to use ListSchemas API.
|
|
9906
10979
|
*/
|
|
9907
10980
|
listSchemas(listSchemasRequest) {
|
|
9908
10981
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9924,16 +10997,134 @@ class DataSafeClient {
|
|
|
9924
10997
|
};
|
|
9925
10998
|
let headerParams = {
|
|
9926
10999
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9927
|
-
"opc-request-id": listSchemasRequest.opcRequestId
|
|
11000
|
+
"opc-request-id": listSchemasRequest.opcRequestId
|
|
11001
|
+
};
|
|
11002
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11003
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSchemasRequest.retryConfiguration, specRetryConfiguration);
|
|
11004
|
+
if (this.logger)
|
|
11005
|
+
retrier.logger = this.logger;
|
|
11006
|
+
const request = yield oci_common_2.composeRequest({
|
|
11007
|
+
baseEndpoint: this._endpoint,
|
|
11008
|
+
defaultHeaders: this._defaultHeaders,
|
|
11009
|
+
path: "/targetDatabases/{targetDatabaseId}/schemas",
|
|
11010
|
+
method: "GET",
|
|
11011
|
+
pathParams: pathParams,
|
|
11012
|
+
headerParams: headerParams,
|
|
11013
|
+
queryParams: queryParams
|
|
11014
|
+
});
|
|
11015
|
+
try {
|
|
11016
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11017
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11018
|
+
responseObject: {},
|
|
11019
|
+
body: yield response.json(),
|
|
11020
|
+
bodyKey: "items",
|
|
11021
|
+
bodyModel: model.SchemaSummary,
|
|
11022
|
+
type: "Array<model.SchemaSummary>",
|
|
11023
|
+
responseHeaders: [
|
|
11024
|
+
{
|
|
11025
|
+
value: response.headers.get("opc-request-id"),
|
|
11026
|
+
key: "opcRequestId",
|
|
11027
|
+
dataType: "string"
|
|
11028
|
+
},
|
|
11029
|
+
{
|
|
11030
|
+
value: response.headers.get("opc-next-page"),
|
|
11031
|
+
key: "opcNextPage",
|
|
11032
|
+
dataType: "string"
|
|
11033
|
+
},
|
|
11034
|
+
{
|
|
11035
|
+
value: response.headers.get("opc-prev-page"),
|
|
11036
|
+
key: "opcPrevPage",
|
|
11037
|
+
dataType: "string"
|
|
11038
|
+
}
|
|
11039
|
+
]
|
|
11040
|
+
});
|
|
11041
|
+
return sdkResponse;
|
|
11042
|
+
}
|
|
11043
|
+
catch (err) {
|
|
11044
|
+
throw err;
|
|
11045
|
+
}
|
|
11046
|
+
});
|
|
11047
|
+
}
|
|
11048
|
+
/**
|
|
11049
|
+
* NOTE: This function is deprecated in favor of listSchemasRecordIterator function.
|
|
11050
|
+
* Creates a new async iterator which will iterate over the models.SchemaSummary objects
|
|
11051
|
+
* contained in responses from the listSchemas operation. This iterator will fetch more data from the
|
|
11052
|
+
* server as needed.
|
|
11053
|
+
*
|
|
11054
|
+
* @param request a request which can be sent to the service operation
|
|
11055
|
+
*/
|
|
11056
|
+
listAllSchemas(request) {
|
|
11057
|
+
return oci_common_1.paginateRecords(request, req => this.listSchemas(req));
|
|
11058
|
+
}
|
|
11059
|
+
/**
|
|
11060
|
+
* NOTE: This function is deprecated in favor of listSchemasResponseIterator function.
|
|
11061
|
+
* Creates a new async iterator which will iterate over the responses received from the listSchemas operation. This iterator
|
|
11062
|
+
* will fetch more data from the server as needed.
|
|
11063
|
+
*
|
|
11064
|
+
* @param request a request which can be sent to the service operation
|
|
11065
|
+
*/
|
|
11066
|
+
listAllSchemasResponses(request) {
|
|
11067
|
+
return oci_common_1.paginateResponses(request, req => this.listSchemas(req));
|
|
11068
|
+
}
|
|
11069
|
+
/**
|
|
11070
|
+
* Creates a new async iterator which will iterate over the models.SchemaSummary objects
|
|
11071
|
+
* contained in responses from the listSchemas operation. This iterator will fetch more data from the
|
|
11072
|
+
* server as needed.
|
|
11073
|
+
*
|
|
11074
|
+
* @param request a request which can be sent to the service operation
|
|
11075
|
+
*/
|
|
11076
|
+
listSchemasRecordIterator(request) {
|
|
11077
|
+
return oci_common_1.paginateRecords(request, req => this.listSchemas(req));
|
|
11078
|
+
}
|
|
11079
|
+
/**
|
|
11080
|
+
* Creates a new async iterator which will iterate over the responses received from the listSchemas operation. This iterator
|
|
11081
|
+
* will fetch more data from the server as needed.
|
|
11082
|
+
*
|
|
11083
|
+
* @param request a request which can be sent to the service operation
|
|
11084
|
+
*/
|
|
11085
|
+
listSchemasResponseIterator(request) {
|
|
11086
|
+
return oci_common_1.paginateResponses(request, req => this.listSchemas(req));
|
|
11087
|
+
}
|
|
11088
|
+
/**
|
|
11089
|
+
* Gets a list of SDM and masking policy difference resources based on the specified query parameters.
|
|
11090
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11091
|
+
* @param ListSdmMaskingPolicyDifferencesRequest
|
|
11092
|
+
* @return ListSdmMaskingPolicyDifferencesResponse
|
|
11093
|
+
* @throws OciError when an error occurs
|
|
11094
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSdmMaskingPolicyDifferences.ts.html |here} to see how to use ListSdmMaskingPolicyDifferences API.
|
|
11095
|
+
*/
|
|
11096
|
+
listSdmMaskingPolicyDifferences(listSdmMaskingPolicyDifferencesRequest) {
|
|
11097
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11098
|
+
if (this.logger)
|
|
11099
|
+
this.logger.debug("Calling operation DataSafeClient#listSdmMaskingPolicyDifferences.");
|
|
11100
|
+
const operationName = "listSdmMaskingPolicyDifferences";
|
|
11101
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/ListSdmMaskingPolicyDifferences";
|
|
11102
|
+
const pathParams = {};
|
|
11103
|
+
const queryParams = {
|
|
11104
|
+
"compartmentId": listSdmMaskingPolicyDifferencesRequest.compartmentId,
|
|
11105
|
+
"compartmentIdInSubtree": listSdmMaskingPolicyDifferencesRequest.compartmentIdInSubtree,
|
|
11106
|
+
"differenceAccessLevel": listSdmMaskingPolicyDifferencesRequest.differenceAccessLevel,
|
|
11107
|
+
"displayName": listSdmMaskingPolicyDifferencesRequest.displayName,
|
|
11108
|
+
"sensitiveDataModelId": listSdmMaskingPolicyDifferencesRequest.sensitiveDataModelId,
|
|
11109
|
+
"lifecycleState": listSdmMaskingPolicyDifferencesRequest.lifecycleState,
|
|
11110
|
+
"maskingPolicyId": listSdmMaskingPolicyDifferencesRequest.maskingPolicyId,
|
|
11111
|
+
"sortOrder": listSdmMaskingPolicyDifferencesRequest.sortOrder,
|
|
11112
|
+
"sortBy": listSdmMaskingPolicyDifferencesRequest.sortBy,
|
|
11113
|
+
"limit": listSdmMaskingPolicyDifferencesRequest.limit,
|
|
11114
|
+
"page": listSdmMaskingPolicyDifferencesRequest.page
|
|
11115
|
+
};
|
|
11116
|
+
let headerParams = {
|
|
11117
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11118
|
+
"opc-request-id": listSdmMaskingPolicyDifferencesRequest.opcRequestId
|
|
9928
11119
|
};
|
|
9929
11120
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9930
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
11121
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSdmMaskingPolicyDifferencesRequest.retryConfiguration, specRetryConfiguration);
|
|
9931
11122
|
if (this.logger)
|
|
9932
11123
|
retrier.logger = this.logger;
|
|
9933
11124
|
const request = yield oci_common_2.composeRequest({
|
|
9934
11125
|
baseEndpoint: this._endpoint,
|
|
9935
11126
|
defaultHeaders: this._defaultHeaders,
|
|
9936
|
-
path: "/
|
|
11127
|
+
path: "/sdmMaskingPolicyDifferences",
|
|
9937
11128
|
method: "GET",
|
|
9938
11129
|
pathParams: pathParams,
|
|
9939
11130
|
headerParams: headerParams,
|
|
@@ -9944,9 +11135,9 @@ class DataSafeClient {
|
|
|
9944
11135
|
const sdkResponse = oci_common_2.composeResponse({
|
|
9945
11136
|
responseObject: {},
|
|
9946
11137
|
body: yield response.json(),
|
|
9947
|
-
bodyKey: "
|
|
9948
|
-
bodyModel: model.
|
|
9949
|
-
type: "
|
|
11138
|
+
bodyKey: "sdmMaskingPolicyDifferenceCollection",
|
|
11139
|
+
bodyModel: model.SdmMaskingPolicyDifferenceCollection,
|
|
11140
|
+
type: "model.SdmMaskingPolicyDifferenceCollection",
|
|
9950
11141
|
responseHeaders: [
|
|
9951
11142
|
{
|
|
9952
11143
|
value: response.headers.get("opc-request-id"),
|
|
@@ -9972,46 +11163,6 @@ class DataSafeClient {
|
|
|
9972
11163
|
}
|
|
9973
11164
|
});
|
|
9974
11165
|
}
|
|
9975
|
-
/**
|
|
9976
|
-
* NOTE: This function is deprecated in favor of listSchemasRecordIterator function.
|
|
9977
|
-
* Creates a new async iterator which will iterate over the models.SchemaSummary objects
|
|
9978
|
-
* contained in responses from the listSchemas operation. This iterator will fetch more data from the
|
|
9979
|
-
* server as needed.
|
|
9980
|
-
*
|
|
9981
|
-
* @param request a request which can be sent to the service operation
|
|
9982
|
-
*/
|
|
9983
|
-
listAllSchemas(request) {
|
|
9984
|
-
return oci_common_1.paginateRecords(request, req => this.listSchemas(req));
|
|
9985
|
-
}
|
|
9986
|
-
/**
|
|
9987
|
-
* NOTE: This function is deprecated in favor of listSchemasResponseIterator function.
|
|
9988
|
-
* Creates a new async iterator which will iterate over the responses received from the listSchemas operation. This iterator
|
|
9989
|
-
* will fetch more data from the server as needed.
|
|
9990
|
-
*
|
|
9991
|
-
* @param request a request which can be sent to the service operation
|
|
9992
|
-
*/
|
|
9993
|
-
listAllSchemasResponses(request) {
|
|
9994
|
-
return oci_common_1.paginateResponses(request, req => this.listSchemas(req));
|
|
9995
|
-
}
|
|
9996
|
-
/**
|
|
9997
|
-
* Creates a new async iterator which will iterate over the models.SchemaSummary objects
|
|
9998
|
-
* contained in responses from the listSchemas operation. This iterator will fetch more data from the
|
|
9999
|
-
* server as needed.
|
|
10000
|
-
*
|
|
10001
|
-
* @param request a request which can be sent to the service operation
|
|
10002
|
-
*/
|
|
10003
|
-
listSchemasRecordIterator(request) {
|
|
10004
|
-
return oci_common_1.paginateRecords(request, req => this.listSchemas(req));
|
|
10005
|
-
}
|
|
10006
|
-
/**
|
|
10007
|
-
* Creates a new async iterator which will iterate over the responses received from the listSchemas operation. This iterator
|
|
10008
|
-
* will fetch more data from the server as needed.
|
|
10009
|
-
*
|
|
10010
|
-
* @param request a request which can be sent to the service operation
|
|
10011
|
-
*/
|
|
10012
|
-
listSchemasResponseIterator(request) {
|
|
10013
|
-
return oci_common_1.paginateResponses(request, req => this.listSchemas(req));
|
|
10014
|
-
}
|
|
10015
11166
|
/**
|
|
10016
11167
|
* Gets a list of security assessments.
|
|
10017
11168
|
* <p>
|
|
@@ -10033,7 +11184,7 @@ class DataSafeClient {
|
|
|
10033
11184
|
* @param ListSecurityAssessmentsRequest
|
|
10034
11185
|
* @return ListSecurityAssessmentsResponse
|
|
10035
11186
|
* @throws OciError when an error occurs
|
|
10036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11187
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSecurityAssessments.ts.html |here} to see how to use ListSecurityAssessments API.
|
|
10037
11188
|
*/
|
|
10038
11189
|
listSecurityAssessments(listSecurityAssessmentsRequest) {
|
|
10039
11190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10158,7 +11309,7 @@ class DataSafeClient {
|
|
|
10158
11309
|
* @param ListSensitiveColumnsRequest
|
|
10159
11310
|
* @return ListSensitiveColumnsResponse
|
|
10160
11311
|
* @throws OciError when an error occurs
|
|
10161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11312
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSensitiveColumns.ts.html |here} to see how to use ListSensitiveColumns API.
|
|
10162
11313
|
*/
|
|
10163
11314
|
listSensitiveColumns(listSensitiveColumnsRequest) {
|
|
10164
11315
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10188,7 +11339,8 @@ class DataSafeClient {
|
|
|
10188
11339
|
"limit": listSensitiveColumnsRequest.limit,
|
|
10189
11340
|
"page": listSensitiveColumnsRequest.page,
|
|
10190
11341
|
"sortOrder": listSensitiveColumnsRequest.sortOrder,
|
|
10191
|
-
"sortBy": listSensitiveColumnsRequest.sortBy
|
|
11342
|
+
"sortBy": listSensitiveColumnsRequest.sortBy,
|
|
11343
|
+
"isCaseInSensitive": listSensitiveColumnsRequest.isCaseInSensitive
|
|
10192
11344
|
};
|
|
10193
11345
|
let headerParams = {
|
|
10194
11346
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -10247,7 +11399,7 @@ class DataSafeClient {
|
|
|
10247
11399
|
* @param ListSensitiveDataModelsRequest
|
|
10248
11400
|
* @return ListSensitiveDataModelsResponse
|
|
10249
11401
|
* @throws OciError when an error occurs
|
|
10250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11402
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSensitiveDataModels.ts.html |here} to see how to use ListSensitiveDataModels API.
|
|
10251
11403
|
*/
|
|
10252
11404
|
listSensitiveDataModels(listSensitiveDataModelsRequest) {
|
|
10253
11405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10321,6 +11473,158 @@ class DataSafeClient {
|
|
|
10321
11473
|
}
|
|
10322
11474
|
});
|
|
10323
11475
|
}
|
|
11476
|
+
/**
|
|
11477
|
+
* Gets a list of sensitive objects present in the specified sensitive data model based on the specified query parameters.
|
|
11478
|
+
*
|
|
11479
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11480
|
+
* @param ListSensitiveObjectsRequest
|
|
11481
|
+
* @return ListSensitiveObjectsResponse
|
|
11482
|
+
* @throws OciError when an error occurs
|
|
11483
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSensitiveObjects.ts.html |here} to see how to use ListSensitiveObjects API.
|
|
11484
|
+
*/
|
|
11485
|
+
listSensitiveObjects(listSensitiveObjectsRequest) {
|
|
11486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11487
|
+
if (this.logger)
|
|
11488
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveObjects.");
|
|
11489
|
+
const operationName = "listSensitiveObjects";
|
|
11490
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveObjectCollection/ListSensitiveObjects";
|
|
11491
|
+
const pathParams = {
|
|
11492
|
+
"{sensitiveDataModelId}": listSensitiveObjectsRequest.sensitiveDataModelId
|
|
11493
|
+
};
|
|
11494
|
+
const queryParams = {
|
|
11495
|
+
"schemaName": listSensitiveObjectsRequest.schemaName,
|
|
11496
|
+
"objectName": listSensitiveObjectsRequest.objectName,
|
|
11497
|
+
"objectType": listSensitiveObjectsRequest.objectType,
|
|
11498
|
+
"limit": listSensitiveObjectsRequest.limit,
|
|
11499
|
+
"page": listSensitiveObjectsRequest.page,
|
|
11500
|
+
"sortOrder": listSensitiveObjectsRequest.sortOrder,
|
|
11501
|
+
"sortBy": listSensitiveObjectsRequest.sortBy
|
|
11502
|
+
};
|
|
11503
|
+
let headerParams = {
|
|
11504
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11505
|
+
"opc-request-id": listSensitiveObjectsRequest.opcRequestId
|
|
11506
|
+
};
|
|
11507
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11508
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
11509
|
+
if (this.logger)
|
|
11510
|
+
retrier.logger = this.logger;
|
|
11511
|
+
const request = yield oci_common_2.composeRequest({
|
|
11512
|
+
baseEndpoint: this._endpoint,
|
|
11513
|
+
defaultHeaders: this._defaultHeaders,
|
|
11514
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/sensitiveObjects",
|
|
11515
|
+
method: "GET",
|
|
11516
|
+
pathParams: pathParams,
|
|
11517
|
+
headerParams: headerParams,
|
|
11518
|
+
queryParams: queryParams
|
|
11519
|
+
});
|
|
11520
|
+
try {
|
|
11521
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11522
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11523
|
+
responseObject: {},
|
|
11524
|
+
body: yield response.json(),
|
|
11525
|
+
bodyKey: "sensitiveObjectCollection",
|
|
11526
|
+
bodyModel: model.SensitiveObjectCollection,
|
|
11527
|
+
type: "model.SensitiveObjectCollection",
|
|
11528
|
+
responseHeaders: [
|
|
11529
|
+
{
|
|
11530
|
+
value: response.headers.get("opc-request-id"),
|
|
11531
|
+
key: "opcRequestId",
|
|
11532
|
+
dataType: "string"
|
|
11533
|
+
},
|
|
11534
|
+
{
|
|
11535
|
+
value: response.headers.get("opc-next-page"),
|
|
11536
|
+
key: "opcNextPage",
|
|
11537
|
+
dataType: "string"
|
|
11538
|
+
},
|
|
11539
|
+
{
|
|
11540
|
+
value: response.headers.get("opc-prev-page"),
|
|
11541
|
+
key: "opcPrevPage",
|
|
11542
|
+
dataType: "string"
|
|
11543
|
+
}
|
|
11544
|
+
]
|
|
11545
|
+
});
|
|
11546
|
+
return sdkResponse;
|
|
11547
|
+
}
|
|
11548
|
+
catch (err) {
|
|
11549
|
+
throw err;
|
|
11550
|
+
}
|
|
11551
|
+
});
|
|
11552
|
+
}
|
|
11553
|
+
/**
|
|
11554
|
+
* Gets a list of sensitive schemas present in the specified sensitive data model based on the specified query parameters.
|
|
11555
|
+
*
|
|
11556
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11557
|
+
* @param ListSensitiveSchemasRequest
|
|
11558
|
+
* @return ListSensitiveSchemasResponse
|
|
11559
|
+
* @throws OciError when an error occurs
|
|
11560
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSensitiveSchemas.ts.html |here} to see how to use ListSensitiveSchemas API.
|
|
11561
|
+
*/
|
|
11562
|
+
listSensitiveSchemas(listSensitiveSchemasRequest) {
|
|
11563
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11564
|
+
if (this.logger)
|
|
11565
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveSchemas.");
|
|
11566
|
+
const operationName = "listSensitiveSchemas";
|
|
11567
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveSchemaCollection/ListSensitiveSchemas";
|
|
11568
|
+
const pathParams = {
|
|
11569
|
+
"{sensitiveDataModelId}": listSensitiveSchemasRequest.sensitiveDataModelId
|
|
11570
|
+
};
|
|
11571
|
+
const queryParams = {
|
|
11572
|
+
"schemaName": listSensitiveSchemasRequest.schemaName,
|
|
11573
|
+
"limit": listSensitiveSchemasRequest.limit,
|
|
11574
|
+
"page": listSensitiveSchemasRequest.page,
|
|
11575
|
+
"sortOrder": listSensitiveSchemasRequest.sortOrder,
|
|
11576
|
+
"sortBy": listSensitiveSchemasRequest.sortBy
|
|
11577
|
+
};
|
|
11578
|
+
let headerParams = {
|
|
11579
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11580
|
+
"opc-request-id": listSensitiveSchemasRequest.opcRequestId
|
|
11581
|
+
};
|
|
11582
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11583
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveSchemasRequest.retryConfiguration, specRetryConfiguration);
|
|
11584
|
+
if (this.logger)
|
|
11585
|
+
retrier.logger = this.logger;
|
|
11586
|
+
const request = yield oci_common_2.composeRequest({
|
|
11587
|
+
baseEndpoint: this._endpoint,
|
|
11588
|
+
defaultHeaders: this._defaultHeaders,
|
|
11589
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/sensitiveSchemas",
|
|
11590
|
+
method: "GET",
|
|
11591
|
+
pathParams: pathParams,
|
|
11592
|
+
headerParams: headerParams,
|
|
11593
|
+
queryParams: queryParams
|
|
11594
|
+
});
|
|
11595
|
+
try {
|
|
11596
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11597
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11598
|
+
responseObject: {},
|
|
11599
|
+
body: yield response.json(),
|
|
11600
|
+
bodyKey: "sensitiveSchemaCollection",
|
|
11601
|
+
bodyModel: model.SensitiveSchemaCollection,
|
|
11602
|
+
type: "model.SensitiveSchemaCollection",
|
|
11603
|
+
responseHeaders: [
|
|
11604
|
+
{
|
|
11605
|
+
value: response.headers.get("opc-request-id"),
|
|
11606
|
+
key: "opcRequestId",
|
|
11607
|
+
dataType: "string"
|
|
11608
|
+
},
|
|
11609
|
+
{
|
|
11610
|
+
value: response.headers.get("opc-next-page"),
|
|
11611
|
+
key: "opcNextPage",
|
|
11612
|
+
dataType: "string"
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
value: response.headers.get("opc-prev-page"),
|
|
11616
|
+
key: "opcPrevPage",
|
|
11617
|
+
dataType: "string"
|
|
11618
|
+
}
|
|
11619
|
+
]
|
|
11620
|
+
});
|
|
11621
|
+
return sdkResponse;
|
|
11622
|
+
}
|
|
11623
|
+
catch (err) {
|
|
11624
|
+
throw err;
|
|
11625
|
+
}
|
|
11626
|
+
});
|
|
11627
|
+
}
|
|
10324
11628
|
/**
|
|
10325
11629
|
* Gets a list of sensitive types based on the specified query parameters.
|
|
10326
11630
|
*
|
|
@@ -10328,7 +11632,7 @@ class DataSafeClient {
|
|
|
10328
11632
|
* @param ListSensitiveTypesRequest
|
|
10329
11633
|
* @return ListSensitiveTypesResponse
|
|
10330
11634
|
* @throws OciError when an error occurs
|
|
10331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11635
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListSensitiveTypes.ts.html |here} to see how to use ListSensitiveTypes API.
|
|
10332
11636
|
*/
|
|
10333
11637
|
listSensitiveTypes(listSensitiveTypesRequest) {
|
|
10334
11638
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10412,7 +11716,7 @@ class DataSafeClient {
|
|
|
10412
11716
|
* @param ListTablesRequest
|
|
10413
11717
|
* @return ListTablesResponse
|
|
10414
11718
|
* @throws OciError when an error occurs
|
|
10415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11719
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListTables.ts.html |here} to see how to use ListTables API.
|
|
10416
11720
|
*/
|
|
10417
11721
|
listTables(listTablesRequest) {
|
|
10418
11722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10530,7 +11834,7 @@ class DataSafeClient {
|
|
|
10530
11834
|
* @param ListTargetAlertPolicyAssociationsRequest
|
|
10531
11835
|
* @return ListTargetAlertPolicyAssociationsResponse
|
|
10532
11836
|
* @throws OciError when an error occurs
|
|
10533
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11837
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListTargetAlertPolicyAssociations.ts.html |here} to see how to use ListTargetAlertPolicyAssociations API.
|
|
10534
11838
|
*/
|
|
10535
11839
|
listTargetAlertPolicyAssociations(listTargetAlertPolicyAssociationsRequest) {
|
|
10536
11840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10616,7 +11920,7 @@ class DataSafeClient {
|
|
|
10616
11920
|
* @param ListTargetDatabasesRequest
|
|
10617
11921
|
* @return ListTargetDatabasesResponse
|
|
10618
11922
|
* @throws OciError when an error occurs
|
|
10619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11923
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListTargetDatabases.ts.html |here} to see how to use ListTargetDatabases API.
|
|
10620
11924
|
*/
|
|
10621
11925
|
listTargetDatabases(listTargetDatabasesRequest) {
|
|
10622
11926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10751,7 +12055,7 @@ class DataSafeClient {
|
|
|
10751
12055
|
* @param ListUserAnalyticsRequest
|
|
10752
12056
|
* @return ListUserAnalyticsResponse
|
|
10753
12057
|
* @throws OciError when an error occurs
|
|
10754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12058
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListUserAnalytics.ts.html |here} to see how to use ListUserAnalytics API.
|
|
10755
12059
|
*/
|
|
10756
12060
|
listUserAnalytics(listUserAnalyticsRequest) {
|
|
10757
12061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10888,7 +12192,7 @@ class DataSafeClient {
|
|
|
10888
12192
|
* @param ListUserAssessmentsRequest
|
|
10889
12193
|
* @return ListUserAssessmentsResponse
|
|
10890
12194
|
* @throws OciError when an error occurs
|
|
10891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12195
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListUserAssessments.ts.html |here} to see how to use ListUserAssessments API.
|
|
10892
12196
|
*/
|
|
10893
12197
|
listUserAssessments(listUserAssessmentsRequest) {
|
|
10894
12198
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11016,7 +12320,7 @@ class DataSafeClient {
|
|
|
11016
12320
|
* @param ListUsersRequest
|
|
11017
12321
|
* @return ListUsersResponse
|
|
11018
12322
|
* @throws OciError when an error occurs
|
|
11019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12323
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
11020
12324
|
*/
|
|
11021
12325
|
listUsers(listUsersRequest) {
|
|
11022
12326
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11032,6 +12336,9 @@ class DataSafeClient {
|
|
|
11032
12336
|
"compartmentIdInSubtree": listUsersRequest.compartmentIdInSubtree,
|
|
11033
12337
|
"accessLevel": listUsersRequest.accessLevel,
|
|
11034
12338
|
"userCategory": listUsersRequest.userCategory,
|
|
12339
|
+
"userRole": listUsersRequest.userRole,
|
|
12340
|
+
"userProfile": listUsersRequest.userProfile,
|
|
12341
|
+
"userType": listUsersRequest.userType,
|
|
11035
12342
|
"userKey": listUsersRequest.userKey,
|
|
11036
12343
|
"accountStatus": listUsersRequest.accountStatus,
|
|
11037
12344
|
"authenticationType": listUsersRequest.authenticationType,
|
|
@@ -11144,7 +12451,7 @@ class DataSafeClient {
|
|
|
11144
12451
|
* @param ListWorkRequestErrorsRequest
|
|
11145
12452
|
* @return ListWorkRequestErrorsResponse
|
|
11146
12453
|
* @throws OciError when an error occurs
|
|
11147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12454
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
11148
12455
|
*/
|
|
11149
12456
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
11150
12457
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11251,7 +12558,7 @@ class DataSafeClient {
|
|
|
11251
12558
|
* @param ListWorkRequestLogsRequest
|
|
11252
12559
|
* @return ListWorkRequestLogsResponse
|
|
11253
12560
|
* @throws OciError when an error occurs
|
|
11254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12561
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
11255
12562
|
*/
|
|
11256
12563
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
11257
12564
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11358,7 +12665,7 @@ class DataSafeClient {
|
|
|
11358
12665
|
* @param ListWorkRequestsRequest
|
|
11359
12666
|
* @return ListWorkRequestsResponse
|
|
11360
12667
|
* @throws OciError when an error occurs
|
|
11361
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12668
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
11362
12669
|
*/
|
|
11363
12670
|
listWorkRequests(listWorkRequestsRequest) {
|
|
11364
12671
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11468,7 +12775,7 @@ class DataSafeClient {
|
|
|
11468
12775
|
* @param MaskDataRequest
|
|
11469
12776
|
* @return MaskDataResponse
|
|
11470
12777
|
* @throws OciError when an error occurs
|
|
11471
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12778
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/MaskData.ts.html |here} to see how to use MaskData API.
|
|
11472
12779
|
*/
|
|
11473
12780
|
maskData(maskDataRequest) {
|
|
11474
12781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11529,7 +12836,7 @@ class DataSafeClient {
|
|
|
11529
12836
|
* @param ModifyGlobalSettingsRequest
|
|
11530
12837
|
* @return ModifyGlobalSettingsResponse
|
|
11531
12838
|
* @throws OciError when an error occurs
|
|
11532
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12839
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ModifyGlobalSettings.ts.html |here} to see how to use ModifyGlobalSettings API.
|
|
11533
12840
|
*/
|
|
11534
12841
|
modifyGlobalSettings(modifyGlobalSettingsRequest) {
|
|
11535
12842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11586,12 +12893,12 @@ class DataSafeClient {
|
|
|
11586
12893
|
});
|
|
11587
12894
|
}
|
|
11588
12895
|
/**
|
|
11589
|
-
*
|
|
12896
|
+
* Updates the status of one or more alert specified by the alert IDs.
|
|
11590
12897
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11591
12898
|
* @param PatchAlertsRequest
|
|
11592
12899
|
* @return PatchAlertsResponse
|
|
11593
12900
|
* @throws OciError when an error occurs
|
|
11594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12901
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/PatchAlerts.ts.html |here} to see how to use PatchAlerts API.
|
|
11595
12902
|
*/
|
|
11596
12903
|
patchAlerts(patchAlertsRequest) {
|
|
11597
12904
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11655,7 +12962,7 @@ class DataSafeClient {
|
|
|
11655
12962
|
* @param PatchDiscoveryJobResultsRequest
|
|
11656
12963
|
* @return PatchDiscoveryJobResultsResponse
|
|
11657
12964
|
* @throws OciError when an error occurs
|
|
11658
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12965
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/PatchDiscoveryJobResults.ts.html |here} to see how to use PatchDiscoveryJobResults API.
|
|
11659
12966
|
*/
|
|
11660
12967
|
patchDiscoveryJobResults(patchDiscoveryJobResultsRequest) {
|
|
11661
12968
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11719,7 +13026,7 @@ class DataSafeClient {
|
|
|
11719
13026
|
* @param PatchMaskingColumnsRequest
|
|
11720
13027
|
* @return PatchMaskingColumnsResponse
|
|
11721
13028
|
* @throws OciError when an error occurs
|
|
11722
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13029
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/PatchMaskingColumns.ts.html |here} to see how to use PatchMaskingColumns API.
|
|
11723
13030
|
*/
|
|
11724
13031
|
patchMaskingColumns(patchMaskingColumnsRequest) {
|
|
11725
13032
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11774,6 +13081,69 @@ class DataSafeClient {
|
|
|
11774
13081
|
}
|
|
11775
13082
|
});
|
|
11776
13083
|
}
|
|
13084
|
+
/**
|
|
13085
|
+
* Patches one or more SDM masking policy difference columns. You can use this operation to set the plannedAction attribute before using
|
|
13086
|
+
* ApplySdmMaskingPolicyDifference to process the difference based on this attribute.
|
|
13087
|
+
*
|
|
13088
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13089
|
+
* @param PatchSdmMaskingPolicyDifferenceColumnsRequest
|
|
13090
|
+
* @return PatchSdmMaskingPolicyDifferenceColumnsResponse
|
|
13091
|
+
* @throws OciError when an error occurs
|
|
13092
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/PatchSdmMaskingPolicyDifferenceColumns.ts.html |here} to see how to use PatchSdmMaskingPolicyDifferenceColumns API.
|
|
13093
|
+
*/
|
|
13094
|
+
patchSdmMaskingPolicyDifferenceColumns(patchSdmMaskingPolicyDifferenceColumnsRequest) {
|
|
13095
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13096
|
+
if (this.logger)
|
|
13097
|
+
this.logger.debug("Calling operation DataSafeClient#patchSdmMaskingPolicyDifferenceColumns.");
|
|
13098
|
+
const operationName = "patchSdmMaskingPolicyDifferenceColumns";
|
|
13099
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/PatchSdmMaskingPolicyDifferenceColumns";
|
|
13100
|
+
const pathParams = {
|
|
13101
|
+
"{sdmMaskingPolicyDifferenceId}": patchSdmMaskingPolicyDifferenceColumnsRequest.sdmMaskingPolicyDifferenceId
|
|
13102
|
+
};
|
|
13103
|
+
const queryParams = {};
|
|
13104
|
+
let headerParams = {
|
|
13105
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13106
|
+
"if-match": patchSdmMaskingPolicyDifferenceColumnsRequest.ifMatch,
|
|
13107
|
+
"opc-request-id": patchSdmMaskingPolicyDifferenceColumnsRequest.opcRequestId
|
|
13108
|
+
};
|
|
13109
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13110
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchSdmMaskingPolicyDifferenceColumnsRequest.retryConfiguration, specRetryConfiguration);
|
|
13111
|
+
if (this.logger)
|
|
13112
|
+
retrier.logger = this.logger;
|
|
13113
|
+
const request = yield oci_common_2.composeRequest({
|
|
13114
|
+
baseEndpoint: this._endpoint,
|
|
13115
|
+
defaultHeaders: this._defaultHeaders,
|
|
13116
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/differenceColumns",
|
|
13117
|
+
method: "PATCH",
|
|
13118
|
+
bodyContent: common.ObjectSerializer.serialize(patchSdmMaskingPolicyDifferenceColumnsRequest.patchSdmMaskingPolicyDifferenceColumnsDetails, "PatchSdmMaskingPolicyDifferenceColumnsDetails", model.PatchSdmMaskingPolicyDifferenceColumnsDetails.getJsonObj),
|
|
13119
|
+
pathParams: pathParams,
|
|
13120
|
+
headerParams: headerParams,
|
|
13121
|
+
queryParams: queryParams
|
|
13122
|
+
});
|
|
13123
|
+
try {
|
|
13124
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13125
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13126
|
+
responseObject: {},
|
|
13127
|
+
responseHeaders: [
|
|
13128
|
+
{
|
|
13129
|
+
value: response.headers.get("opc-work-request-id"),
|
|
13130
|
+
key: "opcWorkRequestId",
|
|
13131
|
+
dataType: "string"
|
|
13132
|
+
},
|
|
13133
|
+
{
|
|
13134
|
+
value: response.headers.get("opc-request-id"),
|
|
13135
|
+
key: "opcRequestId",
|
|
13136
|
+
dataType: "string"
|
|
13137
|
+
}
|
|
13138
|
+
]
|
|
13139
|
+
});
|
|
13140
|
+
return sdkResponse;
|
|
13141
|
+
}
|
|
13142
|
+
catch (err) {
|
|
13143
|
+
throw err;
|
|
13144
|
+
}
|
|
13145
|
+
});
|
|
13146
|
+
}
|
|
11777
13147
|
/**
|
|
11778
13148
|
* Patches one or more columns in the specified sensitive data model. Use it to create, update, or delete sensitive columns.
|
|
11779
13149
|
* To create sensitive columns, use CreateSensitiveColumnDetails as the patch value. And to update sensitive columns,
|
|
@@ -11783,7 +13153,7 @@ class DataSafeClient {
|
|
|
11783
13153
|
* @param PatchSensitiveColumnsRequest
|
|
11784
13154
|
* @return PatchSensitiveColumnsResponse
|
|
11785
13155
|
* @throws OciError when an error occurs
|
|
11786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/PatchSensitiveColumns.ts.html |here} to see how to use PatchSensitiveColumns API.
|
|
11787
13157
|
*/
|
|
11788
13158
|
patchSensitiveColumns(patchSensitiveColumnsRequest) {
|
|
11789
13159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11839,13 +13209,13 @@ class DataSafeClient {
|
|
|
11839
13209
|
});
|
|
11840
13210
|
}
|
|
11841
13211
|
/**
|
|
11842
|
-
* Creates new target-alert policy associations that will be applied on target.
|
|
13212
|
+
* Creates new target-alert policy associations that will be applied on the target database.
|
|
11843
13213
|
*
|
|
11844
13214
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11845
13215
|
* @param PatchTargetAlertPolicyAssociationRequest
|
|
11846
13216
|
* @return PatchTargetAlertPolicyAssociationResponse
|
|
11847
13217
|
* @throws OciError when an error occurs
|
|
11848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/PatchTargetAlertPolicyAssociation.ts.html |here} to see how to use PatchTargetAlertPolicyAssociation API.
|
|
11849
13219
|
*/
|
|
11850
13220
|
patchTargetAlertPolicyAssociation(patchTargetAlertPolicyAssociationRequest) {
|
|
11851
13221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11904,7 +13274,7 @@ class DataSafeClient {
|
|
|
11904
13274
|
* @param ProvisionAuditPolicyRequest
|
|
11905
13275
|
* @return ProvisionAuditPolicyResponse
|
|
11906
13276
|
* @throws OciError when an error occurs
|
|
11907
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13277
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ProvisionAuditPolicy.ts.html |here} to see how to use ProvisionAuditPolicy API.
|
|
11908
13278
|
*/
|
|
11909
13279
|
provisionAuditPolicy(provisionAuditPolicyRequest) {
|
|
11910
13280
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11968,7 +13338,7 @@ class DataSafeClient {
|
|
|
11968
13338
|
* @param RefreshSecurityAssessmentRequest
|
|
11969
13339
|
* @return RefreshSecurityAssessmentResponse
|
|
11970
13340
|
* @throws OciError when an error occurs
|
|
11971
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13341
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/RefreshSecurityAssessment.ts.html |here} to see how to use RefreshSecurityAssessment API.
|
|
11972
13342
|
*/
|
|
11973
13343
|
refreshSecurityAssessment(refreshSecurityAssessmentRequest) {
|
|
11974
13344
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12033,7 +13403,7 @@ class DataSafeClient {
|
|
|
12033
13403
|
* @param RefreshUserAssessmentRequest
|
|
12034
13404
|
* @return RefreshUserAssessmentResponse
|
|
12035
13405
|
* @throws OciError when an error occurs
|
|
12036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/RefreshUserAssessment.ts.html |here} to see how to use RefreshUserAssessment API.
|
|
12037
13407
|
*/
|
|
12038
13408
|
refreshUserAssessment(refreshUserAssessmentRequest) {
|
|
12039
13409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12090,12 +13460,12 @@ class DataSafeClient {
|
|
|
12090
13460
|
});
|
|
12091
13461
|
}
|
|
12092
13462
|
/**
|
|
12093
|
-
* Deletes schedule of a PDF or XLS report.
|
|
13463
|
+
* Deletes the schedule of a PDF or XLS report.
|
|
12094
13464
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12095
13465
|
* @param RemoveScheduleReportRequest
|
|
12096
13466
|
* @return RemoveScheduleReportResponse
|
|
12097
13467
|
* @throws OciError when an error occurs
|
|
12098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13468
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/RemoveScheduleReport.ts.html |here} to see how to use RemoveScheduleReport API.
|
|
12099
13469
|
*/
|
|
12100
13470
|
removeScheduleReport(removeScheduleReportRequest) {
|
|
12101
13471
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12156,7 +13526,7 @@ class DataSafeClient {
|
|
|
12156
13526
|
* @param ResumeAuditTrailRequest
|
|
12157
13527
|
* @return ResumeAuditTrailResponse
|
|
12158
13528
|
* @throws OciError when an error occurs
|
|
12159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13529
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ResumeAuditTrail.ts.html |here} to see how to use ResumeAuditTrail API.
|
|
12160
13530
|
*/
|
|
12161
13531
|
resumeAuditTrail(resumeAuditTrailRequest) {
|
|
12162
13532
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12217,7 +13587,7 @@ class DataSafeClient {
|
|
|
12217
13587
|
* @param ResumeWorkRequestRequest
|
|
12218
13588
|
* @return ResumeWorkRequestResponse
|
|
12219
13589
|
* @throws OciError when an error occurs
|
|
12220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13590
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ResumeWorkRequest.ts.html |here} to see how to use ResumeWorkRequest API.
|
|
12221
13591
|
*/
|
|
12222
13592
|
resumeWorkRequest(resumeWorkRequestRequest) {
|
|
12223
13593
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12278,7 +13648,7 @@ class DataSafeClient {
|
|
|
12278
13648
|
* @param RetrieveAuditPoliciesRequest
|
|
12279
13649
|
* @return RetrieveAuditPoliciesResponse
|
|
12280
13650
|
* @throws OciError when an error occurs
|
|
12281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13651
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/RetrieveAuditPolicies.ts.html |here} to see how to use RetrieveAuditPolicies API.
|
|
12282
13652
|
*/
|
|
12283
13653
|
retrieveAuditPolicies(retrieveAuditPoliciesRequest) {
|
|
12284
13654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12339,7 +13709,7 @@ class DataSafeClient {
|
|
|
12339
13709
|
* @param ScheduleReportRequest
|
|
12340
13710
|
* @return ScheduleReportResponse
|
|
12341
13711
|
* @throws OciError when an error occurs
|
|
12342
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13712
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/ScheduleReport.ts.html |here} to see how to use ScheduleReport API.
|
|
12343
13713
|
*/
|
|
12344
13714
|
scheduleReport(scheduleReportRequest) {
|
|
12345
13715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12401,7 +13771,7 @@ class DataSafeClient {
|
|
|
12401
13771
|
* @param SetSecurityAssessmentBaselineRequest
|
|
12402
13772
|
* @return SetSecurityAssessmentBaselineResponse
|
|
12403
13773
|
* @throws OciError when an error occurs
|
|
12404
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13774
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/SetSecurityAssessmentBaseline.ts.html |here} to see how to use SetSecurityAssessmentBaseline API.
|
|
12405
13775
|
*/
|
|
12406
13776
|
setSecurityAssessmentBaseline(setSecurityAssessmentBaselineRequest) {
|
|
12407
13777
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12463,7 +13833,7 @@ class DataSafeClient {
|
|
|
12463
13833
|
* @param SetUserAssessmentBaselineRequest
|
|
12464
13834
|
* @return SetUserAssessmentBaselineResponse
|
|
12465
13835
|
* @throws OciError when an error occurs
|
|
12466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13836
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/SetUserAssessmentBaseline.ts.html |here} to see how to use SetUserAssessmentBaseline API.
|
|
12467
13837
|
*/
|
|
12468
13838
|
setUserAssessmentBaseline(setUserAssessmentBaselineRequest) {
|
|
12469
13839
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12525,7 +13895,7 @@ class DataSafeClient {
|
|
|
12525
13895
|
* @param StartAuditTrailRequest
|
|
12526
13896
|
* @return StartAuditTrailResponse
|
|
12527
13897
|
* @throws OciError when an error occurs
|
|
12528
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13898
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/StartAuditTrail.ts.html |here} to see how to use StartAuditTrail API.
|
|
12529
13899
|
*/
|
|
12530
13900
|
startAuditTrail(startAuditTrailRequest) {
|
|
12531
13901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12587,7 +13957,7 @@ class DataSafeClient {
|
|
|
12587
13957
|
* @param StopAuditTrailRequest
|
|
12588
13958
|
* @return StopAuditTrailResponse
|
|
12589
13959
|
* @throws OciError when an error occurs
|
|
12590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13960
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/StopAuditTrail.ts.html |here} to see how to use StopAuditTrail API.
|
|
12591
13961
|
*/
|
|
12592
13962
|
stopAuditTrail(stopAuditTrailRequest) {
|
|
12593
13963
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12648,7 +14018,7 @@ class DataSafeClient {
|
|
|
12648
14018
|
* @param SuspendWorkRequestRequest
|
|
12649
14019
|
* @return SuspendWorkRequestResponse
|
|
12650
14020
|
* @throws OciError when an error occurs
|
|
12651
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14021
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/SuspendWorkRequest.ts.html |here} to see how to use SuspendWorkRequest API.
|
|
12652
14022
|
*/
|
|
12653
14023
|
suspendWorkRequest(suspendWorkRequestRequest) {
|
|
12654
14024
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12711,7 +14081,7 @@ class DataSafeClient {
|
|
|
12711
14081
|
* @param UnsetSecurityAssessmentBaselineRequest
|
|
12712
14082
|
* @return UnsetSecurityAssessmentBaselineResponse
|
|
12713
14083
|
* @throws OciError when an error occurs
|
|
12714
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14084
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UnsetSecurityAssessmentBaseline.ts.html |here} to see how to use UnsetSecurityAssessmentBaseline API.
|
|
12715
14085
|
*/
|
|
12716
14086
|
unsetSecurityAssessmentBaseline(unsetSecurityAssessmentBaselineRequest) {
|
|
12717
14087
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12774,7 +14144,7 @@ class DataSafeClient {
|
|
|
12774
14144
|
* @param UnsetUserAssessmentBaselineRequest
|
|
12775
14145
|
* @return UnsetUserAssessmentBaselineResponse
|
|
12776
14146
|
* @throws OciError when an error occurs
|
|
12777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14147
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UnsetUserAssessmentBaseline.ts.html |here} to see how to use UnsetUserAssessmentBaseline API.
|
|
12778
14148
|
*/
|
|
12779
14149
|
unsetUserAssessmentBaseline(unsetUserAssessmentBaselineRequest) {
|
|
12780
14150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12830,12 +14200,12 @@ class DataSafeClient {
|
|
|
12830
14200
|
});
|
|
12831
14201
|
}
|
|
12832
14202
|
/**
|
|
12833
|
-
* Updates
|
|
14203
|
+
* Updates the status of the specified alert.
|
|
12834
14204
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12835
14205
|
* @param UpdateAlertRequest
|
|
12836
14206
|
* @return UpdateAlertResponse
|
|
12837
14207
|
* @throws OciError when an error occurs
|
|
12838
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateAlert.ts.html |here} to see how to use UpdateAlert API.
|
|
12839
14209
|
*/
|
|
12840
14210
|
updateAlert(updateAlertRequest) {
|
|
12841
14211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12900,7 +14270,7 @@ class DataSafeClient {
|
|
|
12900
14270
|
* @param UpdateAuditArchiveRetrievalRequest
|
|
12901
14271
|
* @return UpdateAuditArchiveRetrievalResponse
|
|
12902
14272
|
* @throws OciError when an error occurs
|
|
12903
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14273
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateAuditArchiveRetrieval.ts.html |here} to see how to use UpdateAuditArchiveRetrieval API.
|
|
12904
14274
|
*/
|
|
12905
14275
|
updateAuditArchiveRetrieval(updateAuditArchiveRetrievalRequest) {
|
|
12906
14276
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12961,7 +14331,7 @@ class DataSafeClient {
|
|
|
12961
14331
|
* @param UpdateAuditPolicyRequest
|
|
12962
14332
|
* @return UpdateAuditPolicyResponse
|
|
12963
14333
|
* @throws OciError when an error occurs
|
|
12964
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14334
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateAuditPolicy.ts.html |here} to see how to use UpdateAuditPolicy API.
|
|
12965
14335
|
*/
|
|
12966
14336
|
updateAuditPolicy(updateAuditPolicyRequest) {
|
|
12967
14337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13022,7 +14392,7 @@ class DataSafeClient {
|
|
|
13022
14392
|
* @param UpdateAuditProfileRequest
|
|
13023
14393
|
* @return UpdateAuditProfileResponse
|
|
13024
14394
|
* @throws OciError when an error occurs
|
|
13025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateAuditProfile.ts.html |here} to see how to use UpdateAuditProfile API.
|
|
13026
14396
|
*/
|
|
13027
14397
|
updateAuditProfile(updateAuditProfileRequest) {
|
|
13028
14398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13083,7 +14453,7 @@ class DataSafeClient {
|
|
|
13083
14453
|
* @param UpdateAuditTrailRequest
|
|
13084
14454
|
* @return UpdateAuditTrailResponse
|
|
13085
14455
|
* @throws OciError when an error occurs
|
|
13086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14456
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateAuditTrail.ts.html |here} to see how to use UpdateAuditTrail API.
|
|
13087
14457
|
*/
|
|
13088
14458
|
updateAuditTrail(updateAuditTrailRequest) {
|
|
13089
14459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13144,7 +14514,7 @@ class DataSafeClient {
|
|
|
13144
14514
|
* @param UpdateDataSafePrivateEndpointRequest
|
|
13145
14515
|
* @return UpdateDataSafePrivateEndpointResponse
|
|
13146
14516
|
* @throws OciError when an error occurs
|
|
13147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14517
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateDataSafePrivateEndpoint.ts.html |here} to see how to use UpdateDataSafePrivateEndpoint API.
|
|
13148
14518
|
*/
|
|
13149
14519
|
updateDataSafePrivateEndpoint(updateDataSafePrivateEndpointRequest) {
|
|
13150
14520
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13205,7 +14575,7 @@ class DataSafeClient {
|
|
|
13205
14575
|
* @param UpdateLibraryMaskingFormatRequest
|
|
13206
14576
|
* @return UpdateLibraryMaskingFormatResponse
|
|
13207
14577
|
* @throws OciError when an error occurs
|
|
13208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14578
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateLibraryMaskingFormat.ts.html |here} to see how to use UpdateLibraryMaskingFormat API.
|
|
13209
14579
|
*/
|
|
13210
14580
|
updateLibraryMaskingFormat(updateLibraryMaskingFormatRequest) {
|
|
13211
14581
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13268,7 +14638,7 @@ class DataSafeClient {
|
|
|
13268
14638
|
* @param UpdateMaskingColumnRequest
|
|
13269
14639
|
* @return UpdateMaskingColumnResponse
|
|
13270
14640
|
* @throws OciError when an error occurs
|
|
13271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14641
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateMaskingColumn.ts.html |here} to see how to use UpdateMaskingColumn API.
|
|
13272
14642
|
*/
|
|
13273
14643
|
updateMaskingColumn(updateMaskingColumnRequest) {
|
|
13274
14644
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13330,7 +14700,7 @@ class DataSafeClient {
|
|
|
13330
14700
|
* @param UpdateMaskingPolicyRequest
|
|
13331
14701
|
* @return UpdateMaskingPolicyResponse
|
|
13332
14702
|
* @throws OciError when an error occurs
|
|
13333
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateMaskingPolicy.ts.html |here} to see how to use UpdateMaskingPolicy API.
|
|
13334
14704
|
*/
|
|
13335
14705
|
updateMaskingPolicy(updateMaskingPolicyRequest) {
|
|
13336
14706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13391,7 +14761,7 @@ class DataSafeClient {
|
|
|
13391
14761
|
* @param UpdateOnPremConnectorRequest
|
|
13392
14762
|
* @return UpdateOnPremConnectorResponse
|
|
13393
14763
|
* @throws OciError when an error occurs
|
|
13394
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14764
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateOnPremConnector.ts.html |here} to see how to use UpdateOnPremConnector API.
|
|
13395
14765
|
*/
|
|
13396
14766
|
updateOnPremConnector(updateOnPremConnectorRequest) {
|
|
13397
14767
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13453,7 +14823,7 @@ class DataSafeClient {
|
|
|
13453
14823
|
* @param UpdateOnPremConnectorWalletRequest
|
|
13454
14824
|
* @return UpdateOnPremConnectorWalletResponse
|
|
13455
14825
|
* @throws OciError when an error occurs
|
|
13456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateOnPremConnectorWallet.ts.html |here} to see how to use UpdateOnPremConnectorWallet API.
|
|
13457
14827
|
*/
|
|
13458
14828
|
updateOnPremConnectorWallet(updateOnPremConnectorWalletRequest) {
|
|
13459
14829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13515,7 +14885,7 @@ class DataSafeClient {
|
|
|
13515
14885
|
* @param UpdateReportDefinitionRequest
|
|
13516
14886
|
* @return UpdateReportDefinitionResponse
|
|
13517
14887
|
* @throws OciError when an error occurs
|
|
13518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateReportDefinition.ts.html |here} to see how to use UpdateReportDefinition API.
|
|
13519
14889
|
*/
|
|
13520
14890
|
updateReportDefinition(updateReportDefinitionRequest) {
|
|
13521
14891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13571,6 +14941,67 @@ class DataSafeClient {
|
|
|
13571
14941
|
}
|
|
13572
14942
|
});
|
|
13573
14943
|
}
|
|
14944
|
+
/**
|
|
14945
|
+
* Updates one or more attributes of the specified sdm masking policy difference.
|
|
14946
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14947
|
+
* @param UpdateSdmMaskingPolicyDifferenceRequest
|
|
14948
|
+
* @return UpdateSdmMaskingPolicyDifferenceResponse
|
|
14949
|
+
* @throws OciError when an error occurs
|
|
14950
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateSdmMaskingPolicyDifference.ts.html |here} to see how to use UpdateSdmMaskingPolicyDifference API.
|
|
14951
|
+
*/
|
|
14952
|
+
updateSdmMaskingPolicyDifference(updateSdmMaskingPolicyDifferenceRequest) {
|
|
14953
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14954
|
+
if (this.logger)
|
|
14955
|
+
this.logger.debug("Calling operation DataSafeClient#updateSdmMaskingPolicyDifference.");
|
|
14956
|
+
const operationName = "updateSdmMaskingPolicyDifference";
|
|
14957
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/UpdateSdmMaskingPolicyDifference";
|
|
14958
|
+
const pathParams = {
|
|
14959
|
+
"{sdmMaskingPolicyDifferenceId}": updateSdmMaskingPolicyDifferenceRequest.sdmMaskingPolicyDifferenceId
|
|
14960
|
+
};
|
|
14961
|
+
const queryParams = {};
|
|
14962
|
+
let headerParams = {
|
|
14963
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
14964
|
+
"if-match": updateSdmMaskingPolicyDifferenceRequest.ifMatch,
|
|
14965
|
+
"opc-request-id": updateSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
14966
|
+
};
|
|
14967
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
14968
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
14969
|
+
if (this.logger)
|
|
14970
|
+
retrier.logger = this.logger;
|
|
14971
|
+
const request = yield oci_common_2.composeRequest({
|
|
14972
|
+
baseEndpoint: this._endpoint,
|
|
14973
|
+
defaultHeaders: this._defaultHeaders,
|
|
14974
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}",
|
|
14975
|
+
method: "PUT",
|
|
14976
|
+
bodyContent: common.ObjectSerializer.serialize(updateSdmMaskingPolicyDifferenceRequest.updateSdmMaskingPolicyDifferenceDetails, "UpdateSdmMaskingPolicyDifferenceDetails", model.UpdateSdmMaskingPolicyDifferenceDetails.getJsonObj),
|
|
14977
|
+
pathParams: pathParams,
|
|
14978
|
+
headerParams: headerParams,
|
|
14979
|
+
queryParams: queryParams
|
|
14980
|
+
});
|
|
14981
|
+
try {
|
|
14982
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
14983
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
14984
|
+
responseObject: {},
|
|
14985
|
+
responseHeaders: [
|
|
14986
|
+
{
|
|
14987
|
+
value: response.headers.get("opc-work-request-id"),
|
|
14988
|
+
key: "opcWorkRequestId",
|
|
14989
|
+
dataType: "string"
|
|
14990
|
+
},
|
|
14991
|
+
{
|
|
14992
|
+
value: response.headers.get("opc-request-id"),
|
|
14993
|
+
key: "opcRequestId",
|
|
14994
|
+
dataType: "string"
|
|
14995
|
+
}
|
|
14996
|
+
]
|
|
14997
|
+
});
|
|
14998
|
+
return sdkResponse;
|
|
14999
|
+
}
|
|
15000
|
+
catch (err) {
|
|
15001
|
+
throw err;
|
|
15002
|
+
}
|
|
15003
|
+
});
|
|
15004
|
+
}
|
|
13574
15005
|
/**
|
|
13575
15006
|
* Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.
|
|
13576
15007
|
*
|
|
@@ -13578,7 +15009,7 @@ class DataSafeClient {
|
|
|
13578
15009
|
* @param UpdateSecurityAssessmentRequest
|
|
13579
15010
|
* @return UpdateSecurityAssessmentResponse
|
|
13580
15011
|
* @throws OciError when an error occurs
|
|
13581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15012
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateSecurityAssessment.ts.html |here} to see how to use UpdateSecurityAssessment API.
|
|
13582
15013
|
*/
|
|
13583
15014
|
updateSecurityAssessment(updateSecurityAssessmentRequest) {
|
|
13584
15015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13639,7 +15070,7 @@ class DataSafeClient {
|
|
|
13639
15070
|
* @param UpdateSensitiveColumnRequest
|
|
13640
15071
|
* @return UpdateSensitiveColumnResponse
|
|
13641
15072
|
* @throws OciError when an error occurs
|
|
13642
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15073
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateSensitiveColumn.ts.html |here} to see how to use UpdateSensitiveColumn API.
|
|
13643
15074
|
*/
|
|
13644
15075
|
updateSensitiveColumn(updateSensitiveColumnRequest) {
|
|
13645
15076
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13703,7 +15134,7 @@ class DataSafeClient {
|
|
|
13703
15134
|
* @param UpdateSensitiveDataModelRequest
|
|
13704
15135
|
* @return UpdateSensitiveDataModelResponse
|
|
13705
15136
|
* @throws OciError when an error occurs
|
|
13706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15137
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateSensitiveDataModel.ts.html |here} to see how to use UpdateSensitiveDataModel API.
|
|
13707
15138
|
*/
|
|
13708
15139
|
updateSensitiveDataModel(updateSensitiveDataModelRequest) {
|
|
13709
15140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13764,7 +15195,7 @@ class DataSafeClient {
|
|
|
13764
15195
|
* @param UpdateSensitiveTypeRequest
|
|
13765
15196
|
* @return UpdateSensitiveTypeResponse
|
|
13766
15197
|
* @throws OciError when an error occurs
|
|
13767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15198
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateSensitiveType.ts.html |here} to see how to use UpdateSensitiveType API.
|
|
13768
15199
|
*/
|
|
13769
15200
|
updateSensitiveType(updateSensitiveTypeRequest) {
|
|
13770
15201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13825,7 +15256,7 @@ class DataSafeClient {
|
|
|
13825
15256
|
* @param UpdateTargetAlertPolicyAssociationRequest
|
|
13826
15257
|
* @return UpdateTargetAlertPolicyAssociationResponse
|
|
13827
15258
|
* @throws OciError when an error occurs
|
|
13828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15259
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateTargetAlertPolicyAssociation.ts.html |here} to see how to use UpdateTargetAlertPolicyAssociation API.
|
|
13829
15260
|
*/
|
|
13830
15261
|
updateTargetAlertPolicyAssociation(updateTargetAlertPolicyAssociationRequest) {
|
|
13831
15262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13886,7 +15317,7 @@ class DataSafeClient {
|
|
|
13886
15317
|
* @param UpdateTargetDatabaseRequest
|
|
13887
15318
|
* @return UpdateTargetDatabaseResponse
|
|
13888
15319
|
* @throws OciError when an error occurs
|
|
13889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15320
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateTargetDatabase.ts.html |here} to see how to use UpdateTargetDatabase API.
|
|
13890
15321
|
*/
|
|
13891
15322
|
updateTargetDatabase(updateTargetDatabaseRequest) {
|
|
13892
15323
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13949,7 +15380,7 @@ class DataSafeClient {
|
|
|
13949
15380
|
* @param UpdateUserAssessmentRequest
|
|
13950
15381
|
* @return UpdateUserAssessmentResponse
|
|
13951
15382
|
* @throws OciError when an error occurs
|
|
13952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15383
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UpdateUserAssessment.ts.html |here} to see how to use UpdateUserAssessment API.
|
|
13953
15384
|
*/
|
|
13954
15385
|
updateUserAssessment(updateUserAssessmentRequest) {
|
|
13955
15386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14015,7 +15446,7 @@ class DataSafeClient {
|
|
|
14015
15446
|
* @param UploadMaskingPolicyRequest
|
|
14016
15447
|
* @return UploadMaskingPolicyResponse
|
|
14017
15448
|
* @throws OciError when an error occurs
|
|
14018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UploadMaskingPolicy.ts.html |here} to see how to use UploadMaskingPolicy API.
|
|
14019
15450
|
*/
|
|
14020
15451
|
uploadMaskingPolicy(uploadMaskingPolicyRequest) {
|
|
14021
15452
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14080,7 +15511,7 @@ class DataSafeClient {
|
|
|
14080
15511
|
* @param UploadSensitiveDataModelRequest
|
|
14081
15512
|
* @return UploadSensitiveDataModelResponse
|
|
14082
15513
|
* @throws OciError when an error occurs
|
|
14083
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15514
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.57.0/datasafe/UploadSensitiveDataModel.ts.html |here} to see how to use UploadSensitiveDataModel API.
|
|
14084
15515
|
*/
|
|
14085
15516
|
uploadSensitiveDataModel(uploadSensitiveDataModelRequest) {
|
|
14086
15517
|
return __awaiter(this, void 0, void 0, function* () {
|