oci-datasafe 2.100.3 → 2.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.d.ts +154 -5
- package/lib/client.js +983 -37
- package/lib/client.js.map +1 -1
- package/lib/datasafe-waiter.d.ts +16 -0
- package/lib/datasafe-waiter.js +24 -0
- package/lib/datasafe-waiter.js.map +1 -1
- package/lib/model/alert-policy-summary.d.ts +4 -5
- package/lib/model/alert-policy-summary.js.map +1 -1
- package/lib/model/alert-policy.d.ts +4 -5
- package/lib/model/alert-policy.js.map +1 -1
- package/lib/model/alert-summary.d.ts +4 -5
- package/lib/model/alert-summary.js.map +1 -1
- package/lib/model/alert.d.ts +4 -5
- package/lib/model/alert.js.map +1 -1
- package/lib/model/audit-archive-retrieval-summary.d.ts +4 -5
- package/lib/model/audit-archive-retrieval-summary.js.map +1 -1
- package/lib/model/audit-archive-retrieval.d.ts +4 -5
- package/lib/model/audit-archive-retrieval.js.map +1 -1
- package/lib/model/audit-event-summary.d.ts +4 -5
- package/lib/model/audit-event-summary.js.map +1 -1
- package/lib/model/audit-policy-summary.d.ts +4 -5
- package/lib/model/audit-policy-summary.js.map +1 -1
- package/lib/model/audit-policy.d.ts +4 -5
- package/lib/model/audit-policy.js.map +1 -1
- package/lib/model/audit-profile-summary.d.ts +5 -6
- package/lib/model/audit-profile-summary.js.map +1 -1
- package/lib/model/audit-profile.d.ts +5 -6
- package/lib/model/audit-profile.js.map +1 -1
- package/lib/model/audit-trail-summary.d.ts +4 -5
- package/lib/model/audit-trail-summary.js.map +1 -1
- package/lib/model/audit-trail.d.ts +4 -5
- package/lib/model/audit-trail.js.map +1 -1
- package/lib/model/change-retention-details.d.ts +1 -1
- package/lib/model/change-sensitive-types-export-compartment-details.d.ts +25 -0
- package/lib/model/change-sensitive-types-export-compartment-details.js +29 -0
- package/lib/model/change-sensitive-types-export-compartment-details.js.map +1 -0
- package/lib/model/column-filter.d.ts +2 -0
- package/lib/model/column-filter.js +2 -0
- package/lib/model/column-filter.js.map +1 -1
- package/lib/model/columns-info.d.ts +57 -0
- package/lib/model/columns-info.js +38 -0
- package/lib/model/columns-info.js.map +1 -0
- package/lib/model/create-alert-policy-details.d.ts +4 -5
- package/lib/model/create-alert-policy-details.js.map +1 -1
- package/lib/model/create-audit-archive-retrieval-details.d.ts +4 -5
- package/lib/model/create-audit-archive-retrieval-details.js.map +1 -1
- package/lib/model/create-data-safe-private-endpoint-details.d.ts +4 -5
- package/lib/model/create-data-safe-private-endpoint-details.js.map +1 -1
- package/lib/model/create-discovery-job-details.d.ts +4 -5
- package/lib/model/create-discovery-job-details.js.map +1 -1
- package/lib/model/create-library-masking-format-details.d.ts +4 -5
- package/lib/model/create-library-masking-format-details.js.map +1 -1
- package/lib/model/create-masking-policy-details.d.ts +4 -5
- package/lib/model/create-masking-policy-details.js.map +1 -1
- package/lib/model/create-on-prem-connector-details.d.ts +4 -5
- package/lib/model/create-on-prem-connector-details.js.map +1 -1
- package/lib/model/create-referential-relation-details.d.ts +46 -0
- package/lib/model/create-referential-relation-details.js +60 -0
- package/lib/model/create-referential-relation-details.js.map +1 -0
- package/lib/model/create-report-definition-details.d.ts +4 -5
- package/lib/model/create-report-definition-details.js.map +1 -1
- package/lib/model/create-sdm-masking-policy-difference-details.d.ts +4 -5
- package/lib/model/create-sdm-masking-policy-difference-details.js.map +1 -1
- package/lib/model/create-security-assessment-details.d.ts +5 -6
- package/lib/model/create-security-assessment-details.js.map +1 -1
- package/lib/model/create-sensitive-data-model-details.d.ts +4 -5
- package/lib/model/create-sensitive-data-model-details.js.map +1 -1
- package/lib/model/create-sensitive-type-details.d.ts +4 -5
- package/lib/model/create-sensitive-type-details.js.map +1 -1
- package/lib/model/create-sensitive-types-export-details.d.ts +67 -0
- package/lib/model/create-sensitive-types-export-details.js +29 -0
- package/lib/model/create-sensitive-types-export-details.js.map +1 -0
- package/lib/model/create-sql-collection-details.d.ts +4 -5
- package/lib/model/create-sql-collection-details.js.map +1 -1
- package/lib/model/create-target-alert-policy-association-details.d.ts +4 -5
- package/lib/model/create-target-alert-policy-association-details.js.map +1 -1
- package/lib/model/create-target-database-details.d.ts +4 -5
- package/lib/model/create-target-database-details.js.map +1 -1
- package/lib/model/create-user-assessment-details.d.ts +4 -5
- package/lib/model/create-user-assessment-details.js.map +1 -1
- package/lib/model/data-safe-configuration.d.ts +4 -5
- package/lib/model/data-safe-configuration.js.map +1 -1
- package/lib/model/data-safe-private-endpoint-summary.d.ts +4 -5
- package/lib/model/data-safe-private-endpoint-summary.js.map +1 -1
- package/lib/model/data-safe-private-endpoint.d.ts +4 -5
- package/lib/model/data-safe-private-endpoint.js.map +1 -1
- package/lib/model/database-security-config-summary.d.ts +4 -5
- package/lib/model/database-security-config-summary.js.map +1 -1
- package/lib/model/database-security-config.d.ts +4 -5
- package/lib/model/database-security-config.js.map +1 -1
- package/lib/model/discovery-job-summary.d.ts +4 -5
- package/lib/model/discovery-job-summary.js.map +1 -1
- package/lib/model/discovery-job.d.ts +4 -5
- package/lib/model/discovery-job.js.map +1 -1
- package/lib/model/download-sensitive-types-export-details.d.ts +26 -0
- package/lib/model/download-sensitive-types-export-details.js +29 -0
- package/lib/model/download-sensitive-types-export-details.js.map +1 -0
- package/lib/model/generate-health-report-details.d.ts +4 -5
- package/lib/model/generate-health-report-details.js.map +1 -1
- package/lib/model/index.d.ts +34 -4
- package/lib/model/index.js +43 -13
- package/lib/model/index.js.map +1 -1
- package/lib/model/library-masking-format-summary.d.ts +4 -5
- package/lib/model/library-masking-format-summary.js.map +1 -1
- package/lib/model/library-masking-format.d.ts +4 -5
- package/lib/model/library-masking-format.js.map +1 -1
- package/lib/model/masking-analytics-dimensions.d.ts +1 -1
- package/lib/model/masking-policy-columns-info.d.ts +46 -0
- package/lib/model/masking-policy-columns-info.js +38 -0
- package/lib/model/masking-policy-columns-info.js.map +1 -0
- package/lib/model/masking-policy-health-report-log-summary.d.ts +39 -0
- package/lib/model/masking-policy-health-report-log-summary.js +23 -0
- package/lib/model/masking-policy-health-report-log-summary.js.map +1 -1
- package/lib/model/masking-policy-health-report-summary.d.ts +12 -5
- package/lib/model/masking-policy-health-report-summary.js.map +1 -1
- package/lib/model/masking-policy-health-report.d.ts +12 -5
- package/lib/model/masking-policy-health-report.js.map +1 -1
- package/lib/model/masking-policy-referential-relation-collection.d.ts +26 -0
- package/lib/model/masking-policy-referential-relation-collection.js +61 -0
- package/lib/model/masking-policy-referential-relation-collection.js.map +1 -0
- package/lib/model/masking-policy-referential-relation-summary.d.ts +50 -0
- package/lib/model/masking-policy-referential-relation-summary.js +70 -0
- package/lib/model/masking-policy-referential-relation-summary.js.map +1 -0
- package/lib/model/masking-policy-summary.d.ts +4 -5
- package/lib/model/masking-policy-summary.js.map +1 -1
- package/lib/model/masking-policy.d.ts +4 -5
- package/lib/model/masking-policy.js.map +1 -1
- package/lib/model/on-prem-connector-summary.d.ts +4 -5
- package/lib/model/on-prem-connector-summary.js.map +1 -1
- package/lib/model/on-prem-connector.d.ts +4 -5
- package/lib/model/on-prem-connector.js.map +1 -1
- package/lib/model/profile-aggregation.d.ts +7 -6
- package/lib/model/profile-aggregation.js.map +1 -1
- package/lib/model/profile-summary.d.ts +4 -5
- package/lib/model/profile-summary.js.map +1 -1
- package/lib/model/profile.d.ts +4 -5
- package/lib/model/profile.js.map +1 -1
- package/lib/model/referential-relation-collection.d.ts +26 -0
- package/lib/model/referential-relation-collection.js +61 -0
- package/lib/model/referential-relation-collection.js.map +1 -0
- package/lib/model/referential-relation-lifecycle-state.d.ts +31 -0
- package/lib/model/referential-relation-lifecycle-state.js +42 -0
- package/lib/model/referential-relation-lifecycle-state.js.map +1 -0
- package/lib/model/referential-relation-summary.d.ts +59 -0
- package/lib/model/referential-relation-summary.js +66 -0
- package/lib/model/referential-relation-summary.js.map +1 -0
- package/lib/model/referential-relation.d.ts +59 -0
- package/lib/model/referential-relation.js +66 -0
- package/lib/model/referential-relation.js.map +1 -0
- package/lib/model/regular-expression-format-entry.d.ts +1 -2
- package/lib/model/regular-expression-format-entry.js.map +1 -1
- package/lib/model/report-definition-summary.d.ts +4 -5
- package/lib/model/report-definition-summary.js.map +1 -1
- package/lib/model/report-definition.d.ts +4 -5
- package/lib/model/report-definition.js.map +1 -1
- package/lib/model/report-summary.d.ts +4 -5
- package/lib/model/report-summary.js.map +1 -1
- package/lib/model/report.d.ts +4 -5
- package/lib/model/report.js.map +1 -1
- package/lib/model/run-security-assessment-details.d.ts +4 -5
- package/lib/model/run-security-assessment-details.js.map +1 -1
- package/lib/model/run-user-assessment-details.d.ts +4 -5
- package/lib/model/run-user-assessment-details.js.map +1 -1
- package/lib/model/sdm-masking-policy-difference-summary.d.ts +4 -5
- package/lib/model/sdm-masking-policy-difference-summary.js.map +1 -1
- package/lib/model/sdm-masking-policy-difference.d.ts +4 -5
- package/lib/model/sdm-masking-policy-difference.js.map +1 -1
- package/lib/model/security-assessment-summary.d.ts +4 -5
- package/lib/model/security-assessment-summary.js.map +1 -1
- package/lib/model/security-assessment.d.ts +4 -5
- package/lib/model/security-assessment.js.map +1 -1
- package/lib/model/security-feature-summary.d.ts +4 -5
- package/lib/model/security-feature-summary.js.map +1 -1
- package/lib/model/security-policy-deployment-summary.d.ts +4 -5
- package/lib/model/security-policy-deployment-summary.js.map +1 -1
- package/lib/model/security-policy-deployment.d.ts +4 -5
- package/lib/model/security-policy-deployment.js.map +1 -1
- package/lib/model/security-policy-report-summary.d.ts +4 -5
- package/lib/model/security-policy-report-summary.js.map +1 -1
- package/lib/model/security-policy-report.d.ts +4 -5
- package/lib/model/security-policy-report.js.map +1 -1
- package/lib/model/security-policy-summary.d.ts +4 -5
- package/lib/model/security-policy-summary.js.map +1 -1
- package/lib/model/security-policy.d.ts +4 -5
- package/lib/model/security-policy.js.map +1 -1
- package/lib/model/sensitive-data-model-summary.d.ts +4 -5
- package/lib/model/sensitive-data-model-summary.js.map +1 -1
- package/lib/model/sensitive-data-model.d.ts +4 -5
- package/lib/model/sensitive-data-model.js.map +1 -1
- package/lib/model/sensitive-type-summary.d.ts +4 -5
- package/lib/model/sensitive-type-summary.js.map +1 -1
- package/lib/model/sensitive-type.d.ts +4 -5
- package/lib/model/sensitive-type.js.map +1 -1
- package/lib/model/sensitive-types-export-collection.d.ts +26 -0
- package/lib/model/sensitive-types-export-collection.js +61 -0
- package/lib/model/sensitive-types-export-collection.js.map +1 -0
- package/lib/model/sensitive-types-export-lifecycle-state.d.ts +32 -0
- package/lib/model/sensitive-types-export-lifecycle-state.js +43 -0
- package/lib/model/sensitive-types-export-lifecycle-state.js.map +1 -0
- package/lib/model/sensitive-types-export-summary.d.ts +70 -0
- package/lib/model/{create-audit-profile-details.js → sensitive-types-export-summary.js} +7 -7
- package/lib/model/sensitive-types-export-summary.js.map +1 -0
- package/lib/model/sensitive-types-export.d.ts +90 -0
- package/lib/model/{create-audit-policy-details.js → sensitive-types-export.js} +7 -7
- package/lib/model/sensitive-types-export.js.map +1 -0
- package/lib/model/sql-collection-summary.d.ts +4 -5
- package/lib/model/sql-collection-summary.js.map +1 -1
- package/lib/model/sql-collection.d.ts +4 -5
- package/lib/model/sql-collection.js.map +1 -1
- package/lib/model/sql-firewall-allowed-sql-summary.d.ts +4 -5
- package/lib/model/sql-firewall-allowed-sql-summary.js.map +1 -1
- package/lib/model/sql-firewall-allowed-sql.d.ts +4 -5
- package/lib/model/sql-firewall-allowed-sql.js.map +1 -1
- package/lib/model/sql-firewall-policy-summary.d.ts +4 -5
- package/lib/model/sql-firewall-policy-summary.js.map +1 -1
- package/lib/model/sql-firewall-policy.d.ts +4 -5
- package/lib/model/sql-firewall-policy.js.map +1 -1
- package/lib/model/target-alert-policy-association-summary.d.ts +4 -5
- package/lib/model/target-alert-policy-association-summary.js.map +1 -1
- package/lib/model/target-alert-policy-association.d.ts +4 -5
- package/lib/model/target-alert-policy-association.js.map +1 -1
- package/lib/model/target-database-summary.d.ts +4 -5
- package/lib/model/target-database-summary.js.map +1 -1
- package/lib/model/target-database.d.ts +4 -5
- package/lib/model/target-database.js.map +1 -1
- package/lib/model/update-alert-details.d.ts +4 -5
- package/lib/model/update-alert-details.js.map +1 -1
- package/lib/model/update-alert-policy-details.d.ts +4 -5
- package/lib/model/update-alert-policy-details.js.map +1 -1
- package/lib/model/update-audit-archive-retrieval-details.d.ts +4 -5
- package/lib/model/update-audit-archive-retrieval-details.js.map +1 -1
- package/lib/model/update-audit-policy-details.d.ts +4 -5
- package/lib/model/update-audit-policy-details.js.map +1 -1
- package/lib/model/update-audit-profile-details.d.ts +5 -6
- package/lib/model/update-audit-profile-details.js.map +1 -1
- package/lib/model/update-audit-trail-details.d.ts +5 -6
- package/lib/model/update-audit-trail-details.js.map +1 -1
- package/lib/model/update-data-safe-private-endpoint-details.d.ts +4 -5
- package/lib/model/update-data-safe-private-endpoint-details.js.map +1 -1
- package/lib/model/update-database-security-config-details.d.ts +4 -5
- package/lib/model/update-database-security-config-details.js.map +1 -1
- package/lib/model/update-library-masking-format-details.d.ts +4 -5
- package/lib/model/update-library-masking-format-details.js.map +1 -1
- package/lib/model/update-masking-policy-details.d.ts +4 -5
- package/lib/model/update-masking-policy-details.js.map +1 -1
- package/lib/model/update-on-prem-connector-details.d.ts +4 -5
- package/lib/model/update-on-prem-connector-details.js.map +1 -1
- package/lib/model/update-report-definition-details.d.ts +4 -5
- package/lib/model/update-report-definition-details.js.map +1 -1
- package/lib/model/update-report-details.d.ts +4 -5
- package/lib/model/update-report-details.js.map +1 -1
- package/lib/model/update-sdm-masking-policy-difference-details.d.ts +4 -5
- package/lib/model/update-sdm-masking-policy-difference-details.js.map +1 -1
- package/lib/model/update-security-assessment-details.d.ts +4 -5
- package/lib/model/update-security-assessment-details.js.map +1 -1
- package/lib/model/update-security-policy-deployment-details.d.ts +4 -5
- package/lib/model/update-security-policy-deployment-details.js.map +1 -1
- package/lib/model/update-security-policy-details.d.ts +4 -5
- package/lib/model/update-security-policy-details.js.map +1 -1
- package/lib/model/update-sensitive-data-model-details.d.ts +4 -5
- package/lib/model/update-sensitive-data-model-details.js.map +1 -1
- package/lib/model/update-sensitive-type-details.d.ts +4 -5
- package/lib/model/update-sensitive-type-details.js.map +1 -1
- package/lib/model/{create-audit-policy-details.d.ts → update-sensitive-types-export-details.d.ts} +11 -20
- package/lib/model/update-sensitive-types-export-details.js +29 -0
- package/lib/model/update-sensitive-types-export-details.js.map +1 -0
- package/lib/model/update-sql-collection-details.d.ts +4 -5
- package/lib/model/update-sql-collection-details.js.map +1 -1
- package/lib/model/update-sql-firewall-policy-details.d.ts +4 -5
- package/lib/model/update-sql-firewall-policy-details.js.map +1 -1
- package/lib/model/update-target-alert-policy-association-details.d.ts +4 -5
- package/lib/model/update-target-alert-policy-association-details.js.map +1 -1
- package/lib/model/update-target-database-details.d.ts +4 -5
- package/lib/model/update-target-database-details.js.map +1 -1
- package/lib/model/update-user-assessment-details.d.ts +4 -5
- package/lib/model/update-user-assessment-details.js.map +1 -1
- package/lib/model/user-aggregation.d.ts +3 -1
- package/lib/model/user-aggregation.js.map +1 -1
- package/lib/model/user-assessment-summary.d.ts +4 -5
- package/lib/model/user-assessment-summary.js.map +1 -1
- package/lib/model/user-assessment.d.ts +4 -5
- package/lib/model/user-assessment.js.map +1 -1
- package/lib/model/user-summary.d.ts +6 -1
- package/lib/model/user-summary.js.map +1 -1
- package/lib/model/work-request-summary.d.ts +3 -0
- package/lib/model/work-request-summary.js +3 -0
- package/lib/model/work-request-summary.js.map +1 -1
- package/lib/model/work-request.d.ts +3 -0
- package/lib/model/work-request.js +3 -0
- package/lib/model/work-request.js.map +1 -1
- package/lib/request/bulk-create-sensitive-types-request.d.ts +32 -0
- package/lib/request/bulk-create-sensitive-types-request.js +15 -0
- package/lib/request/bulk-create-sensitive-types-request.js.map +1 -0
- package/lib/request/change-sensitive-types-export-compartment-request.d.ts +48 -0
- package/lib/request/change-sensitive-types-export-compartment-request.js +15 -0
- package/lib/request/change-sensitive-types-export-compartment-request.js.map +1 -0
- package/lib/request/create-referential-relation-request.d.ts +39 -0
- package/lib/request/create-referential-relation-request.js +15 -0
- package/lib/request/create-referential-relation-request.js.map +1 -0
- package/lib/request/create-sensitive-types-export-request.d.ts +35 -0
- package/lib/request/create-sensitive-types-export-request.js +15 -0
- package/lib/request/create-sensitive-types-export-request.js.map +1 -0
- package/lib/request/delete-referential-relation-request.d.ts +40 -0
- package/lib/request/delete-referential-relation-request.js +15 -0
- package/lib/request/delete-referential-relation-request.js.map +1 -0
- package/lib/request/delete-sensitive-types-export-request.d.ts +35 -0
- package/lib/request/delete-sensitive-types-export-request.js +15 -0
- package/lib/request/delete-sensitive-types-export-request.js.map +1 -0
- package/lib/request/download-sensitive-types-export-request.d.ts +31 -0
- package/lib/request/download-sensitive-types-export-request.js +15 -0
- package/lib/request/download-sensitive-types-export-request.js.map +1 -0
- package/lib/request/get-referential-relation-request.d.ts +31 -0
- package/lib/request/get-referential-relation-request.js +15 -0
- package/lib/request/get-referential-relation-request.js.map +1 -0
- package/lib/request/get-sensitive-types-export-request.d.ts +26 -0
- package/lib/request/get-sensitive-types-export-request.js +15 -0
- package/lib/request/get-sensitive-types-export-request.js.map +1 -0
- package/lib/request/index.d.ts +28 -0
- package/lib/request/index.js +10 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-audit-event-analytics-request.d.ts +5 -1
- package/lib/request/list-audit-event-analytics-request.js.map +1 -1
- package/lib/request/list-audit-events-request.d.ts +5 -1
- package/lib/request/list-audit-events-request.js.map +1 -1
- package/lib/request/list-library-masking-formats-request.d.ts +3 -1
- package/lib/request/list-library-masking-formats-request.js +2 -0
- package/lib/request/list-library-masking-formats-request.js.map +1 -1
- package/lib/request/list-masked-columns-request.d.ts +3 -1
- package/lib/request/list-masked-columns-request.js +2 -0
- package/lib/request/list-masked-columns-request.js.map +1 -1
- package/lib/request/list-masking-policy-referential-relations-request.d.ts +81 -0
- package/lib/request/list-masking-policy-referential-relations-request.js +37 -0
- package/lib/request/list-masking-policy-referential-relations-request.js.map +1 -0
- package/lib/request/list-password-expiry-date-analytics-request.d.ts +56 -0
- package/lib/request/list-password-expiry-date-analytics-request.js +24 -0
- package/lib/request/list-password-expiry-date-analytics-request.js.map +1 -0
- package/lib/request/list-referential-relations-request.d.ts +87 -0
- package/lib/request/list-referential-relations-request.js +37 -0
- package/lib/request/list-referential-relations-request.js.map +1 -0
- package/lib/request/list-sensitive-types-exports-request.d.ts +106 -0
- package/lib/request/list-sensitive-types-exports-request.js +34 -0
- package/lib/request/list-sensitive-types-exports-request.js.map +1 -0
- package/lib/request/list-user-analytics-request.d.ts +12 -0
- package/lib/request/list-user-analytics-request.js.map +1 -1
- package/lib/request/list-users-request.d.ts +12 -0
- package/lib/request/list-users-request.js.map +1 -1
- package/lib/request/update-sensitive-types-export-request.d.ts +40 -0
- package/lib/request/update-sensitive-types-export-request.js +15 -0
- package/lib/request/update-sensitive-types-export-request.js.map +1 -0
- package/lib/response/bulk-create-sensitive-types-response.d.ts +24 -0
- package/lib/response/bulk-create-sensitive-types-response.js +15 -0
- package/lib/response/bulk-create-sensitive-types-response.js.map +1 -0
- package/lib/response/change-sensitive-types-export-compartment-response.d.ts +19 -0
- package/lib/response/change-sensitive-types-export-compartment-response.js +15 -0
- package/lib/response/change-sensitive-types-export-compartment-response.js.map +1 -0
- package/lib/response/create-referential-relation-response.d.ts +24 -0
- package/lib/response/create-referential-relation-response.js +15 -0
- package/lib/response/create-referential-relation-response.js.map +1 -0
- package/lib/response/create-sensitive-types-export-response.d.ts +38 -0
- package/lib/response/create-sensitive-types-export-response.js +15 -0
- package/lib/response/create-sensitive-types-export-response.js.map +1 -0
- package/lib/response/delete-referential-relation-response.d.ts +19 -0
- package/lib/response/delete-referential-relation-response.js +15 -0
- package/lib/response/delete-referential-relation-response.js.map +1 -0
- package/lib/response/delete-sensitive-types-export-response.d.ts +19 -0
- package/lib/response/delete-sensitive-types-export-response.js +15 -0
- package/lib/response/delete-sensitive-types-export-response.js.map +1 -0
- package/lib/response/download-sensitive-types-export-response.d.ts +34 -0
- package/lib/response/download-sensitive-types-export-response.js +15 -0
- package/lib/response/download-sensitive-types-export-response.js.map +1 -0
- package/lib/response/get-referential-relation-response.d.ts +29 -0
- package/lib/response/get-referential-relation-response.js +15 -0
- package/lib/response/get-referential-relation-response.js.map +1 -0
- package/lib/response/get-sensitive-types-export-response.d.ts +29 -0
- package/lib/response/get-sensitive-types-export-response.js +15 -0
- package/lib/response/get-sensitive-types-export-response.js.map +1 -0
- package/lib/response/index.d.ts +28 -0
- package/lib/response/list-masking-policy-referential-relations-response.d.ts +36 -0
- package/lib/response/list-masking-policy-referential-relations-response.js +15 -0
- package/lib/response/list-masking-policy-referential-relations-response.js.map +1 -0
- package/lib/response/list-password-expiry-date-analytics-response.d.ts +29 -0
- package/lib/response/list-password-expiry-date-analytics-response.js +15 -0
- package/lib/response/list-password-expiry-date-analytics-response.js.map +1 -0
- package/lib/response/list-referential-relations-response.d.ts +36 -0
- package/lib/response/list-referential-relations-response.js +15 -0
- package/lib/response/list-referential-relations-response.js.map +1 -0
- package/lib/response/list-sensitive-types-exports-response.d.ts +36 -0
- package/lib/response/list-sensitive-types-exports-response.js +15 -0
- package/lib/response/list-sensitive-types-exports-response.js.map +1 -0
- package/lib/response/update-sensitive-types-export-response.d.ts +24 -0
- package/lib/response/update-sensitive-types-export-response.js +15 -0
- package/lib/response/update-sensitive-types-export-response.js.map +1 -0
- package/package.json +3 -3
- package/lib/model/create-audit-policy-details.js.map +0 -1
- package/lib/model/create-audit-profile-details.d.ts +0 -64
- package/lib/model/create-audit-profile-details.js.map +0 -1
package/lib/client.js
CHANGED
|
@@ -531,6 +531,66 @@ class DataSafeClient {
|
|
|
531
531
|
}
|
|
532
532
|
});
|
|
533
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* Uploads a sensitive types xml file (also called template) to create new sensitive types.
|
|
536
|
+
*
|
|
537
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
538
|
+
* @param BulkCreateSensitiveTypesRequest
|
|
539
|
+
* @return BulkCreateSensitiveTypesResponse
|
|
540
|
+
* @throws OciError when an error occurs
|
|
541
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/BulkCreateSensitiveTypes.ts.html |here} to see how to use BulkCreateSensitiveTypes API.
|
|
542
|
+
*/
|
|
543
|
+
bulkCreateSensitiveTypes(bulkCreateSensitiveTypesRequest) {
|
|
544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
545
|
+
if (this.logger)
|
|
546
|
+
this.logger.debug("Calling operation DataSafeClient#bulkCreateSensitiveTypes.");
|
|
547
|
+
const operationName = "bulkCreateSensitiveTypes";
|
|
548
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveType/BulkCreateSensitiveTypes";
|
|
549
|
+
const pathParams = {};
|
|
550
|
+
const queryParams = {};
|
|
551
|
+
let headerParams = {
|
|
552
|
+
"opc-compartment-id": bulkCreateSensitiveTypesRequest.opcCompartmentId,
|
|
553
|
+
"opc-request-id": bulkCreateSensitiveTypesRequest.opcRequestId
|
|
554
|
+
};
|
|
555
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
556
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkCreateSensitiveTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
557
|
+
if (this.logger)
|
|
558
|
+
retrier.logger = this.logger;
|
|
559
|
+
const request = yield oci_common_2.composeRequest({
|
|
560
|
+
baseEndpoint: this._endpoint,
|
|
561
|
+
defaultHeaders: this._defaultHeaders,
|
|
562
|
+
path: "/sensitiveTypes/actions/bulkCreateSensitiveTypes",
|
|
563
|
+
method: "POST",
|
|
564
|
+
bodyContent: bulkCreateSensitiveTypesRequest.bulkCreateSensitiveTypesDetails,
|
|
565
|
+
pathParams: pathParams,
|
|
566
|
+
headerParams: headerParams,
|
|
567
|
+
backupBinaryBody: retrier.backUpBinaryBody,
|
|
568
|
+
queryParams: queryParams
|
|
569
|
+
});
|
|
570
|
+
try {
|
|
571
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
572
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
573
|
+
responseObject: {},
|
|
574
|
+
responseHeaders: [
|
|
575
|
+
{
|
|
576
|
+
value: response.headers.get("opc-work-request-id"),
|
|
577
|
+
key: "opcWorkRequestId",
|
|
578
|
+
dataType: "string"
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
value: response.headers.get("opc-request-id"),
|
|
582
|
+
key: "opcRequestId",
|
|
583
|
+
dataType: "string"
|
|
584
|
+
}
|
|
585
|
+
]
|
|
586
|
+
});
|
|
587
|
+
return sdkResponse;
|
|
588
|
+
}
|
|
589
|
+
catch (err) {
|
|
590
|
+
throw err;
|
|
591
|
+
}
|
|
592
|
+
});
|
|
593
|
+
}
|
|
534
594
|
/**
|
|
535
595
|
* Appends the allowedSqls with entries from the logs.
|
|
536
596
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -2091,6 +2151,63 @@ class DataSafeClient {
|
|
|
2091
2151
|
}
|
|
2092
2152
|
});
|
|
2093
2153
|
}
|
|
2154
|
+
/**
|
|
2155
|
+
* Moves the specified sensitive types export into a different compartment.
|
|
2156
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
2157
|
+
* @param ChangeSensitiveTypesExportCompartmentRequest
|
|
2158
|
+
* @return ChangeSensitiveTypesExportCompartmentResponse
|
|
2159
|
+
* @throws OciError when an error occurs
|
|
2160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ChangeSensitiveTypesExportCompartment.ts.html |here} to see how to use ChangeSensitiveTypesExportCompartment API.
|
|
2161
|
+
*/
|
|
2162
|
+
changeSensitiveTypesExportCompartment(changeSensitiveTypesExportCompartmentRequest) {
|
|
2163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2164
|
+
if (this.logger)
|
|
2165
|
+
this.logger.debug("Calling operation DataSafeClient#changeSensitiveTypesExportCompartment.");
|
|
2166
|
+
const operationName = "changeSensitiveTypesExportCompartment";
|
|
2167
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExport/ChangeSensitiveTypesExportCompartment";
|
|
2168
|
+
const pathParams = {
|
|
2169
|
+
"{sensitiveTypesExportId}": changeSensitiveTypesExportCompartmentRequest.sensitiveTypesExportId
|
|
2170
|
+
};
|
|
2171
|
+
const queryParams = {};
|
|
2172
|
+
let headerParams = {
|
|
2173
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2174
|
+
"if-match": changeSensitiveTypesExportCompartmentRequest.ifMatch,
|
|
2175
|
+
"opc-request-id": changeSensitiveTypesExportCompartmentRequest.opcRequestId,
|
|
2176
|
+
"opc-retry-token": changeSensitiveTypesExportCompartmentRequest.opcRetryToken
|
|
2177
|
+
};
|
|
2178
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
2179
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeSensitiveTypesExportCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2180
|
+
if (this.logger)
|
|
2181
|
+
retrier.logger = this.logger;
|
|
2182
|
+
const request = yield oci_common_2.composeRequest({
|
|
2183
|
+
baseEndpoint: this._endpoint,
|
|
2184
|
+
defaultHeaders: this._defaultHeaders,
|
|
2185
|
+
path: "/sensitiveTypesExports/{sensitiveTypesExportId}/actions/changeCompartment",
|
|
2186
|
+
method: "POST",
|
|
2187
|
+
bodyContent: common.ObjectSerializer.serialize(changeSensitiveTypesExportCompartmentRequest.changeSensitiveTypesExportCompartmentDetails, "ChangeSensitiveTypesExportCompartmentDetails", model.ChangeSensitiveTypesExportCompartmentDetails.getJsonObj),
|
|
2188
|
+
pathParams: pathParams,
|
|
2189
|
+
headerParams: headerParams,
|
|
2190
|
+
queryParams: queryParams
|
|
2191
|
+
});
|
|
2192
|
+
try {
|
|
2193
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
2194
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2195
|
+
responseObject: {},
|
|
2196
|
+
responseHeaders: [
|
|
2197
|
+
{
|
|
2198
|
+
value: response.headers.get("opc-request-id"),
|
|
2199
|
+
key: "opcRequestId",
|
|
2200
|
+
dataType: "string"
|
|
2201
|
+
}
|
|
2202
|
+
]
|
|
2203
|
+
});
|
|
2204
|
+
return sdkResponse;
|
|
2205
|
+
}
|
|
2206
|
+
catch (err) {
|
|
2207
|
+
throw err;
|
|
2208
|
+
}
|
|
2209
|
+
});
|
|
2210
|
+
}
|
|
2094
2211
|
/**
|
|
2095
2212
|
* Moves the specified SQL collection and its dependent resources into a different compartment.
|
|
2096
2213
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -3291,6 +3408,68 @@ class DataSafeClient {
|
|
|
3291
3408
|
}
|
|
3292
3409
|
});
|
|
3293
3410
|
}
|
|
3411
|
+
/**
|
|
3412
|
+
* Creates a new referential relation in the specified sensitive data model.
|
|
3413
|
+
*
|
|
3414
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3415
|
+
* @param CreateReferentialRelationRequest
|
|
3416
|
+
* @return CreateReferentialRelationResponse
|
|
3417
|
+
* @throws OciError when an error occurs
|
|
3418
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/CreateReferentialRelation.ts.html |here} to see how to use CreateReferentialRelation API.
|
|
3419
|
+
*/
|
|
3420
|
+
createReferentialRelation(createReferentialRelationRequest) {
|
|
3421
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3422
|
+
if (this.logger)
|
|
3423
|
+
this.logger.debug("Calling operation DataSafeClient#createReferentialRelation.");
|
|
3424
|
+
const operationName = "createReferentialRelation";
|
|
3425
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/ReferentialRelation/CreateReferentialRelation";
|
|
3426
|
+
const pathParams = {
|
|
3427
|
+
"{sensitiveDataModelId}": createReferentialRelationRequest.sensitiveDataModelId
|
|
3428
|
+
};
|
|
3429
|
+
const queryParams = {};
|
|
3430
|
+
let headerParams = {
|
|
3431
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3432
|
+
"opc-retry-token": createReferentialRelationRequest.opcRetryToken,
|
|
3433
|
+
"opc-request-id": createReferentialRelationRequest.opcRequestId
|
|
3434
|
+
};
|
|
3435
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3436
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createReferentialRelationRequest.retryConfiguration, specRetryConfiguration);
|
|
3437
|
+
if (this.logger)
|
|
3438
|
+
retrier.logger = this.logger;
|
|
3439
|
+
const request = yield oci_common_2.composeRequest({
|
|
3440
|
+
baseEndpoint: this._endpoint,
|
|
3441
|
+
defaultHeaders: this._defaultHeaders,
|
|
3442
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/referentialRelations",
|
|
3443
|
+
method: "POST",
|
|
3444
|
+
bodyContent: common.ObjectSerializer.serialize(createReferentialRelationRequest.createReferentialRelationDetails, "CreateReferentialRelationDetails", model.CreateReferentialRelationDetails.getJsonObj),
|
|
3445
|
+
pathParams: pathParams,
|
|
3446
|
+
headerParams: headerParams,
|
|
3447
|
+
queryParams: queryParams
|
|
3448
|
+
});
|
|
3449
|
+
try {
|
|
3450
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3451
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3452
|
+
responseObject: {},
|
|
3453
|
+
responseHeaders: [
|
|
3454
|
+
{
|
|
3455
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3456
|
+
key: "opcWorkRequestId",
|
|
3457
|
+
dataType: "string"
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
value: response.headers.get("opc-request-id"),
|
|
3461
|
+
key: "opcRequestId",
|
|
3462
|
+
dataType: "string"
|
|
3463
|
+
}
|
|
3464
|
+
]
|
|
3465
|
+
});
|
|
3466
|
+
return sdkResponse;
|
|
3467
|
+
}
|
|
3468
|
+
catch (err) {
|
|
3469
|
+
throw err;
|
|
3470
|
+
}
|
|
3471
|
+
});
|
|
3472
|
+
}
|
|
3294
3473
|
/**
|
|
3295
3474
|
* Creates a new report definition with parameters specified in the body. The report definition is stored in the specified compartment.
|
|
3296
3475
|
*
|
|
@@ -3728,6 +3907,82 @@ class DataSafeClient {
|
|
|
3728
3907
|
}
|
|
3729
3908
|
});
|
|
3730
3909
|
}
|
|
3910
|
+
/**
|
|
3911
|
+
* Generates a downloadable file corresponding to the specified list of sensitive types. It's a prerequisite for the
|
|
3912
|
+
* DownloadSensitiveTypesExport operation. Use this endpoint to generate a sensitive Types Export file and then use
|
|
3913
|
+
* DownloadSensitiveTypesExport to download the generated file.
|
|
3914
|
+
*
|
|
3915
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
3916
|
+
* @param CreateSensitiveTypesExportRequest
|
|
3917
|
+
* @return CreateSensitiveTypesExportResponse
|
|
3918
|
+
* @throws OciError when an error occurs
|
|
3919
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/CreateSensitiveTypesExport.ts.html |here} to see how to use CreateSensitiveTypesExport API.
|
|
3920
|
+
*/
|
|
3921
|
+
createSensitiveTypesExport(createSensitiveTypesExportRequest) {
|
|
3922
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3923
|
+
if (this.logger)
|
|
3924
|
+
this.logger.debug("Calling operation DataSafeClient#createSensitiveTypesExport.");
|
|
3925
|
+
const operationName = "createSensitiveTypesExport";
|
|
3926
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExport/CreateSensitiveTypesExport";
|
|
3927
|
+
const pathParams = {};
|
|
3928
|
+
const queryParams = {};
|
|
3929
|
+
let headerParams = {
|
|
3930
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3931
|
+
"opc-retry-token": createSensitiveTypesExportRequest.opcRetryToken,
|
|
3932
|
+
"opc-request-id": createSensitiveTypesExportRequest.opcRequestId
|
|
3933
|
+
};
|
|
3934
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
3935
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSensitiveTypesExportRequest.retryConfiguration, specRetryConfiguration);
|
|
3936
|
+
if (this.logger)
|
|
3937
|
+
retrier.logger = this.logger;
|
|
3938
|
+
const request = yield oci_common_2.composeRequest({
|
|
3939
|
+
baseEndpoint: this._endpoint,
|
|
3940
|
+
defaultHeaders: this._defaultHeaders,
|
|
3941
|
+
path: "/sensitiveTypesExports",
|
|
3942
|
+
method: "POST",
|
|
3943
|
+
bodyContent: common.ObjectSerializer.serialize(createSensitiveTypesExportRequest.createSensitiveTypesExportDetails, "CreateSensitiveTypesExportDetails", model.CreateSensitiveTypesExportDetails.getJsonObj),
|
|
3944
|
+
pathParams: pathParams,
|
|
3945
|
+
headerParams: headerParams,
|
|
3946
|
+
queryParams: queryParams
|
|
3947
|
+
});
|
|
3948
|
+
try {
|
|
3949
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
3950
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3951
|
+
responseObject: {},
|
|
3952
|
+
body: yield response.json(),
|
|
3953
|
+
bodyKey: "sensitiveTypesExport",
|
|
3954
|
+
bodyModel: model.SensitiveTypesExport,
|
|
3955
|
+
type: "model.SensitiveTypesExport",
|
|
3956
|
+
responseHeaders: [
|
|
3957
|
+
{
|
|
3958
|
+
value: response.headers.get("etag"),
|
|
3959
|
+
key: "etag",
|
|
3960
|
+
dataType: "string"
|
|
3961
|
+
},
|
|
3962
|
+
{
|
|
3963
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3964
|
+
key: "opcWorkRequestId",
|
|
3965
|
+
dataType: "string"
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
value: response.headers.get("opc-request-id"),
|
|
3969
|
+
key: "opcRequestId",
|
|
3970
|
+
dataType: "string"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
value: response.headers.get("location"),
|
|
3974
|
+
key: "location",
|
|
3975
|
+
dataType: "string"
|
|
3976
|
+
}
|
|
3977
|
+
]
|
|
3978
|
+
});
|
|
3979
|
+
return sdkResponse;
|
|
3980
|
+
}
|
|
3981
|
+
catch (err) {
|
|
3982
|
+
throw err;
|
|
3983
|
+
}
|
|
3984
|
+
});
|
|
3985
|
+
}
|
|
3731
3986
|
/**
|
|
3732
3987
|
* Creates a new SQL collection resource.
|
|
3733
3988
|
*
|
|
@@ -4859,6 +5114,62 @@ class DataSafeClient {
|
|
|
4859
5114
|
}
|
|
4860
5115
|
});
|
|
4861
5116
|
}
|
|
5117
|
+
/**
|
|
5118
|
+
* Deletes the specified referential relation.
|
|
5119
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5120
|
+
* @param DeleteReferentialRelationRequest
|
|
5121
|
+
* @return DeleteReferentialRelationResponse
|
|
5122
|
+
* @throws OciError when an error occurs
|
|
5123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/DeleteReferentialRelation.ts.html |here} to see how to use DeleteReferentialRelation API.
|
|
5124
|
+
*/
|
|
5125
|
+
deleteReferentialRelation(deleteReferentialRelationRequest) {
|
|
5126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5127
|
+
if (this.logger)
|
|
5128
|
+
this.logger.debug("Calling operation DataSafeClient#deleteReferentialRelation.");
|
|
5129
|
+
const operationName = "deleteReferentialRelation";
|
|
5130
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/ReferentialRelation/DeleteReferentialRelation";
|
|
5131
|
+
const pathParams = {
|
|
5132
|
+
"{sensitiveDataModelId}": deleteReferentialRelationRequest.sensitiveDataModelId,
|
|
5133
|
+
"{referentialRelationKey}": deleteReferentialRelationRequest.referentialRelationKey
|
|
5134
|
+
};
|
|
5135
|
+
const queryParams = {};
|
|
5136
|
+
let headerParams = {
|
|
5137
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5138
|
+
"if-match": deleteReferentialRelationRequest.ifMatch,
|
|
5139
|
+
"opc-request-id": deleteReferentialRelationRequest.opcRequestId
|
|
5140
|
+
};
|
|
5141
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5142
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteReferentialRelationRequest.retryConfiguration, specRetryConfiguration);
|
|
5143
|
+
if (this.logger)
|
|
5144
|
+
retrier.logger = this.logger;
|
|
5145
|
+
const request = yield oci_common_2.composeRequest({
|
|
5146
|
+
baseEndpoint: this._endpoint,
|
|
5147
|
+
defaultHeaders: this._defaultHeaders,
|
|
5148
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/referentialRelations/{referentialRelationKey}",
|
|
5149
|
+
method: "DELETE",
|
|
5150
|
+
pathParams: pathParams,
|
|
5151
|
+
headerParams: headerParams,
|
|
5152
|
+
queryParams: queryParams
|
|
5153
|
+
});
|
|
5154
|
+
try {
|
|
5155
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5156
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5157
|
+
responseObject: {},
|
|
5158
|
+
responseHeaders: [
|
|
5159
|
+
{
|
|
5160
|
+
value: response.headers.get("opc-request-id"),
|
|
5161
|
+
key: "opcRequestId",
|
|
5162
|
+
dataType: "string"
|
|
5163
|
+
}
|
|
5164
|
+
]
|
|
5165
|
+
});
|
|
5166
|
+
return sdkResponse;
|
|
5167
|
+
}
|
|
5168
|
+
catch (err) {
|
|
5169
|
+
throw err;
|
|
5170
|
+
}
|
|
5171
|
+
});
|
|
5172
|
+
}
|
|
4862
5173
|
/**
|
|
4863
5174
|
* Deletes the specified report definition. Only the user created report definition can be deleted. The seeded report definitions cannot be deleted.
|
|
4864
5175
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -5214,6 +5525,61 @@ class DataSafeClient {
|
|
|
5214
5525
|
}
|
|
5215
5526
|
});
|
|
5216
5527
|
}
|
|
5528
|
+
/**
|
|
5529
|
+
* Deletes the specified sensitive types export.
|
|
5530
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
5531
|
+
* @param DeleteSensitiveTypesExportRequest
|
|
5532
|
+
* @return DeleteSensitiveTypesExportResponse
|
|
5533
|
+
* @throws OciError when an error occurs
|
|
5534
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/DeleteSensitiveTypesExport.ts.html |here} to see how to use DeleteSensitiveTypesExport API.
|
|
5535
|
+
*/
|
|
5536
|
+
deleteSensitiveTypesExport(deleteSensitiveTypesExportRequest) {
|
|
5537
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5538
|
+
if (this.logger)
|
|
5539
|
+
this.logger.debug("Calling operation DataSafeClient#deleteSensitiveTypesExport.");
|
|
5540
|
+
const operationName = "deleteSensitiveTypesExport";
|
|
5541
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExport/DeleteSensitiveTypesExport";
|
|
5542
|
+
const pathParams = {
|
|
5543
|
+
"{sensitiveTypesExportId}": deleteSensitiveTypesExportRequest.sensitiveTypesExportId
|
|
5544
|
+
};
|
|
5545
|
+
const queryParams = {};
|
|
5546
|
+
let headerParams = {
|
|
5547
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5548
|
+
"if-match": deleteSensitiveTypesExportRequest.ifMatch,
|
|
5549
|
+
"opc-request-id": deleteSensitiveTypesExportRequest.opcRequestId
|
|
5550
|
+
};
|
|
5551
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
5552
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSensitiveTypesExportRequest.retryConfiguration, specRetryConfiguration);
|
|
5553
|
+
if (this.logger)
|
|
5554
|
+
retrier.logger = this.logger;
|
|
5555
|
+
const request = yield oci_common_2.composeRequest({
|
|
5556
|
+
baseEndpoint: this._endpoint,
|
|
5557
|
+
defaultHeaders: this._defaultHeaders,
|
|
5558
|
+
path: "/sensitiveTypesExports/{sensitiveTypesExportId}",
|
|
5559
|
+
method: "DELETE",
|
|
5560
|
+
pathParams: pathParams,
|
|
5561
|
+
headerParams: headerParams,
|
|
5562
|
+
queryParams: queryParams
|
|
5563
|
+
});
|
|
5564
|
+
try {
|
|
5565
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
5566
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5567
|
+
responseObject: {},
|
|
5568
|
+
responseHeaders: [
|
|
5569
|
+
{
|
|
5570
|
+
value: response.headers.get("opc-request-id"),
|
|
5571
|
+
key: "opcRequestId",
|
|
5572
|
+
dataType: "string"
|
|
5573
|
+
}
|
|
5574
|
+
]
|
|
5575
|
+
});
|
|
5576
|
+
return sdkResponse;
|
|
5577
|
+
}
|
|
5578
|
+
catch (err) {
|
|
5579
|
+
throw err;
|
|
5580
|
+
}
|
|
5581
|
+
});
|
|
5582
|
+
}
|
|
5217
5583
|
/**
|
|
5218
5584
|
* Deletes the specified SQL collection.
|
|
5219
5585
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -6139,6 +6505,77 @@ class DataSafeClient {
|
|
|
6139
6505
|
}
|
|
6140
6506
|
});
|
|
6141
6507
|
}
|
|
6508
|
+
/**
|
|
6509
|
+
* Downloads an already-generated file corresponding to the specified sensitive types export.
|
|
6510
|
+
* Use CreateSensitiveTypesExport to generate an XML file and then use DownloadSensitiveTypesExport
|
|
6511
|
+
* to download the generated file.
|
|
6512
|
+
*
|
|
6513
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
6514
|
+
* @param DownloadSensitiveTypesExportRequest
|
|
6515
|
+
* @return DownloadSensitiveTypesExportResponse
|
|
6516
|
+
* @throws OciError when an error occurs
|
|
6517
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/DownloadSensitiveTypesExport.ts.html |here} to see how to use DownloadSensitiveTypesExport API.
|
|
6518
|
+
*/
|
|
6519
|
+
downloadSensitiveTypesExport(downloadSensitiveTypesExportRequest) {
|
|
6520
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6521
|
+
if (this.logger)
|
|
6522
|
+
this.logger.debug("Calling operation DataSafeClient#downloadSensitiveTypesExport.");
|
|
6523
|
+
const operationName = "downloadSensitiveTypesExport";
|
|
6524
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExport/DownloadSensitiveTypesExport";
|
|
6525
|
+
const pathParams = {
|
|
6526
|
+
"{sensitiveTypesExportId}": downloadSensitiveTypesExportRequest.sensitiveTypesExportId
|
|
6527
|
+
};
|
|
6528
|
+
const queryParams = {};
|
|
6529
|
+
let headerParams = {
|
|
6530
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6531
|
+
"opc-request-id": downloadSensitiveTypesExportRequest.opcRequestId
|
|
6532
|
+
};
|
|
6533
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
6534
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, downloadSensitiveTypesExportRequest.retryConfiguration, specRetryConfiguration);
|
|
6535
|
+
if (this.logger)
|
|
6536
|
+
retrier.logger = this.logger;
|
|
6537
|
+
const request = yield oci_common_2.composeRequest({
|
|
6538
|
+
baseEndpoint: this._endpoint,
|
|
6539
|
+
defaultHeaders: this._defaultHeaders,
|
|
6540
|
+
path: "/sensitiveTypesExports/{sensitiveTypesExportId}/actions/download",
|
|
6541
|
+
method: "POST",
|
|
6542
|
+
bodyContent: common.ObjectSerializer.serialize(downloadSensitiveTypesExportRequest.downloadSensitiveTypesExportDetails, "DownloadSensitiveTypesExportDetails", model.DownloadSensitiveTypesExportDetails.getJsonObj),
|
|
6543
|
+
pathParams: pathParams,
|
|
6544
|
+
headerParams: headerParams,
|
|
6545
|
+
queryParams: queryParams
|
|
6546
|
+
});
|
|
6547
|
+
try {
|
|
6548
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6549
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6550
|
+
responseObject: {},
|
|
6551
|
+
body: response.body,
|
|
6552
|
+
bodyKey: "value",
|
|
6553
|
+
bodyModel: "string",
|
|
6554
|
+
responseHeaders: [
|
|
6555
|
+
{
|
|
6556
|
+
value: response.headers.get("opc-request-id"),
|
|
6557
|
+
key: "opcRequestId",
|
|
6558
|
+
dataType: "string"
|
|
6559
|
+
},
|
|
6560
|
+
{
|
|
6561
|
+
value: response.headers.get("etag"),
|
|
6562
|
+
key: "etag",
|
|
6563
|
+
dataType: "string"
|
|
6564
|
+
},
|
|
6565
|
+
{
|
|
6566
|
+
value: response.headers.get("content-length"),
|
|
6567
|
+
key: "contentLength",
|
|
6568
|
+
dataType: "number"
|
|
6569
|
+
}
|
|
6570
|
+
]
|
|
6571
|
+
});
|
|
6572
|
+
return sdkResponse;
|
|
6573
|
+
}
|
|
6574
|
+
catch (err) {
|
|
6575
|
+
throw err;
|
|
6576
|
+
}
|
|
6577
|
+
});
|
|
6578
|
+
}
|
|
6142
6579
|
/**
|
|
6143
6580
|
* Downloads the report of the specified user assessment. To download the user assessment report, it needs to be generated first.
|
|
6144
6581
|
* Please use GenerateUserAssessmentReport to generate a downloadable report in the preferred format (PDF, XLS).
|
|
@@ -8535,6 +8972,70 @@ class DataSafeClient {
|
|
|
8535
8972
|
}
|
|
8536
8973
|
});
|
|
8537
8974
|
}
|
|
8975
|
+
/**
|
|
8976
|
+
* Gets the details of the specified referential relation.
|
|
8977
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
8978
|
+
* @param GetReferentialRelationRequest
|
|
8979
|
+
* @return GetReferentialRelationResponse
|
|
8980
|
+
* @throws OciError when an error occurs
|
|
8981
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/GetReferentialRelation.ts.html |here} to see how to use GetReferentialRelation API.
|
|
8982
|
+
*/
|
|
8983
|
+
getReferentialRelation(getReferentialRelationRequest) {
|
|
8984
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8985
|
+
if (this.logger)
|
|
8986
|
+
this.logger.debug("Calling operation DataSafeClient#getReferentialRelation.");
|
|
8987
|
+
const operationName = "getReferentialRelation";
|
|
8988
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/ReferentialRelation/GetReferentialRelation";
|
|
8989
|
+
const pathParams = {
|
|
8990
|
+
"{sensitiveDataModelId}": getReferentialRelationRequest.sensitiveDataModelId,
|
|
8991
|
+
"{referentialRelationKey}": getReferentialRelationRequest.referentialRelationKey
|
|
8992
|
+
};
|
|
8993
|
+
const queryParams = {};
|
|
8994
|
+
let headerParams = {
|
|
8995
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8996
|
+
"opc-request-id": getReferentialRelationRequest.opcRequestId
|
|
8997
|
+
};
|
|
8998
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
8999
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getReferentialRelationRequest.retryConfiguration, specRetryConfiguration);
|
|
9000
|
+
if (this.logger)
|
|
9001
|
+
retrier.logger = this.logger;
|
|
9002
|
+
const request = yield oci_common_2.composeRequest({
|
|
9003
|
+
baseEndpoint: this._endpoint,
|
|
9004
|
+
defaultHeaders: this._defaultHeaders,
|
|
9005
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/referentialRelations/{referentialRelationKey}",
|
|
9006
|
+
method: "GET",
|
|
9007
|
+
pathParams: pathParams,
|
|
9008
|
+
headerParams: headerParams,
|
|
9009
|
+
queryParams: queryParams
|
|
9010
|
+
});
|
|
9011
|
+
try {
|
|
9012
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9013
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
9014
|
+
responseObject: {},
|
|
9015
|
+
body: yield response.json(),
|
|
9016
|
+
bodyKey: "referentialRelation",
|
|
9017
|
+
bodyModel: model.ReferentialRelation,
|
|
9018
|
+
type: "model.ReferentialRelation",
|
|
9019
|
+
responseHeaders: [
|
|
9020
|
+
{
|
|
9021
|
+
value: response.headers.get("etag"),
|
|
9022
|
+
key: "etag",
|
|
9023
|
+
dataType: "string"
|
|
9024
|
+
},
|
|
9025
|
+
{
|
|
9026
|
+
value: response.headers.get("opc-request-id"),
|
|
9027
|
+
key: "opcRequestId",
|
|
9028
|
+
dataType: "string"
|
|
9029
|
+
}
|
|
9030
|
+
]
|
|
9031
|
+
});
|
|
9032
|
+
return sdkResponse;
|
|
9033
|
+
}
|
|
9034
|
+
catch (err) {
|
|
9035
|
+
throw err;
|
|
9036
|
+
}
|
|
9037
|
+
});
|
|
9038
|
+
}
|
|
8538
9039
|
/**
|
|
8539
9040
|
* Gets a report by identifier
|
|
8540
9041
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -9366,6 +9867,69 @@ class DataSafeClient {
|
|
|
9366
9867
|
}
|
|
9367
9868
|
});
|
|
9368
9869
|
}
|
|
9870
|
+
/**
|
|
9871
|
+
* Gets the details of the specified sensitive types export by identifier.
|
|
9872
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
9873
|
+
* @param GetSensitiveTypesExportRequest
|
|
9874
|
+
* @return GetSensitiveTypesExportResponse
|
|
9875
|
+
* @throws OciError when an error occurs
|
|
9876
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/GetSensitiveTypesExport.ts.html |here} to see how to use GetSensitiveTypesExport API.
|
|
9877
|
+
*/
|
|
9878
|
+
getSensitiveTypesExport(getSensitiveTypesExportRequest) {
|
|
9879
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9880
|
+
if (this.logger)
|
|
9881
|
+
this.logger.debug("Calling operation DataSafeClient#getSensitiveTypesExport.");
|
|
9882
|
+
const operationName = "getSensitiveTypesExport";
|
|
9883
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExport/GetSensitiveTypesExport";
|
|
9884
|
+
const pathParams = {
|
|
9885
|
+
"{sensitiveTypesExportId}": getSensitiveTypesExportRequest.sensitiveTypesExportId
|
|
9886
|
+
};
|
|
9887
|
+
const queryParams = {};
|
|
9888
|
+
let headerParams = {
|
|
9889
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9890
|
+
"opc-request-id": getSensitiveTypesExportRequest.opcRequestId
|
|
9891
|
+
};
|
|
9892
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
9893
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getSensitiveTypesExportRequest.retryConfiguration, specRetryConfiguration);
|
|
9894
|
+
if (this.logger)
|
|
9895
|
+
retrier.logger = this.logger;
|
|
9896
|
+
const request = yield oci_common_2.composeRequest({
|
|
9897
|
+
baseEndpoint: this._endpoint,
|
|
9898
|
+
defaultHeaders: this._defaultHeaders,
|
|
9899
|
+
path: "/sensitiveTypesExports/{sensitiveTypesExportId}",
|
|
9900
|
+
method: "GET",
|
|
9901
|
+
pathParams: pathParams,
|
|
9902
|
+
headerParams: headerParams,
|
|
9903
|
+
queryParams: queryParams
|
|
9904
|
+
});
|
|
9905
|
+
try {
|
|
9906
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
9907
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
9908
|
+
responseObject: {},
|
|
9909
|
+
body: yield response.json(),
|
|
9910
|
+
bodyKey: "sensitiveTypesExport",
|
|
9911
|
+
bodyModel: model.SensitiveTypesExport,
|
|
9912
|
+
type: "model.SensitiveTypesExport",
|
|
9913
|
+
responseHeaders: [
|
|
9914
|
+
{
|
|
9915
|
+
value: response.headers.get("etag"),
|
|
9916
|
+
key: "etag",
|
|
9917
|
+
dataType: "string"
|
|
9918
|
+
},
|
|
9919
|
+
{
|
|
9920
|
+
value: response.headers.get("opc-request-id"),
|
|
9921
|
+
key: "opcRequestId",
|
|
9922
|
+
dataType: "string"
|
|
9923
|
+
}
|
|
9924
|
+
]
|
|
9925
|
+
});
|
|
9926
|
+
return sdkResponse;
|
|
9927
|
+
}
|
|
9928
|
+
catch (err) {
|
|
9929
|
+
throw err;
|
|
9930
|
+
}
|
|
9931
|
+
});
|
|
9932
|
+
}
|
|
9369
9933
|
/**
|
|
9370
9934
|
* Gets a SQL collection by identifier.
|
|
9371
9935
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -10278,14 +10842,14 @@ class DataSafeClient {
|
|
|
10278
10842
|
* it in the `summaryField` query parameter.
|
|
10279
10843
|
* <p>
|
|
10280
10844
|
**Example:**
|
|
10281
|
-
* /
|
|
10845
|
+
* /auditEventAnalytics?summaryField=targetName&summaryField=userName&summaryField=clientHostname
|
|
10282
10846
|
* &summaryField=dmls&summaryField=privilegeChanges&summaryField=ddls&summaryField=loginFailure&summaryField=loginSuccess
|
|
10283
|
-
* &summaryField=allRecord&
|
|
10847
|
+
* &summaryField=allRecord&scimQuery=(auditEventTime ge \"2021-06-13T23:49:14\")
|
|
10284
10848
|
* <p>
|
|
10285
|
-
/
|
|
10849
|
+
/auditEventAnalytics?timeStarted=2022-08-18T11:02:26.000Z&timeEnded=2022-08-24T11:02:26.000Z
|
|
10286
10850
|
* This will give number of events grouped by periods. Period can be 1 day, 1 week, etc.
|
|
10287
10851
|
* <p>
|
|
10288
|
-
/
|
|
10852
|
+
/auditEventAnalytics?summaryField=targetName&groupBy=targetName
|
|
10289
10853
|
* This will give the number of events group by targetName. Only targetName summary column would be returned.
|
|
10290
10854
|
*
|
|
10291
10855
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -12885,13 +13449,92 @@ class DataSafeClient {
|
|
|
12885
13449
|
"opc-request-id": listMaskingPolicyHealthReportLogsRequest.opcRequestId
|
|
12886
13450
|
};
|
|
12887
13451
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
12888
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingPolicyHealthReportLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
13452
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingPolicyHealthReportLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
13453
|
+
if (this.logger)
|
|
13454
|
+
retrier.logger = this.logger;
|
|
13455
|
+
const request = yield oci_common_2.composeRequest({
|
|
13456
|
+
baseEndpoint: this._endpoint,
|
|
13457
|
+
defaultHeaders: this._defaultHeaders,
|
|
13458
|
+
path: "/maskingPolicyHealthReports/{maskingPolicyHealthReportId}/logs",
|
|
13459
|
+
method: "GET",
|
|
13460
|
+
pathParams: pathParams,
|
|
13461
|
+
headerParams: headerParams,
|
|
13462
|
+
queryParams: queryParams
|
|
13463
|
+
});
|
|
13464
|
+
try {
|
|
13465
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13466
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13467
|
+
responseObject: {},
|
|
13468
|
+
body: yield response.json(),
|
|
13469
|
+
bodyKey: "maskingPolicyHealthReportLogCollection",
|
|
13470
|
+
bodyModel: model.MaskingPolicyHealthReportLogCollection,
|
|
13471
|
+
type: "model.MaskingPolicyHealthReportLogCollection",
|
|
13472
|
+
responseHeaders: [
|
|
13473
|
+
{
|
|
13474
|
+
value: response.headers.get("opc-request-id"),
|
|
13475
|
+
key: "opcRequestId",
|
|
13476
|
+
dataType: "string"
|
|
13477
|
+
},
|
|
13478
|
+
{
|
|
13479
|
+
value: response.headers.get("opc-next-page"),
|
|
13480
|
+
key: "opcNextPage",
|
|
13481
|
+
dataType: "string"
|
|
13482
|
+
},
|
|
13483
|
+
{
|
|
13484
|
+
value: response.headers.get("opc-prev-page"),
|
|
13485
|
+
key: "opcPrevPage",
|
|
13486
|
+
dataType: "string"
|
|
13487
|
+
}
|
|
13488
|
+
]
|
|
13489
|
+
});
|
|
13490
|
+
return sdkResponse;
|
|
13491
|
+
}
|
|
13492
|
+
catch (err) {
|
|
13493
|
+
throw err;
|
|
13494
|
+
}
|
|
13495
|
+
});
|
|
13496
|
+
}
|
|
13497
|
+
/**
|
|
13498
|
+
* Gets a list of masking policy health reports based on the specified query parameters.
|
|
13499
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13500
|
+
* @param ListMaskingPolicyHealthReportsRequest
|
|
13501
|
+
* @return ListMaskingPolicyHealthReportsResponse
|
|
13502
|
+
* @throws OciError when an error occurs
|
|
13503
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListMaskingPolicyHealthReports.ts.html |here} to see how to use ListMaskingPolicyHealthReports API.
|
|
13504
|
+
*/
|
|
13505
|
+
listMaskingPolicyHealthReports(listMaskingPolicyHealthReportsRequest) {
|
|
13506
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13507
|
+
if (this.logger)
|
|
13508
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingPolicyHealthReports.");
|
|
13509
|
+
const operationName = "listMaskingPolicyHealthReports";
|
|
13510
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingPolicyHealthReport/ListMaskingPolicyHealthReports";
|
|
13511
|
+
const pathParams = {};
|
|
13512
|
+
const queryParams = {
|
|
13513
|
+
"maskingPolicyHealthReportId": listMaskingPolicyHealthReportsRequest.maskingPolicyHealthReportId,
|
|
13514
|
+
"limit": listMaskingPolicyHealthReportsRequest.limit,
|
|
13515
|
+
"page": listMaskingPolicyHealthReportsRequest.page,
|
|
13516
|
+
"compartmentId": listMaskingPolicyHealthReportsRequest.compartmentId,
|
|
13517
|
+
"compartmentIdInSubtree": listMaskingPolicyHealthReportsRequest.compartmentIdInSubtree,
|
|
13518
|
+
"accessLevel": listMaskingPolicyHealthReportsRequest.accessLevel,
|
|
13519
|
+
"sortBy": listMaskingPolicyHealthReportsRequest.sortBy,
|
|
13520
|
+
"sortOrder": listMaskingPolicyHealthReportsRequest.sortOrder,
|
|
13521
|
+
"displayName": listMaskingPolicyHealthReportsRequest.displayName,
|
|
13522
|
+
"targetId": listMaskingPolicyHealthReportsRequest.targetId,
|
|
13523
|
+
"maskingPolicyId": listMaskingPolicyHealthReportsRequest.maskingPolicyId,
|
|
13524
|
+
"lifecycleState": listMaskingPolicyHealthReportsRequest.lifecycleState
|
|
13525
|
+
};
|
|
13526
|
+
let headerParams = {
|
|
13527
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13528
|
+
"opc-request-id": listMaskingPolicyHealthReportsRequest.opcRequestId
|
|
13529
|
+
};
|
|
13530
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13531
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingPolicyHealthReportsRequest.retryConfiguration, specRetryConfiguration);
|
|
12889
13532
|
if (this.logger)
|
|
12890
13533
|
retrier.logger = this.logger;
|
|
12891
13534
|
const request = yield oci_common_2.composeRequest({
|
|
12892
13535
|
baseEndpoint: this._endpoint,
|
|
12893
13536
|
defaultHeaders: this._defaultHeaders,
|
|
12894
|
-
path: "/maskingPolicyHealthReports
|
|
13537
|
+
path: "/maskingPolicyHealthReports",
|
|
12895
13538
|
method: "GET",
|
|
12896
13539
|
pathParams: pathParams,
|
|
12897
13540
|
headerParams: headerParams,
|
|
@@ -12902,9 +13545,9 @@ class DataSafeClient {
|
|
|
12902
13545
|
const sdkResponse = oci_common_2.composeResponse({
|
|
12903
13546
|
responseObject: {},
|
|
12904
13547
|
body: yield response.json(),
|
|
12905
|
-
bodyKey: "
|
|
12906
|
-
bodyModel: model.
|
|
12907
|
-
type: "model.
|
|
13548
|
+
bodyKey: "maskingPolicyHealthReportCollection",
|
|
13549
|
+
bodyModel: model.MaskingPolicyHealthReportCollection,
|
|
13550
|
+
type: "model.MaskingPolicyHealthReportCollection",
|
|
12908
13551
|
responseHeaders: [
|
|
12909
13552
|
{
|
|
12910
13553
|
value: response.headers.get("opc-request-id"),
|
|
@@ -12931,46 +13574,45 @@ class DataSafeClient {
|
|
|
12931
13574
|
});
|
|
12932
13575
|
}
|
|
12933
13576
|
/**
|
|
12934
|
-
* Gets a list of masking policy
|
|
13577
|
+
* Gets a list of referential relations present in the specified masking policy based on the specified query parameters.
|
|
13578
|
+
*
|
|
12935
13579
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
12936
|
-
* @param
|
|
12937
|
-
* @return
|
|
13580
|
+
* @param ListMaskingPolicyReferentialRelationsRequest
|
|
13581
|
+
* @return ListMaskingPolicyReferentialRelationsResponse
|
|
12938
13582
|
* @throws OciError when an error occurs
|
|
12939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/
|
|
13583
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListMaskingPolicyReferentialRelations.ts.html |here} to see how to use ListMaskingPolicyReferentialRelations API.
|
|
12940
13584
|
*/
|
|
12941
|
-
|
|
13585
|
+
listMaskingPolicyReferentialRelations(listMaskingPolicyReferentialRelationsRequest) {
|
|
12942
13586
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12943
13587
|
if (this.logger)
|
|
12944
|
-
this.logger.debug("Calling operation DataSafeClient#
|
|
12945
|
-
const operationName = "
|
|
12946
|
-
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/
|
|
12947
|
-
const pathParams = {
|
|
13588
|
+
this.logger.debug("Calling operation DataSafeClient#listMaskingPolicyReferentialRelations.");
|
|
13589
|
+
const operationName = "listMaskingPolicyReferentialRelations";
|
|
13590
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/MaskingPolicyReferentialRelationSummary/ListMaskingPolicyReferentialRelations";
|
|
13591
|
+
const pathParams = {
|
|
13592
|
+
"{maskingPolicyId}": listMaskingPolicyReferentialRelationsRequest.maskingPolicyId
|
|
13593
|
+
};
|
|
12948
13594
|
const queryParams = {
|
|
12949
|
-
"
|
|
12950
|
-
"
|
|
12951
|
-
"
|
|
12952
|
-
"
|
|
12953
|
-
"
|
|
12954
|
-
"
|
|
12955
|
-
"
|
|
12956
|
-
"
|
|
12957
|
-
"displayName": listMaskingPolicyHealthReportsRequest.displayName,
|
|
12958
|
-
"targetId": listMaskingPolicyHealthReportsRequest.targetId,
|
|
12959
|
-
"maskingPolicyId": listMaskingPolicyHealthReportsRequest.maskingPolicyId,
|
|
12960
|
-
"lifecycleState": listMaskingPolicyHealthReportsRequest.lifecycleState
|
|
13595
|
+
"schemaName": listMaskingPolicyReferentialRelationsRequest.schemaName,
|
|
13596
|
+
"objectName": listMaskingPolicyReferentialRelationsRequest.objectName,
|
|
13597
|
+
"columnName": listMaskingPolicyReferentialRelationsRequest.columnName,
|
|
13598
|
+
"relationType": listMaskingPolicyReferentialRelationsRequest.relationType,
|
|
13599
|
+
"limit": listMaskingPolicyReferentialRelationsRequest.limit,
|
|
13600
|
+
"page": listMaskingPolicyReferentialRelationsRequest.page,
|
|
13601
|
+
"sortOrder": listMaskingPolicyReferentialRelationsRequest.sortOrder,
|
|
13602
|
+
"sortBy": listMaskingPolicyReferentialRelationsRequest.sortBy
|
|
12961
13603
|
};
|
|
12962
13604
|
let headerParams = {
|
|
12963
13605
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
12964
|
-
"opc-request-id":
|
|
13606
|
+
"opc-request-id": listMaskingPolicyReferentialRelationsRequest.opcRequestId
|
|
12965
13607
|
};
|
|
12966
13608
|
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
12967
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
13609
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMaskingPolicyReferentialRelationsRequest.retryConfiguration, specRetryConfiguration);
|
|
12968
13610
|
if (this.logger)
|
|
12969
13611
|
retrier.logger = this.logger;
|
|
12970
13612
|
const request = yield oci_common_2.composeRequest({
|
|
12971
13613
|
baseEndpoint: this._endpoint,
|
|
12972
13614
|
defaultHeaders: this._defaultHeaders,
|
|
12973
|
-
path: "/
|
|
13615
|
+
path: "/maskingPolicies/{maskingPolicyId}/referentialRelations",
|
|
12974
13616
|
method: "GET",
|
|
12975
13617
|
pathParams: pathParams,
|
|
12976
13618
|
headerParams: headerParams,
|
|
@@ -12981,9 +13623,9 @@ class DataSafeClient {
|
|
|
12981
13623
|
const sdkResponse = oci_common_2.composeResponse({
|
|
12982
13624
|
responseObject: {},
|
|
12983
13625
|
body: yield response.json(),
|
|
12984
|
-
bodyKey: "
|
|
12985
|
-
bodyModel: model.
|
|
12986
|
-
type: "model.
|
|
13626
|
+
bodyKey: "maskingPolicyReferentialRelationCollection",
|
|
13627
|
+
bodyModel: model.MaskingPolicyReferentialRelationCollection,
|
|
13628
|
+
type: "model.MaskingPolicyReferentialRelationCollection",
|
|
12987
13629
|
responseHeaders: [
|
|
12988
13630
|
{
|
|
12989
13631
|
value: response.headers.get("opc-request-id"),
|
|
@@ -13273,6 +13915,85 @@ class DataSafeClient {
|
|
|
13273
13915
|
listOnPremConnectorsResponseIterator(request) {
|
|
13274
13916
|
return oci_common_1.paginateResponses(request, req => this.listOnPremConnectors(req));
|
|
13275
13917
|
}
|
|
13918
|
+
/**
|
|
13919
|
+
* Gets a list of count of the users with password expiry dates in next 30 days, between next 30-90 days, and beyond 90 days based on specified user assessment.
|
|
13920
|
+
* It internally uses the aforementioned userAnalytics api.
|
|
13921
|
+
* <p>
|
|
13922
|
+
When you perform the ListPasswordExpiryDateAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the
|
|
13923
|
+
* parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has READ
|
|
13924
|
+
* permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
|
13925
|
+
* root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
|
13926
|
+
* compartmentId, then \"Not Authorized\" is returned.
|
|
13927
|
+
* <p>
|
|
13928
|
+
To use ListPasswordExpiryDateAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
|
|
13929
|
+
* set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
|
|
13930
|
+
*
|
|
13931
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
13932
|
+
* @param ListPasswordExpiryDateAnalyticsRequest
|
|
13933
|
+
* @return ListPasswordExpiryDateAnalyticsResponse
|
|
13934
|
+
* @throws OciError when an error occurs
|
|
13935
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListPasswordExpiryDateAnalytics.ts.html |here} to see how to use ListPasswordExpiryDateAnalytics API.
|
|
13936
|
+
*/
|
|
13937
|
+
listPasswordExpiryDateAnalytics(listPasswordExpiryDateAnalyticsRequest) {
|
|
13938
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13939
|
+
if (this.logger)
|
|
13940
|
+
this.logger.debug("Calling operation DataSafeClient#listPasswordExpiryDateAnalytics.");
|
|
13941
|
+
const operationName = "listPasswordExpiryDateAnalytics";
|
|
13942
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/UserAssessment/ListPasswordExpiryDateAnalytics";
|
|
13943
|
+
const pathParams = {
|
|
13944
|
+
"{userAssessmentId}": listPasswordExpiryDateAnalyticsRequest.userAssessmentId
|
|
13945
|
+
};
|
|
13946
|
+
const queryParams = {
|
|
13947
|
+
"compartmentIdInSubtree": listPasswordExpiryDateAnalyticsRequest.compartmentIdInSubtree,
|
|
13948
|
+
"accessLevel": listPasswordExpiryDateAnalyticsRequest.accessLevel,
|
|
13949
|
+
"userCategory": listPasswordExpiryDateAnalyticsRequest.userCategory,
|
|
13950
|
+
"timePasswordExpiryLessThan": listPasswordExpiryDateAnalyticsRequest.timePasswordExpiryLessThan
|
|
13951
|
+
};
|
|
13952
|
+
let headerParams = {
|
|
13953
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
13954
|
+
"opc-request-id": listPasswordExpiryDateAnalyticsRequest.opcRequestId
|
|
13955
|
+
};
|
|
13956
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
13957
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPasswordExpiryDateAnalyticsRequest.retryConfiguration, specRetryConfiguration);
|
|
13958
|
+
if (this.logger)
|
|
13959
|
+
retrier.logger = this.logger;
|
|
13960
|
+
const request = yield oci_common_2.composeRequest({
|
|
13961
|
+
baseEndpoint: this._endpoint,
|
|
13962
|
+
defaultHeaders: this._defaultHeaders,
|
|
13963
|
+
path: "/userAssessments/{userAssessmentId}/passwordExpiryDateAnalytics",
|
|
13964
|
+
method: "GET",
|
|
13965
|
+
pathParams: pathParams,
|
|
13966
|
+
headerParams: headerParams,
|
|
13967
|
+
queryParams: queryParams
|
|
13968
|
+
});
|
|
13969
|
+
try {
|
|
13970
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
13971
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
13972
|
+
responseObject: {},
|
|
13973
|
+
body: yield response.json(),
|
|
13974
|
+
bodyKey: "items",
|
|
13975
|
+
bodyModel: model.UserAggregation,
|
|
13976
|
+
type: "Array<model.UserAggregation>",
|
|
13977
|
+
responseHeaders: [
|
|
13978
|
+
{
|
|
13979
|
+
value: response.headers.get("opc-request-id"),
|
|
13980
|
+
key: "opcRequestId",
|
|
13981
|
+
dataType: "string"
|
|
13982
|
+
},
|
|
13983
|
+
{
|
|
13984
|
+
value: response.headers.get("opc-next-page"),
|
|
13985
|
+
key: "opcNextPage",
|
|
13986
|
+
dataType: "string"
|
|
13987
|
+
}
|
|
13988
|
+
]
|
|
13989
|
+
});
|
|
13990
|
+
return sdkResponse;
|
|
13991
|
+
}
|
|
13992
|
+
catch (err) {
|
|
13993
|
+
throw err;
|
|
13994
|
+
}
|
|
13995
|
+
});
|
|
13996
|
+
}
|
|
13276
13997
|
/**
|
|
13277
13998
|
* Lists all the peer target databases under the primary target database identified by the OCID passed as path parameter.
|
|
13278
13999
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
@@ -13629,6 +14350,85 @@ class DataSafeClient {
|
|
|
13629
14350
|
listProfileSummariesResponseIterator(request) {
|
|
13630
14351
|
return oci_common_1.paginateResponses(request, req => this.listProfileSummaries(req));
|
|
13631
14352
|
}
|
|
14353
|
+
/**
|
|
14354
|
+
* Gets a list of referential relations present in the specified sensitive data model based on the specified query parameters.
|
|
14355
|
+
*
|
|
14356
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
14357
|
+
* @param ListReferentialRelationsRequest
|
|
14358
|
+
* @return ListReferentialRelationsResponse
|
|
14359
|
+
* @throws OciError when an error occurs
|
|
14360
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListReferentialRelations.ts.html |here} to see how to use ListReferentialRelations API.
|
|
14361
|
+
*/
|
|
14362
|
+
listReferentialRelations(listReferentialRelationsRequest) {
|
|
14363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14364
|
+
if (this.logger)
|
|
14365
|
+
this.logger.debug("Calling operation DataSafeClient#listReferentialRelations.");
|
|
14366
|
+
const operationName = "listReferentialRelations";
|
|
14367
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/ReferentialRelation/ListReferentialRelations";
|
|
14368
|
+
const pathParams = {
|
|
14369
|
+
"{sensitiveDataModelId}": listReferentialRelationsRequest.sensitiveDataModelId
|
|
14370
|
+
};
|
|
14371
|
+
const queryParams = {
|
|
14372
|
+
"schemaName": listReferentialRelationsRequest.schemaName,
|
|
14373
|
+
"objectName": listReferentialRelationsRequest.objectName,
|
|
14374
|
+
"columnName": listReferentialRelationsRequest.columnName,
|
|
14375
|
+
"isSensitive": listReferentialRelationsRequest.isSensitive,
|
|
14376
|
+
"relationType": listReferentialRelationsRequest.relationType,
|
|
14377
|
+
"limit": listReferentialRelationsRequest.limit,
|
|
14378
|
+
"page": listReferentialRelationsRequest.page,
|
|
14379
|
+
"sortOrder": listReferentialRelationsRequest.sortOrder,
|
|
14380
|
+
"sortBy": listReferentialRelationsRequest.sortBy
|
|
14381
|
+
};
|
|
14382
|
+
let headerParams = {
|
|
14383
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
14384
|
+
"opc-request-id": listReferentialRelationsRequest.opcRequestId
|
|
14385
|
+
};
|
|
14386
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
14387
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listReferentialRelationsRequest.retryConfiguration, specRetryConfiguration);
|
|
14388
|
+
if (this.logger)
|
|
14389
|
+
retrier.logger = this.logger;
|
|
14390
|
+
const request = yield oci_common_2.composeRequest({
|
|
14391
|
+
baseEndpoint: this._endpoint,
|
|
14392
|
+
defaultHeaders: this._defaultHeaders,
|
|
14393
|
+
path: "/sensitiveDataModels/{sensitiveDataModelId}/referentialRelations",
|
|
14394
|
+
method: "GET",
|
|
14395
|
+
pathParams: pathParams,
|
|
14396
|
+
headerParams: headerParams,
|
|
14397
|
+
queryParams: queryParams
|
|
14398
|
+
});
|
|
14399
|
+
try {
|
|
14400
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
14401
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
14402
|
+
responseObject: {},
|
|
14403
|
+
body: yield response.json(),
|
|
14404
|
+
bodyKey: "referentialRelationCollection",
|
|
14405
|
+
bodyModel: model.ReferentialRelationCollection,
|
|
14406
|
+
type: "model.ReferentialRelationCollection",
|
|
14407
|
+
responseHeaders: [
|
|
14408
|
+
{
|
|
14409
|
+
value: response.headers.get("opc-request-id"),
|
|
14410
|
+
key: "opcRequestId",
|
|
14411
|
+
dataType: "string"
|
|
14412
|
+
},
|
|
14413
|
+
{
|
|
14414
|
+
value: response.headers.get("opc-next-page"),
|
|
14415
|
+
key: "opcNextPage",
|
|
14416
|
+
dataType: "string"
|
|
14417
|
+
},
|
|
14418
|
+
{
|
|
14419
|
+
value: response.headers.get("opc-prev-page"),
|
|
14420
|
+
key: "opcPrevPage",
|
|
14421
|
+
dataType: "string"
|
|
14422
|
+
}
|
|
14423
|
+
]
|
|
14424
|
+
});
|
|
14425
|
+
return sdkResponse;
|
|
14426
|
+
}
|
|
14427
|
+
catch (err) {
|
|
14428
|
+
throw err;
|
|
14429
|
+
}
|
|
14430
|
+
});
|
|
14431
|
+
}
|
|
13632
14432
|
/**
|
|
13633
14433
|
* Gets a list of report definitions.
|
|
13634
14434
|
* The ListReportDefinitions operation returns only the report definitions in the specified `compartmentId`.
|
|
@@ -15299,6 +16099,87 @@ class DataSafeClient {
|
|
|
15299
16099
|
}
|
|
15300
16100
|
});
|
|
15301
16101
|
}
|
|
16102
|
+
/**
|
|
16103
|
+
* Retrieves a list of all sensitive types export in Data Safe based on the specified query parameters.
|
|
16104
|
+
* The ListSensitiveTypesExports operation returns only the sensitive types export in the specified `compartmentId`.
|
|
16105
|
+
*
|
|
16106
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
16107
|
+
* @param ListSensitiveTypesExportsRequest
|
|
16108
|
+
* @return ListSensitiveTypesExportsResponse
|
|
16109
|
+
* @throws OciError when an error occurs
|
|
16110
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/ListSensitiveTypesExports.ts.html |here} to see how to use ListSensitiveTypesExports API.
|
|
16111
|
+
*/
|
|
16112
|
+
listSensitiveTypesExports(listSensitiveTypesExportsRequest) {
|
|
16113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16114
|
+
if (this.logger)
|
|
16115
|
+
this.logger.debug("Calling operation DataSafeClient#listSensitiveTypesExports.");
|
|
16116
|
+
const operationName = "listSensitiveTypesExports";
|
|
16117
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExportCollection/ListSensitiveTypesExports";
|
|
16118
|
+
const pathParams = {};
|
|
16119
|
+
const queryParams = {
|
|
16120
|
+
"compartmentId": listSensitiveTypesExportsRequest.compartmentId,
|
|
16121
|
+
"compartmentIdInSubtree": listSensitiveTypesExportsRequest.compartmentIdInSubtree,
|
|
16122
|
+
"accessLevel": listSensitiveTypesExportsRequest.accessLevel,
|
|
16123
|
+
"displayName": listSensitiveTypesExportsRequest.displayName,
|
|
16124
|
+
"limit": listSensitiveTypesExportsRequest.limit,
|
|
16125
|
+
"page": listSensitiveTypesExportsRequest.page,
|
|
16126
|
+
"lifecycleState": listSensitiveTypesExportsRequest.lifecycleState,
|
|
16127
|
+
"sensitiveTypesExportId": listSensitiveTypesExportsRequest.sensitiveTypesExportId,
|
|
16128
|
+
"timeCreatedGreaterThanOrEqualTo": listSensitiveTypesExportsRequest.timeCreatedGreaterThanOrEqualTo,
|
|
16129
|
+
"timeCreatedLessThan": listSensitiveTypesExportsRequest.timeCreatedLessThan,
|
|
16130
|
+
"sortOrder": listSensitiveTypesExportsRequest.sortOrder,
|
|
16131
|
+
"sortBy": listSensitiveTypesExportsRequest.sortBy
|
|
16132
|
+
};
|
|
16133
|
+
let headerParams = {
|
|
16134
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16135
|
+
"opc-request-id": listSensitiveTypesExportsRequest.opcRequestId
|
|
16136
|
+
};
|
|
16137
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
16138
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSensitiveTypesExportsRequest.retryConfiguration, specRetryConfiguration);
|
|
16139
|
+
if (this.logger)
|
|
16140
|
+
retrier.logger = this.logger;
|
|
16141
|
+
const request = yield oci_common_2.composeRequest({
|
|
16142
|
+
baseEndpoint: this._endpoint,
|
|
16143
|
+
defaultHeaders: this._defaultHeaders,
|
|
16144
|
+
path: "/sensitiveTypesExports",
|
|
16145
|
+
method: "GET",
|
|
16146
|
+
pathParams: pathParams,
|
|
16147
|
+
headerParams: headerParams,
|
|
16148
|
+
queryParams: queryParams
|
|
16149
|
+
});
|
|
16150
|
+
try {
|
|
16151
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16152
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
16153
|
+
responseObject: {},
|
|
16154
|
+
body: yield response.json(),
|
|
16155
|
+
bodyKey: "sensitiveTypesExportCollection",
|
|
16156
|
+
bodyModel: model.SensitiveTypesExportCollection,
|
|
16157
|
+
type: "model.SensitiveTypesExportCollection",
|
|
16158
|
+
responseHeaders: [
|
|
16159
|
+
{
|
|
16160
|
+
value: response.headers.get("opc-request-id"),
|
|
16161
|
+
key: "opcRequestId",
|
|
16162
|
+
dataType: "string"
|
|
16163
|
+
},
|
|
16164
|
+
{
|
|
16165
|
+
value: response.headers.get("opc-next-page"),
|
|
16166
|
+
key: "opcNextPage",
|
|
16167
|
+
dataType: "string"
|
|
16168
|
+
},
|
|
16169
|
+
{
|
|
16170
|
+
value: response.headers.get("opc-prev-page"),
|
|
16171
|
+
key: "opcPrevPage",
|
|
16172
|
+
dataType: "string"
|
|
16173
|
+
}
|
|
16174
|
+
]
|
|
16175
|
+
});
|
|
16176
|
+
return sdkResponse;
|
|
16177
|
+
}
|
|
16178
|
+
catch (err) {
|
|
16179
|
+
throw err;
|
|
16180
|
+
}
|
|
16181
|
+
});
|
|
16182
|
+
}
|
|
15302
16183
|
/**
|
|
15303
16184
|
* Retrieves a list of all SQL collection analytics in Data Safe.
|
|
15304
16185
|
* <p>
|
|
@@ -16485,7 +17366,7 @@ class DataSafeClient {
|
|
|
16485
17366
|
* the critical category. This data is especially useful content for dashboards or to support analytics.
|
|
16486
17367
|
* <p>
|
|
16487
17368
|
When you perform the ListUserAnalytics operation, if the parameter compartmentIdInSubtree is set to \"true,\" and if the
|
|
16488
|
-
* parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has
|
|
17369
|
+
* parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has READ
|
|
16489
17370
|
* permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
|
|
16490
17371
|
* root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
|
|
16491
17372
|
* compartmentId, then \"Not Authorized\" is returned.
|
|
@@ -16527,6 +17408,8 @@ class DataSafeClient {
|
|
|
16527
17408
|
"timeUserCreatedLessThan": listUserAnalyticsRequest.timeUserCreatedLessThan,
|
|
16528
17409
|
"timePasswordLastChangedGreaterThanOrEqualTo": listUserAnalyticsRequest.timePasswordLastChangedGreaterThanOrEqualTo,
|
|
16529
17410
|
"timePasswordLastChangedLessThan": listUserAnalyticsRequest.timePasswordLastChangedLessThan,
|
|
17411
|
+
"timePasswordExpiryGreaterThanOrEqualTo": listUserAnalyticsRequest.timePasswordExpiryGreaterThanOrEqualTo,
|
|
17412
|
+
"timePasswordExpiryLessThan": listUserAnalyticsRequest.timePasswordExpiryLessThan,
|
|
16530
17413
|
"page": listUserAnalyticsRequest.page,
|
|
16531
17414
|
"sortOrder": listUserAnalyticsRequest.sortOrder,
|
|
16532
17415
|
"sortBy": listUserAnalyticsRequest.sortBy
|
|
@@ -16795,6 +17678,8 @@ class DataSafeClient {
|
|
|
16795
17678
|
"timeUserCreatedLessThan": listUsersRequest.timeUserCreatedLessThan,
|
|
16796
17679
|
"timePasswordLastChangedGreaterThanOrEqualTo": listUsersRequest.timePasswordLastChangedGreaterThanOrEqualTo,
|
|
16797
17680
|
"timePasswordLastChangedLessThan": listUsersRequest.timePasswordLastChangedLessThan,
|
|
17681
|
+
"timePasswordExpiryGreaterThanOrEqualTo": listUsersRequest.timePasswordExpiryGreaterThanOrEqualTo,
|
|
17682
|
+
"timePasswordExpiryLessThan": listUsersRequest.timePasswordExpiryLessThan,
|
|
16798
17683
|
"page": listUsersRequest.page,
|
|
16799
17684
|
"sortOrder": listUsersRequest.sortOrder,
|
|
16800
17685
|
"sortBy": listUsersRequest.sortBy,
|
|
@@ -20625,6 +21510,67 @@ class DataSafeClient {
|
|
|
20625
21510
|
}
|
|
20626
21511
|
});
|
|
20627
21512
|
}
|
|
21513
|
+
/**
|
|
21514
|
+
* Updates one or more attributes of the specified sensitive types export.
|
|
21515
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
21516
|
+
* @param UpdateSensitiveTypesExportRequest
|
|
21517
|
+
* @return UpdateSensitiveTypesExportResponse
|
|
21518
|
+
* @throws OciError when an error occurs
|
|
21519
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/datasafe/UpdateSensitiveTypesExport.ts.html |here} to see how to use UpdateSensitiveTypesExport API.
|
|
21520
|
+
*/
|
|
21521
|
+
updateSensitiveTypesExport(updateSensitiveTypesExportRequest) {
|
|
21522
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21523
|
+
if (this.logger)
|
|
21524
|
+
this.logger.debug("Calling operation DataSafeClient#updateSensitiveTypesExport.");
|
|
21525
|
+
const operationName = "updateSensitiveTypesExport";
|
|
21526
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/SensitiveTypesExport/UpdateSensitiveTypesExport";
|
|
21527
|
+
const pathParams = {
|
|
21528
|
+
"{sensitiveTypesExportId}": updateSensitiveTypesExportRequest.sensitiveTypesExportId
|
|
21529
|
+
};
|
|
21530
|
+
const queryParams = {};
|
|
21531
|
+
let headerParams = {
|
|
21532
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
21533
|
+
"if-match": updateSensitiveTypesExportRequest.ifMatch,
|
|
21534
|
+
"opc-request-id": updateSensitiveTypesExportRequest.opcRequestId
|
|
21535
|
+
};
|
|
21536
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
21537
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSensitiveTypesExportRequest.retryConfiguration, specRetryConfiguration);
|
|
21538
|
+
if (this.logger)
|
|
21539
|
+
retrier.logger = this.logger;
|
|
21540
|
+
const request = yield oci_common_2.composeRequest({
|
|
21541
|
+
baseEndpoint: this._endpoint,
|
|
21542
|
+
defaultHeaders: this._defaultHeaders,
|
|
21543
|
+
path: "/sensitiveTypesExports/{sensitiveTypesExportId}",
|
|
21544
|
+
method: "PUT",
|
|
21545
|
+
bodyContent: common.ObjectSerializer.serialize(updateSensitiveTypesExportRequest.updateSensitiveTypesExportDetails, "UpdateSensitiveTypesExportDetails", model.UpdateSensitiveTypesExportDetails.getJsonObj),
|
|
21546
|
+
pathParams: pathParams,
|
|
21547
|
+
headerParams: headerParams,
|
|
21548
|
+
queryParams: queryParams
|
|
21549
|
+
});
|
|
21550
|
+
try {
|
|
21551
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
21552
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
21553
|
+
responseObject: {},
|
|
21554
|
+
responseHeaders: [
|
|
21555
|
+
{
|
|
21556
|
+
value: response.headers.get("opc-work-request-id"),
|
|
21557
|
+
key: "opcWorkRequestId",
|
|
21558
|
+
dataType: "string"
|
|
21559
|
+
},
|
|
21560
|
+
{
|
|
21561
|
+
value: response.headers.get("opc-request-id"),
|
|
21562
|
+
key: "opcRequestId",
|
|
21563
|
+
dataType: "string"
|
|
21564
|
+
}
|
|
21565
|
+
]
|
|
21566
|
+
});
|
|
21567
|
+
return sdkResponse;
|
|
21568
|
+
}
|
|
21569
|
+
catch (err) {
|
|
21570
|
+
throw err;
|
|
21571
|
+
}
|
|
21572
|
+
});
|
|
21573
|
+
}
|
|
20628
21574
|
/**
|
|
20629
21575
|
* Updates the SQL collection.
|
|
20630
21576
|
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|