oci-datasafe 2.56.0 → 2.58.1
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 +525 -215
- package/lib/client.js +1737 -283
- 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
|
@@ -57,11 +57,14 @@ var DataSafeApiKeys;
|
|
|
57
57
|
*/
|
|
58
58
|
class DataSafeClient {
|
|
59
59
|
constructor(params, clientConfiguration) {
|
|
60
|
+
this["_realmSpecificEndpointTemplateEnabled"] = false;
|
|
60
61
|
this["_endpoint"] = "";
|
|
61
62
|
this["_defaultHeaders"] = {};
|
|
62
63
|
this._circuitBreaker = null;
|
|
63
64
|
this._httpOptions = undefined;
|
|
64
65
|
this.targetService = "DataSafe";
|
|
66
|
+
this._regionId = "";
|
|
67
|
+
this._lastSetRegionOrRegionId = "";
|
|
65
68
|
const requestSigner = params.authenticationDetailsProvider
|
|
66
69
|
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
|
|
67
70
|
: null;
|
|
@@ -111,13 +114,31 @@ class DataSafeClient {
|
|
|
111
114
|
get logger() {
|
|
112
115
|
return common.LOG.logger;
|
|
113
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Determines whether realm specific endpoint should be used or not.
|
|
119
|
+
* Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false"
|
|
120
|
+
* @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template
|
|
121
|
+
*/
|
|
122
|
+
set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
|
|
123
|
+
this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
|
|
124
|
+
if (this.logger)
|
|
125
|
+
this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
|
|
126
|
+
if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
|
|
127
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DataSafeClient.serviceEndpointTemplate, this._region, DataSafeClient.endpointServiceName);
|
|
128
|
+
}
|
|
129
|
+
else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) {
|
|
130
|
+
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DataSafeClient.serviceEndpointTemplate, this._regionId, DataSafeClient.endpointServiceName);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
114
133
|
/**
|
|
115
134
|
* Sets the region to call (ex, Region.US_PHOENIX_1).
|
|
116
135
|
* Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint.
|
|
117
136
|
* @param region The region of the service.
|
|
118
137
|
*/
|
|
119
138
|
set region(region) {
|
|
139
|
+
this._region = region;
|
|
120
140
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegion(DataSafeClient.serviceEndpointTemplate, region, DataSafeClient.endpointServiceName);
|
|
141
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_STRING;
|
|
121
142
|
}
|
|
122
143
|
/**
|
|
123
144
|
* Sets the regionId to call (ex, 'us-phoenix-1').
|
|
@@ -128,7 +149,9 @@ class DataSafeClient {
|
|
|
128
149
|
* @param regionId The public region ID.
|
|
129
150
|
*/
|
|
130
151
|
set regionId(regionId) {
|
|
152
|
+
this._regionId = regionId;
|
|
131
153
|
this.endpoint = common.EndpointBuilder.createEndpointFromRegionId(DataSafeClient.serviceEndpointTemplate, regionId, DataSafeClient.endpointServiceName);
|
|
154
|
+
this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING;
|
|
132
155
|
}
|
|
133
156
|
/**
|
|
134
157
|
* Creates a new DataSafeWaiter for resources for this service.
|
|
@@ -158,7 +181,7 @@ class DataSafeClient {
|
|
|
158
181
|
* @param ActivateTargetDatabaseRequest
|
|
159
182
|
* @return ActivateTargetDatabaseResponse
|
|
160
183
|
* @throws OciError when an error occurs
|
|
161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
184
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ActivateTargetDatabase.ts.html |here} to see how to use ActivateTargetDatabase API.
|
|
162
185
|
*/
|
|
163
186
|
activateTargetDatabase(activateTargetDatabaseRequest) {
|
|
164
187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -224,7 +247,7 @@ class DataSafeClient {
|
|
|
224
247
|
* @param AddMaskingColumnsFromSdmRequest
|
|
225
248
|
* @return AddMaskingColumnsFromSdmResponse
|
|
226
249
|
* @throws OciError when an error occurs
|
|
227
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
250
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/AddMaskingColumnsFromSdm.ts.html |here} to see how to use AddMaskingColumnsFromSdm API.
|
|
228
251
|
*/
|
|
229
252
|
addMaskingColumnsFromSdm(addMaskingColumnsFromSdmRequest) {
|
|
230
253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -279,12 +302,12 @@ class DataSafeClient {
|
|
|
279
302
|
});
|
|
280
303
|
}
|
|
281
304
|
/**
|
|
282
|
-
*
|
|
305
|
+
* Updates alerts in the specified compartment.
|
|
283
306
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
284
307
|
* @param AlertsUpdateRequest
|
|
285
308
|
* @return AlertsUpdateResponse
|
|
286
309
|
* @throws OciError when an error occurs
|
|
287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
310
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/AlertsUpdate.ts.html |here} to see how to use AlertsUpdate API.
|
|
288
311
|
*/
|
|
289
312
|
alertsUpdate(alertsUpdateRequest) {
|
|
290
313
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -351,7 +374,7 @@ class DataSafeClient {
|
|
|
351
374
|
* @param ApplyDiscoveryJobResultsRequest
|
|
352
375
|
* @return ApplyDiscoveryJobResultsResponse
|
|
353
376
|
* @throws OciError when an error occurs
|
|
354
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
377
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ApplyDiscoveryJobResults.ts.html |here} to see how to use ApplyDiscoveryJobResults API.
|
|
355
378
|
*/
|
|
356
379
|
applyDiscoveryJobResults(applyDiscoveryJobResultsRequest) {
|
|
357
380
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -406,13 +429,81 @@ class DataSafeClient {
|
|
|
406
429
|
}
|
|
407
430
|
});
|
|
408
431
|
}
|
|
432
|
+
/**
|
|
433
|
+
* Applies the difference of a SDM Masking policy difference resource to the specified masking policy. Note that the plannedAction attribute
|
|
434
|
+
* of difference columns is used for processing. You should first use PatchSdmMaskingPolicyDifferenceColumns to set the plannedAction
|
|
435
|
+
* attribute of the difference columns you want to process. ApplySdmMaskingPolicyDifference automatically reads the plannedAction
|
|
436
|
+
* attribute and updates the masking policy to reflect the actions you planned. If the sdmMaskingPolicydifferenceId is not passed, the
|
|
437
|
+
* latest sdmMaskingPolicydifference is used. Note that if the masking policy associated with the SdmMaskingPolicyDifference used for this
|
|
438
|
+
* operation is not associated with the original SDM anymore, this operation won't be allowed.
|
|
439
|
+
*
|
|
440
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
441
|
+
* @param ApplySdmMaskingPolicyDifferenceRequest
|
|
442
|
+
* @return ApplySdmMaskingPolicyDifferenceResponse
|
|
443
|
+
* @throws OciError when an error occurs
|
|
444
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ApplySdmMaskingPolicyDifference.ts.html |here} to see how to use ApplySdmMaskingPolicyDifference API.
|
|
445
|
+
*/
|
|
446
|
+
applySdmMaskingPolicyDifference(applySdmMaskingPolicyDifferenceRequest) {
|
|
447
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
448
|
+
if (this.logger)
|
|
449
|
+
this.logger.debug("Calling operation DataSafeClient#applySdmMaskingPolicyDifference.");
|
|
450
|
+
const operationName = "applySdmMaskingPolicyDifference";
|
|
451
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingPolicy/ApplySdmMaskingPolicyDifference";
|
|
452
|
+
const pathParams = {
|
|
453
|
+
"{maskingPolicyId}": applySdmMaskingPolicyDifferenceRequest.maskingPolicyId
|
|
454
|
+
};
|
|
455
|
+
const queryParams = {};
|
|
456
|
+
let headerParams = {
|
|
457
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
458
|
+
"if-match": applySdmMaskingPolicyDifferenceRequest.ifMatch,
|
|
459
|
+
"opc-request-id": applySdmMaskingPolicyDifferenceRequest.opcRequestId,
|
|
460
|
+
"opc-retry-token": applySdmMaskingPolicyDifferenceRequest.opcRetryToken
|
|
461
|
+
};
|
|
462
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
463
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, applySdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
464
|
+
if (this.logger)
|
|
465
|
+
retrier.logger = this.logger;
|
|
466
|
+
const request = yield oci_common_2.composeRequest({
|
|
467
|
+
baseEndpoint: this._endpoint,
|
|
468
|
+
defaultHeaders: this._defaultHeaders,
|
|
469
|
+
path: "/maskingPolicies/{maskingPolicyId}/maskingColumns/actions/applyDifferenceToMaskingColumns",
|
|
470
|
+
method: "POST",
|
|
471
|
+
bodyContent: common.ObjectSerializer.serialize(applySdmMaskingPolicyDifferenceRequest.applySdmMaskingPolicyDifferenceDetails, "ApplySdmMaskingPolicyDifferenceDetails", model.ApplySdmMaskingPolicyDifferenceDetails.getJsonObj),
|
|
472
|
+
pathParams: pathParams,
|
|
473
|
+
headerParams: headerParams,
|
|
474
|
+
queryParams: queryParams
|
|
475
|
+
});
|
|
476
|
+
try {
|
|
477
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
478
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
479
|
+
responseObject: {},
|
|
480
|
+
responseHeaders: [
|
|
481
|
+
{
|
|
482
|
+
value: response.headers.get("opc-request-id"),
|
|
483
|
+
key: "opcRequestId",
|
|
484
|
+
dataType: "string"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
value: response.headers.get("opc-work-request-id"),
|
|
488
|
+
key: "opcWorkRequestId",
|
|
489
|
+
dataType: "string"
|
|
490
|
+
}
|
|
491
|
+
]
|
|
492
|
+
});
|
|
493
|
+
return sdkResponse;
|
|
494
|
+
}
|
|
495
|
+
catch (err) {
|
|
496
|
+
throw err;
|
|
497
|
+
}
|
|
498
|
+
});
|
|
499
|
+
}
|
|
409
500
|
/**
|
|
410
501
|
* 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
502
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
412
503
|
* @param CalculateAuditVolumeAvailableRequest
|
|
413
504
|
* @return CalculateAuditVolumeAvailableResponse
|
|
414
505
|
* @throws OciError when an error occurs
|
|
415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CalculateAuditVolumeAvailable.ts.html |here} to see how to use CalculateAuditVolumeAvailable API.
|
|
416
507
|
*/
|
|
417
508
|
calculateAuditVolumeAvailable(calculateAuditVolumeAvailableRequest) {
|
|
418
509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -474,7 +565,7 @@ class DataSafeClient {
|
|
|
474
565
|
* @param CalculateAuditVolumeCollectedRequest
|
|
475
566
|
* @return CalculateAuditVolumeCollectedResponse
|
|
476
567
|
* @throws OciError when an error occurs
|
|
477
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
568
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CalculateAuditVolumeCollected.ts.html |here} to see how to use CalculateAuditVolumeCollected API.
|
|
478
569
|
*/
|
|
479
570
|
calculateAuditVolumeCollected(calculateAuditVolumeCollectedRequest) {
|
|
480
571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -537,7 +628,7 @@ class DataSafeClient {
|
|
|
537
628
|
* @param CancelWorkRequestRequest
|
|
538
629
|
* @return CancelWorkRequestResponse
|
|
539
630
|
* @throws OciError when an error occurs
|
|
540
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
631
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API.
|
|
541
632
|
*/
|
|
542
633
|
cancelWorkRequest(cancelWorkRequestRequest) {
|
|
543
634
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -598,7 +689,7 @@ class DataSafeClient {
|
|
|
598
689
|
* @param ChangeAlertCompartmentRequest
|
|
599
690
|
* @return ChangeAlertCompartmentResponse
|
|
600
691
|
* @throws OciError when an error occurs
|
|
601
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
692
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeAlertCompartment.ts.html |here} to see how to use ChangeAlertCompartment API.
|
|
602
693
|
*/
|
|
603
694
|
changeAlertCompartment(changeAlertCompartmentRequest) {
|
|
604
695
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -656,7 +747,7 @@ class DataSafeClient {
|
|
|
656
747
|
* @param ChangeAuditArchiveRetrievalCompartmentRequest
|
|
657
748
|
* @return ChangeAuditArchiveRetrievalCompartmentResponse
|
|
658
749
|
* @throws OciError when an error occurs
|
|
659
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
750
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeAuditArchiveRetrievalCompartment.ts.html |here} to see how to use ChangeAuditArchiveRetrievalCompartment API.
|
|
660
751
|
*/
|
|
661
752
|
changeAuditArchiveRetrievalCompartment(changeAuditArchiveRetrievalCompartmentRequest) {
|
|
662
753
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -718,7 +809,7 @@ class DataSafeClient {
|
|
|
718
809
|
* @param ChangeAuditPolicyCompartmentRequest
|
|
719
810
|
* @return ChangeAuditPolicyCompartmentResponse
|
|
720
811
|
* @throws OciError when an error occurs
|
|
721
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
812
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeAuditPolicyCompartment.ts.html |here} to see how to use ChangeAuditPolicyCompartment API.
|
|
722
813
|
*/
|
|
723
814
|
changeAuditPolicyCompartment(changeAuditPolicyCompartmentRequest) {
|
|
724
815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -780,7 +871,7 @@ class DataSafeClient {
|
|
|
780
871
|
* @param ChangeAuditProfileCompartmentRequest
|
|
781
872
|
* @return ChangeAuditProfileCompartmentResponse
|
|
782
873
|
* @throws OciError when an error occurs
|
|
783
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
874
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeAuditProfileCompartment.ts.html |here} to see how to use ChangeAuditProfileCompartment API.
|
|
784
875
|
*/
|
|
785
876
|
changeAuditProfileCompartment(changeAuditProfileCompartmentRequest) {
|
|
786
877
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -842,7 +933,7 @@ class DataSafeClient {
|
|
|
842
933
|
* @param ChangeDataSafePrivateEndpointCompartmentRequest
|
|
843
934
|
* @return ChangeDataSafePrivateEndpointCompartmentResponse
|
|
844
935
|
* @throws OciError when an error occurs
|
|
845
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
936
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeDataSafePrivateEndpointCompartment.ts.html |here} to see how to use ChangeDataSafePrivateEndpointCompartment API.
|
|
846
937
|
*/
|
|
847
938
|
changeDataSafePrivateEndpointCompartment(changeDataSafePrivateEndpointCompartmentRequest) {
|
|
848
939
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -903,7 +994,7 @@ class DataSafeClient {
|
|
|
903
994
|
* @param ChangeDiscoveryJobCompartmentRequest
|
|
904
995
|
* @return ChangeDiscoveryJobCompartmentResponse
|
|
905
996
|
* @throws OciError when an error occurs
|
|
906
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
997
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeDiscoveryJobCompartment.ts.html |here} to see how to use ChangeDiscoveryJobCompartment API.
|
|
907
998
|
*/
|
|
908
999
|
changeDiscoveryJobCompartment(changeDiscoveryJobCompartmentRequest) {
|
|
909
1000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -960,7 +1051,7 @@ class DataSafeClient {
|
|
|
960
1051
|
* @param ChangeLibraryMaskingFormatCompartmentRequest
|
|
961
1052
|
* @return ChangeLibraryMaskingFormatCompartmentResponse
|
|
962
1053
|
* @throws OciError when an error occurs
|
|
963
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1054
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeLibraryMaskingFormatCompartment.ts.html |here} to see how to use ChangeLibraryMaskingFormatCompartment API.
|
|
964
1055
|
*/
|
|
965
1056
|
changeLibraryMaskingFormatCompartment(changeLibraryMaskingFormatCompartmentRequest) {
|
|
966
1057
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1017,7 +1108,7 @@ class DataSafeClient {
|
|
|
1017
1108
|
* @param ChangeMaskingPolicyCompartmentRequest
|
|
1018
1109
|
* @return ChangeMaskingPolicyCompartmentResponse
|
|
1019
1110
|
* @throws OciError when an error occurs
|
|
1020
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1111
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeMaskingPolicyCompartment.ts.html |here} to see how to use ChangeMaskingPolicyCompartment API.
|
|
1021
1112
|
*/
|
|
1022
1113
|
changeMaskingPolicyCompartment(changeMaskingPolicyCompartmentRequest) {
|
|
1023
1114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1074,7 +1165,7 @@ class DataSafeClient {
|
|
|
1074
1165
|
* @param ChangeOnPremConnectorCompartmentRequest
|
|
1075
1166
|
* @return ChangeOnPremConnectorCompartmentResponse
|
|
1076
1167
|
* @throws OciError when an error occurs
|
|
1077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1168
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeOnPremConnectorCompartment.ts.html |here} to see how to use ChangeOnPremConnectorCompartment API.
|
|
1078
1169
|
*/
|
|
1079
1170
|
changeOnPremConnectorCompartment(changeOnPremConnectorCompartmentRequest) {
|
|
1080
1171
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1131,7 +1222,7 @@ class DataSafeClient {
|
|
|
1131
1222
|
* @param ChangeReportCompartmentRequest
|
|
1132
1223
|
* @return ChangeReportCompartmentResponse
|
|
1133
1224
|
* @throws OciError when an error occurs
|
|
1134
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeReportCompartment.ts.html |here} to see how to use ChangeReportCompartment API.
|
|
1135
1226
|
*/
|
|
1136
1227
|
changeReportCompartment(changeReportCompartmentRequest) {
|
|
1137
1228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1193,7 +1284,7 @@ class DataSafeClient {
|
|
|
1193
1284
|
* @param ChangeReportDefinitionCompartmentRequest
|
|
1194
1285
|
* @return ChangeReportDefinitionCompartmentResponse
|
|
1195
1286
|
* @throws OciError when an error occurs
|
|
1196
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1287
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeReportDefinitionCompartment.ts.html |here} to see how to use ChangeReportDefinitionCompartment API.
|
|
1197
1288
|
*/
|
|
1198
1289
|
changeReportDefinitionCompartment(changeReportDefinitionCompartmentRequest) {
|
|
1199
1290
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1255,7 +1346,7 @@ class DataSafeClient {
|
|
|
1255
1346
|
* @param ChangeRetentionRequest
|
|
1256
1347
|
* @return ChangeRetentionResponse
|
|
1257
1348
|
* @throws OciError when an error occurs
|
|
1258
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1349
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeRetention.ts.html |here} to see how to use ChangeRetention API.
|
|
1259
1350
|
*/
|
|
1260
1351
|
changeRetention(changeRetentionRequest) {
|
|
1261
1352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1311,6 +1402,63 @@ class DataSafeClient {
|
|
|
1311
1402
|
}
|
|
1312
1403
|
});
|
|
1313
1404
|
}
|
|
1405
|
+
/**
|
|
1406
|
+
* Moves the specified SDM masking policy difference into a different compartment.
|
|
1407
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1408
|
+
* @param ChangeSdmMaskingPolicyDifferenceCompartmentRequest
|
|
1409
|
+
* @return ChangeSdmMaskingPolicyDifferenceCompartmentResponse
|
|
1410
|
+
* @throws OciError when an error occurs
|
|
1411
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeSdmMaskingPolicyDifferenceCompartment.ts.html |here} to see how to use ChangeSdmMaskingPolicyDifferenceCompartment API.
|
|
1412
|
+
*/
|
|
1413
|
+
changeSdmMaskingPolicyDifferenceCompartment(changeSdmMaskingPolicyDifferenceCompartmentRequest) {
|
|
1414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1415
|
+
if (this.logger)
|
|
1416
|
+
this.logger.debug("Calling operation DataSafeClient#changeSdmMaskingPolicyDifferenceCompartment.");
|
|
1417
|
+
const operationName = "changeSdmMaskingPolicyDifferenceCompartment";
|
|
1418
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/ChangeSdmMaskingPolicyDifferenceCompartment";
|
|
1419
|
+
const pathParams = {
|
|
1420
|
+
"{sdmMaskingPolicyDifferenceId}": changeSdmMaskingPolicyDifferenceCompartmentRequest.sdmMaskingPolicyDifferenceId
|
|
1421
|
+
};
|
|
1422
|
+
const queryParams = {};
|
|
1423
|
+
let headerParams = {
|
|
1424
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1425
|
+
"if-match": changeSdmMaskingPolicyDifferenceCompartmentRequest.ifMatch,
|
|
1426
|
+
"opc-request-id": changeSdmMaskingPolicyDifferenceCompartmentRequest.opcRequestId,
|
|
1427
|
+
"opc-retry-token": changeSdmMaskingPolicyDifferenceCompartmentRequest.opcRetryToken
|
|
1428
|
+
};
|
|
1429
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
1430
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSdmMaskingPolicyDifferenceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
1431
|
+
if (this.logger)
|
|
1432
|
+
retrier.logger = this.logger;
|
|
1433
|
+
const request = yield oci_common_2.composeRequest({
|
|
1434
|
+
baseEndpoint: this._endpoint,
|
|
1435
|
+
defaultHeaders: this._defaultHeaders,
|
|
1436
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/actions/changeCompartment",
|
|
1437
|
+
method: "POST",
|
|
1438
|
+
bodyContent: common.ObjectSerializer.serialize(changeSdmMaskingPolicyDifferenceCompartmentRequest.changeSdmMaskingPolicyDifferenceCompartmentDetails, "ChangeSdmMaskingPolicyDifferenceCompartmentDetails", model.ChangeSdmMaskingPolicyDifferenceCompartmentDetails.getJsonObj),
|
|
1439
|
+
pathParams: pathParams,
|
|
1440
|
+
headerParams: headerParams,
|
|
1441
|
+
queryParams: queryParams
|
|
1442
|
+
});
|
|
1443
|
+
try {
|
|
1444
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
1445
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1446
|
+
responseObject: {},
|
|
1447
|
+
responseHeaders: [
|
|
1448
|
+
{
|
|
1449
|
+
value: response.headers.get("opc-request-id"),
|
|
1450
|
+
key: "opcRequestId",
|
|
1451
|
+
dataType: "string"
|
|
1452
|
+
}
|
|
1453
|
+
]
|
|
1454
|
+
});
|
|
1455
|
+
return sdkResponse;
|
|
1456
|
+
}
|
|
1457
|
+
catch (err) {
|
|
1458
|
+
throw err;
|
|
1459
|
+
}
|
|
1460
|
+
});
|
|
1461
|
+
}
|
|
1314
1462
|
/**
|
|
1315
1463
|
* Moves the specified saved security assessment or future scheduled assessments into a different compartment.
|
|
1316
1464
|
* <p>
|
|
@@ -1322,7 +1470,7 @@ class DataSafeClient {
|
|
|
1322
1470
|
* @param ChangeSecurityAssessmentCompartmentRequest
|
|
1323
1471
|
* @return ChangeSecurityAssessmentCompartmentResponse
|
|
1324
1472
|
* @throws OciError when an error occurs
|
|
1325
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1473
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeSecurityAssessmentCompartment.ts.html |here} to see how to use ChangeSecurityAssessmentCompartment API.
|
|
1326
1474
|
*/
|
|
1327
1475
|
changeSecurityAssessmentCompartment(changeSecurityAssessmentCompartmentRequest) {
|
|
1328
1476
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1379,7 +1527,7 @@ class DataSafeClient {
|
|
|
1379
1527
|
* @param ChangeSensitiveDataModelCompartmentRequest
|
|
1380
1528
|
* @return ChangeSensitiveDataModelCompartmentResponse
|
|
1381
1529
|
* @throws OciError when an error occurs
|
|
1382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1530
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeSensitiveDataModelCompartment.ts.html |here} to see how to use ChangeSensitiveDataModelCompartment API.
|
|
1383
1531
|
*/
|
|
1384
1532
|
changeSensitiveDataModelCompartment(changeSensitiveDataModelCompartmentRequest) {
|
|
1385
1533
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1436,7 +1584,7 @@ class DataSafeClient {
|
|
|
1436
1584
|
* @param ChangeSensitiveTypeCompartmentRequest
|
|
1437
1585
|
* @return ChangeSensitiveTypeCompartmentResponse
|
|
1438
1586
|
* @throws OciError when an error occurs
|
|
1439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1587
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeSensitiveTypeCompartment.ts.html |here} to see how to use ChangeSensitiveTypeCompartment API.
|
|
1440
1588
|
*/
|
|
1441
1589
|
changeSensitiveTypeCompartment(changeSensitiveTypeCompartmentRequest) {
|
|
1442
1590
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1493,7 +1641,7 @@ class DataSafeClient {
|
|
|
1493
1641
|
* @param ChangeTargetAlertPolicyAssociationCompartmentRequest
|
|
1494
1642
|
* @return ChangeTargetAlertPolicyAssociationCompartmentResponse
|
|
1495
1643
|
* @throws OciError when an error occurs
|
|
1496
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeTargetAlertPolicyAssociationCompartment.ts.html |here} to see how to use ChangeTargetAlertPolicyAssociationCompartment API.
|
|
1497
1645
|
*/
|
|
1498
1646
|
changeTargetAlertPolicyAssociationCompartment(changeTargetAlertPolicyAssociationCompartmentRequest) {
|
|
1499
1647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1550,7 +1698,7 @@ class DataSafeClient {
|
|
|
1550
1698
|
* @param ChangeTargetDatabaseCompartmentRequest
|
|
1551
1699
|
* @return ChangeTargetDatabaseCompartmentResponse
|
|
1552
1700
|
* @throws OciError when an error occurs
|
|
1553
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1701
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeTargetDatabaseCompartment.ts.html |here} to see how to use ChangeTargetDatabaseCompartment API.
|
|
1554
1702
|
*/
|
|
1555
1703
|
changeTargetDatabaseCompartment(changeTargetDatabaseCompartmentRequest) {
|
|
1556
1704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1612,7 +1760,7 @@ class DataSafeClient {
|
|
|
1612
1760
|
* @param ChangeUserAssessmentCompartmentRequest
|
|
1613
1761
|
* @return ChangeUserAssessmentCompartmentResponse
|
|
1614
1762
|
* @throws OciError when an error occurs
|
|
1615
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1763
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ChangeUserAssessmentCompartment.ts.html |here} to see how to use ChangeUserAssessmentCompartment API.
|
|
1616
1764
|
*/
|
|
1617
1765
|
changeUserAssessmentCompartment(changeUserAssessmentCompartmentRequest) {
|
|
1618
1766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1671,7 +1819,7 @@ class DataSafeClient {
|
|
|
1671
1819
|
* @param CompareSecurityAssessmentRequest
|
|
1672
1820
|
* @return CompareSecurityAssessmentResponse
|
|
1673
1821
|
* @throws OciError when an error occurs
|
|
1674
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1822
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CompareSecurityAssessment.ts.html |here} to see how to use CompareSecurityAssessment API.
|
|
1675
1823
|
*/
|
|
1676
1824
|
compareSecurityAssessment(compareSecurityAssessmentRequest) {
|
|
1677
1825
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1735,7 +1883,7 @@ class DataSafeClient {
|
|
|
1735
1883
|
* @param CompareUserAssessmentRequest
|
|
1736
1884
|
* @return CompareUserAssessmentResponse
|
|
1737
1885
|
* @throws OciError when an error occurs
|
|
1738
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1886
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CompareUserAssessment.ts.html |here} to see how to use CompareUserAssessment API.
|
|
1739
1887
|
*/
|
|
1740
1888
|
compareUserAssessment(compareUserAssessmentRequest) {
|
|
1741
1889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1800,7 +1948,7 @@ class DataSafeClient {
|
|
|
1800
1948
|
* @param CreateAuditArchiveRetrievalRequest
|
|
1801
1949
|
* @return CreateAuditArchiveRetrievalResponse
|
|
1802
1950
|
* @throws OciError when an error occurs
|
|
1803
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1951
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateAuditArchiveRetrieval.ts.html |here} to see how to use CreateAuditArchiveRetrieval API.
|
|
1804
1952
|
*/
|
|
1805
1953
|
createAuditArchiveRetrieval(createAuditArchiveRetrievalRequest) {
|
|
1806
1954
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1869,7 +2017,7 @@ class DataSafeClient {
|
|
|
1869
2017
|
* @param CreateDataSafePrivateEndpointRequest
|
|
1870
2018
|
* @return CreateDataSafePrivateEndpointResponse
|
|
1871
2019
|
* @throws OciError when an error occurs
|
|
1872
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2020
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateDataSafePrivateEndpoint.ts.html |here} to see how to use CreateDataSafePrivateEndpoint API.
|
|
1873
2021
|
*/
|
|
1874
2022
|
createDataSafePrivateEndpoint(createDataSafePrivateEndpointRequest) {
|
|
1875
2023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1947,7 +2095,7 @@ class DataSafeClient {
|
|
|
1947
2095
|
* @param CreateDiscoveryJobRequest
|
|
1948
2096
|
* @return CreateDiscoveryJobResponse
|
|
1949
2097
|
* @throws OciError when an error occurs
|
|
1950
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2098
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateDiscoveryJob.ts.html |here} to see how to use CreateDiscoveryJob API.
|
|
1951
2099
|
*/
|
|
1952
2100
|
createDiscoveryJob(createDiscoveryJobRequest) {
|
|
1953
2101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2025,7 +2173,7 @@ class DataSafeClient {
|
|
|
2025
2173
|
* @param CreateLibraryMaskingFormatRequest
|
|
2026
2174
|
* @return CreateLibraryMaskingFormatResponse
|
|
2027
2175
|
* @throws OciError when an error occurs
|
|
2028
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateLibraryMaskingFormat.ts.html |here} to see how to use CreateLibraryMaskingFormat API.
|
|
2029
2177
|
*/
|
|
2030
2178
|
createLibraryMaskingFormat(createLibraryMaskingFormatRequest) {
|
|
2031
2179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2118,7 +2266,7 @@ class DataSafeClient {
|
|
|
2118
2266
|
* @param CreateMaskingColumnRequest
|
|
2119
2267
|
* @return CreateMaskingColumnResponse
|
|
2120
2268
|
* @throws OciError when an error occurs
|
|
2121
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2269
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateMaskingColumn.ts.html |here} to see how to use CreateMaskingColumn API.
|
|
2122
2270
|
*/
|
|
2123
2271
|
createMaskingColumn(createMaskingColumnRequest) {
|
|
2124
2272
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2196,7 +2344,7 @@ class DataSafeClient {
|
|
|
2196
2344
|
* @param CreateMaskingPolicyRequest
|
|
2197
2345
|
* @return CreateMaskingPolicyResponse
|
|
2198
2346
|
* @throws OciError when an error occurs
|
|
2199
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateMaskingPolicy.ts.html |here} to see how to use CreateMaskingPolicy API.
|
|
2200
2348
|
*/
|
|
2201
2349
|
createMaskingPolicy(createMaskingPolicyRequest) {
|
|
2202
2350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2270,7 +2418,7 @@ class DataSafeClient {
|
|
|
2270
2418
|
* @param CreateOnPremConnectorRequest
|
|
2271
2419
|
* @return CreateOnPremConnectorResponse
|
|
2272
2420
|
* @throws OciError when an error occurs
|
|
2273
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2421
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateOnPremConnector.ts.html |here} to see how to use CreateOnPremConnector API.
|
|
2274
2422
|
*/
|
|
2275
2423
|
createOnPremConnector(createOnPremConnectorRequest) {
|
|
2276
2424
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2344,7 +2492,7 @@ class DataSafeClient {
|
|
|
2344
2492
|
* @param CreateReportDefinitionRequest
|
|
2345
2493
|
* @return CreateReportDefinitionResponse
|
|
2346
2494
|
* @throws OciError when an error occurs
|
|
2347
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2495
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateReportDefinition.ts.html |here} to see how to use CreateReportDefinition API.
|
|
2348
2496
|
*/
|
|
2349
2497
|
createReportDefinition(createReportDefinitionRequest) {
|
|
2350
2498
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2406,6 +2554,84 @@ class DataSafeClient {
|
|
|
2406
2554
|
}
|
|
2407
2555
|
});
|
|
2408
2556
|
}
|
|
2557
|
+
/**
|
|
2558
|
+
* Creates SDM masking policy difference for the specified masking policy. It finds the difference between
|
|
2559
|
+
* masking columns of the masking policy and sensitive columns of the SDM. After performing this operation,
|
|
2560
|
+
* you can use ListDifferenceColumns to view the difference columns, PatchSdmMaskingPolicyDifferenceColumns
|
|
2561
|
+
* to specify the action you want perform on these columns, and then ApplySdmMaskingPolicyDifference to process the
|
|
2562
|
+
* difference columns and apply them to the masking policy.
|
|
2563
|
+
*
|
|
2564
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2565
|
+
* @param CreateSdmMaskingPolicyDifferenceRequest
|
|
2566
|
+
* @return CreateSdmMaskingPolicyDifferenceResponse
|
|
2567
|
+
* @throws OciError when an error occurs
|
|
2568
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateSdmMaskingPolicyDifference.ts.html |here} to see how to use CreateSdmMaskingPolicyDifference API.
|
|
2569
|
+
*/
|
|
2570
|
+
createSdmMaskingPolicyDifference(createSdmMaskingPolicyDifferenceRequest) {
|
|
2571
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2572
|
+
if (this.logger)
|
|
2573
|
+
this.logger.debug("Calling operation DataSafeClient#createSdmMaskingPolicyDifference.");
|
|
2574
|
+
const operationName = "createSdmMaskingPolicyDifference";
|
|
2575
|
+
const apiReferenceLink = "";
|
|
2576
|
+
const pathParams = {};
|
|
2577
|
+
const queryParams = {};
|
|
2578
|
+
let headerParams = {
|
|
2579
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2580
|
+
"opc-retry-token": createSdmMaskingPolicyDifferenceRequest.opcRetryToken,
|
|
2581
|
+
"opc-request-id": createSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
2582
|
+
};
|
|
2583
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2584
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
2585
|
+
if (this.logger)
|
|
2586
|
+
retrier.logger = this.logger;
|
|
2587
|
+
const request = yield oci_common_2.composeRequest({
|
|
2588
|
+
baseEndpoint: this._endpoint,
|
|
2589
|
+
defaultHeaders: this._defaultHeaders,
|
|
2590
|
+
path: "/sdmMaskingPolicyDifferences",
|
|
2591
|
+
method: "POST",
|
|
2592
|
+
bodyContent: common.ObjectSerializer.serialize(createSdmMaskingPolicyDifferenceRequest.createSdmMaskingPolicyDifferenceDetails, "CreateSdmMaskingPolicyDifferenceDetails", model.CreateSdmMaskingPolicyDifferenceDetails.getJsonObj),
|
|
2593
|
+
pathParams: pathParams,
|
|
2594
|
+
headerParams: headerParams,
|
|
2595
|
+
queryParams: queryParams
|
|
2596
|
+
});
|
|
2597
|
+
try {
|
|
2598
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2599
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2600
|
+
responseObject: {},
|
|
2601
|
+
body: yield response.json(),
|
|
2602
|
+
bodyKey: "sdmMaskingPolicyDifference",
|
|
2603
|
+
bodyModel: model.SdmMaskingPolicyDifference,
|
|
2604
|
+
type: "model.SdmMaskingPolicyDifference",
|
|
2605
|
+
responseHeaders: [
|
|
2606
|
+
{
|
|
2607
|
+
value: response.headers.get("etag"),
|
|
2608
|
+
key: "etag",
|
|
2609
|
+
dataType: "string"
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2613
|
+
key: "opcWorkRequestId",
|
|
2614
|
+
dataType: "string"
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
value: response.headers.get("opc-request-id"),
|
|
2618
|
+
key: "opcRequestId",
|
|
2619
|
+
dataType: "string"
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
value: response.headers.get("location"),
|
|
2623
|
+
key: "location",
|
|
2624
|
+
dataType: "string"
|
|
2625
|
+
}
|
|
2626
|
+
]
|
|
2627
|
+
});
|
|
2628
|
+
return sdkResponse;
|
|
2629
|
+
}
|
|
2630
|
+
catch (err) {
|
|
2631
|
+
throw err;
|
|
2632
|
+
}
|
|
2633
|
+
});
|
|
2634
|
+
}
|
|
2409
2635
|
/**
|
|
2410
2636
|
* Creates a new saved security assessment for one or multiple targets in a compartment. When this operation is performed,
|
|
2411
2637
|
* it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments,
|
|
@@ -2415,7 +2641,7 @@ class DataSafeClient {
|
|
|
2415
2641
|
* @param CreateSecurityAssessmentRequest
|
|
2416
2642
|
* @return CreateSecurityAssessmentResponse
|
|
2417
2643
|
* @throws OciError when an error occurs
|
|
2418
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateSecurityAssessment.ts.html |here} to see how to use CreateSecurityAssessment API.
|
|
2419
2645
|
*/
|
|
2420
2646
|
createSecurityAssessment(createSecurityAssessmentRequest) {
|
|
2421
2647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2489,7 +2715,7 @@ class DataSafeClient {
|
|
|
2489
2715
|
* @param CreateSensitiveColumnRequest
|
|
2490
2716
|
* @return CreateSensitiveColumnResponse
|
|
2491
2717
|
* @throws OciError when an error occurs
|
|
2492
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2718
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateSensitiveColumn.ts.html |here} to see how to use CreateSensitiveColumn API.
|
|
2493
2719
|
*/
|
|
2494
2720
|
createSensitiveColumn(createSensitiveColumnRequest) {
|
|
2495
2721
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2553,7 +2779,7 @@ class DataSafeClient {
|
|
|
2553
2779
|
* @param CreateSensitiveDataModelRequest
|
|
2554
2780
|
* @return CreateSensitiveDataModelResponse
|
|
2555
2781
|
* @throws OciError when an error occurs
|
|
2556
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2782
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateSensitiveDataModel.ts.html |here} to see how to use CreateSensitiveDataModel API.
|
|
2557
2783
|
*/
|
|
2558
2784
|
createSensitiveDataModel(createSensitiveDataModelRequest) {
|
|
2559
2785
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2629,7 +2855,7 @@ class DataSafeClient {
|
|
|
2629
2855
|
* @param CreateSensitiveTypeRequest
|
|
2630
2856
|
* @return CreateSensitiveTypeResponse
|
|
2631
2857
|
* @throws OciError when an error occurs
|
|
2632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2858
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateSensitiveType.ts.html |here} to see how to use CreateSensitiveType API.
|
|
2633
2859
|
*/
|
|
2634
2860
|
createSensitiveType(createSensitiveTypeRequest) {
|
|
2635
2861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2703,7 +2929,7 @@ class DataSafeClient {
|
|
|
2703
2929
|
* @param CreateTargetAlertPolicyAssociationRequest
|
|
2704
2930
|
* @return CreateTargetAlertPolicyAssociationResponse
|
|
2705
2931
|
* @throws OciError when an error occurs
|
|
2706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2932
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateTargetAlertPolicyAssociation.ts.html |here} to see how to use CreateTargetAlertPolicyAssociation API.
|
|
2707
2933
|
*/
|
|
2708
2934
|
createTargetAlertPolicyAssociation(createTargetAlertPolicyAssociationRequest) {
|
|
2709
2935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2777,7 +3003,7 @@ class DataSafeClient {
|
|
|
2777
3003
|
* @param CreateTargetDatabaseRequest
|
|
2778
3004
|
* @return CreateTargetDatabaseResponse
|
|
2779
3005
|
* @throws OciError when an error occurs
|
|
2780
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3006
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateTargetDatabase.ts.html |here} to see how to use CreateTargetDatabase API.
|
|
2781
3007
|
*/
|
|
2782
3008
|
createTargetDatabase(createTargetDatabaseRequest) {
|
|
2783
3009
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2853,7 +3079,7 @@ class DataSafeClient {
|
|
|
2853
3079
|
* @param CreateUserAssessmentRequest
|
|
2854
3080
|
* @return CreateUserAssessmentResponse
|
|
2855
3081
|
* @throws OciError when an error occurs
|
|
2856
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/CreateUserAssessment.ts.html |here} to see how to use CreateUserAssessment API.
|
|
2857
3083
|
*/
|
|
2858
3084
|
createUserAssessment(createUserAssessmentRequest) {
|
|
2859
3085
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2927,7 +3153,7 @@ class DataSafeClient {
|
|
|
2927
3153
|
* @param DeactivateTargetDatabaseRequest
|
|
2928
3154
|
* @return DeactivateTargetDatabaseResponse
|
|
2929
3155
|
* @throws OciError when an error occurs
|
|
2930
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeactivateTargetDatabase.ts.html |here} to see how to use DeactivateTargetDatabase API.
|
|
2931
3157
|
*/
|
|
2932
3158
|
deactivateTargetDatabase(deactivateTargetDatabaseRequest) {
|
|
2933
3159
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2990,7 +3216,7 @@ class DataSafeClient {
|
|
|
2990
3216
|
* @param DeleteAuditArchiveRetrievalRequest
|
|
2991
3217
|
* @return DeleteAuditArchiveRetrievalResponse
|
|
2992
3218
|
* @throws OciError when an error occurs
|
|
2993
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3219
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteAuditArchiveRetrieval.ts.html |here} to see how to use DeleteAuditArchiveRetrieval API.
|
|
2994
3220
|
*/
|
|
2995
3221
|
deleteAuditArchiveRetrieval(deleteAuditArchiveRetrievalRequest) {
|
|
2996
3222
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3050,7 +3276,7 @@ class DataSafeClient {
|
|
|
3050
3276
|
* @param DeleteAuditTrailRequest
|
|
3051
3277
|
* @return DeleteAuditTrailResponse
|
|
3052
3278
|
* @throws OciError when an error occurs
|
|
3053
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3279
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteAuditTrail.ts.html |here} to see how to use DeleteAuditTrail API.
|
|
3054
3280
|
*/
|
|
3055
3281
|
deleteAuditTrail(deleteAuditTrailRequest) {
|
|
3056
3282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3110,7 +3336,7 @@ class DataSafeClient {
|
|
|
3110
3336
|
* @param DeleteDataSafePrivateEndpointRequest
|
|
3111
3337
|
* @return DeleteDataSafePrivateEndpointResponse
|
|
3112
3338
|
* @throws OciError when an error occurs
|
|
3113
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3339
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteDataSafePrivateEndpoint.ts.html |here} to see how to use DeleteDataSafePrivateEndpoint API.
|
|
3114
3340
|
*/
|
|
3115
3341
|
deleteDataSafePrivateEndpoint(deleteDataSafePrivateEndpointRequest) {
|
|
3116
3342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3170,7 +3396,7 @@ class DataSafeClient {
|
|
|
3170
3396
|
* @param DeleteDiscoveryJobRequest
|
|
3171
3397
|
* @return DeleteDiscoveryJobResponse
|
|
3172
3398
|
* @throws OciError when an error occurs
|
|
3173
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3399
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteDiscoveryJob.ts.html |here} to see how to use DeleteDiscoveryJob API.
|
|
3174
3400
|
*/
|
|
3175
3401
|
deleteDiscoveryJob(deleteDiscoveryJobRequest) {
|
|
3176
3402
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3230,7 +3456,7 @@ class DataSafeClient {
|
|
|
3230
3456
|
* @param DeleteDiscoveryJobResultRequest
|
|
3231
3457
|
* @return DeleteDiscoveryJobResultResponse
|
|
3232
3458
|
* @throws OciError when an error occurs
|
|
3233
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3459
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteDiscoveryJobResult.ts.html |here} to see how to use DeleteDiscoveryJobResult API.
|
|
3234
3460
|
*/
|
|
3235
3461
|
deleteDiscoveryJobResult(deleteDiscoveryJobResultRequest) {
|
|
3236
3462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3286,7 +3512,7 @@ class DataSafeClient {
|
|
|
3286
3512
|
* @param DeleteLibraryMaskingFormatRequest
|
|
3287
3513
|
* @return DeleteLibraryMaskingFormatResponse
|
|
3288
3514
|
* @throws OciError when an error occurs
|
|
3289
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteLibraryMaskingFormat.ts.html |here} to see how to use DeleteLibraryMaskingFormat API.
|
|
3290
3516
|
*/
|
|
3291
3517
|
deleteLibraryMaskingFormat(deleteLibraryMaskingFormatRequest) {
|
|
3292
3518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3341,7 +3567,7 @@ class DataSafeClient {
|
|
|
3341
3567
|
* @param DeleteMaskingColumnRequest
|
|
3342
3568
|
* @return DeleteMaskingColumnResponse
|
|
3343
3569
|
* @throws OciError when an error occurs
|
|
3344
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3570
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteMaskingColumn.ts.html |here} to see how to use DeleteMaskingColumn API.
|
|
3345
3571
|
*/
|
|
3346
3572
|
deleteMaskingColumn(deleteMaskingColumnRequest) {
|
|
3347
3573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3397,7 +3623,7 @@ class DataSafeClient {
|
|
|
3397
3623
|
* @param DeleteMaskingPolicyRequest
|
|
3398
3624
|
* @return DeleteMaskingPolicyResponse
|
|
3399
3625
|
* @throws OciError when an error occurs
|
|
3400
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3626
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteMaskingPolicy.ts.html |here} to see how to use DeleteMaskingPolicy API.
|
|
3401
3627
|
*/
|
|
3402
3628
|
deleteMaskingPolicy(deleteMaskingPolicyRequest) {
|
|
3403
3629
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3457,7 +3683,7 @@ class DataSafeClient {
|
|
|
3457
3683
|
* @param DeleteOnPremConnectorRequest
|
|
3458
3684
|
* @return DeleteOnPremConnectorResponse
|
|
3459
3685
|
* @throws OciError when an error occurs
|
|
3460
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteOnPremConnector.ts.html |here} to see how to use DeleteOnPremConnector API.
|
|
3461
3687
|
*/
|
|
3462
3688
|
deleteOnPremConnector(deleteOnPremConnectorRequest) {
|
|
3463
3689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3517,7 +3743,7 @@ class DataSafeClient {
|
|
|
3517
3743
|
* @param DeleteReportDefinitionRequest
|
|
3518
3744
|
* @return DeleteReportDefinitionResponse
|
|
3519
3745
|
* @throws OciError when an error occurs
|
|
3520
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteReportDefinition.ts.html |here} to see how to use DeleteReportDefinition API.
|
|
3521
3747
|
*/
|
|
3522
3748
|
deleteReportDefinition(deleteReportDefinitionRequest) {
|
|
3523
3749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3571,6 +3797,66 @@ class DataSafeClient {
|
|
|
3571
3797
|
}
|
|
3572
3798
|
});
|
|
3573
3799
|
}
|
|
3800
|
+
/**
|
|
3801
|
+
* Deletes the specified SDM Masking policy difference.
|
|
3802
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3803
|
+
* @param DeleteSdmMaskingPolicyDifferenceRequest
|
|
3804
|
+
* @return DeleteSdmMaskingPolicyDifferenceResponse
|
|
3805
|
+
* @throws OciError when an error occurs
|
|
3806
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteSdmMaskingPolicyDifference.ts.html |here} to see how to use DeleteSdmMaskingPolicyDifference API.
|
|
3807
|
+
*/
|
|
3808
|
+
deleteSdmMaskingPolicyDifference(deleteSdmMaskingPolicyDifferenceRequest) {
|
|
3809
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3810
|
+
if (this.logger)
|
|
3811
|
+
this.logger.debug("Calling operation DataSafeClient#deleteSdmMaskingPolicyDifference.");
|
|
3812
|
+
const operationName = "deleteSdmMaskingPolicyDifference";
|
|
3813
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/DeleteSdmMaskingPolicyDifference";
|
|
3814
|
+
const pathParams = {
|
|
3815
|
+
"{sdmMaskingPolicyDifferenceId}": deleteSdmMaskingPolicyDifferenceRequest.sdmMaskingPolicyDifferenceId
|
|
3816
|
+
};
|
|
3817
|
+
const queryParams = {};
|
|
3818
|
+
let headerParams = {
|
|
3819
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3820
|
+
"if-match": deleteSdmMaskingPolicyDifferenceRequest.ifMatch,
|
|
3821
|
+
"opc-request-id": deleteSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
3822
|
+
};
|
|
3823
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3824
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
3825
|
+
if (this.logger)
|
|
3826
|
+
retrier.logger = this.logger;
|
|
3827
|
+
const request = yield oci_common_2.composeRequest({
|
|
3828
|
+
baseEndpoint: this._endpoint,
|
|
3829
|
+
defaultHeaders: this._defaultHeaders,
|
|
3830
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}",
|
|
3831
|
+
method: "DELETE",
|
|
3832
|
+
pathParams: pathParams,
|
|
3833
|
+
headerParams: headerParams,
|
|
3834
|
+
queryParams: queryParams
|
|
3835
|
+
});
|
|
3836
|
+
try {
|
|
3837
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3838
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3839
|
+
responseObject: {},
|
|
3840
|
+
responseHeaders: [
|
|
3841
|
+
{
|
|
3842
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3843
|
+
key: "opcWorkRequestId",
|
|
3844
|
+
dataType: "string"
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
value: response.headers.get("opc-request-id"),
|
|
3848
|
+
key: "opcRequestId",
|
|
3849
|
+
dataType: "string"
|
|
3850
|
+
}
|
|
3851
|
+
]
|
|
3852
|
+
});
|
|
3853
|
+
return sdkResponse;
|
|
3854
|
+
}
|
|
3855
|
+
catch (err) {
|
|
3856
|
+
throw err;
|
|
3857
|
+
}
|
|
3858
|
+
});
|
|
3859
|
+
}
|
|
3574
3860
|
/**
|
|
3575
3861
|
* Deletes the specified saved security assessment or schedule. To delete a security assessment schedule,
|
|
3576
3862
|
* first call the operation ListSecurityAssessments with filters \"type = save_schedule\".
|
|
@@ -3581,7 +3867,7 @@ class DataSafeClient {
|
|
|
3581
3867
|
* @param DeleteSecurityAssessmentRequest
|
|
3582
3868
|
* @return DeleteSecurityAssessmentResponse
|
|
3583
3869
|
* @throws OciError when an error occurs
|
|
3584
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteSecurityAssessment.ts.html |here} to see how to use DeleteSecurityAssessment API.
|
|
3585
3871
|
*/
|
|
3586
3872
|
deleteSecurityAssessment(deleteSecurityAssessmentRequest) {
|
|
3587
3873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3641,7 +3927,7 @@ class DataSafeClient {
|
|
|
3641
3927
|
* @param DeleteSensitiveColumnRequest
|
|
3642
3928
|
* @return DeleteSensitiveColumnResponse
|
|
3643
3929
|
* @throws OciError when an error occurs
|
|
3644
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3930
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteSensitiveColumn.ts.html |here} to see how to use DeleteSensitiveColumn API.
|
|
3645
3931
|
*/
|
|
3646
3932
|
deleteSensitiveColumn(deleteSensitiveColumnRequest) {
|
|
3647
3933
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3697,7 +3983,7 @@ class DataSafeClient {
|
|
|
3697
3983
|
* @param DeleteSensitiveDataModelRequest
|
|
3698
3984
|
* @return DeleteSensitiveDataModelResponse
|
|
3699
3985
|
* @throws OciError when an error occurs
|
|
3700
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3986
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteSensitiveDataModel.ts.html |here} to see how to use DeleteSensitiveDataModel API.
|
|
3701
3987
|
*/
|
|
3702
3988
|
deleteSensitiveDataModel(deleteSensitiveDataModelRequest) {
|
|
3703
3989
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3757,7 +4043,7 @@ class DataSafeClient {
|
|
|
3757
4043
|
* @param DeleteSensitiveTypeRequest
|
|
3758
4044
|
* @return DeleteSensitiveTypeResponse
|
|
3759
4045
|
* @throws OciError when an error occurs
|
|
3760
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteSensitiveType.ts.html |here} to see how to use DeleteSensitiveType API.
|
|
3761
4047
|
*/
|
|
3762
4048
|
deleteSensitiveType(deleteSensitiveTypeRequest) {
|
|
3763
4049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3812,7 +4098,7 @@ class DataSafeClient {
|
|
|
3812
4098
|
* @param DeleteTargetAlertPolicyAssociationRequest
|
|
3813
4099
|
* @return DeleteTargetAlertPolicyAssociationResponse
|
|
3814
4100
|
* @throws OciError when an error occurs
|
|
3815
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4101
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteTargetAlertPolicyAssociation.ts.html |here} to see how to use DeleteTargetAlertPolicyAssociation API.
|
|
3816
4102
|
*/
|
|
3817
4103
|
deleteTargetAlertPolicyAssociation(deleteTargetAlertPolicyAssociationRequest) {
|
|
3818
4104
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3872,7 +4158,7 @@ class DataSafeClient {
|
|
|
3872
4158
|
* @param DeleteTargetDatabaseRequest
|
|
3873
4159
|
* @return DeleteTargetDatabaseResponse
|
|
3874
4160
|
* @throws OciError when an error occurs
|
|
3875
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4161
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteTargetDatabase.ts.html |here} to see how to use DeleteTargetDatabase API.
|
|
3876
4162
|
*/
|
|
3877
4163
|
deleteTargetDatabase(deleteTargetDatabaseRequest) {
|
|
3878
4164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3936,7 +4222,7 @@ class DataSafeClient {
|
|
|
3936
4222
|
* @param DeleteUserAssessmentRequest
|
|
3937
4223
|
* @return DeleteUserAssessmentResponse
|
|
3938
4224
|
* @throws OciError when an error occurs
|
|
3939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DeleteUserAssessment.ts.html |here} to see how to use DeleteUserAssessment API.
|
|
3940
4226
|
*/
|
|
3941
4227
|
deleteUserAssessment(deleteUserAssessmentRequest) {
|
|
3942
4228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4000,7 +4286,7 @@ class DataSafeClient {
|
|
|
4000
4286
|
* @param DiscoverAuditTrailsRequest
|
|
4001
4287
|
* @return DiscoverAuditTrailsResponse
|
|
4002
4288
|
* @throws OciError when an error occurs
|
|
4003
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4289
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DiscoverAuditTrails.ts.html |here} to see how to use DiscoverAuditTrails API.
|
|
4004
4290
|
*/
|
|
4005
4291
|
discoverAuditTrails(discoverAuditTrailsRequest) {
|
|
4006
4292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4065,7 +4351,7 @@ class DataSafeClient {
|
|
|
4065
4351
|
* @param DownloadDiscoveryReportRequest
|
|
4066
4352
|
* @return DownloadDiscoveryReportResponse
|
|
4067
4353
|
* @throws OciError when an error occurs
|
|
4068
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4354
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadDiscoveryReport.ts.html |here} to see how to use DownloadDiscoveryReport API.
|
|
4069
4355
|
*/
|
|
4070
4356
|
downloadDiscoveryReport(downloadDiscoveryReportRequest) {
|
|
4071
4357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4133,7 +4419,7 @@ class DataSafeClient {
|
|
|
4133
4419
|
* @param DownloadMaskingLogRequest
|
|
4134
4420
|
* @return DownloadMaskingLogResponse
|
|
4135
4421
|
* @throws OciError when an error occurs
|
|
4136
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4422
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadMaskingLog.ts.html |here} to see how to use DownloadMaskingLog API.
|
|
4137
4423
|
*/
|
|
4138
4424
|
downloadMaskingLog(downloadMaskingLogRequest) {
|
|
4139
4425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4205,7 +4491,7 @@ class DataSafeClient {
|
|
|
4205
4491
|
* @param DownloadMaskingPolicyRequest
|
|
4206
4492
|
* @return DownloadMaskingPolicyResponse
|
|
4207
4493
|
* @throws OciError when an error occurs
|
|
4208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4494
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadMaskingPolicy.ts.html |here} to see how to use DownloadMaskingPolicy API.
|
|
4209
4495
|
*/
|
|
4210
4496
|
downloadMaskingPolicy(downloadMaskingPolicyRequest) {
|
|
4211
4497
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4276,7 +4562,7 @@ class DataSafeClient {
|
|
|
4276
4562
|
* @param DownloadMaskingReportRequest
|
|
4277
4563
|
* @return DownloadMaskingReportResponse
|
|
4278
4564
|
* @throws OciError when an error occurs
|
|
4279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4565
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadMaskingReport.ts.html |here} to see how to use DownloadMaskingReport API.
|
|
4280
4566
|
*/
|
|
4281
4567
|
downloadMaskingReport(downloadMaskingReportRequest) {
|
|
4282
4568
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4345,7 +4631,7 @@ class DataSafeClient {
|
|
|
4345
4631
|
* @param DownloadPrivilegeScriptRequest
|
|
4346
4632
|
* @return DownloadPrivilegeScriptResponse
|
|
4347
4633
|
* @throws OciError when an error occurs
|
|
4348
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4634
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadPrivilegeScript.ts.html |here} to see how to use DownloadPrivilegeScript API.
|
|
4349
4635
|
*/
|
|
4350
4636
|
downloadPrivilegeScript(downloadPrivilegeScriptRequest) {
|
|
4351
4637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4414,7 +4700,7 @@ class DataSafeClient {
|
|
|
4414
4700
|
* @param DownloadSecurityAssessmentReportRequest
|
|
4415
4701
|
* @return DownloadSecurityAssessmentReportResponse
|
|
4416
4702
|
* @throws OciError when an error occurs
|
|
4417
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4703
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadSecurityAssessmentReport.ts.html |here} to see how to use DownloadSecurityAssessmentReport API.
|
|
4418
4704
|
*/
|
|
4419
4705
|
downloadSecurityAssessmentReport(downloadSecurityAssessmentReportRequest) {
|
|
4420
4706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4488,7 +4774,7 @@ class DataSafeClient {
|
|
|
4488
4774
|
* @param DownloadSensitiveDataModelRequest
|
|
4489
4775
|
* @return DownloadSensitiveDataModelResponse
|
|
4490
4776
|
* @throws OciError when an error occurs
|
|
4491
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4777
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadSensitiveDataModel.ts.html |here} to see how to use DownloadSensitiveDataModel API.
|
|
4492
4778
|
*/
|
|
4493
4779
|
downloadSensitiveDataModel(downloadSensitiveDataModelRequest) {
|
|
4494
4780
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4558,7 +4844,7 @@ class DataSafeClient {
|
|
|
4558
4844
|
* @param DownloadUserAssessmentReportRequest
|
|
4559
4845
|
* @return DownloadUserAssessmentReportResponse
|
|
4560
4846
|
* @throws OciError when an error occurs
|
|
4561
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4847
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/DownloadUserAssessmentReport.ts.html |here} to see how to use DownloadUserAssessmentReport API.
|
|
4562
4848
|
*/
|
|
4563
4849
|
downloadUserAssessmentReport(downloadUserAssessmentReportRequest) {
|
|
4564
4850
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4629,7 +4915,7 @@ class DataSafeClient {
|
|
|
4629
4915
|
* @param EnableDataSafeConfigurationRequest
|
|
4630
4916
|
* @return EnableDataSafeConfigurationResponse
|
|
4631
4917
|
* @throws OciError when an error occurs
|
|
4632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4918
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/EnableDataSafeConfiguration.ts.html |here} to see how to use EnableDataSafeConfiguration API.
|
|
4633
4919
|
*/
|
|
4634
4920
|
enableDataSafeConfiguration(enableDataSafeConfigurationRequest) {
|
|
4635
4921
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4694,7 +4980,7 @@ class DataSafeClient {
|
|
|
4694
4980
|
* @param GenerateDiscoveryReportForDownloadRequest
|
|
4695
4981
|
* @return GenerateDiscoveryReportForDownloadResponse
|
|
4696
4982
|
* @throws OciError when an error occurs
|
|
4697
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateDiscoveryReportForDownload.ts.html |here} to see how to use GenerateDiscoveryReportForDownload API.
|
|
4698
4984
|
*/
|
|
4699
4985
|
generateDiscoveryReportForDownload(generateDiscoveryReportForDownloadRequest) {
|
|
4700
4986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4759,7 +5045,7 @@ class DataSafeClient {
|
|
|
4759
5045
|
* @param GenerateMaskingPolicyForDownloadRequest
|
|
4760
5046
|
* @return GenerateMaskingPolicyForDownloadResponse
|
|
4761
5047
|
* @throws OciError when an error occurs
|
|
4762
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5048
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateMaskingPolicyForDownload.ts.html |here} to see how to use GenerateMaskingPolicyForDownload API.
|
|
4763
5049
|
*/
|
|
4764
5050
|
generateMaskingPolicyForDownload(generateMaskingPolicyForDownloadRequest) {
|
|
4765
5051
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4823,7 +5109,7 @@ class DataSafeClient {
|
|
|
4823
5109
|
* @param GenerateMaskingReportForDownloadRequest
|
|
4824
5110
|
* @return GenerateMaskingReportForDownloadResponse
|
|
4825
5111
|
* @throws OciError when an error occurs
|
|
4826
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5112
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateMaskingReportForDownload.ts.html |here} to see how to use GenerateMaskingReportForDownload API.
|
|
4827
5113
|
*/
|
|
4828
5114
|
generateMaskingReportForDownload(generateMaskingReportForDownloadRequest) {
|
|
4829
5115
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4884,7 +5170,7 @@ class DataSafeClient {
|
|
|
4884
5170
|
* @param GenerateOnPremConnectorConfigurationRequest
|
|
4885
5171
|
* @return GenerateOnPremConnectorConfigurationResponse
|
|
4886
5172
|
* @throws OciError when an error occurs
|
|
4887
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5173
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateOnPremConnectorConfiguration.ts.html |here} to see how to use GenerateOnPremConnectorConfiguration API.
|
|
4888
5174
|
*/
|
|
4889
5175
|
generateOnPremConnectorConfiguration(generateOnPremConnectorConfigurationRequest) {
|
|
4890
5176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4954,7 +5240,7 @@ class DataSafeClient {
|
|
|
4954
5240
|
* @param GenerateReportRequest
|
|
4955
5241
|
* @return GenerateReportResponse
|
|
4956
5242
|
* @throws OciError when an error occurs
|
|
4957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5243
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateReport.ts.html |here} to see how to use GenerateReport API.
|
|
4958
5244
|
*/
|
|
4959
5245
|
generateReport(generateReportRequest) {
|
|
4960
5246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5020,7 +5306,7 @@ class DataSafeClient {
|
|
|
5020
5306
|
* @param GenerateSecurityAssessmentReportRequest
|
|
5021
5307
|
* @return GenerateSecurityAssessmentReportResponse
|
|
5022
5308
|
* @throws OciError when an error occurs
|
|
5023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5309
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateSecurityAssessmentReport.ts.html |here} to see how to use GenerateSecurityAssessmentReport API.
|
|
5024
5310
|
*/
|
|
5025
5311
|
generateSecurityAssessmentReport(generateSecurityAssessmentReportRequest) {
|
|
5026
5312
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5086,7 +5372,7 @@ class DataSafeClient {
|
|
|
5086
5372
|
* @param GenerateSensitiveDataModelForDownloadRequest
|
|
5087
5373
|
* @return GenerateSensitiveDataModelForDownloadResponse
|
|
5088
5374
|
* @throws OciError when an error occurs
|
|
5089
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5375
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateSensitiveDataModelForDownload.ts.html |here} to see how to use GenerateSensitiveDataModelForDownload API.
|
|
5090
5376
|
*/
|
|
5091
5377
|
generateSensitiveDataModelForDownload(generateSensitiveDataModelForDownloadRequest) {
|
|
5092
5378
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5148,7 +5434,7 @@ class DataSafeClient {
|
|
|
5148
5434
|
* @param GenerateUserAssessmentReportRequest
|
|
5149
5435
|
* @return GenerateUserAssessmentReportResponse
|
|
5150
5436
|
* @throws OciError when an error occurs
|
|
5151
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5437
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GenerateUserAssessmentReport.ts.html |here} to see how to use GenerateUserAssessmentReport API.
|
|
5152
5438
|
*/
|
|
5153
5439
|
generateUserAssessmentReport(generateUserAssessmentReportRequest) {
|
|
5154
5440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5205,12 +5491,12 @@ class DataSafeClient {
|
|
|
5205
5491
|
});
|
|
5206
5492
|
}
|
|
5207
5493
|
/**
|
|
5208
|
-
* Gets the details of
|
|
5494
|
+
* Gets the details of the specified alerts.
|
|
5209
5495
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5210
5496
|
* @param GetAlertRequest
|
|
5211
5497
|
* @return GetAlertResponse
|
|
5212
5498
|
* @throws OciError when an error occurs
|
|
5213
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5499
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetAlert.ts.html |here} to see how to use GetAlert API.
|
|
5214
5500
|
*/
|
|
5215
5501
|
getAlert(getAlertRequest) {
|
|
5216
5502
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5273,7 +5559,7 @@ class DataSafeClient {
|
|
|
5273
5559
|
* @param GetAlertPolicyRequest
|
|
5274
5560
|
* @return GetAlertPolicyResponse
|
|
5275
5561
|
* @throws OciError when an error occurs
|
|
5276
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5562
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetAlertPolicy.ts.html |here} to see how to use GetAlertPolicy API.
|
|
5277
5563
|
*/
|
|
5278
5564
|
getAlertPolicy(getAlertPolicyRequest) {
|
|
5279
5565
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5336,7 +5622,7 @@ class DataSafeClient {
|
|
|
5336
5622
|
* @param GetAuditArchiveRetrievalRequest
|
|
5337
5623
|
* @return GetAuditArchiveRetrievalResponse
|
|
5338
5624
|
* @throws OciError when an error occurs
|
|
5339
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5625
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetAuditArchiveRetrieval.ts.html |here} to see how to use GetAuditArchiveRetrieval API.
|
|
5340
5626
|
*/
|
|
5341
5627
|
getAuditArchiveRetrieval(getAuditArchiveRetrievalRequest) {
|
|
5342
5628
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5400,7 +5686,7 @@ class DataSafeClient {
|
|
|
5400
5686
|
* @param GetAuditPolicyRequest
|
|
5401
5687
|
* @return GetAuditPolicyResponse
|
|
5402
5688
|
* @throws OciError when an error occurs
|
|
5403
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5689
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetAuditPolicy.ts.html |here} to see how to use GetAuditPolicy API.
|
|
5404
5690
|
*/
|
|
5405
5691
|
getAuditPolicy(getAuditPolicyRequest) {
|
|
5406
5692
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5463,7 +5749,7 @@ class DataSafeClient {
|
|
|
5463
5749
|
* @param GetAuditProfileRequest
|
|
5464
5750
|
* @return GetAuditProfileResponse
|
|
5465
5751
|
* @throws OciError when an error occurs
|
|
5466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5752
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetAuditProfile.ts.html |here} to see how to use GetAuditProfile API.
|
|
5467
5753
|
*/
|
|
5468
5754
|
getAuditProfile(getAuditProfileRequest) {
|
|
5469
5755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5526,7 +5812,7 @@ class DataSafeClient {
|
|
|
5526
5812
|
* @param GetAuditTrailRequest
|
|
5527
5813
|
* @return GetAuditTrailResponse
|
|
5528
5814
|
* @throws OciError when an error occurs
|
|
5529
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5815
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetAuditTrail.ts.html |here} to see how to use GetAuditTrail API.
|
|
5530
5816
|
*/
|
|
5531
5817
|
getAuditTrail(getAuditTrailRequest) {
|
|
5532
5818
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5596,7 +5882,7 @@ class DataSafeClient {
|
|
|
5596
5882
|
* @param GetCompatibleFormatsForDataTypesRequest
|
|
5597
5883
|
* @return GetCompatibleFormatsForDataTypesResponse
|
|
5598
5884
|
* @throws OciError when an error occurs
|
|
5599
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5885
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetCompatibleFormatsForDataTypes.ts.html |here} to see how to use GetCompatibleFormatsForDataTypes API.
|
|
5600
5886
|
*/
|
|
5601
5887
|
getCompatibleFormatsForDataTypes(getCompatibleFormatsForDataTypesRequest) {
|
|
5602
5888
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5669,7 +5955,7 @@ class DataSafeClient {
|
|
|
5669
5955
|
* @param GetCompatibleFormatsForSensitiveTypesRequest
|
|
5670
5956
|
* @return GetCompatibleFormatsForSensitiveTypesResponse
|
|
5671
5957
|
* @throws OciError when an error occurs
|
|
5672
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5958
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetCompatibleFormatsForSensitiveTypes.ts.html |here} to see how to use GetCompatibleFormatsForSensitiveTypes API.
|
|
5673
5959
|
*/
|
|
5674
5960
|
getCompatibleFormatsForSensitiveTypes(getCompatibleFormatsForSensitiveTypesRequest) {
|
|
5675
5961
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5741,7 +6027,7 @@ class DataSafeClient {
|
|
|
5741
6027
|
* @param GetDataSafeConfigurationRequest
|
|
5742
6028
|
* @return GetDataSafeConfigurationResponse
|
|
5743
6029
|
* @throws OciError when an error occurs
|
|
5744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6030
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetDataSafeConfiguration.ts.html |here} to see how to use GetDataSafeConfiguration API.
|
|
5745
6031
|
*/
|
|
5746
6032
|
getDataSafeConfiguration(getDataSafeConfigurationRequest) {
|
|
5747
6033
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5804,7 +6090,7 @@ class DataSafeClient {
|
|
|
5804
6090
|
* @param GetDataSafePrivateEndpointRequest
|
|
5805
6091
|
* @return GetDataSafePrivateEndpointResponse
|
|
5806
6092
|
* @throws OciError when an error occurs
|
|
5807
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6093
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetDataSafePrivateEndpoint.ts.html |here} to see how to use GetDataSafePrivateEndpoint API.
|
|
5808
6094
|
*/
|
|
5809
6095
|
getDataSafePrivateEndpoint(getDataSafePrivateEndpointRequest) {
|
|
5810
6096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5861,13 +6147,77 @@ class DataSafeClient {
|
|
|
5861
6147
|
}
|
|
5862
6148
|
});
|
|
5863
6149
|
}
|
|
6150
|
+
/**
|
|
6151
|
+
* Gets the details of the specified SDM Masking policy difference column.
|
|
6152
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6153
|
+
* @param GetDifferenceColumnRequest
|
|
6154
|
+
* @return GetDifferenceColumnResponse
|
|
6155
|
+
* @throws OciError when an error occurs
|
|
6156
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetDifferenceColumn.ts.html |here} to see how to use GetDifferenceColumn API.
|
|
6157
|
+
*/
|
|
6158
|
+
getDifferenceColumn(getDifferenceColumnRequest) {
|
|
6159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6160
|
+
if (this.logger)
|
|
6161
|
+
this.logger.debug("Calling operation DataSafeClient#getDifferenceColumn.");
|
|
6162
|
+
const operationName = "getDifferenceColumn";
|
|
6163
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/DifferenceColumn/GetDifferenceColumn";
|
|
6164
|
+
const pathParams = {
|
|
6165
|
+
"{sdmMaskingPolicyDifferenceId}": getDifferenceColumnRequest.sdmMaskingPolicyDifferenceId,
|
|
6166
|
+
"{differenceColumnKey}": getDifferenceColumnRequest.differenceColumnKey
|
|
6167
|
+
};
|
|
6168
|
+
const queryParams = {};
|
|
6169
|
+
let headerParams = {
|
|
6170
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6171
|
+
"opc-request-id": getDifferenceColumnRequest.opcRequestId
|
|
6172
|
+
};
|
|
6173
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6174
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDifferenceColumnRequest.retryConfiguration, specRetryConfiguration);
|
|
6175
|
+
if (this.logger)
|
|
6176
|
+
retrier.logger = this.logger;
|
|
6177
|
+
const request = yield oci_common_2.composeRequest({
|
|
6178
|
+
baseEndpoint: this._endpoint,
|
|
6179
|
+
defaultHeaders: this._defaultHeaders,
|
|
6180
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/differenceColumns/{differenceColumnKey}",
|
|
6181
|
+
method: "GET",
|
|
6182
|
+
pathParams: pathParams,
|
|
6183
|
+
headerParams: headerParams,
|
|
6184
|
+
queryParams: queryParams
|
|
6185
|
+
});
|
|
6186
|
+
try {
|
|
6187
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6188
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6189
|
+
responseObject: {},
|
|
6190
|
+
body: yield response.json(),
|
|
6191
|
+
bodyKey: "differenceColumn",
|
|
6192
|
+
bodyModel: model.DifferenceColumn,
|
|
6193
|
+
type: "model.DifferenceColumn",
|
|
6194
|
+
responseHeaders: [
|
|
6195
|
+
{
|
|
6196
|
+
value: response.headers.get("etag"),
|
|
6197
|
+
key: "etag",
|
|
6198
|
+
dataType: "string"
|
|
6199
|
+
},
|
|
6200
|
+
{
|
|
6201
|
+
value: response.headers.get("opc-request-id"),
|
|
6202
|
+
key: "opcRequestId",
|
|
6203
|
+
dataType: "string"
|
|
6204
|
+
}
|
|
6205
|
+
]
|
|
6206
|
+
});
|
|
6207
|
+
return sdkResponse;
|
|
6208
|
+
}
|
|
6209
|
+
catch (err) {
|
|
6210
|
+
throw err;
|
|
6211
|
+
}
|
|
6212
|
+
});
|
|
6213
|
+
}
|
|
5864
6214
|
/**
|
|
5865
6215
|
* Gets the details of the specified discovery job.
|
|
5866
6216
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5867
6217
|
* @param GetDiscoveryJobRequest
|
|
5868
6218
|
* @return GetDiscoveryJobResponse
|
|
5869
6219
|
* @throws OciError when an error occurs
|
|
5870
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6220
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetDiscoveryJob.ts.html |here} to see how to use GetDiscoveryJob API.
|
|
5871
6221
|
*/
|
|
5872
6222
|
getDiscoveryJob(getDiscoveryJobRequest) {
|
|
5873
6223
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5930,7 +6280,7 @@ class DataSafeClient {
|
|
|
5930
6280
|
* @param GetDiscoveryJobResultRequest
|
|
5931
6281
|
* @return GetDiscoveryJobResultResponse
|
|
5932
6282
|
* @throws OciError when an error occurs
|
|
5933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6283
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetDiscoveryJobResult.ts.html |here} to see how to use GetDiscoveryJobResult API.
|
|
5934
6284
|
*/
|
|
5935
6285
|
getDiscoveryJobResult(getDiscoveryJobResultRequest) {
|
|
5936
6286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5994,7 +6344,7 @@ class DataSafeClient {
|
|
|
5994
6344
|
* @param GetLibraryMaskingFormatRequest
|
|
5995
6345
|
* @return GetLibraryMaskingFormatResponse
|
|
5996
6346
|
* @throws OciError when an error occurs
|
|
5997
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6347
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetLibraryMaskingFormat.ts.html |here} to see how to use GetLibraryMaskingFormat API.
|
|
5998
6348
|
*/
|
|
5999
6349
|
getLibraryMaskingFormat(getLibraryMaskingFormatRequest) {
|
|
6000
6350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6057,7 +6407,7 @@ class DataSafeClient {
|
|
|
6057
6407
|
* @param GetMaskingColumnRequest
|
|
6058
6408
|
* @return GetMaskingColumnResponse
|
|
6059
6409
|
* @throws OciError when an error occurs
|
|
6060
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6410
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetMaskingColumn.ts.html |here} to see how to use GetMaskingColumn API.
|
|
6061
6411
|
*/
|
|
6062
6412
|
getMaskingColumn(getMaskingColumnRequest) {
|
|
6063
6413
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6121,7 +6471,7 @@ class DataSafeClient {
|
|
|
6121
6471
|
* @param GetMaskingPolicyRequest
|
|
6122
6472
|
* @return GetMaskingPolicyResponse
|
|
6123
6473
|
* @throws OciError when an error occurs
|
|
6124
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6474
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetMaskingPolicy.ts.html |here} to see how to use GetMaskingPolicy API.
|
|
6125
6475
|
*/
|
|
6126
6476
|
getMaskingPolicy(getMaskingPolicyRequest) {
|
|
6127
6477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6184,7 +6534,7 @@ class DataSafeClient {
|
|
|
6184
6534
|
* @param GetMaskingReportRequest
|
|
6185
6535
|
* @return GetMaskingReportResponse
|
|
6186
6536
|
* @throws OciError when an error occurs
|
|
6187
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetMaskingReport.ts.html |here} to see how to use GetMaskingReport API.
|
|
6188
6538
|
*/
|
|
6189
6539
|
getMaskingReport(getMaskingReportRequest) {
|
|
6190
6540
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6247,7 +6597,7 @@ class DataSafeClient {
|
|
|
6247
6597
|
* @param GetOnPremConnectorRequest
|
|
6248
6598
|
* @return GetOnPremConnectorResponse
|
|
6249
6599
|
* @throws OciError when an error occurs
|
|
6250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6600
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetOnPremConnector.ts.html |here} to see how to use GetOnPremConnector API.
|
|
6251
6601
|
*/
|
|
6252
6602
|
getOnPremConnector(getOnPremConnectorRequest) {
|
|
6253
6603
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6305,13 +6655,86 @@ class DataSafeClient {
|
|
|
6305
6655
|
});
|
|
6306
6656
|
}
|
|
6307
6657
|
/**
|
|
6308
|
-
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6658
|
+
* Lists the details of given profile available on the target.
|
|
6659
|
+
* <p>
|
|
6660
|
+
The GetProfile operation returns only the profiles in the specified 'userAssessmentId'.
|
|
6661
|
+
* This does not include any subcompartments of the current compartment.
|
|
6662
|
+
*
|
|
6663
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6664
|
+
* @param GetProfileRequest
|
|
6665
|
+
* @return GetProfileResponse
|
|
6666
|
+
* @throws OciError when an error occurs
|
|
6667
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetProfile.ts.html |here} to see how to use GetProfile API.
|
|
6668
|
+
*/
|
|
6669
|
+
getProfile(getProfileRequest) {
|
|
6670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6671
|
+
if (this.logger)
|
|
6672
|
+
this.logger.debug("Calling operation DataSafeClient#getProfile.");
|
|
6673
|
+
const operationName = "getProfile";
|
|
6674
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/UserAssessment/GetProfile";
|
|
6675
|
+
const pathParams = {
|
|
6676
|
+
"{userAssessmentId}": getProfileRequest.userAssessmentId,
|
|
6677
|
+
"{profileName}": getProfileRequest.profileName
|
|
6678
|
+
};
|
|
6679
|
+
const queryParams = {};
|
|
6680
|
+
let headerParams = {
|
|
6681
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6682
|
+
"opc-request-id": getProfileRequest.opcRequestId
|
|
6683
|
+
};
|
|
6684
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6685
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getProfileRequest.retryConfiguration, specRetryConfiguration);
|
|
6686
|
+
if (this.logger)
|
|
6687
|
+
retrier.logger = this.logger;
|
|
6688
|
+
const request = yield oci_common_2.composeRequest({
|
|
6689
|
+
baseEndpoint: this._endpoint,
|
|
6690
|
+
defaultHeaders: this._defaultHeaders,
|
|
6691
|
+
path: "/userAssessments/{userAssessmentId}/profiles/{profileName}",
|
|
6692
|
+
method: "GET",
|
|
6693
|
+
pathParams: pathParams,
|
|
6694
|
+
headerParams: headerParams,
|
|
6695
|
+
queryParams: queryParams
|
|
6696
|
+
});
|
|
6697
|
+
try {
|
|
6698
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6699
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6700
|
+
responseObject: {},
|
|
6701
|
+
body: yield response.json(),
|
|
6702
|
+
bodyKey: "items",
|
|
6703
|
+
bodyModel: model.Profile,
|
|
6704
|
+
type: "Array<model.Profile>",
|
|
6705
|
+
responseHeaders: [
|
|
6706
|
+
{
|
|
6707
|
+
value: response.headers.get("opc-request-id"),
|
|
6708
|
+
key: "opcRequestId",
|
|
6709
|
+
dataType: "string"
|
|
6710
|
+
},
|
|
6711
|
+
{
|
|
6712
|
+
value: response.headers.get("opc-next-page"),
|
|
6713
|
+
key: "opcNextPage",
|
|
6714
|
+
dataType: "string"
|
|
6715
|
+
},
|
|
6716
|
+
{
|
|
6717
|
+
value: response.headers.get("opc-prev-page"),
|
|
6718
|
+
key: "opcPrevPage",
|
|
6719
|
+
dataType: "string"
|
|
6720
|
+
}
|
|
6721
|
+
]
|
|
6722
|
+
});
|
|
6723
|
+
return sdkResponse;
|
|
6724
|
+
}
|
|
6725
|
+
catch (err) {
|
|
6726
|
+
throw err;
|
|
6727
|
+
}
|
|
6728
|
+
});
|
|
6729
|
+
}
|
|
6730
|
+
/**
|
|
6731
|
+
* Gets a report by identifier
|
|
6732
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6733
|
+
* @param GetReportRequest
|
|
6734
|
+
* @return GetReportResponse
|
|
6735
|
+
* @throws OciError when an error occurs
|
|
6736
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetReport.ts.html |here} to see how to use GetReport API.
|
|
6737
|
+
*/
|
|
6315
6738
|
getReport(getReportRequest) {
|
|
6316
6739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6317
6740
|
if (this.logger)
|
|
@@ -6373,7 +6796,7 @@ class DataSafeClient {
|
|
|
6373
6796
|
* @param GetReportContentRequest
|
|
6374
6797
|
* @return GetReportContentResponse
|
|
6375
6798
|
* @throws OciError when an error occurs
|
|
6376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6799
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetReportContent.ts.html |here} to see how to use GetReportContent API.
|
|
6377
6800
|
*/
|
|
6378
6801
|
getReportContent(getReportContentRequest) {
|
|
6379
6802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6445,7 +6868,7 @@ class DataSafeClient {
|
|
|
6445
6868
|
* @param GetReportDefinitionRequest
|
|
6446
6869
|
* @return GetReportDefinitionResponse
|
|
6447
6870
|
* @throws OciError when an error occurs
|
|
6448
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6871
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetReportDefinition.ts.html |here} to see how to use GetReportDefinition API.
|
|
6449
6872
|
*/
|
|
6450
6873
|
getReportDefinition(getReportDefinitionRequest) {
|
|
6451
6874
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6502,13 +6925,76 @@ class DataSafeClient {
|
|
|
6502
6925
|
}
|
|
6503
6926
|
});
|
|
6504
6927
|
}
|
|
6928
|
+
/**
|
|
6929
|
+
* Gets the details of the specified SDM Masking policy difference.
|
|
6930
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6931
|
+
* @param GetSdmMaskingPolicyDifferenceRequest
|
|
6932
|
+
* @return GetSdmMaskingPolicyDifferenceResponse
|
|
6933
|
+
* @throws OciError when an error occurs
|
|
6934
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetSdmMaskingPolicyDifference.ts.html |here} to see how to use GetSdmMaskingPolicyDifference API.
|
|
6935
|
+
*/
|
|
6936
|
+
getSdmMaskingPolicyDifference(getSdmMaskingPolicyDifferenceRequest) {
|
|
6937
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6938
|
+
if (this.logger)
|
|
6939
|
+
this.logger.debug("Calling operation DataSafeClient#getSdmMaskingPolicyDifference.");
|
|
6940
|
+
const operationName = "getSdmMaskingPolicyDifference";
|
|
6941
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/GetSdmMaskingPolicyDifference";
|
|
6942
|
+
const pathParams = {
|
|
6943
|
+
"{sdmMaskingPolicyDifferenceId}": getSdmMaskingPolicyDifferenceRequest.sdmMaskingPolicyDifferenceId
|
|
6944
|
+
};
|
|
6945
|
+
const queryParams = {};
|
|
6946
|
+
let headerParams = {
|
|
6947
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6948
|
+
"opc-request-id": getSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
6949
|
+
};
|
|
6950
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6951
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
6952
|
+
if (this.logger)
|
|
6953
|
+
retrier.logger = this.logger;
|
|
6954
|
+
const request = yield oci_common_2.composeRequest({
|
|
6955
|
+
baseEndpoint: this._endpoint,
|
|
6956
|
+
defaultHeaders: this._defaultHeaders,
|
|
6957
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}",
|
|
6958
|
+
method: "GET",
|
|
6959
|
+
pathParams: pathParams,
|
|
6960
|
+
headerParams: headerParams,
|
|
6961
|
+
queryParams: queryParams
|
|
6962
|
+
});
|
|
6963
|
+
try {
|
|
6964
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6965
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6966
|
+
responseObject: {},
|
|
6967
|
+
body: yield response.json(),
|
|
6968
|
+
bodyKey: "sdmMaskingPolicyDifference",
|
|
6969
|
+
bodyModel: model.SdmMaskingPolicyDifference,
|
|
6970
|
+
type: "model.SdmMaskingPolicyDifference",
|
|
6971
|
+
responseHeaders: [
|
|
6972
|
+
{
|
|
6973
|
+
value: response.headers.get("etag"),
|
|
6974
|
+
key: "etag",
|
|
6975
|
+
dataType: "string"
|
|
6976
|
+
},
|
|
6977
|
+
{
|
|
6978
|
+
value: response.headers.get("opc-request-id"),
|
|
6979
|
+
key: "opcRequestId",
|
|
6980
|
+
dataType: "string"
|
|
6981
|
+
}
|
|
6982
|
+
]
|
|
6983
|
+
});
|
|
6984
|
+
return sdkResponse;
|
|
6985
|
+
}
|
|
6986
|
+
catch (err) {
|
|
6987
|
+
throw err;
|
|
6988
|
+
}
|
|
6989
|
+
});
|
|
6990
|
+
}
|
|
6505
6991
|
/**
|
|
6506
6992
|
* Gets the details of the specified security assessment.
|
|
6507
6993
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6508
6994
|
* @param GetSecurityAssessmentRequest
|
|
6509
6995
|
* @return GetSecurityAssessmentResponse
|
|
6510
6996
|
* @throws OciError when an error occurs
|
|
6511
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6997
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetSecurityAssessment.ts.html |here} to see how to use GetSecurityAssessment API.
|
|
6512
6998
|
*/
|
|
6513
6999
|
getSecurityAssessment(getSecurityAssessmentRequest) {
|
|
6514
7000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6571,7 +7057,7 @@ class DataSafeClient {
|
|
|
6571
7057
|
* @param GetSecurityAssessmentComparisonRequest
|
|
6572
7058
|
* @return GetSecurityAssessmentComparisonResponse
|
|
6573
7059
|
* @throws OciError when an error occurs
|
|
6574
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7060
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetSecurityAssessmentComparison.ts.html |here} to see how to use GetSecurityAssessmentComparison API.
|
|
6575
7061
|
*/
|
|
6576
7062
|
getSecurityAssessmentComparison(getSecurityAssessmentComparisonRequest) {
|
|
6577
7063
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6635,7 +7121,7 @@ class DataSafeClient {
|
|
|
6635
7121
|
* @param GetSensitiveColumnRequest
|
|
6636
7122
|
* @return GetSensitiveColumnResponse
|
|
6637
7123
|
* @throws OciError when an error occurs
|
|
6638
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7124
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetSensitiveColumn.ts.html |here} to see how to use GetSensitiveColumn API.
|
|
6639
7125
|
*/
|
|
6640
7126
|
getSensitiveColumn(getSensitiveColumnRequest) {
|
|
6641
7127
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6699,7 +7185,7 @@ class DataSafeClient {
|
|
|
6699
7185
|
* @param GetSensitiveDataModelRequest
|
|
6700
7186
|
* @return GetSensitiveDataModelResponse
|
|
6701
7187
|
* @throws OciError when an error occurs
|
|
6702
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7188
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetSensitiveDataModel.ts.html |here} to see how to use GetSensitiveDataModel API.
|
|
6703
7189
|
*/
|
|
6704
7190
|
getSensitiveDataModel(getSensitiveDataModelRequest) {
|
|
6705
7191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6762,7 +7248,7 @@ class DataSafeClient {
|
|
|
6762
7248
|
* @param GetSensitiveTypeRequest
|
|
6763
7249
|
* @return GetSensitiveTypeResponse
|
|
6764
7250
|
* @throws OciError when an error occurs
|
|
6765
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7251
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetSensitiveType.ts.html |here} to see how to use GetSensitiveType API.
|
|
6766
7252
|
*/
|
|
6767
7253
|
getSensitiveType(getSensitiveTypeRequest) {
|
|
6768
7254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6825,7 +7311,7 @@ class DataSafeClient {
|
|
|
6825
7311
|
* @param GetTargetAlertPolicyAssociationRequest
|
|
6826
7312
|
* @return GetTargetAlertPolicyAssociationResponse
|
|
6827
7313
|
* @throws OciError when an error occurs
|
|
6828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7314
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetTargetAlertPolicyAssociation.ts.html |here} to see how to use GetTargetAlertPolicyAssociation API.
|
|
6829
7315
|
*/
|
|
6830
7316
|
getTargetAlertPolicyAssociation(getTargetAlertPolicyAssociationRequest) {
|
|
6831
7317
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6889,7 +7375,7 @@ class DataSafeClient {
|
|
|
6889
7375
|
* @param GetTargetDatabaseRequest
|
|
6890
7376
|
* @return GetTargetDatabaseResponse
|
|
6891
7377
|
* @throws OciError when an error occurs
|
|
6892
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7378
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetTargetDatabase.ts.html |here} to see how to use GetTargetDatabase API.
|
|
6893
7379
|
*/
|
|
6894
7380
|
getTargetDatabase(getTargetDatabaseRequest) {
|
|
6895
7381
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6952,7 +7438,7 @@ class DataSafeClient {
|
|
|
6952
7438
|
* @param GetUserAssessmentRequest
|
|
6953
7439
|
* @return GetUserAssessmentResponse
|
|
6954
7440
|
* @throws OciError when an error occurs
|
|
6955
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetUserAssessment.ts.html |here} to see how to use GetUserAssessment API.
|
|
6956
7442
|
*/
|
|
6957
7443
|
getUserAssessment(getUserAssessmentRequest) {
|
|
6958
7444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7015,7 +7501,7 @@ class DataSafeClient {
|
|
|
7015
7501
|
* @param GetUserAssessmentComparisonRequest
|
|
7016
7502
|
* @return GetUserAssessmentComparisonResponse
|
|
7017
7503
|
* @throws OciError when an error occurs
|
|
7018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7504
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetUserAssessmentComparison.ts.html |here} to see how to use GetUserAssessmentComparison API.
|
|
7019
7505
|
*/
|
|
7020
7506
|
getUserAssessmentComparison(getUserAssessmentComparisonRequest) {
|
|
7021
7507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7074,7 +7560,7 @@ class DataSafeClient {
|
|
|
7074
7560
|
* @param GetWorkRequestRequest
|
|
7075
7561
|
* @return GetWorkRequestResponse
|
|
7076
7562
|
* @throws OciError when an error occurs
|
|
7077
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7563
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
7078
7564
|
*/
|
|
7079
7565
|
getWorkRequest(getWorkRequestRequest) {
|
|
7080
7566
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7137,13 +7623,13 @@ class DataSafeClient {
|
|
|
7137
7623
|
});
|
|
7138
7624
|
}
|
|
7139
7625
|
/**
|
|
7140
|
-
* Returns aggregation details of alerts.
|
|
7626
|
+
* Returns the aggregation details of the alerts.
|
|
7141
7627
|
*
|
|
7142
7628
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
7143
7629
|
* @param ListAlertAnalyticsRequest
|
|
7144
7630
|
* @return ListAlertAnalyticsResponse
|
|
7145
7631
|
* @throws OciError when an error occurs
|
|
7146
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7632
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAlertAnalytics.ts.html |here} to see how to use ListAlertAnalytics API.
|
|
7147
7633
|
*/
|
|
7148
7634
|
listAlertAnalytics(listAlertAnalyticsRequest) {
|
|
7149
7635
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7221,7 +7707,7 @@ class DataSafeClient {
|
|
|
7221
7707
|
* @param ListAlertPoliciesRequest
|
|
7222
7708
|
* @return ListAlertPoliciesResponse
|
|
7223
7709
|
* @throws OciError when an error occurs
|
|
7224
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7710
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAlertPolicies.ts.html |here} to see how to use ListAlertPolicies API.
|
|
7225
7711
|
*/
|
|
7226
7712
|
listAlertPolicies(listAlertPoliciesRequest) {
|
|
7227
7713
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7309,7 +7795,7 @@ class DataSafeClient {
|
|
|
7309
7795
|
* @param ListAlertPolicyRulesRequest
|
|
7310
7796
|
* @return ListAlertPolicyRulesResponse
|
|
7311
7797
|
* @throws OciError when an error occurs
|
|
7312
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7798
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAlertPolicyRules.ts.html |here} to see how to use ListAlertPolicyRules API.
|
|
7313
7799
|
*/
|
|
7314
7800
|
listAlertPolicyRules(listAlertPolicyRulesRequest) {
|
|
7315
7801
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7386,7 +7872,7 @@ class DataSafeClient {
|
|
|
7386
7872
|
* @param ListAlertsRequest
|
|
7387
7873
|
* @return ListAlertsResponse
|
|
7388
7874
|
* @throws OciError when an error occurs
|
|
7389
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7875
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAlerts.ts.html |here} to see how to use ListAlerts API.
|
|
7390
7876
|
*/
|
|
7391
7877
|
listAlerts(listAlertsRequest) {
|
|
7392
7878
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7464,7 +7950,7 @@ class DataSafeClient {
|
|
|
7464
7950
|
* @param ListAuditArchiveRetrievalsRequest
|
|
7465
7951
|
* @return ListAuditArchiveRetrievalsResponse
|
|
7466
7952
|
* @throws OciError when an error occurs
|
|
7467
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7953
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditArchiveRetrievals.ts.html |here} to see how to use ListAuditArchiveRetrievals API.
|
|
7468
7954
|
*/
|
|
7469
7955
|
listAuditArchiveRetrievals(listAuditArchiveRetrievalsRequest) {
|
|
7470
7956
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7538,19 +8024,26 @@ class DataSafeClient {
|
|
|
7538
8024
|
});
|
|
7539
8025
|
}
|
|
7540
8026
|
/**
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
8027
|
+
* By default the ListAuditEventAnalytics operation will return all of the summary columns. To filter for a specific summary column, specify
|
|
8028
|
+
* it in the `summaryField` query parameter.
|
|
8029
|
+
* <p>
|
|
8030
|
+
**Example:**
|
|
8031
|
+
* /ListAuditEventAnalytics?summaryField=targetName&summaryField=userName&summaryField=clientHostname
|
|
8032
|
+
* &summaryField=dmls&summaryField=privilegeChanges&summaryField=ddls&summaryField=loginFailure&summaryField=loginSuccess
|
|
8033
|
+
* &summaryField=allRecord&q=(auditEventTime ge \"2021-06-13T23:49:14\")
|
|
8034
|
+
* <p>
|
|
8035
|
+
/ListAuditEventAnalytics?timeStarted=2022-08-18T11:02:26.000Z&timeEnded=2022-08-24T11:02:26.000Z
|
|
8036
|
+
* This will give number of events grouped by periods. Period can be 1 day, 1 week, etc.
|
|
8037
|
+
* <p>
|
|
8038
|
+
/ListAuditEventAnalytics?summaryField=targetName&groupBy=targetName
|
|
8039
|
+
* This will give the number of events group by targetName. Only targetName summary column would be returned.
|
|
8040
|
+
*
|
|
8041
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8042
|
+
* @param ListAuditEventAnalyticsRequest
|
|
8043
|
+
* @return ListAuditEventAnalyticsResponse
|
|
8044
|
+
* @throws OciError when an error occurs
|
|
8045
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditEventAnalytics.ts.html |here} to see how to use ListAuditEventAnalytics API.
|
|
8046
|
+
*/
|
|
7554
8047
|
listAuditEventAnalytics(listAuditEventAnalyticsRequest) {
|
|
7555
8048
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7556
8049
|
if (this.logger)
|
|
@@ -7644,7 +8137,7 @@ class DataSafeClient {
|
|
|
7644
8137
|
* @param ListAuditEventsRequest
|
|
7645
8138
|
* @return ListAuditEventsResponse
|
|
7646
8139
|
* @throws OciError when an error occurs
|
|
7647
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8140
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditEvents.ts.html |here} to see how to use ListAuditEvents API.
|
|
7648
8141
|
*/
|
|
7649
8142
|
listAuditEvents(listAuditEventsRequest) {
|
|
7650
8143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7734,7 +8227,7 @@ class DataSafeClient {
|
|
|
7734
8227
|
* @param ListAuditPoliciesRequest
|
|
7735
8228
|
* @return ListAuditPoliciesResponse
|
|
7736
8229
|
* @throws OciError when an error occurs
|
|
7737
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8230
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditPolicies.ts.html |here} to see how to use ListAuditPolicies API.
|
|
7738
8231
|
*/
|
|
7739
8232
|
listAuditPolicies(listAuditPoliciesRequest) {
|
|
7740
8233
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7806,6 +8299,99 @@ class DataSafeClient {
|
|
|
7806
8299
|
}
|
|
7807
8300
|
});
|
|
7808
8301
|
}
|
|
8302
|
+
/**
|
|
8303
|
+
* Gets a list of aggregated audit policy details on the target databases. A audit policy aggregation
|
|
8304
|
+
* helps understand the overall state of policies provisioned on targets.
|
|
8305
|
+
* It is especially useful to create dashboards or to support analytics.
|
|
8306
|
+
* <p>
|
|
8307
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
|
8308
|
+
* requestor has INSPECT permissions on at least one resource directly
|
|
8309
|
+
* or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
|
8310
|
+
* principal doesn't have access to even one of the child compartments. This is valid only when
|
|
8311
|
+
* `compartmentIdInSubtree` is set to `true`.
|
|
8312
|
+
* <p>
|
|
8313
|
+
The parameter `compartmentIdInSubtree` applies when you perform SummarizedAuditPolicyInfo on the specified
|
|
8314
|
+
* `compartmentId` and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
8315
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
|
8316
|
+
* set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
|
8317
|
+
* <p>
|
|
8318
|
+
**Example:** ListAuditPolicyAnalytics?groupBy=auditPolicyCategory
|
|
8319
|
+
*
|
|
8320
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8321
|
+
* @param ListAuditPolicyAnalyticsRequest
|
|
8322
|
+
* @return ListAuditPolicyAnalyticsResponse
|
|
8323
|
+
* @throws OciError when an error occurs
|
|
8324
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditPolicyAnalytics.ts.html |here} to see how to use ListAuditPolicyAnalytics API.
|
|
8325
|
+
*/
|
|
8326
|
+
listAuditPolicyAnalytics(listAuditPolicyAnalyticsRequest) {
|
|
8327
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8328
|
+
if (this.logger)
|
|
8329
|
+
this.logger.debug("Calling operation DataSafeClient#listAuditPolicyAnalytics.");
|
|
8330
|
+
const operationName = "listAuditPolicyAnalytics";
|
|
8331
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/AuditPolicyAnalyticCollection/ListAuditPolicyAnalytics";
|
|
8332
|
+
const pathParams = {};
|
|
8333
|
+
const queryParams = {
|
|
8334
|
+
"compartmentId": listAuditPolicyAnalyticsRequest.compartmentId,
|
|
8335
|
+
"compartmentIdInSubtree": listAuditPolicyAnalyticsRequest.compartmentIdInSubtree,
|
|
8336
|
+
"accessLevel": listAuditPolicyAnalyticsRequest.accessLevel,
|
|
8337
|
+
"limit": listAuditPolicyAnalyticsRequest.limit,
|
|
8338
|
+
"page": listAuditPolicyAnalyticsRequest.page,
|
|
8339
|
+
"groupBy": listAuditPolicyAnalyticsRequest.groupBy,
|
|
8340
|
+
"auditPolicyCategory": listAuditPolicyAnalyticsRequest.auditPolicyCategory,
|
|
8341
|
+
"auditPolicyName": listAuditPolicyAnalyticsRequest.auditPolicyName,
|
|
8342
|
+
"targetId": listAuditPolicyAnalyticsRequest.targetId,
|
|
8343
|
+
"lifecycleState": listAuditPolicyAnalyticsRequest.lifecycleState
|
|
8344
|
+
};
|
|
8345
|
+
let headerParams = {
|
|
8346
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8347
|
+
"opc-request-id": listAuditPolicyAnalyticsRequest.opcRequestId
|
|
8348
|
+
};
|
|
8349
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8350
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAuditPolicyAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
8351
|
+
if (this.logger)
|
|
8352
|
+
retrier.logger = this.logger;
|
|
8353
|
+
const request = yield oci_common_2.composeRequest({
|
|
8354
|
+
baseEndpoint: this._endpoint,
|
|
8355
|
+
defaultHeaders: this._defaultHeaders,
|
|
8356
|
+
path: "/auditPolicyAnalytics",
|
|
8357
|
+
method: "GET",
|
|
8358
|
+
pathParams: pathParams,
|
|
8359
|
+
headerParams: headerParams,
|
|
8360
|
+
queryParams: queryParams
|
|
8361
|
+
});
|
|
8362
|
+
try {
|
|
8363
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
8364
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
8365
|
+
responseObject: {},
|
|
8366
|
+
body: yield response.json(),
|
|
8367
|
+
bodyKey: "auditPolicyAnalyticCollection",
|
|
8368
|
+
bodyModel: model.AuditPolicyAnalyticCollection,
|
|
8369
|
+
type: "model.AuditPolicyAnalyticCollection",
|
|
8370
|
+
responseHeaders: [
|
|
8371
|
+
{
|
|
8372
|
+
value: response.headers.get("opc-request-id"),
|
|
8373
|
+
key: "opcRequestId",
|
|
8374
|
+
dataType: "string"
|
|
8375
|
+
},
|
|
8376
|
+
{
|
|
8377
|
+
value: response.headers.get("opc-next-page"),
|
|
8378
|
+
key: "opcNextPage",
|
|
8379
|
+
dataType: "string"
|
|
8380
|
+
},
|
|
8381
|
+
{
|
|
8382
|
+
value: response.headers.get("opc-prev-page"),
|
|
8383
|
+
key: "opcPrevPage",
|
|
8384
|
+
dataType: "string"
|
|
8385
|
+
}
|
|
8386
|
+
]
|
|
8387
|
+
});
|
|
8388
|
+
return sdkResponse;
|
|
8389
|
+
}
|
|
8390
|
+
catch (err) {
|
|
8391
|
+
throw err;
|
|
8392
|
+
}
|
|
8393
|
+
});
|
|
8394
|
+
}
|
|
7809
8395
|
/**
|
|
7810
8396
|
* Gets a list of audit profile aggregated details . A audit profile aggregation helps understand the overall state of audit profile profiles.
|
|
7811
8397
|
* 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 +8411,7 @@ class DataSafeClient {
|
|
|
7825
8411
|
* @param ListAuditProfileAnalyticsRequest
|
|
7826
8412
|
* @return ListAuditProfileAnalyticsResponse
|
|
7827
8413
|
* @throws OciError when an error occurs
|
|
7828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8414
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditProfileAnalytics.ts.html |here} to see how to use ListAuditProfileAnalytics API.
|
|
7829
8415
|
*/
|
|
7830
8416
|
listAuditProfileAnalytics(listAuditProfileAnalyticsRequest) {
|
|
7831
8417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7913,7 +8499,7 @@ class DataSafeClient {
|
|
|
7913
8499
|
* @param ListAuditProfilesRequest
|
|
7914
8500
|
* @return ListAuditProfilesResponse
|
|
7915
8501
|
* @throws OciError when an error occurs
|
|
7916
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8502
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditProfiles.ts.html |here} to see how to use ListAuditProfiles API.
|
|
7917
8503
|
*/
|
|
7918
8504
|
listAuditProfiles(listAuditProfilesRequest) {
|
|
7919
8505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8007,7 +8593,7 @@ class DataSafeClient {
|
|
|
8007
8593
|
* @param ListAuditTrailAnalyticsRequest
|
|
8008
8594
|
* @return ListAuditTrailAnalyticsResponse
|
|
8009
8595
|
* @throws OciError when an error occurs
|
|
8010
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8596
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditTrailAnalytics.ts.html |here} to see how to use ListAuditTrailAnalytics API.
|
|
8011
8597
|
*/
|
|
8012
8598
|
listAuditTrailAnalytics(listAuditTrailAnalyticsRequest) {
|
|
8013
8599
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8095,7 +8681,7 @@ class DataSafeClient {
|
|
|
8095
8681
|
* @param ListAuditTrailsRequest
|
|
8096
8682
|
* @return ListAuditTrailsResponse
|
|
8097
8683
|
* @throws OciError when an error occurs
|
|
8098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8684
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAuditTrails.ts.html |here} to see how to use ListAuditTrails API.
|
|
8099
8685
|
*/
|
|
8100
8686
|
listAuditTrails(listAuditTrailsRequest) {
|
|
8101
8687
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8174,7 +8760,7 @@ class DataSafeClient {
|
|
|
8174
8760
|
* @param ListAvailableAuditVolumesRequest
|
|
8175
8761
|
* @return ListAvailableAuditVolumesResponse
|
|
8176
8762
|
* @throws OciError when an error occurs
|
|
8177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8763
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListAvailableAuditVolumes.ts.html |here} to see how to use ListAvailableAuditVolumes API.
|
|
8178
8764
|
*/
|
|
8179
8765
|
listAvailableAuditVolumes(listAvailableAuditVolumesRequest) {
|
|
8180
8766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8251,7 +8837,7 @@ class DataSafeClient {
|
|
|
8251
8837
|
* @param ListCollectedAuditVolumesRequest
|
|
8252
8838
|
* @return ListCollectedAuditVolumesResponse
|
|
8253
8839
|
* @throws OciError when an error occurs
|
|
8254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListCollectedAuditVolumes.ts.html |here} to see how to use ListCollectedAuditVolumes API.
|
|
8255
8841
|
*/
|
|
8256
8842
|
listCollectedAuditVolumes(listCollectedAuditVolumesRequest) {
|
|
8257
8843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8328,7 +8914,7 @@ class DataSafeClient {
|
|
|
8328
8914
|
* @param ListColumnsRequest
|
|
8329
8915
|
* @return ListColumnsResponse
|
|
8330
8916
|
* @throws OciError when an error occurs
|
|
8331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListColumns.ts.html |here} to see how to use ListColumns API.
|
|
8332
8918
|
*/
|
|
8333
8919
|
listColumns(listColumnsRequest) {
|
|
8334
8920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8449,7 +9035,7 @@ class DataSafeClient {
|
|
|
8449
9035
|
* @param ListDataSafePrivateEndpointsRequest
|
|
8450
9036
|
* @return ListDataSafePrivateEndpointsResponse
|
|
8451
9037
|
* @throws OciError when an error occurs
|
|
8452
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9038
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListDataSafePrivateEndpoints.ts.html |here} to see how to use ListDataSafePrivateEndpoints API.
|
|
8453
9039
|
*/
|
|
8454
9040
|
listDataSafePrivateEndpoints(listDataSafePrivateEndpointsRequest) {
|
|
8455
9041
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8555,6 +9141,85 @@ class DataSafeClient {
|
|
|
8555
9141
|
listDataSafePrivateEndpointsResponseIterator(request) {
|
|
8556
9142
|
return oci_common_1.paginateResponses(request, req => this.listDataSafePrivateEndpoints(req));
|
|
8557
9143
|
}
|
|
9144
|
+
/**
|
|
9145
|
+
* Gets a list of columns of a SDM masking policy difference resource based on the specified query parameters.
|
|
9146
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
9147
|
+
* @param ListDifferenceColumnsRequest
|
|
9148
|
+
* @return ListDifferenceColumnsResponse
|
|
9149
|
+
* @throws OciError when an error occurs
|
|
9150
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListDifferenceColumns.ts.html |here} to see how to use ListDifferenceColumns API.
|
|
9151
|
+
*/
|
|
9152
|
+
listDifferenceColumns(listDifferenceColumnsRequest) {
|
|
9153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9154
|
+
if (this.logger)
|
|
9155
|
+
this.logger.debug("Calling operation DataSafeClient#listDifferenceColumns.");
|
|
9156
|
+
const operationName = "listDifferenceColumns";
|
|
9157
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/ListDifferenceColumns";
|
|
9158
|
+
const pathParams = {
|
|
9159
|
+
"{sdmMaskingPolicyDifferenceId}": listDifferenceColumnsRequest.sdmMaskingPolicyDifferenceId
|
|
9160
|
+
};
|
|
9161
|
+
const queryParams = {
|
|
9162
|
+
"differenceType": listDifferenceColumnsRequest.differenceType,
|
|
9163
|
+
"plannedAction": listDifferenceColumnsRequest.plannedAction,
|
|
9164
|
+
"syncStatus": listDifferenceColumnsRequest.syncStatus,
|
|
9165
|
+
"schemaName": listDifferenceColumnsRequest.schemaName,
|
|
9166
|
+
"objectName": listDifferenceColumnsRequest.objectName,
|
|
9167
|
+
"columnName": listDifferenceColumnsRequest.columnName,
|
|
9168
|
+
"sortOrder": listDifferenceColumnsRequest.sortOrder,
|
|
9169
|
+
"sortBy": listDifferenceColumnsRequest.sortBy,
|
|
9170
|
+
"limit": listDifferenceColumnsRequest.limit,
|
|
9171
|
+
"page": listDifferenceColumnsRequest.page
|
|
9172
|
+
};
|
|
9173
|
+
let headerParams = {
|
|
9174
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9175
|
+
"opc-request-id": listDifferenceColumnsRequest.opcRequestId
|
|
9176
|
+
};
|
|
9177
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9178
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDifferenceColumnsRequest.retryConfiguration, specRetryConfiguration);
|
|
9179
|
+
if (this.logger)
|
|
9180
|
+
retrier.logger = this.logger;
|
|
9181
|
+
const request = yield oci_common_2.composeRequest({
|
|
9182
|
+
baseEndpoint: this._endpoint,
|
|
9183
|
+
defaultHeaders: this._defaultHeaders,
|
|
9184
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/differenceColumns",
|
|
9185
|
+
method: "GET",
|
|
9186
|
+
pathParams: pathParams,
|
|
9187
|
+
headerParams: headerParams,
|
|
9188
|
+
queryParams: queryParams
|
|
9189
|
+
});
|
|
9190
|
+
try {
|
|
9191
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9192
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
9193
|
+
responseObject: {},
|
|
9194
|
+
body: yield response.json(),
|
|
9195
|
+
bodyKey: "sdmMaskingPolicyDifferenceColumnCollection",
|
|
9196
|
+
bodyModel: model.SdmMaskingPolicyDifferenceColumnCollection,
|
|
9197
|
+
type: "model.SdmMaskingPolicyDifferenceColumnCollection",
|
|
9198
|
+
responseHeaders: [
|
|
9199
|
+
{
|
|
9200
|
+
value: response.headers.get("opc-request-id"),
|
|
9201
|
+
key: "opcRequestId",
|
|
9202
|
+
dataType: "string"
|
|
9203
|
+
},
|
|
9204
|
+
{
|
|
9205
|
+
value: response.headers.get("opc-next-page"),
|
|
9206
|
+
key: "opcNextPage",
|
|
9207
|
+
dataType: "string"
|
|
9208
|
+
},
|
|
9209
|
+
{
|
|
9210
|
+
value: response.headers.get("opc-prev-page"),
|
|
9211
|
+
key: "opcPrevPage",
|
|
9212
|
+
dataType: "string"
|
|
9213
|
+
}
|
|
9214
|
+
]
|
|
9215
|
+
});
|
|
9216
|
+
return sdkResponse;
|
|
9217
|
+
}
|
|
9218
|
+
catch (err) {
|
|
9219
|
+
throw err;
|
|
9220
|
+
}
|
|
9221
|
+
});
|
|
9222
|
+
}
|
|
8558
9223
|
/**
|
|
8559
9224
|
* Gets consolidated discovery analytics data based on the specified query parameters.
|
|
8560
9225
|
* If CompartmentIdInSubtreeQueryParam is specified as true, the behaviour
|
|
@@ -8564,7 +9229,7 @@ class DataSafeClient {
|
|
|
8564
9229
|
* @param ListDiscoveryAnalyticsRequest
|
|
8565
9230
|
* @return ListDiscoveryAnalyticsResponse
|
|
8566
9231
|
* @throws OciError when an error occurs
|
|
8567
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9232
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListDiscoveryAnalytics.ts.html |here} to see how to use ListDiscoveryAnalytics API.
|
|
8568
9233
|
*/
|
|
8569
9234
|
listDiscoveryAnalytics(listDiscoveryAnalyticsRequest) {
|
|
8570
9235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8638,7 +9303,7 @@ class DataSafeClient {
|
|
|
8638
9303
|
* @param ListDiscoveryJobResultsRequest
|
|
8639
9304
|
* @return ListDiscoveryJobResultsResponse
|
|
8640
9305
|
* @throws OciError when an error occurs
|
|
8641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9306
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListDiscoveryJobResults.ts.html |here} to see how to use ListDiscoveryJobResults API.
|
|
8642
9307
|
*/
|
|
8643
9308
|
listDiscoveryJobResults(listDiscoveryJobResultsRequest) {
|
|
8644
9309
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8717,7 +9382,7 @@ class DataSafeClient {
|
|
|
8717
9382
|
* @param ListDiscoveryJobsRequest
|
|
8718
9383
|
* @return ListDiscoveryJobsResponse
|
|
8719
9384
|
* @throws OciError when an error occurs
|
|
8720
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9385
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListDiscoveryJobs.ts.html |here} to see how to use ListDiscoveryJobs API.
|
|
8721
9386
|
*/
|
|
8722
9387
|
listDiscoveryJobs(listDiscoveryJobsRequest) {
|
|
8723
9388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8797,7 +9462,7 @@ class DataSafeClient {
|
|
|
8797
9462
|
* @param ListFindingsRequest
|
|
8798
9463
|
* @return ListFindingsResponse
|
|
8799
9464
|
* @throws OciError when an error occurs
|
|
8800
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9465
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListFindings.ts.html |here} to see how to use ListFindings API.
|
|
8801
9466
|
*/
|
|
8802
9467
|
listFindings(listFindingsRequest) {
|
|
8803
9468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8810,6 +9475,7 @@ class DataSafeClient {
|
|
|
8810
9475
|
};
|
|
8811
9476
|
const queryParams = {
|
|
8812
9477
|
"severity": listFindingsRequest.severity,
|
|
9478
|
+
"references": listFindingsRequest.references,
|
|
8813
9479
|
"limit": listFindingsRequest.limit,
|
|
8814
9480
|
"page": listFindingsRequest.page,
|
|
8815
9481
|
"compartmentIdInSubtree": listFindingsRequest.compartmentIdInSubtree,
|
|
@@ -8916,7 +9582,7 @@ class DataSafeClient {
|
|
|
8916
9582
|
* @param ListGrantsRequest
|
|
8917
9583
|
* @return ListGrantsResponse
|
|
8918
9584
|
* @throws OciError when an error occurs
|
|
8919
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9585
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListGrants.ts.html |here} to see how to use ListGrants API.
|
|
8920
9586
|
*/
|
|
8921
9587
|
listGrants(listGrantsRequest) {
|
|
8922
9588
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9038,7 +9704,7 @@ class DataSafeClient {
|
|
|
9038
9704
|
* @param ListLibraryMaskingFormatsRequest
|
|
9039
9705
|
* @return ListLibraryMaskingFormatsResponse
|
|
9040
9706
|
* @throws OciError when an error occurs
|
|
9041
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9707
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListLibraryMaskingFormats.ts.html |here} to see how to use ListLibraryMaskingFormats API.
|
|
9042
9708
|
*/
|
|
9043
9709
|
listLibraryMaskingFormats(listLibraryMaskingFormatsRequest) {
|
|
9044
9710
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9119,7 +9785,7 @@ class DataSafeClient {
|
|
|
9119
9785
|
* @param ListMaskedColumnsRequest
|
|
9120
9786
|
* @return ListMaskedColumnsResponse
|
|
9121
9787
|
* @throws OciError when an error occurs
|
|
9122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskedColumns.ts.html |here} to see how to use ListMaskedColumns API.
|
|
9123
9789
|
*/
|
|
9124
9790
|
listMaskedColumns(listMaskedColumnsRequest) {
|
|
9125
9791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9201,7 +9867,7 @@ class DataSafeClient {
|
|
|
9201
9867
|
* @param ListMaskingAnalyticsRequest
|
|
9202
9868
|
* @return ListMaskingAnalyticsResponse
|
|
9203
9869
|
* @throws OciError when an error occurs
|
|
9204
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9870
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskingAnalytics.ts.html |here} to see how to use ListMaskingAnalytics API.
|
|
9205
9871
|
*/
|
|
9206
9872
|
listMaskingAnalytics(listMaskingAnalyticsRequest) {
|
|
9207
9873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9276,7 +9942,7 @@ class DataSafeClient {
|
|
|
9276
9942
|
* @param ListMaskingColumnsRequest
|
|
9277
9943
|
* @return ListMaskingColumnsResponse
|
|
9278
9944
|
* @throws OciError when an error occurs
|
|
9279
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9945
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskingColumns.ts.html |here} to see how to use ListMaskingColumns API.
|
|
9280
9946
|
*/
|
|
9281
9947
|
listMaskingColumns(listMaskingColumnsRequest) {
|
|
9282
9948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9358,28 +10024,105 @@ class DataSafeClient {
|
|
|
9358
10024
|
});
|
|
9359
10025
|
}
|
|
9360
10026
|
/**
|
|
9361
|
-
* Gets a list of masking
|
|
10027
|
+
* Gets a list of masking objects present in the specified masking policy and based on the specified query parameters.
|
|
10028
|
+
*
|
|
9362
10029
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
9363
|
-
* @param
|
|
9364
|
-
* @return
|
|
10030
|
+
* @param ListMaskingObjectsRequest
|
|
10031
|
+
* @return ListMaskingObjectsResponse
|
|
9365
10032
|
* @throws OciError when an error occurs
|
|
9366
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10033
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskingObjects.ts.html |here} to see how to use ListMaskingObjects API.
|
|
9367
10034
|
*/
|
|
9368
|
-
|
|
10035
|
+
listMaskingObjects(listMaskingObjectsRequest) {
|
|
9369
10036
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9370
10037
|
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 = {
|
|
10038
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingObjects.");
|
|
10039
|
+
const operationName = "listMaskingObjects";
|
|
10040
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingObjectCollection/ListMaskingObjects";
|
|
10041
|
+
const pathParams = {
|
|
10042
|
+
"{maskingPolicyId}": listMaskingObjectsRequest.maskingPolicyId
|
|
10043
|
+
};
|
|
9375
10044
|
const queryParams = {
|
|
9376
|
-
"
|
|
9377
|
-
"
|
|
9378
|
-
"
|
|
9379
|
-
"
|
|
9380
|
-
"
|
|
9381
|
-
"
|
|
9382
|
-
"
|
|
10045
|
+
"limit": listMaskingObjectsRequest.limit,
|
|
10046
|
+
"page": listMaskingObjectsRequest.page,
|
|
10047
|
+
"sortOrder": listMaskingObjectsRequest.sortOrder,
|
|
10048
|
+
"sortBy": listMaskingObjectsRequest.sortBy,
|
|
10049
|
+
"schemaName": listMaskingObjectsRequest.schemaName,
|
|
10050
|
+
"objectName": listMaskingObjectsRequest.objectName,
|
|
10051
|
+
"objectType": listMaskingObjectsRequest.objectType
|
|
10052
|
+
};
|
|
10053
|
+
let headerParams = {
|
|
10054
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10055
|
+
"opc-request-id": listMaskingObjectsRequest.opcRequestId
|
|
10056
|
+
};
|
|
10057
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10058
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
10059
|
+
if (this.logger)
|
|
10060
|
+
retrier.logger = this.logger;
|
|
10061
|
+
const request = yield oci_common_2.composeRequest({
|
|
10062
|
+
baseEndpoint: this._endpoint,
|
|
10063
|
+
defaultHeaders: this._defaultHeaders,
|
|
10064
|
+
path: "/maskingPolicies/{maskingPolicyId}/maskingObjects",
|
|
10065
|
+
method: "GET",
|
|
10066
|
+
pathParams: pathParams,
|
|
10067
|
+
headerParams: headerParams,
|
|
10068
|
+
queryParams: queryParams
|
|
10069
|
+
});
|
|
10070
|
+
try {
|
|
10071
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10072
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10073
|
+
responseObject: {},
|
|
10074
|
+
body: yield response.json(),
|
|
10075
|
+
bodyKey: "maskingObjectCollection",
|
|
10076
|
+
bodyModel: model.MaskingObjectCollection,
|
|
10077
|
+
type: "model.MaskingObjectCollection",
|
|
10078
|
+
responseHeaders: [
|
|
10079
|
+
{
|
|
10080
|
+
value: response.headers.get("opc-request-id"),
|
|
10081
|
+
key: "opcRequestId",
|
|
10082
|
+
dataType: "string"
|
|
10083
|
+
},
|
|
10084
|
+
{
|
|
10085
|
+
value: response.headers.get("opc-next-page"),
|
|
10086
|
+
key: "opcNextPage",
|
|
10087
|
+
dataType: "string"
|
|
10088
|
+
},
|
|
10089
|
+
{
|
|
10090
|
+
value: response.headers.get("opc-prev-page"),
|
|
10091
|
+
key: "opcPrevPage",
|
|
10092
|
+
dataType: "string"
|
|
10093
|
+
}
|
|
10094
|
+
]
|
|
10095
|
+
});
|
|
10096
|
+
return sdkResponse;
|
|
10097
|
+
}
|
|
10098
|
+
catch (err) {
|
|
10099
|
+
throw err;
|
|
10100
|
+
}
|
|
10101
|
+
});
|
|
10102
|
+
}
|
|
10103
|
+
/**
|
|
10104
|
+
* Gets a list of masking policies based on the specified query parameters.
|
|
10105
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10106
|
+
* @param ListMaskingPoliciesRequest
|
|
10107
|
+
* @return ListMaskingPoliciesResponse
|
|
10108
|
+
* @throws OciError when an error occurs
|
|
10109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskingPolicies.ts.html |here} to see how to use ListMaskingPolicies API.
|
|
10110
|
+
*/
|
|
10111
|
+
listMaskingPolicies(listMaskingPoliciesRequest) {
|
|
10112
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10113
|
+
if (this.logger)
|
|
10114
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingPolicies.");
|
|
10115
|
+
const operationName = "listMaskingPolicies";
|
|
10116
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingPolicy/ListMaskingPolicies";
|
|
10117
|
+
const pathParams = {};
|
|
10118
|
+
const queryParams = {
|
|
10119
|
+
"maskingPolicyId": listMaskingPoliciesRequest.maskingPolicyId,
|
|
10120
|
+
"compartmentId": listMaskingPoliciesRequest.compartmentId,
|
|
10121
|
+
"displayName": listMaskingPoliciesRequest.displayName,
|
|
10122
|
+
"limit": listMaskingPoliciesRequest.limit,
|
|
10123
|
+
"page": listMaskingPoliciesRequest.page,
|
|
10124
|
+
"lifecycleState": listMaskingPoliciesRequest.lifecycleState,
|
|
10125
|
+
"sortOrder": listMaskingPoliciesRequest.sortOrder,
|
|
9383
10126
|
"sortBy": listMaskingPoliciesRequest.sortBy,
|
|
9384
10127
|
"sensitiveDataModelId": listMaskingPoliciesRequest.sensitiveDataModelId,
|
|
9385
10128
|
"targetId": listMaskingPoliciesRequest.targetId,
|
|
@@ -9444,7 +10187,7 @@ class DataSafeClient {
|
|
|
9444
10187
|
* @param ListMaskingReportsRequest
|
|
9445
10188
|
* @return ListMaskingReportsResponse
|
|
9446
10189
|
* @throws OciError when an error occurs
|
|
9447
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10190
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskingReports.ts.html |here} to see how to use ListMaskingReports API.
|
|
9448
10191
|
*/
|
|
9449
10192
|
listMaskingReports(listMaskingReportsRequest) {
|
|
9450
10193
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9514,6 +10257,81 @@ class DataSafeClient {
|
|
|
9514
10257
|
}
|
|
9515
10258
|
});
|
|
9516
10259
|
}
|
|
10260
|
+
/**
|
|
10261
|
+
* Gets a list of masking schemas present in the specified masking policy and based on the specified query parameters.
|
|
10262
|
+
*
|
|
10263
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10264
|
+
* @param ListMaskingSchemasRequest
|
|
10265
|
+
* @return ListMaskingSchemasResponse
|
|
10266
|
+
* @throws OciError when an error occurs
|
|
10267
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListMaskingSchemas.ts.html |here} to see how to use ListMaskingSchemas API.
|
|
10268
|
+
*/
|
|
10269
|
+
listMaskingSchemas(listMaskingSchemasRequest) {
|
|
10270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10271
|
+
if (this.logger)
|
|
10272
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingSchemas.");
|
|
10273
|
+
const operationName = "listMaskingSchemas";
|
|
10274
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingSchemaCollection/ListMaskingSchemas";
|
|
10275
|
+
const pathParams = {
|
|
10276
|
+
"{maskingPolicyId}": listMaskingSchemasRequest.maskingPolicyId
|
|
10277
|
+
};
|
|
10278
|
+
const queryParams = {
|
|
10279
|
+
"limit": listMaskingSchemasRequest.limit,
|
|
10280
|
+
"page": listMaskingSchemasRequest.page,
|
|
10281
|
+
"sortOrder": listMaskingSchemasRequest.sortOrder,
|
|
10282
|
+
"sortBy": listMaskingSchemasRequest.sortBy,
|
|
10283
|
+
"schemaName": listMaskingSchemasRequest.schemaName
|
|
10284
|
+
};
|
|
10285
|
+
let headerParams = {
|
|
10286
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10287
|
+
"opc-request-id": listMaskingSchemasRequest.opcRequestId
|
|
10288
|
+
};
|
|
10289
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10290
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingSchemasRequest.retryConfiguration, specRetryConfiguration);
|
|
10291
|
+
if (this.logger)
|
|
10292
|
+
retrier.logger = this.logger;
|
|
10293
|
+
const request = yield oci_common_2.composeRequest({
|
|
10294
|
+
baseEndpoint: this._endpoint,
|
|
10295
|
+
defaultHeaders: this._defaultHeaders,
|
|
10296
|
+
path: "/maskingPolicies/{maskingPolicyId}/maskingSchemas",
|
|
10297
|
+
method: "GET",
|
|
10298
|
+
pathParams: pathParams,
|
|
10299
|
+
headerParams: headerParams,
|
|
10300
|
+
queryParams: queryParams
|
|
10301
|
+
});
|
|
10302
|
+
try {
|
|
10303
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10304
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10305
|
+
responseObject: {},
|
|
10306
|
+
body: yield response.json(),
|
|
10307
|
+
bodyKey: "maskingSchemaCollection",
|
|
10308
|
+
bodyModel: model.MaskingSchemaCollection,
|
|
10309
|
+
type: "model.MaskingSchemaCollection",
|
|
10310
|
+
responseHeaders: [
|
|
10311
|
+
{
|
|
10312
|
+
value: response.headers.get("opc-request-id"),
|
|
10313
|
+
key: "opcRequestId",
|
|
10314
|
+
dataType: "string"
|
|
10315
|
+
},
|
|
10316
|
+
{
|
|
10317
|
+
value: response.headers.get("opc-next-page"),
|
|
10318
|
+
key: "opcNextPage",
|
|
10319
|
+
dataType: "string"
|
|
10320
|
+
},
|
|
10321
|
+
{
|
|
10322
|
+
value: response.headers.get("opc-prev-page"),
|
|
10323
|
+
key: "opcPrevPage",
|
|
10324
|
+
dataType: "string"
|
|
10325
|
+
}
|
|
10326
|
+
]
|
|
10327
|
+
});
|
|
10328
|
+
return sdkResponse;
|
|
10329
|
+
}
|
|
10330
|
+
catch (err) {
|
|
10331
|
+
throw err;
|
|
10332
|
+
}
|
|
10333
|
+
});
|
|
10334
|
+
}
|
|
9517
10335
|
/**
|
|
9518
10336
|
* Gets a list of on-premises connectors.
|
|
9519
10337
|
*
|
|
@@ -9521,7 +10339,7 @@ class DataSafeClient {
|
|
|
9521
10339
|
* @param ListOnPremConnectorsRequest
|
|
9522
10340
|
* @return ListOnPremConnectorsResponse
|
|
9523
10341
|
* @throws OciError when an error occurs
|
|
9524
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10342
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListOnPremConnectors.ts.html |here} to see how to use ListOnPremConnectors API.
|
|
9525
10343
|
*/
|
|
9526
10344
|
listOnPremConnectors(listOnPremConnectorsRequest) {
|
|
9527
10345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9627,6 +10445,284 @@ class DataSafeClient {
|
|
|
9627
10445
|
listOnPremConnectorsResponseIterator(request) {
|
|
9628
10446
|
return oci_common_1.paginateResponses(request, req => this.listOnPremConnectors(req));
|
|
9629
10447
|
}
|
|
10448
|
+
/**
|
|
10449
|
+
* Gets a list of aggregated user profile details in the specified compartment. This provides information about the
|
|
10450
|
+
* overall profiles available. For example, the user profile details include how many users have the profile assigned
|
|
10451
|
+
* and do how many use password verification function. This data is especially useful content for dashboards or to support analytics.
|
|
10452
|
+
* <p>
|
|
10453
|
+
When you perform the ListProfileAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the
|
|
10454
|
+
* parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT
|
|
10455
|
+
* permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
|
10456
|
+
* root compartment. If the requestor does not have access to at least one subcompartment of the compartment specified by
|
|
10457
|
+
* compartmentId, then \"Not Authorized\" is returned.
|
|
10458
|
+
* <p>
|
|
10459
|
+
The parameter compartmentIdInSubtree applies when you perform ListProfileAnalytics on the compartmentId passed and when it is
|
|
10460
|
+
* set to true, the entire hierarchy of compartments can be returned.
|
|
10461
|
+
* <p>
|
|
10462
|
+
To use ListProfileAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
|
10463
|
+
* set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
|
10464
|
+
*
|
|
10465
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10466
|
+
* @param ListProfileAnalyticsRequest
|
|
10467
|
+
* @return ListProfileAnalyticsResponse
|
|
10468
|
+
* @throws OciError when an error occurs
|
|
10469
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListProfileAnalytics.ts.html |here} to see how to use ListProfileAnalytics API.
|
|
10470
|
+
*/
|
|
10471
|
+
listProfileAnalytics(listProfileAnalyticsRequest) {
|
|
10472
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10473
|
+
if (this.logger)
|
|
10474
|
+
this.logger.debug("Calling operation DataSafeClient#listProfileAnalytics.");
|
|
10475
|
+
const operationName = "listProfileAnalytics";
|
|
10476
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/Profile/ListProfileAnalytics";
|
|
10477
|
+
const pathParams = {
|
|
10478
|
+
"{userAssessmentId}": listProfileAnalyticsRequest.userAssessmentId
|
|
10479
|
+
};
|
|
10480
|
+
const queryParams = {
|
|
10481
|
+
"compartmentId": listProfileAnalyticsRequest.compartmentId,
|
|
10482
|
+
"compartmentIdInSubtree": listProfileAnalyticsRequest.compartmentIdInSubtree,
|
|
10483
|
+
"accessLevel": listProfileAnalyticsRequest.accessLevel,
|
|
10484
|
+
"targetId": listProfileAnalyticsRequest.targetId,
|
|
10485
|
+
"limit": listProfileAnalyticsRequest.limit,
|
|
10486
|
+
"page": listProfileAnalyticsRequest.page,
|
|
10487
|
+
"profileName": listProfileAnalyticsRequest.profileName,
|
|
10488
|
+
"sortBy": listProfileAnalyticsRequest.sortBy,
|
|
10489
|
+
"sortOrder": listProfileAnalyticsRequest.sortOrder
|
|
10490
|
+
};
|
|
10491
|
+
let headerParams = {
|
|
10492
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10493
|
+
"opc-request-id": listProfileAnalyticsRequest.opcRequestId
|
|
10494
|
+
};
|
|
10495
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10496
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfileAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
10497
|
+
if (this.logger)
|
|
10498
|
+
retrier.logger = this.logger;
|
|
10499
|
+
const request = yield oci_common_2.composeRequest({
|
|
10500
|
+
baseEndpoint: this._endpoint,
|
|
10501
|
+
defaultHeaders: this._defaultHeaders,
|
|
10502
|
+
path: "/userAssessments/{userAssessmentId}/profileAnalytics",
|
|
10503
|
+
method: "GET",
|
|
10504
|
+
pathParams: pathParams,
|
|
10505
|
+
headerParams: headerParams,
|
|
10506
|
+
queryParams: queryParams
|
|
10507
|
+
});
|
|
10508
|
+
try {
|
|
10509
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10510
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10511
|
+
responseObject: {},
|
|
10512
|
+
body: yield response.json(),
|
|
10513
|
+
bodyKey: "items",
|
|
10514
|
+
bodyModel: model.ProfileAggregation,
|
|
10515
|
+
type: "Array<model.ProfileAggregation>",
|
|
10516
|
+
responseHeaders: [
|
|
10517
|
+
{
|
|
10518
|
+
value: response.headers.get("opc-request-id"),
|
|
10519
|
+
key: "opcRequestId",
|
|
10520
|
+
dataType: "string"
|
|
10521
|
+
},
|
|
10522
|
+
{
|
|
10523
|
+
value: response.headers.get("opc-next-page"),
|
|
10524
|
+
key: "opcNextPage",
|
|
10525
|
+
dataType: "string"
|
|
10526
|
+
},
|
|
10527
|
+
{
|
|
10528
|
+
value: response.headers.get("opc-prev-page"),
|
|
10529
|
+
key: "opcPrevPage",
|
|
10530
|
+
dataType: "string"
|
|
10531
|
+
}
|
|
10532
|
+
]
|
|
10533
|
+
});
|
|
10534
|
+
return sdkResponse;
|
|
10535
|
+
}
|
|
10536
|
+
catch (err) {
|
|
10537
|
+
throw err;
|
|
10538
|
+
}
|
|
10539
|
+
});
|
|
10540
|
+
}
|
|
10541
|
+
/**
|
|
10542
|
+
* NOTE: This function is deprecated in favor of listProfileAnalyticsRecordIterator function.
|
|
10543
|
+
* Creates a new async iterator which will iterate over the models.ProfileAggregation objects
|
|
10544
|
+
* contained in responses from the listProfileAnalytics operation. This iterator will fetch more data from the
|
|
10545
|
+
* server as needed.
|
|
10546
|
+
*
|
|
10547
|
+
* @param request a request which can be sent to the service operation
|
|
10548
|
+
*/
|
|
10549
|
+
listAllProfileAnalytics(request) {
|
|
10550
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileAnalytics(req));
|
|
10551
|
+
}
|
|
10552
|
+
/**
|
|
10553
|
+
* NOTE: This function is deprecated in favor of listProfileAnalyticsResponseIterator function.
|
|
10554
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileAnalytics operation. This iterator
|
|
10555
|
+
* will fetch more data from the server as needed.
|
|
10556
|
+
*
|
|
10557
|
+
* @param request a request which can be sent to the service operation
|
|
10558
|
+
*/
|
|
10559
|
+
listAllProfileAnalyticsResponses(request) {
|
|
10560
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileAnalytics(req));
|
|
10561
|
+
}
|
|
10562
|
+
/**
|
|
10563
|
+
* Creates a new async iterator which will iterate over the models.ProfileAggregation objects
|
|
10564
|
+
* contained in responses from the listProfileAnalytics operation. This iterator will fetch more data from the
|
|
10565
|
+
* server as needed.
|
|
10566
|
+
*
|
|
10567
|
+
* @param request a request which can be sent to the service operation
|
|
10568
|
+
*/
|
|
10569
|
+
listProfileAnalyticsRecordIterator(request) {
|
|
10570
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileAnalytics(req));
|
|
10571
|
+
}
|
|
10572
|
+
/**
|
|
10573
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileAnalytics operation. This iterator
|
|
10574
|
+
* will fetch more data from the server as needed.
|
|
10575
|
+
*
|
|
10576
|
+
* @param request a request which can be sent to the service operation
|
|
10577
|
+
*/
|
|
10578
|
+
listProfileAnalyticsResponseIterator(request) {
|
|
10579
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileAnalytics(req));
|
|
10580
|
+
}
|
|
10581
|
+
/**
|
|
10582
|
+
* Gets a list of user profiles containing the profile details along with the target id and user counts.
|
|
10583
|
+
* <p>
|
|
10584
|
+
The ListProfiles operation returns only the profiles belonging to a certain target. If compartment type user assessment
|
|
10585
|
+
* id is provided, then profile information for all the targets belonging to the pertaining compartment is returned.
|
|
10586
|
+
* The list does not include any subcompartments of the compartment under consideration.
|
|
10587
|
+
* <p>
|
|
10588
|
+
The parameter 'accessLevel' specifies whether to return only those compartments for which the requestor has
|
|
10589
|
+
* INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a
|
|
10590
|
+
* subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments.
|
|
10591
|
+
* This is valid only when 'compartmentIdInSubtree' is set to 'true'.
|
|
10592
|
+
* <p>
|
|
10593
|
+
The parameter 'compartmentIdInSubtree' applies when you perform ListUserProfiles on the 'compartmentId' belonging
|
|
10594
|
+
* to the assessmentId passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
|
10595
|
+
* To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter
|
|
10596
|
+
* 'compartmentIdInSubtree' to true and 'accessLevel' to ACCESSIBLE.
|
|
10597
|
+
*
|
|
10598
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
10599
|
+
* @param ListProfileSummariesRequest
|
|
10600
|
+
* @return ListProfileSummariesResponse
|
|
10601
|
+
* @throws OciError when an error occurs
|
|
10602
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListProfileSummaries.ts.html |here} to see how to use ListProfileSummaries API.
|
|
10603
|
+
*/
|
|
10604
|
+
listProfileSummaries(listProfileSummariesRequest) {
|
|
10605
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10606
|
+
if (this.logger)
|
|
10607
|
+
this.logger.debug("Calling operation DataSafeClient#listProfileSummaries.");
|
|
10608
|
+
const operationName = "listProfileSummaries";
|
|
10609
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/UserAssessment/ListProfileSummaries";
|
|
10610
|
+
const pathParams = {
|
|
10611
|
+
"{userAssessmentId}": listProfileSummariesRequest.userAssessmentId
|
|
10612
|
+
};
|
|
10613
|
+
const queryParams = {
|
|
10614
|
+
"compartmentId": listProfileSummariesRequest.compartmentId,
|
|
10615
|
+
"compartmentIdInSubtree": listProfileSummariesRequest.compartmentIdInSubtree,
|
|
10616
|
+
"accessLevel": listProfileSummariesRequest.accessLevel,
|
|
10617
|
+
"targetId": listProfileSummariesRequest.targetId,
|
|
10618
|
+
"limit": listProfileSummariesRequest.limit,
|
|
10619
|
+
"page": listProfileSummariesRequest.page,
|
|
10620
|
+
"profileName": listProfileSummariesRequest.profileName,
|
|
10621
|
+
"isUserCreated": listProfileSummariesRequest.isUserCreated,
|
|
10622
|
+
"passwordVerificationFunction": listProfileSummariesRequest.passwordVerificationFunction,
|
|
10623
|
+
"userCountGreaterThanOrEqual": listProfileSummariesRequest.userCountGreaterThanOrEqual,
|
|
10624
|
+
"userCountLessThan": listProfileSummariesRequest.userCountLessThan,
|
|
10625
|
+
"failedLoginAttemptsGreaterThanOrEqual": listProfileSummariesRequest.failedLoginAttemptsGreaterThanOrEqual,
|
|
10626
|
+
"failedLoginAttemptsLessThan": listProfileSummariesRequest.failedLoginAttemptsLessThan,
|
|
10627
|
+
"sessionsPerUserGreaterThanOrEqual": listProfileSummariesRequest.sessionsPerUserGreaterThanOrEqual,
|
|
10628
|
+
"sessionsPerUserLessThan": listProfileSummariesRequest.sessionsPerUserLessThan,
|
|
10629
|
+
"inactiveAccountTimeGreaterThanOrEqual": listProfileSummariesRequest.inactiveAccountTimeGreaterThanOrEqual,
|
|
10630
|
+
"inactiveAccountTimeLessThan": listProfileSummariesRequest.inactiveAccountTimeLessThan,
|
|
10631
|
+
"passwordLockTimeGreaterThanOrEqual": listProfileSummariesRequest.passwordLockTimeGreaterThanOrEqual,
|
|
10632
|
+
"passwordLockTimeLessThan": listProfileSummariesRequest.passwordLockTimeLessThan,
|
|
10633
|
+
"sortBy": listProfileSummariesRequest.sortBy,
|
|
10634
|
+
"sortOrder": listProfileSummariesRequest.sortOrder
|
|
10635
|
+
};
|
|
10636
|
+
let headerParams = {
|
|
10637
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
10638
|
+
"opc-request-id": listProfileSummariesRequest.opcRequestId
|
|
10639
|
+
};
|
|
10640
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
10641
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listProfileSummariesRequest.retryConfiguration, specRetryConfiguration);
|
|
10642
|
+
if (this.logger)
|
|
10643
|
+
retrier.logger = this.logger;
|
|
10644
|
+
const request = yield oci_common_2.composeRequest({
|
|
10645
|
+
baseEndpoint: this._endpoint,
|
|
10646
|
+
defaultHeaders: this._defaultHeaders,
|
|
10647
|
+
path: "/userAssessments/{userAssessmentId}/profiles",
|
|
10648
|
+
method: "GET",
|
|
10649
|
+
pathParams: pathParams,
|
|
10650
|
+
headerParams: headerParams,
|
|
10651
|
+
queryParams: queryParams
|
|
10652
|
+
});
|
|
10653
|
+
try {
|
|
10654
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
10655
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
10656
|
+
responseObject: {},
|
|
10657
|
+
body: yield response.json(),
|
|
10658
|
+
bodyKey: "items",
|
|
10659
|
+
bodyModel: model.ProfileSummary,
|
|
10660
|
+
type: "Array<model.ProfileSummary>",
|
|
10661
|
+
responseHeaders: [
|
|
10662
|
+
{
|
|
10663
|
+
value: response.headers.get("opc-request-id"),
|
|
10664
|
+
key: "opcRequestId",
|
|
10665
|
+
dataType: "string"
|
|
10666
|
+
},
|
|
10667
|
+
{
|
|
10668
|
+
value: response.headers.get("opc-next-page"),
|
|
10669
|
+
key: "opcNextPage",
|
|
10670
|
+
dataType: "string"
|
|
10671
|
+
},
|
|
10672
|
+
{
|
|
10673
|
+
value: response.headers.get("opc-prev-page"),
|
|
10674
|
+
key: "opcPrevPage",
|
|
10675
|
+
dataType: "string"
|
|
10676
|
+
}
|
|
10677
|
+
]
|
|
10678
|
+
});
|
|
10679
|
+
return sdkResponse;
|
|
10680
|
+
}
|
|
10681
|
+
catch (err) {
|
|
10682
|
+
throw err;
|
|
10683
|
+
}
|
|
10684
|
+
});
|
|
10685
|
+
}
|
|
10686
|
+
/**
|
|
10687
|
+
* NOTE: This function is deprecated in favor of listProfileSummariesRecordIterator function.
|
|
10688
|
+
* Creates a new async iterator which will iterate over the models.ProfileSummary objects
|
|
10689
|
+
* contained in responses from the listProfileSummaries operation. This iterator will fetch more data from the
|
|
10690
|
+
* server as needed.
|
|
10691
|
+
*
|
|
10692
|
+
* @param request a request which can be sent to the service operation
|
|
10693
|
+
*/
|
|
10694
|
+
listAllProfileSummaries(request) {
|
|
10695
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileSummaries(req));
|
|
10696
|
+
}
|
|
10697
|
+
/**
|
|
10698
|
+
* NOTE: This function is deprecated in favor of listProfileSummariesResponseIterator function.
|
|
10699
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileSummaries operation. This iterator
|
|
10700
|
+
* will fetch more data from the server as needed.
|
|
10701
|
+
*
|
|
10702
|
+
* @param request a request which can be sent to the service operation
|
|
10703
|
+
*/
|
|
10704
|
+
listAllProfileSummariesResponses(request) {
|
|
10705
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileSummaries(req));
|
|
10706
|
+
}
|
|
10707
|
+
/**
|
|
10708
|
+
* Creates a new async iterator which will iterate over the models.ProfileSummary objects
|
|
10709
|
+
* contained in responses from the listProfileSummaries operation. This iterator will fetch more data from the
|
|
10710
|
+
* server as needed.
|
|
10711
|
+
*
|
|
10712
|
+
* @param request a request which can be sent to the service operation
|
|
10713
|
+
*/
|
|
10714
|
+
listProfileSummariesRecordIterator(request) {
|
|
10715
|
+
return oci_common_1.paginateRecords(request, req => this.listProfileSummaries(req));
|
|
10716
|
+
}
|
|
10717
|
+
/**
|
|
10718
|
+
* Creates a new async iterator which will iterate over the responses received from the listProfileSummaries operation. This iterator
|
|
10719
|
+
* will fetch more data from the server as needed.
|
|
10720
|
+
*
|
|
10721
|
+
* @param request a request which can be sent to the service operation
|
|
10722
|
+
*/
|
|
10723
|
+
listProfileSummariesResponseIterator(request) {
|
|
10724
|
+
return oci_common_1.paginateResponses(request, req => this.listProfileSummaries(req));
|
|
10725
|
+
}
|
|
9630
10726
|
/**
|
|
9631
10727
|
* Gets a list of report definitions.
|
|
9632
10728
|
* The ListReportDefinitions operation returns only the report definitions in the specified `compartmentId`.
|
|
@@ -9636,7 +10732,7 @@ class DataSafeClient {
|
|
|
9636
10732
|
* @param ListReportDefinitionsRequest
|
|
9637
10733
|
* @return ListReportDefinitionsResponse
|
|
9638
10734
|
* @throws OciError when an error occurs
|
|
9639
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListReportDefinitions.ts.html |here} to see how to use ListReportDefinitions API.
|
|
9640
10736
|
*/
|
|
9641
10737
|
listReportDefinitions(listReportDefinitionsRequest) {
|
|
9642
10738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9710,7 +10806,7 @@ class DataSafeClient {
|
|
|
9710
10806
|
* @param ListReportsRequest
|
|
9711
10807
|
* @return ListReportsResponse
|
|
9712
10808
|
* @throws OciError when an error occurs
|
|
9713
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10809
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListReports.ts.html |here} to see how to use ListReports API.
|
|
9714
10810
|
*/
|
|
9715
10811
|
listReports(listReportsRequest) {
|
|
9716
10812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9784,7 +10880,7 @@ class DataSafeClient {
|
|
|
9784
10880
|
* @param ListRolesRequest
|
|
9785
10881
|
* @return ListRolesResponse
|
|
9786
10882
|
* @throws OciError when an error occurs
|
|
9787
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10883
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListRoles.ts.html |here} to see how to use ListRoles API.
|
|
9788
10884
|
*/
|
|
9789
10885
|
listRoles(listRolesRequest) {
|
|
9790
10886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9902,7 +10998,7 @@ class DataSafeClient {
|
|
|
9902
10998
|
* @param ListSchemasRequest
|
|
9903
10999
|
* @return ListSchemasResponse
|
|
9904
11000
|
* @throws OciError when an error occurs
|
|
9905
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11001
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSchemas.ts.html |here} to see how to use ListSchemas API.
|
|
9906
11002
|
*/
|
|
9907
11003
|
listSchemas(listSchemasRequest) {
|
|
9908
11004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -9924,16 +11020,134 @@ class DataSafeClient {
|
|
|
9924
11020
|
};
|
|
9925
11021
|
let headerParams = {
|
|
9926
11022
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9927
|
-
"opc-request-id": listSchemasRequest.opcRequestId
|
|
11023
|
+
"opc-request-id": listSchemasRequest.opcRequestId
|
|
11024
|
+
};
|
|
11025
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11026
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSchemasRequest.retryConfiguration, specRetryConfiguration);
|
|
11027
|
+
if (this.logger)
|
|
11028
|
+
retrier.logger = this.logger;
|
|
11029
|
+
const request = yield oci_common_2.composeRequest({
|
|
11030
|
+
baseEndpoint: this._endpoint,
|
|
11031
|
+
defaultHeaders: this._defaultHeaders,
|
|
11032
|
+
path: "/targetDatabases/{targetDatabaseId}/schemas",
|
|
11033
|
+
method: "GET",
|
|
11034
|
+
pathParams: pathParams,
|
|
11035
|
+
headerParams: headerParams,
|
|
11036
|
+
queryParams: queryParams
|
|
11037
|
+
});
|
|
11038
|
+
try {
|
|
11039
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11040
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11041
|
+
responseObject: {},
|
|
11042
|
+
body: yield response.json(),
|
|
11043
|
+
bodyKey: "items",
|
|
11044
|
+
bodyModel: model.SchemaSummary,
|
|
11045
|
+
type: "Array<model.SchemaSummary>",
|
|
11046
|
+
responseHeaders: [
|
|
11047
|
+
{
|
|
11048
|
+
value: response.headers.get("opc-request-id"),
|
|
11049
|
+
key: "opcRequestId",
|
|
11050
|
+
dataType: "string"
|
|
11051
|
+
},
|
|
11052
|
+
{
|
|
11053
|
+
value: response.headers.get("opc-next-page"),
|
|
11054
|
+
key: "opcNextPage",
|
|
11055
|
+
dataType: "string"
|
|
11056
|
+
},
|
|
11057
|
+
{
|
|
11058
|
+
value: response.headers.get("opc-prev-page"),
|
|
11059
|
+
key: "opcPrevPage",
|
|
11060
|
+
dataType: "string"
|
|
11061
|
+
}
|
|
11062
|
+
]
|
|
11063
|
+
});
|
|
11064
|
+
return sdkResponse;
|
|
11065
|
+
}
|
|
11066
|
+
catch (err) {
|
|
11067
|
+
throw err;
|
|
11068
|
+
}
|
|
11069
|
+
});
|
|
11070
|
+
}
|
|
11071
|
+
/**
|
|
11072
|
+
* NOTE: This function is deprecated in favor of listSchemasRecordIterator function.
|
|
11073
|
+
* Creates a new async iterator which will iterate over the models.SchemaSummary objects
|
|
11074
|
+
* contained in responses from the listSchemas operation. This iterator will fetch more data from the
|
|
11075
|
+
* server as needed.
|
|
11076
|
+
*
|
|
11077
|
+
* @param request a request which can be sent to the service operation
|
|
11078
|
+
*/
|
|
11079
|
+
listAllSchemas(request) {
|
|
11080
|
+
return oci_common_1.paginateRecords(request, req => this.listSchemas(req));
|
|
11081
|
+
}
|
|
11082
|
+
/**
|
|
11083
|
+
* NOTE: This function is deprecated in favor of listSchemasResponseIterator function.
|
|
11084
|
+
* Creates a new async iterator which will iterate over the responses received from the listSchemas operation. This iterator
|
|
11085
|
+
* will fetch more data from the server as needed.
|
|
11086
|
+
*
|
|
11087
|
+
* @param request a request which can be sent to the service operation
|
|
11088
|
+
*/
|
|
11089
|
+
listAllSchemasResponses(request) {
|
|
11090
|
+
return oci_common_1.paginateResponses(request, req => this.listSchemas(req));
|
|
11091
|
+
}
|
|
11092
|
+
/**
|
|
11093
|
+
* Creates a new async iterator which will iterate over the models.SchemaSummary objects
|
|
11094
|
+
* contained in responses from the listSchemas operation. This iterator will fetch more data from the
|
|
11095
|
+
* server as needed.
|
|
11096
|
+
*
|
|
11097
|
+
* @param request a request which can be sent to the service operation
|
|
11098
|
+
*/
|
|
11099
|
+
listSchemasRecordIterator(request) {
|
|
11100
|
+
return oci_common_1.paginateRecords(request, req => this.listSchemas(req));
|
|
11101
|
+
}
|
|
11102
|
+
/**
|
|
11103
|
+
* Creates a new async iterator which will iterate over the responses received from the listSchemas operation. This iterator
|
|
11104
|
+
* will fetch more data from the server as needed.
|
|
11105
|
+
*
|
|
11106
|
+
* @param request a request which can be sent to the service operation
|
|
11107
|
+
*/
|
|
11108
|
+
listSchemasResponseIterator(request) {
|
|
11109
|
+
return oci_common_1.paginateResponses(request, req => this.listSchemas(req));
|
|
11110
|
+
}
|
|
11111
|
+
/**
|
|
11112
|
+
* Gets a list of SDM and masking policy difference resources based on the specified query parameters.
|
|
11113
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11114
|
+
* @param ListSdmMaskingPolicyDifferencesRequest
|
|
11115
|
+
* @return ListSdmMaskingPolicyDifferencesResponse
|
|
11116
|
+
* @throws OciError when an error occurs
|
|
11117
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSdmMaskingPolicyDifferences.ts.html |here} to see how to use ListSdmMaskingPolicyDifferences API.
|
|
11118
|
+
*/
|
|
11119
|
+
listSdmMaskingPolicyDifferences(listSdmMaskingPolicyDifferencesRequest) {
|
|
11120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11121
|
+
if (this.logger)
|
|
11122
|
+
this.logger.debug("Calling operation DataSafeClient#listSdmMaskingPolicyDifferences.");
|
|
11123
|
+
const operationName = "listSdmMaskingPolicyDifferences";
|
|
11124
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/ListSdmMaskingPolicyDifferences";
|
|
11125
|
+
const pathParams = {};
|
|
11126
|
+
const queryParams = {
|
|
11127
|
+
"compartmentId": listSdmMaskingPolicyDifferencesRequest.compartmentId,
|
|
11128
|
+
"compartmentIdInSubtree": listSdmMaskingPolicyDifferencesRequest.compartmentIdInSubtree,
|
|
11129
|
+
"differenceAccessLevel": listSdmMaskingPolicyDifferencesRequest.differenceAccessLevel,
|
|
11130
|
+
"displayName": listSdmMaskingPolicyDifferencesRequest.displayName,
|
|
11131
|
+
"sensitiveDataModelId": listSdmMaskingPolicyDifferencesRequest.sensitiveDataModelId,
|
|
11132
|
+
"lifecycleState": listSdmMaskingPolicyDifferencesRequest.lifecycleState,
|
|
11133
|
+
"maskingPolicyId": listSdmMaskingPolicyDifferencesRequest.maskingPolicyId,
|
|
11134
|
+
"sortOrder": listSdmMaskingPolicyDifferencesRequest.sortOrder,
|
|
11135
|
+
"sortBy": listSdmMaskingPolicyDifferencesRequest.sortBy,
|
|
11136
|
+
"limit": listSdmMaskingPolicyDifferencesRequest.limit,
|
|
11137
|
+
"page": listSdmMaskingPolicyDifferencesRequest.page
|
|
11138
|
+
};
|
|
11139
|
+
let headerParams = {
|
|
11140
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11141
|
+
"opc-request-id": listSdmMaskingPolicyDifferencesRequest.opcRequestId
|
|
9928
11142
|
};
|
|
9929
11143
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9930
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
11144
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSdmMaskingPolicyDifferencesRequest.retryConfiguration, specRetryConfiguration);
|
|
9931
11145
|
if (this.logger)
|
|
9932
11146
|
retrier.logger = this.logger;
|
|
9933
11147
|
const request = yield oci_common_2.composeRequest({
|
|
9934
11148
|
baseEndpoint: this._endpoint,
|
|
9935
11149
|
defaultHeaders: this._defaultHeaders,
|
|
9936
|
-
path: "/
|
|
11150
|
+
path: "/sdmMaskingPolicyDifferences",
|
|
9937
11151
|
method: "GET",
|
|
9938
11152
|
pathParams: pathParams,
|
|
9939
11153
|
headerParams: headerParams,
|
|
@@ -9944,9 +11158,9 @@ class DataSafeClient {
|
|
|
9944
11158
|
const sdkResponse = oci_common_2.composeResponse({
|
|
9945
11159
|
responseObject: {},
|
|
9946
11160
|
body: yield response.json(),
|
|
9947
|
-
bodyKey: "
|
|
9948
|
-
bodyModel: model.
|
|
9949
|
-
type: "
|
|
11161
|
+
bodyKey: "sdmMaskingPolicyDifferenceCollection",
|
|
11162
|
+
bodyModel: model.SdmMaskingPolicyDifferenceCollection,
|
|
11163
|
+
type: "model.SdmMaskingPolicyDifferenceCollection",
|
|
9950
11164
|
responseHeaders: [
|
|
9951
11165
|
{
|
|
9952
11166
|
value: response.headers.get("opc-request-id"),
|
|
@@ -9972,46 +11186,6 @@ class DataSafeClient {
|
|
|
9972
11186
|
}
|
|
9973
11187
|
});
|
|
9974
11188
|
}
|
|
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
11189
|
/**
|
|
10016
11190
|
* Gets a list of security assessments.
|
|
10017
11191
|
* <p>
|
|
@@ -10033,7 +11207,7 @@ class DataSafeClient {
|
|
|
10033
11207
|
* @param ListSecurityAssessmentsRequest
|
|
10034
11208
|
* @return ListSecurityAssessmentsResponse
|
|
10035
11209
|
* @throws OciError when an error occurs
|
|
10036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11210
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSecurityAssessments.ts.html |here} to see how to use ListSecurityAssessments API.
|
|
10037
11211
|
*/
|
|
10038
11212
|
listSecurityAssessments(listSecurityAssessmentsRequest) {
|
|
10039
11213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10158,7 +11332,7 @@ class DataSafeClient {
|
|
|
10158
11332
|
* @param ListSensitiveColumnsRequest
|
|
10159
11333
|
* @return ListSensitiveColumnsResponse
|
|
10160
11334
|
* @throws OciError when an error occurs
|
|
10161
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11335
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSensitiveColumns.ts.html |here} to see how to use ListSensitiveColumns API.
|
|
10162
11336
|
*/
|
|
10163
11337
|
listSensitiveColumns(listSensitiveColumnsRequest) {
|
|
10164
11338
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10188,7 +11362,8 @@ class DataSafeClient {
|
|
|
10188
11362
|
"limit": listSensitiveColumnsRequest.limit,
|
|
10189
11363
|
"page": listSensitiveColumnsRequest.page,
|
|
10190
11364
|
"sortOrder": listSensitiveColumnsRequest.sortOrder,
|
|
10191
|
-
"sortBy": listSensitiveColumnsRequest.sortBy
|
|
11365
|
+
"sortBy": listSensitiveColumnsRequest.sortBy,
|
|
11366
|
+
"isCaseInSensitive": listSensitiveColumnsRequest.isCaseInSensitive
|
|
10192
11367
|
};
|
|
10193
11368
|
let headerParams = {
|
|
10194
11369
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -10247,7 +11422,7 @@ class DataSafeClient {
|
|
|
10247
11422
|
* @param ListSensitiveDataModelsRequest
|
|
10248
11423
|
* @return ListSensitiveDataModelsResponse
|
|
10249
11424
|
* @throws OciError when an error occurs
|
|
10250
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11425
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSensitiveDataModels.ts.html |here} to see how to use ListSensitiveDataModels API.
|
|
10251
11426
|
*/
|
|
10252
11427
|
listSensitiveDataModels(listSensitiveDataModelsRequest) {
|
|
10253
11428
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10321,6 +11496,158 @@ class DataSafeClient {
|
|
|
10321
11496
|
}
|
|
10322
11497
|
});
|
|
10323
11498
|
}
|
|
11499
|
+
/**
|
|
11500
|
+
* Gets a list of sensitive objects present in the specified sensitive data model based on the specified query parameters.
|
|
11501
|
+
*
|
|
11502
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11503
|
+
* @param ListSensitiveObjectsRequest
|
|
11504
|
+
* @return ListSensitiveObjectsResponse
|
|
11505
|
+
* @throws OciError when an error occurs
|
|
11506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSensitiveObjects.ts.html |here} to see how to use ListSensitiveObjects API.
|
|
11507
|
+
*/
|
|
11508
|
+
listSensitiveObjects(listSensitiveObjectsRequest) {
|
|
11509
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11510
|
+
if (this.logger)
|
|
11511
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveObjects.");
|
|
11512
|
+
const operationName = "listSensitiveObjects";
|
|
11513
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveObjectCollection/ListSensitiveObjects";
|
|
11514
|
+
const pathParams = {
|
|
11515
|
+
"{sensitiveDataModelId}": listSensitiveObjectsRequest.sensitiveDataModelId
|
|
11516
|
+
};
|
|
11517
|
+
const queryParams = {
|
|
11518
|
+
"schemaName": listSensitiveObjectsRequest.schemaName,
|
|
11519
|
+
"objectName": listSensitiveObjectsRequest.objectName,
|
|
11520
|
+
"objectType": listSensitiveObjectsRequest.objectType,
|
|
11521
|
+
"limit": listSensitiveObjectsRequest.limit,
|
|
11522
|
+
"page": listSensitiveObjectsRequest.page,
|
|
11523
|
+
"sortOrder": listSensitiveObjectsRequest.sortOrder,
|
|
11524
|
+
"sortBy": listSensitiveObjectsRequest.sortBy
|
|
11525
|
+
};
|
|
11526
|
+
let headerParams = {
|
|
11527
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11528
|
+
"opc-request-id": listSensitiveObjectsRequest.opcRequestId
|
|
11529
|
+
};
|
|
11530
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11531
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveObjectsRequest.retryConfiguration, specRetryConfiguration);
|
|
11532
|
+
if (this.logger)
|
|
11533
|
+
retrier.logger = this.logger;
|
|
11534
|
+
const request = yield oci_common_2.composeRequest({
|
|
11535
|
+
baseEndpoint: this._endpoint,
|
|
11536
|
+
defaultHeaders: this._defaultHeaders,
|
|
11537
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/sensitiveObjects",
|
|
11538
|
+
method: "GET",
|
|
11539
|
+
pathParams: pathParams,
|
|
11540
|
+
headerParams: headerParams,
|
|
11541
|
+
queryParams: queryParams
|
|
11542
|
+
});
|
|
11543
|
+
try {
|
|
11544
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11545
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11546
|
+
responseObject: {},
|
|
11547
|
+
body: yield response.json(),
|
|
11548
|
+
bodyKey: "sensitiveObjectCollection",
|
|
11549
|
+
bodyModel: model.SensitiveObjectCollection,
|
|
11550
|
+
type: "model.SensitiveObjectCollection",
|
|
11551
|
+
responseHeaders: [
|
|
11552
|
+
{
|
|
11553
|
+
value: response.headers.get("opc-request-id"),
|
|
11554
|
+
key: "opcRequestId",
|
|
11555
|
+
dataType: "string"
|
|
11556
|
+
},
|
|
11557
|
+
{
|
|
11558
|
+
value: response.headers.get("opc-next-page"),
|
|
11559
|
+
key: "opcNextPage",
|
|
11560
|
+
dataType: "string"
|
|
11561
|
+
},
|
|
11562
|
+
{
|
|
11563
|
+
value: response.headers.get("opc-prev-page"),
|
|
11564
|
+
key: "opcPrevPage",
|
|
11565
|
+
dataType: "string"
|
|
11566
|
+
}
|
|
11567
|
+
]
|
|
11568
|
+
});
|
|
11569
|
+
return sdkResponse;
|
|
11570
|
+
}
|
|
11571
|
+
catch (err) {
|
|
11572
|
+
throw err;
|
|
11573
|
+
}
|
|
11574
|
+
});
|
|
11575
|
+
}
|
|
11576
|
+
/**
|
|
11577
|
+
* Gets a list of sensitive schemas present in the specified sensitive data model based on the specified query parameters.
|
|
11578
|
+
*
|
|
11579
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11580
|
+
* @param ListSensitiveSchemasRequest
|
|
11581
|
+
* @return ListSensitiveSchemasResponse
|
|
11582
|
+
* @throws OciError when an error occurs
|
|
11583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSensitiveSchemas.ts.html |here} to see how to use ListSensitiveSchemas API.
|
|
11584
|
+
*/
|
|
11585
|
+
listSensitiveSchemas(listSensitiveSchemasRequest) {
|
|
11586
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11587
|
+
if (this.logger)
|
|
11588
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveSchemas.");
|
|
11589
|
+
const operationName = "listSensitiveSchemas";
|
|
11590
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveSchemaCollection/ListSensitiveSchemas";
|
|
11591
|
+
const pathParams = {
|
|
11592
|
+
"{sensitiveDataModelId}": listSensitiveSchemasRequest.sensitiveDataModelId
|
|
11593
|
+
};
|
|
11594
|
+
const queryParams = {
|
|
11595
|
+
"schemaName": listSensitiveSchemasRequest.schemaName,
|
|
11596
|
+
"limit": listSensitiveSchemasRequest.limit,
|
|
11597
|
+
"page": listSensitiveSchemasRequest.page,
|
|
11598
|
+
"sortOrder": listSensitiveSchemasRequest.sortOrder,
|
|
11599
|
+
"sortBy": listSensitiveSchemasRequest.sortBy
|
|
11600
|
+
};
|
|
11601
|
+
let headerParams = {
|
|
11602
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11603
|
+
"opc-request-id": listSensitiveSchemasRequest.opcRequestId
|
|
11604
|
+
};
|
|
11605
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11606
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveSchemasRequest.retryConfiguration, specRetryConfiguration);
|
|
11607
|
+
if (this.logger)
|
|
11608
|
+
retrier.logger = this.logger;
|
|
11609
|
+
const request = yield oci_common_2.composeRequest({
|
|
11610
|
+
baseEndpoint: this._endpoint,
|
|
11611
|
+
defaultHeaders: this._defaultHeaders,
|
|
11612
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/sensitiveSchemas",
|
|
11613
|
+
method: "GET",
|
|
11614
|
+
pathParams: pathParams,
|
|
11615
|
+
headerParams: headerParams,
|
|
11616
|
+
queryParams: queryParams
|
|
11617
|
+
});
|
|
11618
|
+
try {
|
|
11619
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11620
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11621
|
+
responseObject: {},
|
|
11622
|
+
body: yield response.json(),
|
|
11623
|
+
bodyKey: "sensitiveSchemaCollection",
|
|
11624
|
+
bodyModel: model.SensitiveSchemaCollection,
|
|
11625
|
+
type: "model.SensitiveSchemaCollection",
|
|
11626
|
+
responseHeaders: [
|
|
11627
|
+
{
|
|
11628
|
+
value: response.headers.get("opc-request-id"),
|
|
11629
|
+
key: "opcRequestId",
|
|
11630
|
+
dataType: "string"
|
|
11631
|
+
},
|
|
11632
|
+
{
|
|
11633
|
+
value: response.headers.get("opc-next-page"),
|
|
11634
|
+
key: "opcNextPage",
|
|
11635
|
+
dataType: "string"
|
|
11636
|
+
},
|
|
11637
|
+
{
|
|
11638
|
+
value: response.headers.get("opc-prev-page"),
|
|
11639
|
+
key: "opcPrevPage",
|
|
11640
|
+
dataType: "string"
|
|
11641
|
+
}
|
|
11642
|
+
]
|
|
11643
|
+
});
|
|
11644
|
+
return sdkResponse;
|
|
11645
|
+
}
|
|
11646
|
+
catch (err) {
|
|
11647
|
+
throw err;
|
|
11648
|
+
}
|
|
11649
|
+
});
|
|
11650
|
+
}
|
|
10324
11651
|
/**
|
|
10325
11652
|
* Gets a list of sensitive types based on the specified query parameters.
|
|
10326
11653
|
*
|
|
@@ -10328,7 +11655,7 @@ class DataSafeClient {
|
|
|
10328
11655
|
* @param ListSensitiveTypesRequest
|
|
10329
11656
|
* @return ListSensitiveTypesResponse
|
|
10330
11657
|
* @throws OciError when an error occurs
|
|
10331
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListSensitiveTypes.ts.html |here} to see how to use ListSensitiveTypes API.
|
|
10332
11659
|
*/
|
|
10333
11660
|
listSensitiveTypes(listSensitiveTypesRequest) {
|
|
10334
11661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10412,7 +11739,7 @@ class DataSafeClient {
|
|
|
10412
11739
|
* @param ListTablesRequest
|
|
10413
11740
|
* @return ListTablesResponse
|
|
10414
11741
|
* @throws OciError when an error occurs
|
|
10415
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11742
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListTables.ts.html |here} to see how to use ListTables API.
|
|
10416
11743
|
*/
|
|
10417
11744
|
listTables(listTablesRequest) {
|
|
10418
11745
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10530,7 +11857,7 @@ class DataSafeClient {
|
|
|
10530
11857
|
* @param ListTargetAlertPolicyAssociationsRequest
|
|
10531
11858
|
* @return ListTargetAlertPolicyAssociationsResponse
|
|
10532
11859
|
* @throws OciError when an error occurs
|
|
10533
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11860
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListTargetAlertPolicyAssociations.ts.html |here} to see how to use ListTargetAlertPolicyAssociations API.
|
|
10534
11861
|
*/
|
|
10535
11862
|
listTargetAlertPolicyAssociations(listTargetAlertPolicyAssociationsRequest) {
|
|
10536
11863
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10616,7 +11943,7 @@ class DataSafeClient {
|
|
|
10616
11943
|
* @param ListTargetDatabasesRequest
|
|
10617
11944
|
* @return ListTargetDatabasesResponse
|
|
10618
11945
|
* @throws OciError when an error occurs
|
|
10619
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
11946
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListTargetDatabases.ts.html |here} to see how to use ListTargetDatabases API.
|
|
10620
11947
|
*/
|
|
10621
11948
|
listTargetDatabases(listTargetDatabasesRequest) {
|
|
10622
11949
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10751,7 +12078,7 @@ class DataSafeClient {
|
|
|
10751
12078
|
* @param ListUserAnalyticsRequest
|
|
10752
12079
|
* @return ListUserAnalyticsResponse
|
|
10753
12080
|
* @throws OciError when an error occurs
|
|
10754
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12081
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListUserAnalytics.ts.html |here} to see how to use ListUserAnalytics API.
|
|
10755
12082
|
*/
|
|
10756
12083
|
listUserAnalytics(listUserAnalyticsRequest) {
|
|
10757
12084
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -10888,7 +12215,7 @@ class DataSafeClient {
|
|
|
10888
12215
|
* @param ListUserAssessmentsRequest
|
|
10889
12216
|
* @return ListUserAssessmentsResponse
|
|
10890
12217
|
* @throws OciError when an error occurs
|
|
10891
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12218
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListUserAssessments.ts.html |here} to see how to use ListUserAssessments API.
|
|
10892
12219
|
*/
|
|
10893
12220
|
listUserAssessments(listUserAssessmentsRequest) {
|
|
10894
12221
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11016,7 +12343,7 @@ class DataSafeClient {
|
|
|
11016
12343
|
* @param ListUsersRequest
|
|
11017
12344
|
* @return ListUsersResponse
|
|
11018
12345
|
* @throws OciError when an error occurs
|
|
11019
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12346
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
11020
12347
|
*/
|
|
11021
12348
|
listUsers(listUsersRequest) {
|
|
11022
12349
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11032,6 +12359,9 @@ class DataSafeClient {
|
|
|
11032
12359
|
"compartmentIdInSubtree": listUsersRequest.compartmentIdInSubtree,
|
|
11033
12360
|
"accessLevel": listUsersRequest.accessLevel,
|
|
11034
12361
|
"userCategory": listUsersRequest.userCategory,
|
|
12362
|
+
"userRole": listUsersRequest.userRole,
|
|
12363
|
+
"userProfile": listUsersRequest.userProfile,
|
|
12364
|
+
"userType": listUsersRequest.userType,
|
|
11035
12365
|
"userKey": listUsersRequest.userKey,
|
|
11036
12366
|
"accountStatus": listUsersRequest.accountStatus,
|
|
11037
12367
|
"authenticationType": listUsersRequest.authenticationType,
|
|
@@ -11144,7 +12474,7 @@ class DataSafeClient {
|
|
|
11144
12474
|
* @param ListWorkRequestErrorsRequest
|
|
11145
12475
|
* @return ListWorkRequestErrorsResponse
|
|
11146
12476
|
* @throws OciError when an error occurs
|
|
11147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12477
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
|
|
11148
12478
|
*/
|
|
11149
12479
|
listWorkRequestErrors(listWorkRequestErrorsRequest) {
|
|
11150
12480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11251,7 +12581,7 @@ class DataSafeClient {
|
|
|
11251
12581
|
* @param ListWorkRequestLogsRequest
|
|
11252
12582
|
* @return ListWorkRequestLogsResponse
|
|
11253
12583
|
* @throws OciError when an error occurs
|
|
11254
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12584
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
|
|
11255
12585
|
*/
|
|
11256
12586
|
listWorkRequestLogs(listWorkRequestLogsRequest) {
|
|
11257
12587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11358,7 +12688,7 @@ class DataSafeClient {
|
|
|
11358
12688
|
* @param ListWorkRequestsRequest
|
|
11359
12689
|
* @return ListWorkRequestsResponse
|
|
11360
12690
|
* @throws OciError when an error occurs
|
|
11361
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12691
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
11362
12692
|
*/
|
|
11363
12693
|
listWorkRequests(listWorkRequestsRequest) {
|
|
11364
12694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11468,7 +12798,7 @@ class DataSafeClient {
|
|
|
11468
12798
|
* @param MaskDataRequest
|
|
11469
12799
|
* @return MaskDataResponse
|
|
11470
12800
|
* @throws OciError when an error occurs
|
|
11471
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/MaskData.ts.html |here} to see how to use MaskData API.
|
|
11472
12802
|
*/
|
|
11473
12803
|
maskData(maskDataRequest) {
|
|
11474
12804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11529,7 +12859,7 @@ class DataSafeClient {
|
|
|
11529
12859
|
* @param ModifyGlobalSettingsRequest
|
|
11530
12860
|
* @return ModifyGlobalSettingsResponse
|
|
11531
12861
|
* @throws OciError when an error occurs
|
|
11532
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12862
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ModifyGlobalSettings.ts.html |here} to see how to use ModifyGlobalSettings API.
|
|
11533
12863
|
*/
|
|
11534
12864
|
modifyGlobalSettings(modifyGlobalSettingsRequest) {
|
|
11535
12865
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11586,12 +12916,12 @@ class DataSafeClient {
|
|
|
11586
12916
|
});
|
|
11587
12917
|
}
|
|
11588
12918
|
/**
|
|
11589
|
-
*
|
|
12919
|
+
* Updates the status of one or more alert specified by the alert IDs.
|
|
11590
12920
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11591
12921
|
* @param PatchAlertsRequest
|
|
11592
12922
|
* @return PatchAlertsResponse
|
|
11593
12923
|
* @throws OciError when an error occurs
|
|
11594
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12924
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/PatchAlerts.ts.html |here} to see how to use PatchAlerts API.
|
|
11595
12925
|
*/
|
|
11596
12926
|
patchAlerts(patchAlertsRequest) {
|
|
11597
12927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11655,7 +12985,7 @@ class DataSafeClient {
|
|
|
11655
12985
|
* @param PatchDiscoveryJobResultsRequest
|
|
11656
12986
|
* @return PatchDiscoveryJobResultsResponse
|
|
11657
12987
|
* @throws OciError when an error occurs
|
|
11658
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
12988
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/PatchDiscoveryJobResults.ts.html |here} to see how to use PatchDiscoveryJobResults API.
|
|
11659
12989
|
*/
|
|
11660
12990
|
patchDiscoveryJobResults(patchDiscoveryJobResultsRequest) {
|
|
11661
12991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11719,7 +13049,7 @@ class DataSafeClient {
|
|
|
11719
13049
|
* @param PatchMaskingColumnsRequest
|
|
11720
13050
|
* @return PatchMaskingColumnsResponse
|
|
11721
13051
|
* @throws OciError when an error occurs
|
|
11722
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13052
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/PatchMaskingColumns.ts.html |here} to see how to use PatchMaskingColumns API.
|
|
11723
13053
|
*/
|
|
11724
13054
|
patchMaskingColumns(patchMaskingColumnsRequest) {
|
|
11725
13055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11774,6 +13104,69 @@ class DataSafeClient {
|
|
|
11774
13104
|
}
|
|
11775
13105
|
});
|
|
11776
13106
|
}
|
|
13107
|
+
/**
|
|
13108
|
+
* Patches one or more SDM masking policy difference columns. You can use this operation to set the plannedAction attribute before using
|
|
13109
|
+
* ApplySdmMaskingPolicyDifference to process the difference based on this attribute.
|
|
13110
|
+
*
|
|
13111
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13112
|
+
* @param PatchSdmMaskingPolicyDifferenceColumnsRequest
|
|
13113
|
+
* @return PatchSdmMaskingPolicyDifferenceColumnsResponse
|
|
13114
|
+
* @throws OciError when an error occurs
|
|
13115
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/PatchSdmMaskingPolicyDifferenceColumns.ts.html |here} to see how to use PatchSdmMaskingPolicyDifferenceColumns API.
|
|
13116
|
+
*/
|
|
13117
|
+
patchSdmMaskingPolicyDifferenceColumns(patchSdmMaskingPolicyDifferenceColumnsRequest) {
|
|
13118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13119
|
+
if (this.logger)
|
|
13120
|
+
this.logger.debug("Calling operation DataSafeClient#patchSdmMaskingPolicyDifferenceColumns.");
|
|
13121
|
+
const operationName = "patchSdmMaskingPolicyDifferenceColumns";
|
|
13122
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/PatchSdmMaskingPolicyDifferenceColumns";
|
|
13123
|
+
const pathParams = {
|
|
13124
|
+
"{sdmMaskingPolicyDifferenceId}": patchSdmMaskingPolicyDifferenceColumnsRequest.sdmMaskingPolicyDifferenceId
|
|
13125
|
+
};
|
|
13126
|
+
const queryParams = {};
|
|
13127
|
+
let headerParams = {
|
|
13128
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13129
|
+
"if-match": patchSdmMaskingPolicyDifferenceColumnsRequest.ifMatch,
|
|
13130
|
+
"opc-request-id": patchSdmMaskingPolicyDifferenceColumnsRequest.opcRequestId
|
|
13131
|
+
};
|
|
13132
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13133
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, patchSdmMaskingPolicyDifferenceColumnsRequest.retryConfiguration, specRetryConfiguration);
|
|
13134
|
+
if (this.logger)
|
|
13135
|
+
retrier.logger = this.logger;
|
|
13136
|
+
const request = yield oci_common_2.composeRequest({
|
|
13137
|
+
baseEndpoint: this._endpoint,
|
|
13138
|
+
defaultHeaders: this._defaultHeaders,
|
|
13139
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}/differenceColumns",
|
|
13140
|
+
method: "PATCH",
|
|
13141
|
+
bodyContent: common.ObjectSerializer.serialize(patchSdmMaskingPolicyDifferenceColumnsRequest.patchSdmMaskingPolicyDifferenceColumnsDetails, "PatchSdmMaskingPolicyDifferenceColumnsDetails", model.PatchSdmMaskingPolicyDifferenceColumnsDetails.getJsonObj),
|
|
13142
|
+
pathParams: pathParams,
|
|
13143
|
+
headerParams: headerParams,
|
|
13144
|
+
queryParams: queryParams
|
|
13145
|
+
});
|
|
13146
|
+
try {
|
|
13147
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13148
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13149
|
+
responseObject: {},
|
|
13150
|
+
responseHeaders: [
|
|
13151
|
+
{
|
|
13152
|
+
value: response.headers.get("opc-work-request-id"),
|
|
13153
|
+
key: "opcWorkRequestId",
|
|
13154
|
+
dataType: "string"
|
|
13155
|
+
},
|
|
13156
|
+
{
|
|
13157
|
+
value: response.headers.get("opc-request-id"),
|
|
13158
|
+
key: "opcRequestId",
|
|
13159
|
+
dataType: "string"
|
|
13160
|
+
}
|
|
13161
|
+
]
|
|
13162
|
+
});
|
|
13163
|
+
return sdkResponse;
|
|
13164
|
+
}
|
|
13165
|
+
catch (err) {
|
|
13166
|
+
throw err;
|
|
13167
|
+
}
|
|
13168
|
+
});
|
|
13169
|
+
}
|
|
11777
13170
|
/**
|
|
11778
13171
|
* Patches one or more columns in the specified sensitive data model. Use it to create, update, or delete sensitive columns.
|
|
11779
13172
|
* To create sensitive columns, use CreateSensitiveColumnDetails as the patch value. And to update sensitive columns,
|
|
@@ -11783,7 +13176,7 @@ class DataSafeClient {
|
|
|
11783
13176
|
* @param PatchSensitiveColumnsRequest
|
|
11784
13177
|
* @return PatchSensitiveColumnsResponse
|
|
11785
13178
|
* @throws OciError when an error occurs
|
|
11786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13179
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/PatchSensitiveColumns.ts.html |here} to see how to use PatchSensitiveColumns API.
|
|
11787
13180
|
*/
|
|
11788
13181
|
patchSensitiveColumns(patchSensitiveColumnsRequest) {
|
|
11789
13182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11839,13 +13232,13 @@ class DataSafeClient {
|
|
|
11839
13232
|
});
|
|
11840
13233
|
}
|
|
11841
13234
|
/**
|
|
11842
|
-
* Creates new target-alert policy associations that will be applied on target.
|
|
13235
|
+
* Creates new target-alert policy associations that will be applied on the target database.
|
|
11843
13236
|
*
|
|
11844
13237
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11845
13238
|
* @param PatchTargetAlertPolicyAssociationRequest
|
|
11846
13239
|
* @return PatchTargetAlertPolicyAssociationResponse
|
|
11847
13240
|
* @throws OciError when an error occurs
|
|
11848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13241
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/PatchTargetAlertPolicyAssociation.ts.html |here} to see how to use PatchTargetAlertPolicyAssociation API.
|
|
11849
13242
|
*/
|
|
11850
13243
|
patchTargetAlertPolicyAssociation(patchTargetAlertPolicyAssociationRequest) {
|
|
11851
13244
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11904,7 +13297,7 @@ class DataSafeClient {
|
|
|
11904
13297
|
* @param ProvisionAuditPolicyRequest
|
|
11905
13298
|
* @return ProvisionAuditPolicyResponse
|
|
11906
13299
|
* @throws OciError when an error occurs
|
|
11907
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13300
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ProvisionAuditPolicy.ts.html |here} to see how to use ProvisionAuditPolicy API.
|
|
11908
13301
|
*/
|
|
11909
13302
|
provisionAuditPolicy(provisionAuditPolicyRequest) {
|
|
11910
13303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -11968,7 +13361,7 @@ class DataSafeClient {
|
|
|
11968
13361
|
* @param RefreshSecurityAssessmentRequest
|
|
11969
13362
|
* @return RefreshSecurityAssessmentResponse
|
|
11970
13363
|
* @throws OciError when an error occurs
|
|
11971
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/RefreshSecurityAssessment.ts.html |here} to see how to use RefreshSecurityAssessment API.
|
|
11972
13365
|
*/
|
|
11973
13366
|
refreshSecurityAssessment(refreshSecurityAssessmentRequest) {
|
|
11974
13367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12033,7 +13426,7 @@ class DataSafeClient {
|
|
|
12033
13426
|
* @param RefreshUserAssessmentRequest
|
|
12034
13427
|
* @return RefreshUserAssessmentResponse
|
|
12035
13428
|
* @throws OciError when an error occurs
|
|
12036
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/RefreshUserAssessment.ts.html |here} to see how to use RefreshUserAssessment API.
|
|
12037
13430
|
*/
|
|
12038
13431
|
refreshUserAssessment(refreshUserAssessmentRequest) {
|
|
12039
13432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12090,12 +13483,12 @@ class DataSafeClient {
|
|
|
12090
13483
|
});
|
|
12091
13484
|
}
|
|
12092
13485
|
/**
|
|
12093
|
-
* Deletes schedule of a PDF or XLS report.
|
|
13486
|
+
* Deletes the schedule of a PDF or XLS report.
|
|
12094
13487
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12095
13488
|
* @param RemoveScheduleReportRequest
|
|
12096
13489
|
* @return RemoveScheduleReportResponse
|
|
12097
13490
|
* @throws OciError when an error occurs
|
|
12098
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13491
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/RemoveScheduleReport.ts.html |here} to see how to use RemoveScheduleReport API.
|
|
12099
13492
|
*/
|
|
12100
13493
|
removeScheduleReport(removeScheduleReportRequest) {
|
|
12101
13494
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12156,7 +13549,7 @@ class DataSafeClient {
|
|
|
12156
13549
|
* @param ResumeAuditTrailRequest
|
|
12157
13550
|
* @return ResumeAuditTrailResponse
|
|
12158
13551
|
* @throws OciError when an error occurs
|
|
12159
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13552
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ResumeAuditTrail.ts.html |here} to see how to use ResumeAuditTrail API.
|
|
12160
13553
|
*/
|
|
12161
13554
|
resumeAuditTrail(resumeAuditTrailRequest) {
|
|
12162
13555
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12217,7 +13610,7 @@ class DataSafeClient {
|
|
|
12217
13610
|
* @param ResumeWorkRequestRequest
|
|
12218
13611
|
* @return ResumeWorkRequestResponse
|
|
12219
13612
|
* @throws OciError when an error occurs
|
|
12220
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13613
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ResumeWorkRequest.ts.html |here} to see how to use ResumeWorkRequest API.
|
|
12221
13614
|
*/
|
|
12222
13615
|
resumeWorkRequest(resumeWorkRequestRequest) {
|
|
12223
13616
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12278,7 +13671,7 @@ class DataSafeClient {
|
|
|
12278
13671
|
* @param RetrieveAuditPoliciesRequest
|
|
12279
13672
|
* @return RetrieveAuditPoliciesResponse
|
|
12280
13673
|
* @throws OciError when an error occurs
|
|
12281
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13674
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/RetrieveAuditPolicies.ts.html |here} to see how to use RetrieveAuditPolicies API.
|
|
12282
13675
|
*/
|
|
12283
13676
|
retrieveAuditPolicies(retrieveAuditPoliciesRequest) {
|
|
12284
13677
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12339,7 +13732,7 @@ class DataSafeClient {
|
|
|
12339
13732
|
* @param ScheduleReportRequest
|
|
12340
13733
|
* @return ScheduleReportResponse
|
|
12341
13734
|
* @throws OciError when an error occurs
|
|
12342
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/ScheduleReport.ts.html |here} to see how to use ScheduleReport API.
|
|
12343
13736
|
*/
|
|
12344
13737
|
scheduleReport(scheduleReportRequest) {
|
|
12345
13738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12401,7 +13794,7 @@ class DataSafeClient {
|
|
|
12401
13794
|
* @param SetSecurityAssessmentBaselineRequest
|
|
12402
13795
|
* @return SetSecurityAssessmentBaselineResponse
|
|
12403
13796
|
* @throws OciError when an error occurs
|
|
12404
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13797
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/SetSecurityAssessmentBaseline.ts.html |here} to see how to use SetSecurityAssessmentBaseline API.
|
|
12405
13798
|
*/
|
|
12406
13799
|
setSecurityAssessmentBaseline(setSecurityAssessmentBaselineRequest) {
|
|
12407
13800
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12463,7 +13856,7 @@ class DataSafeClient {
|
|
|
12463
13856
|
* @param SetUserAssessmentBaselineRequest
|
|
12464
13857
|
* @return SetUserAssessmentBaselineResponse
|
|
12465
13858
|
* @throws OciError when an error occurs
|
|
12466
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13859
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/SetUserAssessmentBaseline.ts.html |here} to see how to use SetUserAssessmentBaseline API.
|
|
12467
13860
|
*/
|
|
12468
13861
|
setUserAssessmentBaseline(setUserAssessmentBaselineRequest) {
|
|
12469
13862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12525,7 +13918,7 @@ class DataSafeClient {
|
|
|
12525
13918
|
* @param StartAuditTrailRequest
|
|
12526
13919
|
* @return StartAuditTrailResponse
|
|
12527
13920
|
* @throws OciError when an error occurs
|
|
12528
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/StartAuditTrail.ts.html |here} to see how to use StartAuditTrail API.
|
|
12529
13922
|
*/
|
|
12530
13923
|
startAuditTrail(startAuditTrailRequest) {
|
|
12531
13924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12587,7 +13980,7 @@ class DataSafeClient {
|
|
|
12587
13980
|
* @param StopAuditTrailRequest
|
|
12588
13981
|
* @return StopAuditTrailResponse
|
|
12589
13982
|
* @throws OciError when an error occurs
|
|
12590
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
13983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/StopAuditTrail.ts.html |here} to see how to use StopAuditTrail API.
|
|
12591
13984
|
*/
|
|
12592
13985
|
stopAuditTrail(stopAuditTrailRequest) {
|
|
12593
13986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12648,7 +14041,7 @@ class DataSafeClient {
|
|
|
12648
14041
|
* @param SuspendWorkRequestRequest
|
|
12649
14042
|
* @return SuspendWorkRequestResponse
|
|
12650
14043
|
* @throws OciError when an error occurs
|
|
12651
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14044
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/SuspendWorkRequest.ts.html |here} to see how to use SuspendWorkRequest API.
|
|
12652
14045
|
*/
|
|
12653
14046
|
suspendWorkRequest(suspendWorkRequestRequest) {
|
|
12654
14047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12711,7 +14104,7 @@ class DataSafeClient {
|
|
|
12711
14104
|
* @param UnsetSecurityAssessmentBaselineRequest
|
|
12712
14105
|
* @return UnsetSecurityAssessmentBaselineResponse
|
|
12713
14106
|
* @throws OciError when an error occurs
|
|
12714
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UnsetSecurityAssessmentBaseline.ts.html |here} to see how to use UnsetSecurityAssessmentBaseline API.
|
|
12715
14108
|
*/
|
|
12716
14109
|
unsetSecurityAssessmentBaseline(unsetSecurityAssessmentBaselineRequest) {
|
|
12717
14110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12774,7 +14167,7 @@ class DataSafeClient {
|
|
|
12774
14167
|
* @param UnsetUserAssessmentBaselineRequest
|
|
12775
14168
|
* @return UnsetUserAssessmentBaselineResponse
|
|
12776
14169
|
* @throws OciError when an error occurs
|
|
12777
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14170
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UnsetUserAssessmentBaseline.ts.html |here} to see how to use UnsetUserAssessmentBaseline API.
|
|
12778
14171
|
*/
|
|
12779
14172
|
unsetUserAssessmentBaseline(unsetUserAssessmentBaselineRequest) {
|
|
12780
14173
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12830,12 +14223,12 @@ class DataSafeClient {
|
|
|
12830
14223
|
});
|
|
12831
14224
|
}
|
|
12832
14225
|
/**
|
|
12833
|
-
* Updates
|
|
14226
|
+
* Updates the status of the specified alert.
|
|
12834
14227
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12835
14228
|
* @param UpdateAlertRequest
|
|
12836
14229
|
* @return UpdateAlertResponse
|
|
12837
14230
|
* @throws OciError when an error occurs
|
|
12838
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateAlert.ts.html |here} to see how to use UpdateAlert API.
|
|
12839
14232
|
*/
|
|
12840
14233
|
updateAlert(updateAlertRequest) {
|
|
12841
14234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12900,7 +14293,7 @@ class DataSafeClient {
|
|
|
12900
14293
|
* @param UpdateAuditArchiveRetrievalRequest
|
|
12901
14294
|
* @return UpdateAuditArchiveRetrievalResponse
|
|
12902
14295
|
* @throws OciError when an error occurs
|
|
12903
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14296
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateAuditArchiveRetrieval.ts.html |here} to see how to use UpdateAuditArchiveRetrieval API.
|
|
12904
14297
|
*/
|
|
12905
14298
|
updateAuditArchiveRetrieval(updateAuditArchiveRetrievalRequest) {
|
|
12906
14299
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -12961,7 +14354,7 @@ class DataSafeClient {
|
|
|
12961
14354
|
* @param UpdateAuditPolicyRequest
|
|
12962
14355
|
* @return UpdateAuditPolicyResponse
|
|
12963
14356
|
* @throws OciError when an error occurs
|
|
12964
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14357
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateAuditPolicy.ts.html |here} to see how to use UpdateAuditPolicy API.
|
|
12965
14358
|
*/
|
|
12966
14359
|
updateAuditPolicy(updateAuditPolicyRequest) {
|
|
12967
14360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13022,7 +14415,7 @@ class DataSafeClient {
|
|
|
13022
14415
|
* @param UpdateAuditProfileRequest
|
|
13023
14416
|
* @return UpdateAuditProfileResponse
|
|
13024
14417
|
* @throws OciError when an error occurs
|
|
13025
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateAuditProfile.ts.html |here} to see how to use UpdateAuditProfile API.
|
|
13026
14419
|
*/
|
|
13027
14420
|
updateAuditProfile(updateAuditProfileRequest) {
|
|
13028
14421
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13083,7 +14476,7 @@ class DataSafeClient {
|
|
|
13083
14476
|
* @param UpdateAuditTrailRequest
|
|
13084
14477
|
* @return UpdateAuditTrailResponse
|
|
13085
14478
|
* @throws OciError when an error occurs
|
|
13086
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14479
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateAuditTrail.ts.html |here} to see how to use UpdateAuditTrail API.
|
|
13087
14480
|
*/
|
|
13088
14481
|
updateAuditTrail(updateAuditTrailRequest) {
|
|
13089
14482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13144,7 +14537,7 @@ class DataSafeClient {
|
|
|
13144
14537
|
* @param UpdateDataSafePrivateEndpointRequest
|
|
13145
14538
|
* @return UpdateDataSafePrivateEndpointResponse
|
|
13146
14539
|
* @throws OciError when an error occurs
|
|
13147
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14540
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateDataSafePrivateEndpoint.ts.html |here} to see how to use UpdateDataSafePrivateEndpoint API.
|
|
13148
14541
|
*/
|
|
13149
14542
|
updateDataSafePrivateEndpoint(updateDataSafePrivateEndpointRequest) {
|
|
13150
14543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13205,7 +14598,7 @@ class DataSafeClient {
|
|
|
13205
14598
|
* @param UpdateLibraryMaskingFormatRequest
|
|
13206
14599
|
* @return UpdateLibraryMaskingFormatResponse
|
|
13207
14600
|
* @throws OciError when an error occurs
|
|
13208
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14601
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateLibraryMaskingFormat.ts.html |here} to see how to use UpdateLibraryMaskingFormat API.
|
|
13209
14602
|
*/
|
|
13210
14603
|
updateLibraryMaskingFormat(updateLibraryMaskingFormatRequest) {
|
|
13211
14604
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13268,7 +14661,7 @@ class DataSafeClient {
|
|
|
13268
14661
|
* @param UpdateMaskingColumnRequest
|
|
13269
14662
|
* @return UpdateMaskingColumnResponse
|
|
13270
14663
|
* @throws OciError when an error occurs
|
|
13271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14664
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateMaskingColumn.ts.html |here} to see how to use UpdateMaskingColumn API.
|
|
13272
14665
|
*/
|
|
13273
14666
|
updateMaskingColumn(updateMaskingColumnRequest) {
|
|
13274
14667
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13330,7 +14723,7 @@ class DataSafeClient {
|
|
|
13330
14723
|
* @param UpdateMaskingPolicyRequest
|
|
13331
14724
|
* @return UpdateMaskingPolicyResponse
|
|
13332
14725
|
* @throws OciError when an error occurs
|
|
13333
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14726
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateMaskingPolicy.ts.html |here} to see how to use UpdateMaskingPolicy API.
|
|
13334
14727
|
*/
|
|
13335
14728
|
updateMaskingPolicy(updateMaskingPolicyRequest) {
|
|
13336
14729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13391,7 +14784,7 @@ class DataSafeClient {
|
|
|
13391
14784
|
* @param UpdateOnPremConnectorRequest
|
|
13392
14785
|
* @return UpdateOnPremConnectorResponse
|
|
13393
14786
|
* @throws OciError when an error occurs
|
|
13394
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14787
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateOnPremConnector.ts.html |here} to see how to use UpdateOnPremConnector API.
|
|
13395
14788
|
*/
|
|
13396
14789
|
updateOnPremConnector(updateOnPremConnectorRequest) {
|
|
13397
14790
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13453,7 +14846,7 @@ class DataSafeClient {
|
|
|
13453
14846
|
* @param UpdateOnPremConnectorWalletRequest
|
|
13454
14847
|
* @return UpdateOnPremConnectorWalletResponse
|
|
13455
14848
|
* @throws OciError when an error occurs
|
|
13456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14849
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateOnPremConnectorWallet.ts.html |here} to see how to use UpdateOnPremConnectorWallet API.
|
|
13457
14850
|
*/
|
|
13458
14851
|
updateOnPremConnectorWallet(updateOnPremConnectorWalletRequest) {
|
|
13459
14852
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13515,7 +14908,7 @@ class DataSafeClient {
|
|
|
13515
14908
|
* @param UpdateReportDefinitionRequest
|
|
13516
14909
|
* @return UpdateReportDefinitionResponse
|
|
13517
14910
|
* @throws OciError when an error occurs
|
|
13518
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
14911
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateReportDefinition.ts.html |here} to see how to use UpdateReportDefinition API.
|
|
13519
14912
|
*/
|
|
13520
14913
|
updateReportDefinition(updateReportDefinitionRequest) {
|
|
13521
14914
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13571,6 +14964,67 @@ class DataSafeClient {
|
|
|
13571
14964
|
}
|
|
13572
14965
|
});
|
|
13573
14966
|
}
|
|
14967
|
+
/**
|
|
14968
|
+
* Updates one or more attributes of the specified sdm masking policy difference.
|
|
14969
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14970
|
+
* @param UpdateSdmMaskingPolicyDifferenceRequest
|
|
14971
|
+
* @return UpdateSdmMaskingPolicyDifferenceResponse
|
|
14972
|
+
* @throws OciError when an error occurs
|
|
14973
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateSdmMaskingPolicyDifference.ts.html |here} to see how to use UpdateSdmMaskingPolicyDifference API.
|
|
14974
|
+
*/
|
|
14975
|
+
updateSdmMaskingPolicyDifference(updateSdmMaskingPolicyDifferenceRequest) {
|
|
14976
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14977
|
+
if (this.logger)
|
|
14978
|
+
this.logger.debug("Calling operation DataSafeClient#updateSdmMaskingPolicyDifference.");
|
|
14979
|
+
const operationName = "updateSdmMaskingPolicyDifference";
|
|
14980
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SdmMaskingPolicyDifference/UpdateSdmMaskingPolicyDifference";
|
|
14981
|
+
const pathParams = {
|
|
14982
|
+
"{sdmMaskingPolicyDifferenceId}": updateSdmMaskingPolicyDifferenceRequest.sdmMaskingPolicyDifferenceId
|
|
14983
|
+
};
|
|
14984
|
+
const queryParams = {};
|
|
14985
|
+
let headerParams = {
|
|
14986
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
14987
|
+
"if-match": updateSdmMaskingPolicyDifferenceRequest.ifMatch,
|
|
14988
|
+
"opc-request-id": updateSdmMaskingPolicyDifferenceRequest.opcRequestId
|
|
14989
|
+
};
|
|
14990
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
14991
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSdmMaskingPolicyDifferenceRequest.retryConfiguration, specRetryConfiguration);
|
|
14992
|
+
if (this.logger)
|
|
14993
|
+
retrier.logger = this.logger;
|
|
14994
|
+
const request = yield oci_common_2.composeRequest({
|
|
14995
|
+
baseEndpoint: this._endpoint,
|
|
14996
|
+
defaultHeaders: this._defaultHeaders,
|
|
14997
|
+
path: "/sdmMaskingPolicyDifferences/{sdmMaskingPolicyDifferenceId}",
|
|
14998
|
+
method: "PUT",
|
|
14999
|
+
bodyContent: common.ObjectSerializer.serialize(updateSdmMaskingPolicyDifferenceRequest.updateSdmMaskingPolicyDifferenceDetails, "UpdateSdmMaskingPolicyDifferenceDetails", model.UpdateSdmMaskingPolicyDifferenceDetails.getJsonObj),
|
|
15000
|
+
pathParams: pathParams,
|
|
15001
|
+
headerParams: headerParams,
|
|
15002
|
+
queryParams: queryParams
|
|
15003
|
+
});
|
|
15004
|
+
try {
|
|
15005
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
15006
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
15007
|
+
responseObject: {},
|
|
15008
|
+
responseHeaders: [
|
|
15009
|
+
{
|
|
15010
|
+
value: response.headers.get("opc-work-request-id"),
|
|
15011
|
+
key: "opcWorkRequestId",
|
|
15012
|
+
dataType: "string"
|
|
15013
|
+
},
|
|
15014
|
+
{
|
|
15015
|
+
value: response.headers.get("opc-request-id"),
|
|
15016
|
+
key: "opcRequestId",
|
|
15017
|
+
dataType: "string"
|
|
15018
|
+
}
|
|
15019
|
+
]
|
|
15020
|
+
});
|
|
15021
|
+
return sdkResponse;
|
|
15022
|
+
}
|
|
15023
|
+
catch (err) {
|
|
15024
|
+
throw err;
|
|
15025
|
+
}
|
|
15026
|
+
});
|
|
15027
|
+
}
|
|
13574
15028
|
/**
|
|
13575
15029
|
* Updates one or more attributes of the specified security assessment. This operation allows to update the security assessment displayName, description, or schedule.
|
|
13576
15030
|
*
|
|
@@ -13578,7 +15032,7 @@ class DataSafeClient {
|
|
|
13578
15032
|
* @param UpdateSecurityAssessmentRequest
|
|
13579
15033
|
* @return UpdateSecurityAssessmentResponse
|
|
13580
15034
|
* @throws OciError when an error occurs
|
|
13581
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15035
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateSecurityAssessment.ts.html |here} to see how to use UpdateSecurityAssessment API.
|
|
13582
15036
|
*/
|
|
13583
15037
|
updateSecurityAssessment(updateSecurityAssessmentRequest) {
|
|
13584
15038
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13639,7 +15093,7 @@ class DataSafeClient {
|
|
|
13639
15093
|
* @param UpdateSensitiveColumnRequest
|
|
13640
15094
|
* @return UpdateSensitiveColumnResponse
|
|
13641
15095
|
* @throws OciError when an error occurs
|
|
13642
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15096
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateSensitiveColumn.ts.html |here} to see how to use UpdateSensitiveColumn API.
|
|
13643
15097
|
*/
|
|
13644
15098
|
updateSensitiveColumn(updateSensitiveColumnRequest) {
|
|
13645
15099
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13703,7 +15157,7 @@ class DataSafeClient {
|
|
|
13703
15157
|
* @param UpdateSensitiveDataModelRequest
|
|
13704
15158
|
* @return UpdateSensitiveDataModelResponse
|
|
13705
15159
|
* @throws OciError when an error occurs
|
|
13706
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateSensitiveDataModel.ts.html |here} to see how to use UpdateSensitiveDataModel API.
|
|
13707
15161
|
*/
|
|
13708
15162
|
updateSensitiveDataModel(updateSensitiveDataModelRequest) {
|
|
13709
15163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13764,7 +15218,7 @@ class DataSafeClient {
|
|
|
13764
15218
|
* @param UpdateSensitiveTypeRequest
|
|
13765
15219
|
* @return UpdateSensitiveTypeResponse
|
|
13766
15220
|
* @throws OciError when an error occurs
|
|
13767
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15221
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateSensitiveType.ts.html |here} to see how to use UpdateSensitiveType API.
|
|
13768
15222
|
*/
|
|
13769
15223
|
updateSensitiveType(updateSensitiveTypeRequest) {
|
|
13770
15224
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13825,7 +15279,7 @@ class DataSafeClient {
|
|
|
13825
15279
|
* @param UpdateTargetAlertPolicyAssociationRequest
|
|
13826
15280
|
* @return UpdateTargetAlertPolicyAssociationResponse
|
|
13827
15281
|
* @throws OciError when an error occurs
|
|
13828
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15282
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateTargetAlertPolicyAssociation.ts.html |here} to see how to use UpdateTargetAlertPolicyAssociation API.
|
|
13829
15283
|
*/
|
|
13830
15284
|
updateTargetAlertPolicyAssociation(updateTargetAlertPolicyAssociationRequest) {
|
|
13831
15285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13886,7 +15340,7 @@ class DataSafeClient {
|
|
|
13886
15340
|
* @param UpdateTargetDatabaseRequest
|
|
13887
15341
|
* @return UpdateTargetDatabaseResponse
|
|
13888
15342
|
* @throws OciError when an error occurs
|
|
13889
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15343
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateTargetDatabase.ts.html |here} to see how to use UpdateTargetDatabase API.
|
|
13890
15344
|
*/
|
|
13891
15345
|
updateTargetDatabase(updateTargetDatabaseRequest) {
|
|
13892
15346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13949,7 +15403,7 @@ class DataSafeClient {
|
|
|
13949
15403
|
* @param UpdateUserAssessmentRequest
|
|
13950
15404
|
* @return UpdateUserAssessmentResponse
|
|
13951
15405
|
* @throws OciError when an error occurs
|
|
13952
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15406
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UpdateUserAssessment.ts.html |here} to see how to use UpdateUserAssessment API.
|
|
13953
15407
|
*/
|
|
13954
15408
|
updateUserAssessment(updateUserAssessmentRequest) {
|
|
13955
15409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14015,7 +15469,7 @@ class DataSafeClient {
|
|
|
14015
15469
|
* @param UploadMaskingPolicyRequest
|
|
14016
15470
|
* @return UploadMaskingPolicyResponse
|
|
14017
15471
|
* @throws OciError when an error occurs
|
|
14018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15472
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UploadMaskingPolicy.ts.html |here} to see how to use UploadMaskingPolicy API.
|
|
14019
15473
|
*/
|
|
14020
15474
|
uploadMaskingPolicy(uploadMaskingPolicyRequest) {
|
|
14021
15475
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -14080,7 +15534,7 @@ class DataSafeClient {
|
|
|
14080
15534
|
* @param UploadSensitiveDataModelRequest
|
|
14081
15535
|
* @return UploadSensitiveDataModelResponse
|
|
14082
15536
|
* @throws OciError when an error occurs
|
|
14083
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
15537
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.58.1/datasafe/UploadSensitiveDataModel.ts.html |here} to see how to use UploadSensitiveDataModel API.
|
|
14084
15538
|
*/
|
|
14085
15539
|
uploadSensitiveDataModel(uploadSensitiveDataModelRequest) {
|
|
14086
15540
|
return __awaiter(this, void 0, void 0, function* () {
|