oci-identity 2.6.0 → 2.9.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 +698 -192
- package/lib/client.js +1765 -283
- package/lib/client.js.map +1 -1
- package/lib/identity-waiter.d.ts +15 -0
- package/lib/identity-waiter.js +23 -0
- package/lib/identity-waiter.js.map +1 -1
- package/lib/model/allowed-domain-license-type-summary.d.ts +40 -0
- package/lib/model/allowed-domain-license-type-summary.js +29 -0
- package/lib/model/allowed-domain-license-type-summary.js.map +1 -0
- package/lib/model/bulk-edit-resource.d.ts +1 -1
- package/lib/model/change-domain-compartment-details.d.ts +24 -0
- package/lib/model/change-domain-compartment-details.js +29 -0
- package/lib/model/change-domain-compartment-details.js.map +1 -0
- package/lib/model/change-domain-license-type-details.d.ts +25 -0
- package/lib/model/change-domain-license-type-details.js +29 -0
- package/lib/model/change-domain-license-type-details.js.map +1 -0
- package/lib/model/change-tas-domain-license-type-details.d.ts +25 -0
- package/lib/model/change-tas-domain-license-type-details.js +29 -0
- package/lib/model/change-tas-domain-license-type-details.js.map +1 -0
- package/lib/model/create-domain-details.d.ts +99 -0
- package/lib/model/create-domain-details.js +29 -0
- package/lib/model/create-domain-details.js.map +1 -0
- package/lib/model/domain-replication-states.d.ts +41 -0
- package/lib/model/domain-replication-states.js +37 -0
- package/lib/model/domain-replication-states.js.map +1 -0
- package/lib/model/domain-replication.d.ts +34 -0
- package/lib/model/domain-replication.js +61 -0
- package/lib/model/domain-replication.js.map +1 -0
- package/lib/model/domain-summary.d.ts +136 -0
- package/lib/model/domain-summary.js +94 -0
- package/lib/model/domain-summary.js.map +1 -0
- package/lib/model/domain.d.ts +140 -0
- package/lib/model/domain.js +94 -0
- package/lib/model/domain.js.map +1 -0
- package/lib/model/enable-replication-to-region-details.d.ts +30 -0
- package/lib/model/enable-replication-to-region-details.js +29 -0
- package/lib/model/enable-replication-to-region-details.js.map +1 -0
- package/lib/model/iam-work-request-error-summary.d.ts +33 -0
- package/lib/model/iam-work-request-error-summary.js +29 -0
- package/lib/model/iam-work-request-error-summary.js.map +1 -0
- package/lib/model/iam-work-request-log-summary.d.ts +32 -0
- package/lib/model/iam-work-request-log-summary.js +29 -0
- package/lib/model/iam-work-request-log-summary.js.map +1 -0
- package/lib/model/iam-work-request-resource.d.ts +53 -0
- package/lib/model/iam-work-request-resource.js +42 -0
- package/lib/model/iam-work-request-resource.js.map +1 -0
- package/lib/model/iam-work-request-summary.d.ts +94 -0
- package/lib/model/iam-work-request-summary.js +91 -0
- package/lib/model/iam-work-request-summary.js.map +1 -0
- package/lib/model/iam-work-request.d.ts +93 -0
- package/lib/model/iam-work-request.js +91 -0
- package/lib/model/iam-work-request.js.map +1 -0
- package/lib/model/import-standard-tags-details.d.ts +28 -0
- package/lib/model/import-standard-tags-details.js +29 -0
- package/lib/model/import-standard-tags-details.js.map +1 -0
- package/lib/model/index.d.ts +42 -0
- package/lib/model/index.js +45 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/replicated-region-details.d.ts +49 -0
- package/lib/model/replicated-region-details.js +42 -0
- package/lib/model/replicated-region-details.js.map +1 -0
- package/lib/model/standard-tag-definition-template.d.ts +64 -0
- package/lib/model/standard-tag-definition-template.js +50 -0
- package/lib/model/standard-tag-definition-template.js.map +1 -0
- package/lib/model/standard-tag-namespace-template-summary.d.ts +33 -0
- package/lib/model/standard-tag-namespace-template-summary.js +29 -0
- package/lib/model/standard-tag-namespace-template-summary.js.map +1 -0
- package/lib/model/standard-tag-namespace-template.d.ts +38 -0
- package/lib/model/standard-tag-namespace-template.js +61 -0
- package/lib/model/standard-tag-namespace-template.js.map +1 -0
- package/lib/model/tagging-work-request-summary.d.ts +1 -0
- package/lib/model/tagging-work-request-summary.js +1 -0
- package/lib/model/tagging-work-request-summary.js.map +1 -1
- package/lib/model/tagging-work-request.d.ts +1 -0
- package/lib/model/tagging-work-request.js +1 -0
- package/lib/model/tagging-work-request.js.map +1 -1
- package/lib/model/update-domain-details.d.ts +54 -0
- package/lib/model/update-domain-details.js +29 -0
- package/lib/model/update-domain-details.js.map +1 -0
- package/lib/request/activate-domain-request.d.ts +44 -0
- package/lib/request/activate-domain-request.js +15 -0
- package/lib/request/activate-domain-request.js.map +1 -0
- package/lib/request/activate-mfa-totp-device-request.d.ts +1 -1
- package/lib/request/add-user-to-group-request.d.ts +1 -1
- package/lib/request/assemble-effective-tag-set-request.d.ts +1 -1
- package/lib/request/bulk-delete-resources-request.d.ts +1 -1
- package/lib/request/bulk-delete-tags-request.d.ts +1 -1
- package/lib/request/bulk-edit-tags-request.d.ts +1 -1
- package/lib/request/bulk-move-resources-request.d.ts +1 -1
- package/lib/request/cascade-delete-tag-namespace-request.d.ts +1 -1
- package/lib/request/change-domain-compartment-request.d.ts +49 -0
- package/lib/request/change-domain-compartment-request.js +15 -0
- package/lib/request/change-domain-compartment-request.js.map +1 -0
- package/lib/request/change-domain-license-type-request.d.ts +49 -0
- package/lib/request/change-domain-license-type-request.js +15 -0
- package/lib/request/change-domain-license-type-request.js.map +1 -0
- package/lib/request/change-tag-namespace-compartment-request.d.ts +1 -1
- package/lib/request/create-auth-token-request.d.ts +1 -1
- package/lib/request/create-compartment-request.d.ts +1 -1
- package/lib/request/create-customer-secret-key-request.d.ts +1 -1
- package/lib/request/create-domain-request.d.ts +38 -0
- package/lib/request/create-domain-request.js +15 -0
- package/lib/request/create-domain-request.js.map +1 -0
- package/lib/request/create-dynamic-group-request.d.ts +1 -1
- package/lib/request/create-group-request.d.ts +1 -1
- package/lib/request/create-identity-provider-request.d.ts +1 -1
- package/lib/request/create-idp-group-mapping-request.d.ts +1 -1
- package/lib/request/create-mfa-totp-device-request.d.ts +1 -1
- package/lib/request/create-network-source-request.d.ts +1 -1
- package/lib/request/create-oauth-client-credential-request.d.ts +1 -1
- package/lib/request/create-or-reset-uipassword-request.d.ts +1 -1
- package/lib/request/create-policy-request.d.ts +1 -1
- package/lib/request/create-region-subscription-request.d.ts +1 -1
- package/lib/request/create-smtp-credential-request.d.ts +1 -1
- package/lib/request/create-swift-password-request.d.ts +1 -1
- package/lib/request/create-tag-default-request.d.ts +1 -1
- package/lib/request/create-tag-namespace-request.d.ts +1 -1
- package/lib/request/create-tag-request.d.ts +1 -1
- package/lib/request/create-user-request.d.ts +1 -1
- package/lib/request/deactivate-domain-request.d.ts +44 -0
- package/lib/request/deactivate-domain-request.js +15 -0
- package/lib/request/deactivate-domain-request.js.map +1 -0
- package/lib/request/delete-api-key-request.d.ts +1 -1
- package/lib/request/delete-auth-token-request.d.ts +1 -1
- package/lib/request/delete-compartment-request.d.ts +1 -1
- package/lib/request/delete-customer-secret-key-request.d.ts +1 -1
- package/lib/request/delete-domain-request.d.ts +35 -0
- package/lib/request/delete-domain-request.js +15 -0
- package/lib/request/delete-domain-request.js.map +1 -0
- package/lib/request/delete-dynamic-group-request.d.ts +1 -1
- package/lib/request/delete-group-request.d.ts +1 -1
- package/lib/request/delete-identity-provider-request.d.ts +1 -1
- package/lib/request/delete-idp-group-mapping-request.d.ts +1 -1
- package/lib/request/delete-mfa-totp-device-request.d.ts +1 -1
- package/lib/request/delete-network-source-request.d.ts +1 -1
- package/lib/request/delete-oauth-client-credential-request.d.ts +1 -1
- package/lib/request/delete-policy-request.d.ts +1 -1
- package/lib/request/delete-smtp-credential-request.d.ts +1 -1
- package/lib/request/delete-swift-password-request.d.ts +1 -1
- package/lib/request/delete-tag-default-request.d.ts +1 -1
- package/lib/request/delete-tag-namespace-request.d.ts +1 -1
- package/lib/request/delete-tag-request.d.ts +1 -1
- package/lib/request/delete-user-request.d.ts +1 -1
- package/lib/request/enable-replication-to-region-request.d.ts +49 -0
- package/lib/request/enable-replication-to-region-request.js +15 -0
- package/lib/request/enable-replication-to-region-request.js.map +1 -0
- package/lib/request/generate-totp-seed-request.d.ts +1 -1
- package/lib/request/get-authentication-policy-request.d.ts +1 -1
- package/lib/request/get-compartment-request.d.ts +1 -1
- package/lib/request/get-domain-request.d.ts +28 -0
- package/lib/request/get-domain-request.js +15 -0
- package/lib/request/get-domain-request.js.map +1 -0
- package/lib/request/get-dynamic-group-request.d.ts +1 -1
- package/lib/request/get-group-request.d.ts +1 -1
- package/lib/request/get-iam-work-request-request.d.ts +28 -0
- package/lib/request/get-iam-work-request-request.js +15 -0
- package/lib/request/get-iam-work-request-request.js.map +1 -0
- package/lib/request/get-identity-provider-request.d.ts +1 -1
- package/lib/request/get-idp-group-mapping-request.d.ts +1 -1
- package/lib/request/get-mfa-totp-device-request.d.ts +1 -1
- package/lib/request/get-network-source-request.d.ts +1 -1
- package/lib/request/get-policy-request.d.ts +1 -1
- package/lib/request/get-standard-tag-template-request.d.ts +28 -0
- package/lib/request/get-standard-tag-template-request.js +15 -0
- package/lib/request/get-standard-tag-template-request.js.map +1 -0
- package/lib/request/get-tag-default-request.d.ts +1 -1
- package/lib/request/get-tag-namespace-request.d.ts +1 -1
- package/lib/request/get-tag-request.d.ts +1 -1
- package/lib/request/get-tagging-work-request-request.d.ts +1 -1
- package/lib/request/get-tenancy-request.d.ts +1 -1
- package/lib/request/get-user-group-membership-request.d.ts +1 -1
- package/lib/request/get-user-request.d.ts +1 -1
- package/lib/request/get-user-uipassword-information-request.d.ts +1 -1
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/import-standard-tags-request.d.ts +38 -0
- package/lib/request/import-standard-tags-request.js +15 -0
- package/lib/request/import-standard-tags-request.js.map +1 -0
- package/lib/request/index.d.ts +36 -0
- package/lib/request/index.js +7 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-allowed-domain-license-types-request.d.ts +28 -0
- package/lib/request/list-allowed-domain-license-types-request.js +15 -0
- package/lib/request/list-allowed-domain-license-types-request.js.map +1 -0
- package/lib/request/list-api-keys-request.d.ts +1 -1
- package/lib/request/list-auth-tokens-request.d.ts +1 -1
- package/lib/request/list-availability-domains-request.d.ts +1 -1
- package/lib/request/list-bulk-action-resource-types-request.d.ts +1 -1
- package/lib/request/list-bulk-edit-tags-resource-types-request.d.ts +1 -1
- package/lib/request/list-compartments-request.d.ts +1 -1
- package/lib/request/list-cost-tracking-tags-request.d.ts +1 -1
- package/lib/request/list-customer-secret-keys-request.d.ts +1 -1
- package/lib/request/list-domains-request.d.ts +101 -0
- package/lib/request/list-domains-request.js +29 -0
- package/lib/request/list-domains-request.js.map +1 -0
- package/lib/request/list-dynamic-groups-request.d.ts +1 -1
- package/lib/request/list-fault-domains-request.d.ts +1 -1
- package/lib/request/list-groups-request.d.ts +1 -1
- package/lib/request/list-iam-work-request-errors-request.d.ts +50 -0
- package/lib/request/list-iam-work-request-errors-request.js +24 -0
- package/lib/request/list-iam-work-request-errors-request.js.map +1 -0
- package/lib/request/list-iam-work-request-logs-request.d.ts +50 -0
- package/lib/request/list-iam-work-request-logs-request.js +24 -0
- package/lib/request/list-iam-work-request-logs-request.js.map +1 -0
- package/lib/request/list-iam-work-requests-request.d.ts +43 -0
- package/lib/request/list-iam-work-requests-request.js +15 -0
- package/lib/request/list-iam-work-requests-request.js.map +1 -0
- package/lib/request/list-identity-provider-groups-request.d.ts +1 -1
- package/lib/request/list-identity-providers-request.d.ts +1 -1
- package/lib/request/list-idp-group-mappings-request.d.ts +1 -1
- package/lib/request/list-mfa-totp-devices-request.d.ts +1 -1
- package/lib/request/list-network-sources-request.d.ts +1 -1
- package/lib/request/list-oauth-client-credentials-request.d.ts +1 -1
- package/lib/request/list-policies-request.d.ts +1 -1
- package/lib/request/list-region-subscriptions-request.d.ts +1 -1
- package/lib/request/list-regions-request.d.ts +1 -1
- package/lib/request/list-smtp-credentials-request.d.ts +1 -1
- package/lib/request/list-standard-tag-namespaces-request.d.ts +33 -0
- package/lib/request/list-standard-tag-namespaces-request.js +15 -0
- package/lib/request/list-standard-tag-namespaces-request.js.map +1 -0
- package/lib/request/list-swift-passwords-request.d.ts +1 -1
- package/lib/request/list-tag-defaults-request.d.ts +1 -1
- package/lib/request/list-tag-namespaces-request.d.ts +1 -1
- package/lib/request/list-tagging-work-request-errors-request.d.ts +1 -1
- package/lib/request/list-tagging-work-request-logs-request.d.ts +1 -1
- package/lib/request/list-tagging-work-requests-request.d.ts +1 -1
- package/lib/request/list-tags-request.d.ts +1 -1
- package/lib/request/list-user-group-memberships-request.d.ts +1 -1
- package/lib/request/list-users-request.d.ts +1 -1
- package/lib/request/list-work-requests-request.d.ts +1 -1
- package/lib/request/move-compartment-request.d.ts +1 -1
- package/lib/request/recover-compartment-request.d.ts +1 -1
- package/lib/request/remove-user-from-group-request.d.ts +1 -1
- package/lib/request/reset-idp-scim-client-request.d.ts +1 -1
- package/lib/request/update-auth-token-request.d.ts +1 -1
- package/lib/request/update-authentication-policy-request.d.ts +1 -1
- package/lib/request/update-compartment-request.d.ts +1 -1
- package/lib/request/update-customer-secret-key-request.d.ts +1 -1
- package/lib/request/update-domain-request.d.ts +40 -0
- package/lib/request/update-domain-request.js +15 -0
- package/lib/request/update-domain-request.js.map +1 -0
- package/lib/request/update-dynamic-group-request.d.ts +1 -1
- package/lib/request/update-group-request.d.ts +1 -1
- package/lib/request/update-identity-provider-request.d.ts +1 -1
- package/lib/request/update-idp-group-mapping-request.d.ts +1 -1
- package/lib/request/update-network-source-request.d.ts +1 -1
- package/lib/request/update-oauth-client-credential-request.d.ts +1 -1
- package/lib/request/update-policy-request.d.ts +1 -1
- package/lib/request/update-smtp-credential-request.d.ts +1 -1
- package/lib/request/update-swift-password-request.d.ts +1 -1
- package/lib/request/update-tag-default-request.d.ts +1 -1
- package/lib/request/update-tag-namespace-request.d.ts +1 -1
- package/lib/request/update-tag-request.d.ts +1 -1
- package/lib/request/update-user-capabilities-request.d.ts +1 -1
- package/lib/request/update-user-request.d.ts +1 -1
- package/lib/request/update-user-state-request.d.ts +1 -1
- package/lib/request/upload-api-key-request.d.ts +1 -1
- package/lib/response/activate-domain-response.d.ts +25 -0
- package/lib/response/activate-domain-response.js +15 -0
- package/lib/response/activate-domain-response.js.map +1 -0
- package/lib/response/change-domain-compartment-response.d.ts +25 -0
- package/lib/response/change-domain-compartment-response.js +15 -0
- package/lib/response/change-domain-compartment-response.js.map +1 -0
- package/lib/response/change-domain-license-type-response.d.ts +25 -0
- package/lib/response/change-domain-license-type-response.js +15 -0
- package/lib/response/change-domain-license-type-response.js.map +1 -0
- package/lib/response/create-domain-response.d.ts +25 -0
- package/lib/response/create-domain-response.js +15 -0
- package/lib/response/create-domain-response.js.map +1 -0
- package/lib/response/deactivate-domain-response.d.ts +25 -0
- package/lib/response/deactivate-domain-response.js +15 -0
- package/lib/response/deactivate-domain-response.js.map +1 -0
- package/lib/response/delete-domain-response.d.ts +25 -0
- package/lib/response/delete-domain-response.js +15 -0
- package/lib/response/delete-domain-response.js.map +1 -0
- package/lib/response/enable-replication-to-region-response.d.ts +25 -0
- package/lib/response/enable-replication-to-region-response.js +15 -0
- package/lib/response/enable-replication-to-region-response.js.map +1 -0
- package/lib/response/get-domain-response.d.ts +29 -0
- package/lib/response/get-domain-response.js +15 -0
- package/lib/response/get-domain-response.js.map +1 -0
- package/lib/response/get-iam-work-request-response.d.ts +25 -0
- package/lib/response/get-iam-work-request-response.js +15 -0
- package/lib/response/get-iam-work-request-response.js.map +1 -0
- package/lib/response/get-standard-tag-template-response.d.ts +25 -0
- package/lib/response/get-standard-tag-template-response.js +15 -0
- package/lib/response/get-standard-tag-template-response.js.map +1 -0
- package/lib/response/import-standard-tags-response.d.ts +25 -0
- package/lib/response/import-standard-tags-response.js +15 -0
- package/lib/response/import-standard-tags-response.js.map +1 -0
- package/lib/response/index.d.ts +36 -0
- package/lib/response/list-allowed-domain-license-types-response.d.ts +32 -0
- package/lib/response/list-allowed-domain-license-types-response.js +15 -0
- package/lib/response/list-allowed-domain-license-types-response.js.map +1 -0
- package/lib/response/list-domains-response.d.ts +32 -0
- package/lib/response/list-domains-response.js +15 -0
- package/lib/response/list-domains-response.js.map +1 -0
- package/lib/response/list-iam-work-request-errors-response.d.ts +32 -0
- package/lib/response/list-iam-work-request-errors-response.js +15 -0
- package/lib/response/list-iam-work-request-errors-response.js.map +1 -0
- package/lib/response/list-iam-work-request-logs-response.d.ts +37 -0
- package/lib/response/list-iam-work-request-logs-response.js +15 -0
- package/lib/response/list-iam-work-request-logs-response.js.map +1 -0
- package/lib/response/list-iam-work-requests-response.d.ts +32 -0
- package/lib/response/list-iam-work-requests-response.js +15 -0
- package/lib/response/list-iam-work-requests-response.js.map +1 -0
- package/lib/response/list-standard-tag-namespaces-response.d.ts +32 -0
- package/lib/response/list-standard-tag-namespaces-response.js +15 -0
- package/lib/response/list-standard-tag-namespaces-response.js.map +1 -0
- package/lib/response/update-domain-response.d.ts +25 -0
- package/lib/response/update-domain-response.js +15 -0
- package/lib/response/update-domain-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.js
CHANGED
|
@@ -53,7 +53,7 @@ var IdentityApiKeys;
|
|
|
53
53
|
(function (IdentityApiKeys) {
|
|
54
54
|
})(IdentityApiKeys = exports.IdentityApiKeys || (exports.IdentityApiKeys = {}));
|
|
55
55
|
/**
|
|
56
|
-
* This service client
|
|
56
|
+
* This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user.
|
|
57
57
|
*/
|
|
58
58
|
class IdentityClient {
|
|
59
59
|
constructor(params, clientConfiguration) {
|
|
@@ -70,7 +70,7 @@ class IdentityClient {
|
|
|
70
70
|
: null;
|
|
71
71
|
}
|
|
72
72
|
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
-
const specCircuitBreakerEnabled =
|
|
73
|
+
const specCircuitBreakerEnabled = true;
|
|
74
74
|
if (!this._circuitBreaker &&
|
|
75
75
|
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
76
|
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
@@ -145,6 +145,82 @@ class IdentityClient {
|
|
|
145
145
|
}
|
|
146
146
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
147
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* If the domain's {@code lifecycleState} is INACTIVE,
|
|
150
|
+
* 1. Set the {@code lifecycleDetails} to ACTIVATING and asynchronously starts enabling
|
|
151
|
+
* the domain and return 202 ACCEPTED.
|
|
152
|
+
* 1.1 Sets the domain status to ENABLED and set specified domain's
|
|
153
|
+
* {@code lifecycleState} to ACTIVE and set the {@code lifecycleDetails} to null.
|
|
154
|
+
* <p>
|
|
155
|
+
To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
156
|
+
* the async operation's status. Deactivate a domain can be done using HTTP POST
|
|
157
|
+
* /domains/{domainId}/actions/deactivate.
|
|
158
|
+
* <p>
|
|
159
|
+
- If the domain's {@code lifecycleState} is ACTIVE, returns 202 ACCEPTED with no action
|
|
160
|
+
* taken on service side.
|
|
161
|
+
* - If domain is of {@code type} DEFAULT or DEFAULT_LIGHTWEIGHT or domain's {@code lifecycleState} is not INACTIVE,
|
|
162
|
+
* returns 400 BAD REQUEST.
|
|
163
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
164
|
+
* - If the authenticated user is part of the domain to be activated, returns 400 BAD REQUEST
|
|
165
|
+
* - If error occurs while activating domain, returns 500 INTERNAL SERVER ERROR.
|
|
166
|
+
*
|
|
167
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
168
|
+
* @param ActivateDomainRequest
|
|
169
|
+
* @return ActivateDomainResponse
|
|
170
|
+
* @throws OciError when an error occurs
|
|
171
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ActivateDomain.ts.html |here} to see how to use ActivateDomain API.
|
|
172
|
+
*/
|
|
173
|
+
activateDomain(activateDomainRequest) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
if (this.logger)
|
|
176
|
+
this.logger.debug("Calling operation IdentityClient#activateDomain.");
|
|
177
|
+
const pathParams = {
|
|
178
|
+
"{domainId}": activateDomainRequest.domainId
|
|
179
|
+
};
|
|
180
|
+
const queryParams = {};
|
|
181
|
+
let headerParams = {
|
|
182
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
183
|
+
"opc-request-id": activateDomainRequest.opcRequestId,
|
|
184
|
+
"opc-retry-token": activateDomainRequest.opcRetryToken,
|
|
185
|
+
"if-match": activateDomainRequest.ifMatch
|
|
186
|
+
};
|
|
187
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
188
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
189
|
+
if (this.logger)
|
|
190
|
+
retrier.logger = this.logger;
|
|
191
|
+
const request = yield oci_common_2.composeRequest({
|
|
192
|
+
baseEndpoint: this._endpoint,
|
|
193
|
+
defaultHeaders: this._defaultHeaders,
|
|
194
|
+
path: "/domains/{domainId}/actions/activate",
|
|
195
|
+
method: "POST",
|
|
196
|
+
pathParams: pathParams,
|
|
197
|
+
headerParams: headerParams,
|
|
198
|
+
queryParams: queryParams
|
|
199
|
+
});
|
|
200
|
+
try {
|
|
201
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
202
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
203
|
+
responseObject: {},
|
|
204
|
+
responseHeaders: [
|
|
205
|
+
{
|
|
206
|
+
value: response.headers.get("opc-request-id"),
|
|
207
|
+
key: "opcRequestId",
|
|
208
|
+
dataType: "string"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
value: response.headers.get("opc-work-request-id"),
|
|
212
|
+
key: "opcWorkRequestId",
|
|
213
|
+
dataType: "string"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
});
|
|
217
|
+
return sdkResponse;
|
|
218
|
+
}
|
|
219
|
+
catch (err) {
|
|
220
|
+
throw err;
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
148
224
|
/**
|
|
149
225
|
* Activates the specified MFA TOTP device for the user. Activation requires manual interaction with the Console.
|
|
150
226
|
*
|
|
@@ -152,7 +228,7 @@ class IdentityClient {
|
|
|
152
228
|
* @param ActivateMfaTotpDeviceRequest
|
|
153
229
|
* @return ActivateMfaTotpDeviceResponse
|
|
154
230
|
* @throws OciError when an error occurs
|
|
155
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
231
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ActivateMfaTotpDevice.ts.html |here} to see how to use ActivateMfaTotpDevice API.
|
|
156
232
|
*/
|
|
157
233
|
activateMfaTotpDevice(activateMfaTotpDeviceRequest) {
|
|
158
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -220,7 +296,7 @@ class IdentityClient {
|
|
|
220
296
|
* @param AddUserToGroupRequest
|
|
221
297
|
* @return AddUserToGroupResponse
|
|
222
298
|
* @throws OciError when an error occurs
|
|
223
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
299
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/AddUserToGroup.ts.html |here} to see how to use AddUserToGroup API.
|
|
224
300
|
*/
|
|
225
301
|
addUserToGroup(addUserToGroupRequest) {
|
|
226
302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -284,7 +360,7 @@ class IdentityClient {
|
|
|
284
360
|
* @param AssembleEffectiveTagSetRequest
|
|
285
361
|
* @return AssembleEffectiveTagSetResponse
|
|
286
362
|
* @throws OciError when an error occurs
|
|
287
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
363
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/AssembleEffectiveTagSet.ts.html |here} to see how to use AssembleEffectiveTagSet API.
|
|
288
364
|
*/
|
|
289
365
|
assembleEffectiveTagSet(assembleEffectiveTagSetRequest) {
|
|
290
366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -350,7 +426,7 @@ class IdentityClient {
|
|
|
350
426
|
* @param BulkDeleteResourcesRequest
|
|
351
427
|
* @return BulkDeleteResourcesResponse
|
|
352
428
|
* @throws OciError when an error occurs
|
|
353
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
429
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/BulkDeleteResources.ts.html |here} to see how to use BulkDeleteResources API.
|
|
354
430
|
*/
|
|
355
431
|
bulkDeleteResources(bulkDeleteResourcesRequest) {
|
|
356
432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -430,7 +506,7 @@ class IdentityClient {
|
|
|
430
506
|
* @param BulkDeleteTagsRequest
|
|
431
507
|
* @return BulkDeleteTagsResponse
|
|
432
508
|
* @throws OciError when an error occurs
|
|
433
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
509
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/BulkDeleteTags.ts.html |here} to see how to use BulkDeleteTags API.
|
|
434
510
|
*/
|
|
435
511
|
bulkDeleteTags(bulkDeleteTagsRequest) {
|
|
436
512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -501,7 +577,7 @@ class IdentityClient {
|
|
|
501
577
|
* @param BulkEditTagsRequest
|
|
502
578
|
* @return BulkEditTagsResponse
|
|
503
579
|
* @throws OciError when an error occurs
|
|
504
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
580
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/BulkEditTags.ts.html |here} to see how to use BulkEditTags API.
|
|
505
581
|
*/
|
|
506
582
|
bulkEditTags(bulkEditTagsRequest) {
|
|
507
583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -563,7 +639,7 @@ class IdentityClient {
|
|
|
563
639
|
* @param BulkMoveResourcesRequest
|
|
564
640
|
* @return BulkMoveResourcesResponse
|
|
565
641
|
* @throws OciError when an error occurs
|
|
566
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
642
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/BulkMoveResources.ts.html |here} to see how to use BulkMoveResources API.
|
|
567
643
|
*/
|
|
568
644
|
bulkMoveResources(bulkMoveResourcesRequest) {
|
|
569
645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -641,7 +717,7 @@ class IdentityClient {
|
|
|
641
717
|
* @param CascadeDeleteTagNamespaceRequest
|
|
642
718
|
* @return CascadeDeleteTagNamespaceResponse
|
|
643
719
|
* @throws OciError when an error occurs
|
|
644
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CascadeDeleteTagNamespace.ts.html |here} to see how to use CascadeDeleteTagNamespace API.
|
|
645
721
|
*/
|
|
646
722
|
cascadeDeleteTagNamespace(cascadeDeleteTagNamespaceRequest) {
|
|
647
723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -694,6 +770,153 @@ class IdentityClient {
|
|
|
694
770
|
}
|
|
695
771
|
});
|
|
696
772
|
}
|
|
773
|
+
/**
|
|
774
|
+
* Change the containing compartment for a domain.
|
|
775
|
+
* <p>
|
|
776
|
+
This is an asynchronous call where the Domain's compartment is changed and is updated with the new compartment information.
|
|
777
|
+
* To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
778
|
+
* the async operation's status.
|
|
779
|
+
* <p>
|
|
780
|
+
The compartment change is complete when accessed via domain URL and
|
|
781
|
+
* also returns new compartment OCID.
|
|
782
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
783
|
+
* - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
|
|
784
|
+
* - If Domain is not active or being updated, returns 400 BAD REQUEST.
|
|
785
|
+
* - If error occurs while changing compartment for domain, return 500 INTERNAL SERVER ERROR.
|
|
786
|
+
*
|
|
787
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
788
|
+
* @param ChangeDomainCompartmentRequest
|
|
789
|
+
* @return ChangeDomainCompartmentResponse
|
|
790
|
+
* @throws OciError when an error occurs
|
|
791
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ChangeDomainCompartment.ts.html |here} to see how to use ChangeDomainCompartment API.
|
|
792
|
+
*/
|
|
793
|
+
changeDomainCompartment(changeDomainCompartmentRequest) {
|
|
794
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
795
|
+
if (this.logger)
|
|
796
|
+
this.logger.debug("Calling operation IdentityClient#changeDomainCompartment.");
|
|
797
|
+
const pathParams = {
|
|
798
|
+
"{domainId}": changeDomainCompartmentRequest.domainId
|
|
799
|
+
};
|
|
800
|
+
const queryParams = {};
|
|
801
|
+
let headerParams = {
|
|
802
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
803
|
+
"opc-request-id": changeDomainCompartmentRequest.opcRequestId,
|
|
804
|
+
"opc-retry-token": changeDomainCompartmentRequest.opcRetryToken,
|
|
805
|
+
"if-match": changeDomainCompartmentRequest.ifMatch
|
|
806
|
+
};
|
|
807
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
808
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDomainCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
809
|
+
if (this.logger)
|
|
810
|
+
retrier.logger = this.logger;
|
|
811
|
+
const request = yield oci_common_2.composeRequest({
|
|
812
|
+
baseEndpoint: this._endpoint,
|
|
813
|
+
defaultHeaders: this._defaultHeaders,
|
|
814
|
+
path: "/domains/{domainId}/actions/changeCompartment",
|
|
815
|
+
method: "POST",
|
|
816
|
+
bodyContent: common.ObjectSerializer.serialize(changeDomainCompartmentRequest.changeDomainCompartmentDetails, "ChangeDomainCompartmentDetails", model.ChangeDomainCompartmentDetails.getJsonObj),
|
|
817
|
+
pathParams: pathParams,
|
|
818
|
+
headerParams: headerParams,
|
|
819
|
+
queryParams: queryParams
|
|
820
|
+
});
|
|
821
|
+
try {
|
|
822
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
823
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
824
|
+
responseObject: {},
|
|
825
|
+
responseHeaders: [
|
|
826
|
+
{
|
|
827
|
+
value: response.headers.get("opc-request-id"),
|
|
828
|
+
key: "opcRequestId",
|
|
829
|
+
dataType: "string"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
value: response.headers.get("opc-work-request-id"),
|
|
833
|
+
key: "opcWorkRequestId",
|
|
834
|
+
dataType: "string"
|
|
835
|
+
}
|
|
836
|
+
]
|
|
837
|
+
});
|
|
838
|
+
return sdkResponse;
|
|
839
|
+
}
|
|
840
|
+
catch (err) {
|
|
841
|
+
throw err;
|
|
842
|
+
}
|
|
843
|
+
});
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
* If the domain's {@code lifecycleState} is ACTIVE, validates the requested {@code licenseType} update
|
|
847
|
+
* is allowed and
|
|
848
|
+
* 1. Set the {@code lifecycleDetails} to UPDATING
|
|
849
|
+
* 2. Asynchronously starts updating the domain and return 202 ACCEPTED.
|
|
850
|
+
* 2.1 Successfully updates specified domain's {@code licenseType}.
|
|
851
|
+
* 3. On completion set the {@code lifecycleDetails} to null.
|
|
852
|
+
* To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
853
|
+
* the async operation's status.
|
|
854
|
+
* <p>
|
|
855
|
+
- If license type update is successful, return 202 ACCEPTED
|
|
856
|
+
* - If requested {@code licenseType} validation fails, returns 400 Bad request.
|
|
857
|
+
* - If Domain is not active or being updated, returns 400 BAD REQUEST.
|
|
858
|
+
* - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
|
|
859
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND
|
|
860
|
+
* - If any internal error occurs, returns 500 INTERNAL SERVER ERROR.
|
|
861
|
+
*
|
|
862
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
863
|
+
* @param ChangeDomainLicenseTypeRequest
|
|
864
|
+
* @return ChangeDomainLicenseTypeResponse
|
|
865
|
+
* @throws OciError when an error occurs
|
|
866
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ChangeDomainLicenseType.ts.html |here} to see how to use ChangeDomainLicenseType API.
|
|
867
|
+
*/
|
|
868
|
+
changeDomainLicenseType(changeDomainLicenseTypeRequest) {
|
|
869
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
870
|
+
if (this.logger)
|
|
871
|
+
this.logger.debug("Calling operation IdentityClient#changeDomainLicenseType.");
|
|
872
|
+
const pathParams = {
|
|
873
|
+
"{domainId}": changeDomainLicenseTypeRequest.domainId
|
|
874
|
+
};
|
|
875
|
+
const queryParams = {};
|
|
876
|
+
let headerParams = {
|
|
877
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
878
|
+
"opc-request-id": changeDomainLicenseTypeRequest.opcRequestId,
|
|
879
|
+
"opc-retry-token": changeDomainLicenseTypeRequest.opcRetryToken,
|
|
880
|
+
"if-match": changeDomainLicenseTypeRequest.ifMatch
|
|
881
|
+
};
|
|
882
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
883
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeDomainLicenseTypeRequest.retryConfiguration, specRetryConfiguration);
|
|
884
|
+
if (this.logger)
|
|
885
|
+
retrier.logger = this.logger;
|
|
886
|
+
const request = yield oci_common_2.composeRequest({
|
|
887
|
+
baseEndpoint: this._endpoint,
|
|
888
|
+
defaultHeaders: this._defaultHeaders,
|
|
889
|
+
path: "/domains/{domainId}/actions/changeLicenseType",
|
|
890
|
+
method: "POST",
|
|
891
|
+
bodyContent: common.ObjectSerializer.serialize(changeDomainLicenseTypeRequest.changeDomainLicenseTypeDetails, "ChangeDomainLicenseTypeDetails", model.ChangeDomainLicenseTypeDetails.getJsonObj),
|
|
892
|
+
pathParams: pathParams,
|
|
893
|
+
headerParams: headerParams,
|
|
894
|
+
queryParams: queryParams
|
|
895
|
+
});
|
|
896
|
+
try {
|
|
897
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
898
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
899
|
+
responseObject: {},
|
|
900
|
+
responseHeaders: [
|
|
901
|
+
{
|
|
902
|
+
value: response.headers.get("opc-request-id"),
|
|
903
|
+
key: "opcRequestId",
|
|
904
|
+
dataType: "string"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
value: response.headers.get("opc-work-request-id"),
|
|
908
|
+
key: "opcWorkRequestId",
|
|
909
|
+
dataType: "string"
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
|
+
});
|
|
913
|
+
return sdkResponse;
|
|
914
|
+
}
|
|
915
|
+
catch (err) {
|
|
916
|
+
throw err;
|
|
917
|
+
}
|
|
918
|
+
});
|
|
919
|
+
}
|
|
697
920
|
/**
|
|
698
921
|
* Moves the specified tag namespace to the specified compartment within the same tenancy.
|
|
699
922
|
* <p>
|
|
@@ -706,7 +929,7 @@ class IdentityClient {
|
|
|
706
929
|
* @param ChangeTagNamespaceCompartmentRequest
|
|
707
930
|
* @return ChangeTagNamespaceCompartmentResponse
|
|
708
931
|
* @throws OciError when an error occurs
|
|
709
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
932
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ChangeTagNamespaceCompartment.ts.html |here} to see how to use ChangeTagNamespaceCompartment API.
|
|
710
933
|
*/
|
|
711
934
|
changeTagNamespaceCompartment(changeTagNamespaceCompartmentRequest) {
|
|
712
935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -769,7 +992,7 @@ class IdentityClient {
|
|
|
769
992
|
* @param CreateAuthTokenRequest
|
|
770
993
|
* @return CreateAuthTokenResponse
|
|
771
994
|
* @throws OciError when an error occurs
|
|
772
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
995
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateAuthToken.ts.html |here} to see how to use CreateAuthToken API.
|
|
773
996
|
*/
|
|
774
997
|
createAuthToken(createAuthTokenRequest) {
|
|
775
998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -850,7 +1073,7 @@ class IdentityClient {
|
|
|
850
1073
|
* @param CreateCompartmentRequest
|
|
851
1074
|
* @return CreateCompartmentResponse
|
|
852
1075
|
* @throws OciError when an error occurs
|
|
853
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1076
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateCompartment.ts.html |here} to see how to use CreateCompartment API.
|
|
854
1077
|
*/
|
|
855
1078
|
createCompartment(createCompartmentRequest) {
|
|
856
1079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -921,7 +1144,7 @@ class IdentityClient {
|
|
|
921
1144
|
* @param CreateCustomerSecretKeyRequest
|
|
922
1145
|
* @return CreateCustomerSecretKeyResponse
|
|
923
1146
|
* @throws OciError when an error occurs
|
|
924
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1147
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateCustomerSecretKey.ts.html |here} to see how to use CreateCustomerSecretKey API.
|
|
925
1148
|
*/
|
|
926
1149
|
createCustomerSecretKey(createCustomerSecretKeyRequest) {
|
|
927
1150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -977,6 +1200,79 @@ class IdentityClient {
|
|
|
977
1200
|
}
|
|
978
1201
|
});
|
|
979
1202
|
}
|
|
1203
|
+
/**
|
|
1204
|
+
* Creates a new domain in the tenancy with domain home in {@code homeRegion}. This is an asynchronous call - where, at start,
|
|
1205
|
+
* {@code lifecycleState} of this domain is set to CREATING and {@code lifecycleDetails} to UPDATING. On domain creation completion
|
|
1206
|
+
* this Domain's {@code lifecycleState} will be set to ACTIVE and {@code lifecycleDetails} to null.
|
|
1207
|
+
* <p>
|
|
1208
|
+
To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
1209
|
+
* the async operation's status.
|
|
1210
|
+
* <p>
|
|
1211
|
+
After creating a `Domain`, make sure its `lifecycleState` changes from CREATING to ACTIVE
|
|
1212
|
+
* before using it.
|
|
1213
|
+
* If the domain's {@code displayName} already exists, returns 400 BAD REQUEST.
|
|
1214
|
+
* If any one of admin related fields are provided and one of the following 3 fields
|
|
1215
|
+
* - {@code adminEmail}, {@code adminLastName} and {@code adminUserName} - is not provided,
|
|
1216
|
+
* returns 400 BAD REQUEST.
|
|
1217
|
+
* - If {@code isNotificationBypassed} is NOT provided when admin information is provided,
|
|
1218
|
+
* returns 400 BAD REQUEST.
|
|
1219
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
1220
|
+
*
|
|
1221
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1222
|
+
* @param CreateDomainRequest
|
|
1223
|
+
* @return CreateDomainResponse
|
|
1224
|
+
* @throws OciError when an error occurs
|
|
1225
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateDomain.ts.html |here} to see how to use CreateDomain API.
|
|
1226
|
+
*/
|
|
1227
|
+
createDomain(createDomainRequest) {
|
|
1228
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1229
|
+
if (this.logger)
|
|
1230
|
+
this.logger.debug("Calling operation IdentityClient#createDomain.");
|
|
1231
|
+
const pathParams = {};
|
|
1232
|
+
const queryParams = {};
|
|
1233
|
+
let headerParams = {
|
|
1234
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1235
|
+
"opc-retry-token": createDomainRequest.opcRetryToken,
|
|
1236
|
+
"opc-request-id": createDomainRequest.opcRequestId
|
|
1237
|
+
};
|
|
1238
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1239
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
1240
|
+
if (this.logger)
|
|
1241
|
+
retrier.logger = this.logger;
|
|
1242
|
+
const request = yield oci_common_2.composeRequest({
|
|
1243
|
+
baseEndpoint: this._endpoint,
|
|
1244
|
+
defaultHeaders: this._defaultHeaders,
|
|
1245
|
+
path: "/domains",
|
|
1246
|
+
method: "POST",
|
|
1247
|
+
bodyContent: common.ObjectSerializer.serialize(createDomainRequest.createDomainDetails, "CreateDomainDetails", model.CreateDomainDetails.getJsonObj),
|
|
1248
|
+
pathParams: pathParams,
|
|
1249
|
+
headerParams: headerParams,
|
|
1250
|
+
queryParams: queryParams
|
|
1251
|
+
});
|
|
1252
|
+
try {
|
|
1253
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
1254
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
1255
|
+
responseObject: {},
|
|
1256
|
+
responseHeaders: [
|
|
1257
|
+
{
|
|
1258
|
+
value: response.headers.get("opc-request-id"),
|
|
1259
|
+
key: "opcRequestId",
|
|
1260
|
+
dataType: "string"
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
value: response.headers.get("opc-work-request-id"),
|
|
1264
|
+
key: "opcWorkRequestId",
|
|
1265
|
+
dataType: "string"
|
|
1266
|
+
}
|
|
1267
|
+
]
|
|
1268
|
+
});
|
|
1269
|
+
return sdkResponse;
|
|
1270
|
+
}
|
|
1271
|
+
catch (err) {
|
|
1272
|
+
throw err;
|
|
1273
|
+
}
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
980
1276
|
/**
|
|
981
1277
|
* Creates a new dynamic group in your tenancy.
|
|
982
1278
|
* <p>
|
|
@@ -1001,7 +1297,7 @@ class IdentityClient {
|
|
|
1001
1297
|
* @param CreateDynamicGroupRequest
|
|
1002
1298
|
* @return CreateDynamicGroupResponse
|
|
1003
1299
|
* @throws OciError when an error occurs
|
|
1004
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1300
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateDynamicGroup.ts.html |here} to see how to use CreateDynamicGroup API.
|
|
1005
1301
|
*/
|
|
1006
1302
|
createDynamicGroup(createDynamicGroupRequest) {
|
|
1007
1303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1082,7 +1378,7 @@ class IdentityClient {
|
|
|
1082
1378
|
* @param CreateGroupRequest
|
|
1083
1379
|
* @return CreateGroupResponse
|
|
1084
1380
|
* @throws OciError when an error occurs
|
|
1085
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1381
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateGroup.ts.html |here} to see how to use CreateGroup API.
|
|
1086
1382
|
*/
|
|
1087
1383
|
createGroup(createGroupRequest) {
|
|
1088
1384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1137,7 +1433,9 @@ class IdentityClient {
|
|
|
1137
1433
|
});
|
|
1138
1434
|
}
|
|
1139
1435
|
/**
|
|
1140
|
-
*
|
|
1436
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
1437
|
+
* <p>
|
|
1438
|
+
Creates a new identity provider in your tenancy. For more information, see
|
|
1141
1439
|
* [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
|
|
1142
1440
|
* <p>
|
|
1143
1441
|
You must specify your tenancy's OCID as the compartment ID in the request object.
|
|
@@ -1160,7 +1458,7 @@ class IdentityClient {
|
|
|
1160
1458
|
* @param CreateIdentityProviderRequest
|
|
1161
1459
|
* @return CreateIdentityProviderResponse
|
|
1162
1460
|
* @throws OciError when an error occurs
|
|
1163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1461
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateIdentityProvider.ts.html |here} to see how to use CreateIdentityProvider API.
|
|
1164
1462
|
*/
|
|
1165
1463
|
createIdentityProvider(createIdentityProviderRequest) {
|
|
1166
1464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1215,15 +1513,17 @@ class IdentityClient {
|
|
|
1215
1513
|
});
|
|
1216
1514
|
}
|
|
1217
1515
|
/**
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1516
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
1517
|
+
* <p>
|
|
1518
|
+
Creates a single mapping between an IdP group and an IAM Service
|
|
1519
|
+
* {@link Group}.
|
|
1520
|
+
*
|
|
1521
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1522
|
+
* @param CreateIdpGroupMappingRequest
|
|
1523
|
+
* @return CreateIdpGroupMappingResponse
|
|
1524
|
+
* @throws OciError when an error occurs
|
|
1525
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateIdpGroupMapping.ts.html |here} to see how to use CreateIdpGroupMapping API.
|
|
1526
|
+
*/
|
|
1227
1527
|
createIdpGroupMapping(createIdpGroupMappingRequest) {
|
|
1228
1528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1229
1529
|
if (this.logger)
|
|
@@ -1285,7 +1585,7 @@ class IdentityClient {
|
|
|
1285
1585
|
* @param CreateMfaTotpDeviceRequest
|
|
1286
1586
|
* @return CreateMfaTotpDeviceResponse
|
|
1287
1587
|
* @throws OciError when an error occurs
|
|
1288
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1588
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateMfaTotpDevice.ts.html |here} to see how to use CreateMfaTotpDevice API.
|
|
1289
1589
|
*/
|
|
1290
1590
|
createMfaTotpDevice(createMfaTotpDeviceRequest) {
|
|
1291
1591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1367,7 +1667,7 @@ class IdentityClient {
|
|
|
1367
1667
|
* @param CreateNetworkSourceRequest
|
|
1368
1668
|
* @return CreateNetworkSourceResponse
|
|
1369
1669
|
* @throws OciError when an error occurs
|
|
1370
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1670
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateNetworkSource.ts.html |here} to see how to use CreateNetworkSource API.
|
|
1371
1671
|
*/
|
|
1372
1672
|
createNetworkSource(createNetworkSourceRequest) {
|
|
1373
1673
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1428,7 +1728,7 @@ class IdentityClient {
|
|
|
1428
1728
|
* @param CreateOAuthClientCredentialRequest
|
|
1429
1729
|
* @return CreateOAuthClientCredentialResponse
|
|
1430
1730
|
* @throws OciError when an error occurs
|
|
1431
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1731
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateOAuthClientCredential.ts.html |here} to see how to use CreateOAuthClientCredential API.
|
|
1432
1732
|
*/
|
|
1433
1733
|
createOAuthClientCredential(createOAuthClientCredentialRequest) {
|
|
1434
1734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1501,7 +1801,7 @@ class IdentityClient {
|
|
|
1501
1801
|
* @param CreateOrResetUIPasswordRequest
|
|
1502
1802
|
* @return CreateOrResetUIPasswordResponse
|
|
1503
1803
|
* @throws OciError when an error occurs
|
|
1504
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1804
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateOrResetUIPassword.ts.html |here} to see how to use CreateOrResetUIPassword API.
|
|
1505
1805
|
*/
|
|
1506
1806
|
createOrResetUIPassword(createOrResetUIPasswordRequest) {
|
|
1507
1807
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1579,7 +1879,7 @@ class IdentityClient {
|
|
|
1579
1879
|
* @param CreatePolicyRequest
|
|
1580
1880
|
* @return CreatePolicyResponse
|
|
1581
1881
|
* @throws OciError when an error occurs
|
|
1582
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1882
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreatePolicy.ts.html |here} to see how to use CreatePolicy API.
|
|
1583
1883
|
*/
|
|
1584
1884
|
createPolicy(createPolicyRequest) {
|
|
1585
1885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1640,7 +1940,7 @@ class IdentityClient {
|
|
|
1640
1940
|
* @param CreateRegionSubscriptionRequest
|
|
1641
1941
|
* @return CreateRegionSubscriptionResponse
|
|
1642
1942
|
* @throws OciError when an error occurs
|
|
1643
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
1943
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateRegionSubscription.ts.html |here} to see how to use CreateRegionSubscription API.
|
|
1644
1944
|
*/
|
|
1645
1945
|
createRegionSubscription(createRegionSubscriptionRequest) {
|
|
1646
1946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1701,7 +2001,7 @@ class IdentityClient {
|
|
|
1701
2001
|
* @param CreateSmtpCredentialRequest
|
|
1702
2002
|
* @return CreateSmtpCredentialResponse
|
|
1703
2003
|
* @throws OciError when an error occurs
|
|
1704
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2004
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateSmtpCredential.ts.html |here} to see how to use CreateSmtpCredential API.
|
|
1705
2005
|
*/
|
|
1706
2006
|
createSmtpCredential(createSmtpCredentialRequest) {
|
|
1707
2007
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1775,7 +2075,7 @@ class IdentityClient {
|
|
|
1775
2075
|
* @param CreateSwiftPasswordRequest
|
|
1776
2076
|
* @return CreateSwiftPasswordResponse
|
|
1777
2077
|
* @throws OciError when an error occurs
|
|
1778
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateSwiftPassword.ts.html |here} to see how to use CreateSwiftPassword API.
|
|
1779
2079
|
*/
|
|
1780
2080
|
createSwiftPassword(createSwiftPasswordRequest) {
|
|
1781
2081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1859,7 +2159,7 @@ class IdentityClient {
|
|
|
1859
2159
|
* @param CreateTagRequest
|
|
1860
2160
|
* @return CreateTagResponse
|
|
1861
2161
|
* @throws OciError when an error occurs
|
|
1862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2162
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateTag.ts.html |here} to see how to use CreateTag API.
|
|
1863
2163
|
*/
|
|
1864
2164
|
createTag(createTagRequest) {
|
|
1865
2165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1929,7 +2229,7 @@ class IdentityClient {
|
|
|
1929
2229
|
* @param CreateTagDefaultRequest
|
|
1930
2230
|
* @return CreateTagDefaultResponse
|
|
1931
2231
|
* @throws OciError when an error occurs
|
|
1932
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2232
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateTagDefault.ts.html |here} to see how to use CreateTagDefault API.
|
|
1933
2233
|
*/
|
|
1934
2234
|
createTagDefault(createTagDefaultRequest) {
|
|
1935
2235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2004,7 +2304,7 @@ class IdentityClient {
|
|
|
2004
2304
|
* @param CreateTagNamespaceRequest
|
|
2005
2305
|
* @return CreateTagNamespaceResponse
|
|
2006
2306
|
* @throws OciError when an error occurs
|
|
2007
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2307
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateTagNamespace.ts.html |here} to see how to use CreateTagNamespace API.
|
|
2008
2308
|
*/
|
|
2009
2309
|
createTagNamespace(createTagNamespaceRequest) {
|
|
2010
2310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2094,7 +2394,7 @@ class IdentityClient {
|
|
|
2094
2394
|
* @param CreateUserRequest
|
|
2095
2395
|
* @return CreateUserResponse
|
|
2096
2396
|
* @throws OciError when an error occurs
|
|
2097
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/CreateUser.ts.html |here} to see how to use CreateUser API.
|
|
2098
2398
|
*/
|
|
2099
2399
|
createUser(createUserRequest) {
|
|
2100
2400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2149,41 +2449,54 @@ class IdentityClient {
|
|
|
2149
2449
|
});
|
|
2150
2450
|
}
|
|
2151
2451
|
/**
|
|
2152
|
-
*
|
|
2452
|
+
* If the domain's {@code lifecycleState} is ACTIVE and no active Apps are present in domain,
|
|
2453
|
+
* 1. Set the {@code lifecycleDetails} to DEACTIVATING and asynchronously starts disabling
|
|
2454
|
+
* the domain and return 202 ACCEPTED.
|
|
2455
|
+
* 1.1 Sets the domain status to DISABLED and set specified domain's
|
|
2456
|
+
* {@code lifecycleState} to INACTIVE and set the {@code lifecycleDetails} to null.
|
|
2153
2457
|
* <p>
|
|
2154
|
-
|
|
2155
|
-
*
|
|
2156
|
-
*
|
|
2157
|
-
*
|
|
2458
|
+
To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
2459
|
+
* the async operation's status. Activate a domain can be done using HTTP POST
|
|
2460
|
+
* /domains/{domainId}/actions/activate.
|
|
2461
|
+
* <p>
|
|
2462
|
+
- If the domain's {@code lifecycleState} is INACTIVE, returns 202 ACCEPTED with no action
|
|
2463
|
+
* taken on service side.
|
|
2464
|
+
* - If domain is of {@code type} DEFAULT or DEFAULT_LIGHTWEIGHT or domain's {@code lifecycleState}
|
|
2465
|
+
* is not ACTIVE, returns 400 BAD REQUEST.
|
|
2466
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
2467
|
+
* - If any active Apps in domain, returns 400 BAD REQUEST.
|
|
2468
|
+
* - If the authenticated user is part of the domain to be activated, returns 400 BAD REQUEST
|
|
2469
|
+
* - If error occurs while deactivating domain, returns 500 INTERNAL SERVER ERROR.
|
|
2158
2470
|
*
|
|
2159
2471
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2160
|
-
* @param
|
|
2161
|
-
* @return
|
|
2472
|
+
* @param DeactivateDomainRequest
|
|
2473
|
+
* @return DeactivateDomainResponse
|
|
2162
2474
|
* @throws OciError when an error occurs
|
|
2163
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeactivateDomain.ts.html |here} to see how to use DeactivateDomain API.
|
|
2164
2476
|
*/
|
|
2165
|
-
|
|
2477
|
+
deactivateDomain(deactivateDomainRequest) {
|
|
2166
2478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2167
2479
|
if (this.logger)
|
|
2168
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
2480
|
+
this.logger.debug("Calling operation IdentityClient#deactivateDomain.");
|
|
2169
2481
|
const pathParams = {
|
|
2170
|
-
"{
|
|
2171
|
-
"{fingerprint}": deleteApiKeyRequest.fingerprint
|
|
2482
|
+
"{domainId}": deactivateDomainRequest.domainId
|
|
2172
2483
|
};
|
|
2173
2484
|
const queryParams = {};
|
|
2174
2485
|
let headerParams = {
|
|
2175
2486
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2176
|
-
"
|
|
2487
|
+
"opc-request-id": deactivateDomainRequest.opcRequestId,
|
|
2488
|
+
"opc-retry-token": deactivateDomainRequest.opcRetryToken,
|
|
2489
|
+
"if-match": deactivateDomainRequest.ifMatch
|
|
2177
2490
|
};
|
|
2178
2491
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2179
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
2492
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
2180
2493
|
if (this.logger)
|
|
2181
2494
|
retrier.logger = this.logger;
|
|
2182
2495
|
const request = yield oci_common_2.composeRequest({
|
|
2183
2496
|
baseEndpoint: this._endpoint,
|
|
2184
2497
|
defaultHeaders: this._defaultHeaders,
|
|
2185
|
-
path: "/
|
|
2186
|
-
method: "
|
|
2498
|
+
path: "/domains/{domainId}/actions/deactivate",
|
|
2499
|
+
method: "POST",
|
|
2187
2500
|
pathParams: pathParams,
|
|
2188
2501
|
headerParams: headerParams,
|
|
2189
2502
|
queryParams: queryParams
|
|
@@ -2197,6 +2510,11 @@ class IdentityClient {
|
|
|
2197
2510
|
value: response.headers.get("opc-request-id"),
|
|
2198
2511
|
key: "opcRequestId",
|
|
2199
2512
|
dataType: "string"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2516
|
+
key: "opcWorkRequestId",
|
|
2517
|
+
dataType: "string"
|
|
2200
2518
|
}
|
|
2201
2519
|
]
|
|
2202
2520
|
});
|
|
@@ -2208,22 +2526,81 @@ class IdentityClient {
|
|
|
2208
2526
|
});
|
|
2209
2527
|
}
|
|
2210
2528
|
/**
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2529
|
+
* Deletes the specified API signing key for the specified user.
|
|
2530
|
+
* <p>
|
|
2531
|
+
Every user has permission to use this operation to delete a key for *their own user ID*. An
|
|
2532
|
+
* administrator in your organization does not need to write a policy to give users this ability.
|
|
2533
|
+
* To compare, administrators who have permission to the tenancy can use this operation to delete
|
|
2534
|
+
* a key for any user, including themselves.
|
|
2535
|
+
*
|
|
2536
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2537
|
+
* @param DeleteApiKeyRequest
|
|
2538
|
+
* @return DeleteApiKeyResponse
|
|
2539
|
+
* @throws OciError when an error occurs
|
|
2540
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteApiKey.ts.html |here} to see how to use DeleteApiKey API.
|
|
2541
|
+
*/
|
|
2542
|
+
deleteApiKey(deleteApiKeyRequest) {
|
|
2220
2543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2221
2544
|
if (this.logger)
|
|
2222
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
2545
|
+
this.logger.debug("Calling operation IdentityClient#deleteApiKey.");
|
|
2223
2546
|
const pathParams = {
|
|
2224
|
-
"{userId}":
|
|
2225
|
-
"{
|
|
2226
|
-
};
|
|
2547
|
+
"{userId}": deleteApiKeyRequest.userId,
|
|
2548
|
+
"{fingerprint}": deleteApiKeyRequest.fingerprint
|
|
2549
|
+
};
|
|
2550
|
+
const queryParams = {};
|
|
2551
|
+
let headerParams = {
|
|
2552
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2553
|
+
"if-match": deleteApiKeyRequest.ifMatch
|
|
2554
|
+
};
|
|
2555
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2556
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApiKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
2557
|
+
if (this.logger)
|
|
2558
|
+
retrier.logger = this.logger;
|
|
2559
|
+
const request = yield oci_common_2.composeRequest({
|
|
2560
|
+
baseEndpoint: this._endpoint,
|
|
2561
|
+
defaultHeaders: this._defaultHeaders,
|
|
2562
|
+
path: "/users/{userId}/apiKeys/{fingerprint}",
|
|
2563
|
+
method: "DELETE",
|
|
2564
|
+
pathParams: pathParams,
|
|
2565
|
+
headerParams: headerParams,
|
|
2566
|
+
queryParams: queryParams
|
|
2567
|
+
});
|
|
2568
|
+
try {
|
|
2569
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2570
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2571
|
+
responseObject: {},
|
|
2572
|
+
responseHeaders: [
|
|
2573
|
+
{
|
|
2574
|
+
value: response.headers.get("opc-request-id"),
|
|
2575
|
+
key: "opcRequestId",
|
|
2576
|
+
dataType: "string"
|
|
2577
|
+
}
|
|
2578
|
+
]
|
|
2579
|
+
});
|
|
2580
|
+
return sdkResponse;
|
|
2581
|
+
}
|
|
2582
|
+
catch (err) {
|
|
2583
|
+
throw err;
|
|
2584
|
+
}
|
|
2585
|
+
});
|
|
2586
|
+
}
|
|
2587
|
+
/**
|
|
2588
|
+
* Deletes the specified auth token for the specified user.
|
|
2589
|
+
*
|
|
2590
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2591
|
+
* @param DeleteAuthTokenRequest
|
|
2592
|
+
* @return DeleteAuthTokenResponse
|
|
2593
|
+
* @throws OciError when an error occurs
|
|
2594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteAuthToken.ts.html |here} to see how to use DeleteAuthToken API.
|
|
2595
|
+
*/
|
|
2596
|
+
deleteAuthToken(deleteAuthTokenRequest) {
|
|
2597
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2598
|
+
if (this.logger)
|
|
2599
|
+
this.logger.debug("Calling operation IdentityClient#deleteAuthToken.");
|
|
2600
|
+
const pathParams = {
|
|
2601
|
+
"{userId}": deleteAuthTokenRequest.userId,
|
|
2602
|
+
"{authTokenId}": deleteAuthTokenRequest.authTokenId
|
|
2603
|
+
};
|
|
2227
2604
|
const queryParams = {};
|
|
2228
2605
|
let headerParams = {
|
|
2229
2606
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
@@ -2268,7 +2645,7 @@ class IdentityClient {
|
|
|
2268
2645
|
* @param DeleteCompartmentRequest
|
|
2269
2646
|
* @return DeleteCompartmentResponse
|
|
2270
2647
|
* @throws OciError when an error occurs
|
|
2271
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2648
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteCompartment.ts.html |here} to see how to use DeleteCompartment API.
|
|
2272
2649
|
*/
|
|
2273
2650
|
deleteCompartment(deleteCompartmentRequest) {
|
|
2274
2651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2326,7 +2703,7 @@ class IdentityClient {
|
|
|
2326
2703
|
* @param DeleteCustomerSecretKeyRequest
|
|
2327
2704
|
* @return DeleteCustomerSecretKeyResponse
|
|
2328
2705
|
* @throws OciError when an error occurs
|
|
2329
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2706
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteCustomerSecretKey.ts.html |here} to see how to use DeleteCustomerSecretKey API.
|
|
2330
2707
|
*/
|
|
2331
2708
|
deleteCustomerSecretKey(deleteCustomerSecretKeyRequest) {
|
|
2332
2709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2373,6 +2750,81 @@ class IdentityClient {
|
|
|
2373
2750
|
}
|
|
2374
2751
|
});
|
|
2375
2752
|
}
|
|
2753
|
+
/**
|
|
2754
|
+
* Soft Deletes a domain.
|
|
2755
|
+
* <p>
|
|
2756
|
+
This is an asynchronous API, where, if the domain's {@code lifecycleState} is INACTIVE and
|
|
2757
|
+
* no active Apps are present in underlying stripe,
|
|
2758
|
+
* 1. Sets the specified domain's {@code lifecycleState} to DELETING.
|
|
2759
|
+
* 2. Domains marked as DELETING will be cleaned up by a periodic task unless customer request it to be undo via ticket.
|
|
2760
|
+
* 3. Work request is created and returned as opc-work-request-id along with 202 ACCEPTED.
|
|
2761
|
+
* To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
2762
|
+
* the async operation's status.
|
|
2763
|
+
* <p>
|
|
2764
|
+
- If the domain's {@code lifecycleState} is DELETING, returns 202 Accepted as a deletion
|
|
2765
|
+
* is already in progress for this domain.
|
|
2766
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
2767
|
+
* - If domain is of {@code type} DEFAULT or DEFAULT_LIGHTWEIGHT, returns 400 BAD REQUEST.
|
|
2768
|
+
* - If any active Apps in domain, returns 400 BAD REQUEST.
|
|
2769
|
+
* - If the authenticated user is part of the domain to be deleted, returns 400 BAD REQUEST.
|
|
2770
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
2771
|
+
*
|
|
2772
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2773
|
+
* @param DeleteDomainRequest
|
|
2774
|
+
* @return DeleteDomainResponse
|
|
2775
|
+
* @throws OciError when an error occurs
|
|
2776
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteDomain.ts.html |here} to see how to use DeleteDomain API.
|
|
2777
|
+
*/
|
|
2778
|
+
deleteDomain(deleteDomainRequest) {
|
|
2779
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2780
|
+
if (this.logger)
|
|
2781
|
+
this.logger.debug("Calling operation IdentityClient#deleteDomain.");
|
|
2782
|
+
const pathParams = {
|
|
2783
|
+
"{domainId}": deleteDomainRequest.domainId
|
|
2784
|
+
};
|
|
2785
|
+
const queryParams = {};
|
|
2786
|
+
let headerParams = {
|
|
2787
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2788
|
+
"if-match": deleteDomainRequest.ifMatch,
|
|
2789
|
+
"opc-request-id": deleteDomainRequest.opcRequestId
|
|
2790
|
+
};
|
|
2791
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2792
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
2793
|
+
if (this.logger)
|
|
2794
|
+
retrier.logger = this.logger;
|
|
2795
|
+
const request = yield oci_common_2.composeRequest({
|
|
2796
|
+
baseEndpoint: this._endpoint,
|
|
2797
|
+
defaultHeaders: this._defaultHeaders,
|
|
2798
|
+
path: "/domains/{domainId}",
|
|
2799
|
+
method: "DELETE",
|
|
2800
|
+
pathParams: pathParams,
|
|
2801
|
+
headerParams: headerParams,
|
|
2802
|
+
queryParams: queryParams
|
|
2803
|
+
});
|
|
2804
|
+
try {
|
|
2805
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2806
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2807
|
+
responseObject: {},
|
|
2808
|
+
responseHeaders: [
|
|
2809
|
+
{
|
|
2810
|
+
value: response.headers.get("opc-request-id"),
|
|
2811
|
+
key: "opcRequestId",
|
|
2812
|
+
dataType: "string"
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2816
|
+
key: "opcWorkRequestId",
|
|
2817
|
+
dataType: "string"
|
|
2818
|
+
}
|
|
2819
|
+
]
|
|
2820
|
+
});
|
|
2821
|
+
return sdkResponse;
|
|
2822
|
+
}
|
|
2823
|
+
catch (err) {
|
|
2824
|
+
throw err;
|
|
2825
|
+
}
|
|
2826
|
+
});
|
|
2827
|
+
}
|
|
2376
2828
|
/**
|
|
2377
2829
|
* Deletes the specified dynamic group.
|
|
2378
2830
|
*
|
|
@@ -2380,7 +2832,7 @@ class IdentityClient {
|
|
|
2380
2832
|
* @param DeleteDynamicGroupRequest
|
|
2381
2833
|
* @return DeleteDynamicGroupResponse
|
|
2382
2834
|
* @throws OciError when an error occurs
|
|
2383
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2835
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteDynamicGroup.ts.html |here} to see how to use DeleteDynamicGroup API.
|
|
2384
2836
|
*/
|
|
2385
2837
|
deleteDynamicGroup(deleteDynamicGroupRequest) {
|
|
2386
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2433,7 +2885,7 @@ class IdentityClient {
|
|
|
2433
2885
|
* @param DeleteGroupRequest
|
|
2434
2886
|
* @return DeleteGroupResponse
|
|
2435
2887
|
* @throws OciError when an error occurs
|
|
2436
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2888
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteGroup.ts.html |here} to see how to use DeleteGroup API.
|
|
2437
2889
|
*/
|
|
2438
2890
|
deleteGroup(deleteGroupRequest) {
|
|
2439
2891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2480,15 +2932,17 @@ class IdentityClient {
|
|
|
2480
2932
|
});
|
|
2481
2933
|
}
|
|
2482
2934
|
/**
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2935
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
2936
|
+
* <p>
|
|
2937
|
+
Deletes the specified identity provider. The identity provider must not have
|
|
2938
|
+
* any group mappings (see {@link IdpGroupMapping}).
|
|
2939
|
+
*
|
|
2940
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2941
|
+
* @param DeleteIdentityProviderRequest
|
|
2942
|
+
* @return DeleteIdentityProviderResponse
|
|
2943
|
+
* @throws OciError when an error occurs
|
|
2944
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteIdentityProvider.ts.html |here} to see how to use DeleteIdentityProvider API.
|
|
2945
|
+
*/
|
|
2492
2946
|
deleteIdentityProvider(deleteIdentityProviderRequest) {
|
|
2493
2947
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2494
2948
|
if (this.logger)
|
|
@@ -2534,13 +2988,16 @@ class IdentityClient {
|
|
|
2534
2988
|
});
|
|
2535
2989
|
}
|
|
2536
2990
|
/**
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2991
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
2992
|
+
* <p>
|
|
2993
|
+
Deletes the specified group mapping.
|
|
2994
|
+
*
|
|
2995
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2996
|
+
* @param DeleteIdpGroupMappingRequest
|
|
2997
|
+
* @return DeleteIdpGroupMappingResponse
|
|
2998
|
+
* @throws OciError when an error occurs
|
|
2999
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteIdpGroupMapping.ts.html |here} to see how to use DeleteIdpGroupMapping API.
|
|
3000
|
+
*/
|
|
2544
3001
|
deleteIdpGroupMapping(deleteIdpGroupMappingRequest) {
|
|
2545
3002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2546
3003
|
if (this.logger)
|
|
@@ -2593,7 +3050,7 @@ class IdentityClient {
|
|
|
2593
3050
|
* @param DeleteMfaTotpDeviceRequest
|
|
2594
3051
|
* @return DeleteMfaTotpDeviceResponse
|
|
2595
3052
|
* @throws OciError when an error occurs
|
|
2596
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3053
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteMfaTotpDevice.ts.html |here} to see how to use DeleteMfaTotpDevice API.
|
|
2597
3054
|
*/
|
|
2598
3055
|
deleteMfaTotpDevice(deleteMfaTotpDeviceRequest) {
|
|
2599
3056
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2647,7 +3104,7 @@ class IdentityClient {
|
|
|
2647
3104
|
* @param DeleteNetworkSourceRequest
|
|
2648
3105
|
* @return DeleteNetworkSourceResponse
|
|
2649
3106
|
* @throws OciError when an error occurs
|
|
2650
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3107
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteNetworkSource.ts.html |here} to see how to use DeleteNetworkSource API.
|
|
2651
3108
|
*/
|
|
2652
3109
|
deleteNetworkSource(deleteNetworkSourceRequest) {
|
|
2653
3110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2700,7 +3157,7 @@ class IdentityClient {
|
|
|
2700
3157
|
* @param DeleteOAuthClientCredentialRequest
|
|
2701
3158
|
* @return DeleteOAuthClientCredentialResponse
|
|
2702
3159
|
* @throws OciError when an error occurs
|
|
2703
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3160
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteOAuthClientCredential.ts.html |here} to see how to use DeleteOAuthClientCredential API.
|
|
2704
3161
|
*/
|
|
2705
3162
|
deleteOAuthClientCredential(deleteOAuthClientCredentialRequest) {
|
|
2706
3163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2753,7 +3210,7 @@ class IdentityClient {
|
|
|
2753
3210
|
* @param DeletePolicyRequest
|
|
2754
3211
|
* @return DeletePolicyResponse
|
|
2755
3212
|
* @throws OciError when an error occurs
|
|
2756
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3213
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeletePolicy.ts.html |here} to see how to use DeletePolicy API.
|
|
2757
3214
|
*/
|
|
2758
3215
|
deletePolicy(deletePolicyRequest) {
|
|
2759
3216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2806,7 +3263,7 @@ class IdentityClient {
|
|
|
2806
3263
|
* @param DeleteSmtpCredentialRequest
|
|
2807
3264
|
* @return DeleteSmtpCredentialResponse
|
|
2808
3265
|
* @throws OciError when an error occurs
|
|
2809
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteSmtpCredential.ts.html |here} to see how to use DeleteSmtpCredential API.
|
|
2810
3267
|
*/
|
|
2811
3268
|
deleteSmtpCredential(deleteSmtpCredentialRequest) {
|
|
2812
3269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2862,7 +3319,7 @@ class IdentityClient {
|
|
|
2862
3319
|
* @param DeleteSwiftPasswordRequest
|
|
2863
3320
|
* @return DeleteSwiftPasswordResponse
|
|
2864
3321
|
* @throws OciError when an error occurs
|
|
2865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3322
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteSwiftPassword.ts.html |here} to see how to use DeleteSwiftPassword API.
|
|
2866
3323
|
*/
|
|
2867
3324
|
deleteSwiftPassword(deleteSwiftPasswordRequest) {
|
|
2868
3325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2936,7 +3393,7 @@ class IdentityClient {
|
|
|
2936
3393
|
* @param DeleteTagRequest
|
|
2937
3394
|
* @return DeleteTagResponse
|
|
2938
3395
|
* @throws OciError when an error occurs
|
|
2939
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3396
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteTag.ts.html |here} to see how to use DeleteTag API.
|
|
2940
3397
|
*/
|
|
2941
3398
|
deleteTag(deleteTagRequest) {
|
|
2942
3399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2995,7 +3452,7 @@ class IdentityClient {
|
|
|
2995
3452
|
* @param DeleteTagDefaultRequest
|
|
2996
3453
|
* @return DeleteTagDefaultResponse
|
|
2997
3454
|
* @throws OciError when an error occurs
|
|
2998
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteTagDefault.ts.html |here} to see how to use DeleteTagDefault API.
|
|
2999
3456
|
*/
|
|
3000
3457
|
deleteTagDefault(deleteTagDefaultRequest) {
|
|
3001
3458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3055,7 +3512,7 @@ class IdentityClient {
|
|
|
3055
3512
|
* @param DeleteTagNamespaceRequest
|
|
3056
3513
|
* @return DeleteTagNamespaceResponse
|
|
3057
3514
|
* @throws OciError when an error occurs
|
|
3058
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3515
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteTagNamespace.ts.html |here} to see how to use DeleteTagNamespace API.
|
|
3059
3516
|
*/
|
|
3060
3517
|
deleteTagNamespace(deleteTagNamespaceRequest) {
|
|
3061
3518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3108,7 +3565,7 @@ class IdentityClient {
|
|
|
3108
3565
|
* @param DeleteUserRequest
|
|
3109
3566
|
* @return DeleteUserResponse
|
|
3110
3567
|
* @throws OciError when an error occurs
|
|
3111
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3568
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/DeleteUser.ts.html |here} to see how to use DeleteUser API.
|
|
3112
3569
|
*/
|
|
3113
3570
|
deleteUser(deleteUserRequest) {
|
|
3114
3571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3154,6 +3611,79 @@ class IdentityClient {
|
|
|
3154
3611
|
}
|
|
3155
3612
|
});
|
|
3156
3613
|
}
|
|
3614
|
+
/**
|
|
3615
|
+
* Replicate domain to a new region. This is an asynchronous call - where, at start,
|
|
3616
|
+
* {@code state} of this domain in replica region is set to ENABLING_REPLICATION.
|
|
3617
|
+
* On domain replication completion the {@code state} will be set to REPLICATION_ENABLED.
|
|
3618
|
+
* <p>
|
|
3619
|
+
To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
3620
|
+
* the async operation's status.
|
|
3621
|
+
* <p>
|
|
3622
|
+
If the replica region's {@code state} is already ENABLING_REPLICATION or REPLICATION_ENABLED,
|
|
3623
|
+
* returns 409 CONFLICT.
|
|
3624
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
3625
|
+
* - If home region is same as replication region, return 400 BAD REQUEST.
|
|
3626
|
+
* - If Domain is not active or being updated, returns 400 BAD REQUEST.
|
|
3627
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
3628
|
+
*
|
|
3629
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3630
|
+
* @param EnableReplicationToRegionRequest
|
|
3631
|
+
* @return EnableReplicationToRegionResponse
|
|
3632
|
+
* @throws OciError when an error occurs
|
|
3633
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/EnableReplicationToRegion.ts.html |here} to see how to use EnableReplicationToRegion API.
|
|
3634
|
+
*/
|
|
3635
|
+
enableReplicationToRegion(enableReplicationToRegionRequest) {
|
|
3636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3637
|
+
if (this.logger)
|
|
3638
|
+
this.logger.debug("Calling operation IdentityClient#enableReplicationToRegion.");
|
|
3639
|
+
const pathParams = {
|
|
3640
|
+
"{domainId}": enableReplicationToRegionRequest.domainId
|
|
3641
|
+
};
|
|
3642
|
+
const queryParams = {};
|
|
3643
|
+
let headerParams = {
|
|
3644
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3645
|
+
"opc-request-id": enableReplicationToRegionRequest.opcRequestId,
|
|
3646
|
+
"opc-retry-token": enableReplicationToRegionRequest.opcRetryToken,
|
|
3647
|
+
"if-match": enableReplicationToRegionRequest.ifMatch
|
|
3648
|
+
};
|
|
3649
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3650
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, enableReplicationToRegionRequest.retryConfiguration, specRetryConfiguration);
|
|
3651
|
+
if (this.logger)
|
|
3652
|
+
retrier.logger = this.logger;
|
|
3653
|
+
const request = yield oci_common_2.composeRequest({
|
|
3654
|
+
baseEndpoint: this._endpoint,
|
|
3655
|
+
defaultHeaders: this._defaultHeaders,
|
|
3656
|
+
path: "/domains/{domainId}/actions/enableReplicationToRegion",
|
|
3657
|
+
method: "POST",
|
|
3658
|
+
bodyContent: common.ObjectSerializer.serialize(enableReplicationToRegionRequest.enableReplicationToRegionDetails, "EnableReplicationToRegionDetails", model.EnableReplicationToRegionDetails.getJsonObj),
|
|
3659
|
+
pathParams: pathParams,
|
|
3660
|
+
headerParams: headerParams,
|
|
3661
|
+
queryParams: queryParams
|
|
3662
|
+
});
|
|
3663
|
+
try {
|
|
3664
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3665
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3666
|
+
responseObject: {},
|
|
3667
|
+
responseHeaders: [
|
|
3668
|
+
{
|
|
3669
|
+
value: response.headers.get("opc-request-id"),
|
|
3670
|
+
key: "opcRequestId",
|
|
3671
|
+
dataType: "string"
|
|
3672
|
+
},
|
|
3673
|
+
{
|
|
3674
|
+
value: response.headers.get("opc-work-request-id"),
|
|
3675
|
+
key: "opcWorkRequestId",
|
|
3676
|
+
dataType: "string"
|
|
3677
|
+
}
|
|
3678
|
+
]
|
|
3679
|
+
});
|
|
3680
|
+
return sdkResponse;
|
|
3681
|
+
}
|
|
3682
|
+
catch (err) {
|
|
3683
|
+
throw err;
|
|
3684
|
+
}
|
|
3685
|
+
});
|
|
3686
|
+
}
|
|
3157
3687
|
/**
|
|
3158
3688
|
* Generate seed for the MFA TOTP device.
|
|
3159
3689
|
*
|
|
@@ -3161,7 +3691,7 @@ class IdentityClient {
|
|
|
3161
3691
|
* @param GenerateTotpSeedRequest
|
|
3162
3692
|
* @return GenerateTotpSeedResponse
|
|
3163
3693
|
* @throws OciError when an error occurs
|
|
3164
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3694
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GenerateTotpSeed.ts.html |here} to see how to use GenerateTotpSeed API.
|
|
3165
3695
|
*/
|
|
3166
3696
|
generateTotpSeed(generateTotpSeedRequest) {
|
|
3167
3697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3225,7 +3755,7 @@ class IdentityClient {
|
|
|
3225
3755
|
* @param GetAuthenticationPolicyRequest
|
|
3226
3756
|
* @return GetAuthenticationPolicyResponse
|
|
3227
3757
|
* @throws OciError when an error occurs
|
|
3228
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3758
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetAuthenticationPolicy.ts.html |here} to see how to use GetAuthenticationPolicy API.
|
|
3229
3759
|
*/
|
|
3230
3760
|
getAuthenticationPolicy(getAuthenticationPolicyRequest) {
|
|
3231
3761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3293,7 +3823,7 @@ class IdentityClient {
|
|
|
3293
3823
|
* @param GetCompartmentRequest
|
|
3294
3824
|
* @return GetCompartmentResponse
|
|
3295
3825
|
* @throws OciError when an error occurs
|
|
3296
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetCompartment.ts.html |here} to see how to use GetCompartment API.
|
|
3297
3827
|
*/
|
|
3298
3828
|
getCompartment(getCompartmentRequest) {
|
|
3299
3829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3347,6 +3877,71 @@ class IdentityClient {
|
|
|
3347
3877
|
}
|
|
3348
3878
|
});
|
|
3349
3879
|
}
|
|
3880
|
+
/**
|
|
3881
|
+
* Get the specified domain's information.
|
|
3882
|
+
* <p>
|
|
3883
|
+
- If the domain doesn't exists, returns 404 NOT FOUND.
|
|
3884
|
+
* - If any internal error occurs, returns 500 INTERNAL SERVER ERROR.
|
|
3885
|
+
*
|
|
3886
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3887
|
+
* @param GetDomainRequest
|
|
3888
|
+
* @return GetDomainResponse
|
|
3889
|
+
* @throws OciError when an error occurs
|
|
3890
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetDomain.ts.html |here} to see how to use GetDomain API.
|
|
3891
|
+
*/
|
|
3892
|
+
getDomain(getDomainRequest) {
|
|
3893
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3894
|
+
if (this.logger)
|
|
3895
|
+
this.logger.debug("Calling operation IdentityClient#getDomain.");
|
|
3896
|
+
const pathParams = {
|
|
3897
|
+
"{domainId}": getDomainRequest.domainId
|
|
3898
|
+
};
|
|
3899
|
+
const queryParams = {};
|
|
3900
|
+
let headerParams = {
|
|
3901
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3902
|
+
"opc-request-id": getDomainRequest.opcRequestId
|
|
3903
|
+
};
|
|
3904
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3905
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
3906
|
+
if (this.logger)
|
|
3907
|
+
retrier.logger = this.logger;
|
|
3908
|
+
const request = yield oci_common_2.composeRequest({
|
|
3909
|
+
baseEndpoint: this._endpoint,
|
|
3910
|
+
defaultHeaders: this._defaultHeaders,
|
|
3911
|
+
path: "/domains/{domainId}",
|
|
3912
|
+
method: "GET",
|
|
3913
|
+
pathParams: pathParams,
|
|
3914
|
+
headerParams: headerParams,
|
|
3915
|
+
queryParams: queryParams
|
|
3916
|
+
});
|
|
3917
|
+
try {
|
|
3918
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
3919
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
3920
|
+
responseObject: {},
|
|
3921
|
+
body: yield response.json(),
|
|
3922
|
+
bodyKey: "domain",
|
|
3923
|
+
bodyModel: model.Domain,
|
|
3924
|
+
type: "model.Domain",
|
|
3925
|
+
responseHeaders: [
|
|
3926
|
+
{
|
|
3927
|
+
value: response.headers.get("opc-request-id"),
|
|
3928
|
+
key: "opcRequestId",
|
|
3929
|
+
dataType: "string"
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
value: response.headers.get("etag"),
|
|
3933
|
+
key: "etag",
|
|
3934
|
+
dataType: "string"
|
|
3935
|
+
}
|
|
3936
|
+
]
|
|
3937
|
+
});
|
|
3938
|
+
return sdkResponse;
|
|
3939
|
+
}
|
|
3940
|
+
catch (err) {
|
|
3941
|
+
throw err;
|
|
3942
|
+
}
|
|
3943
|
+
});
|
|
3944
|
+
}
|
|
3350
3945
|
/**
|
|
3351
3946
|
* Gets the specified dynamic group's information.
|
|
3352
3947
|
*
|
|
@@ -3354,7 +3949,7 @@ class IdentityClient {
|
|
|
3354
3949
|
* @param GetDynamicGroupRequest
|
|
3355
3950
|
* @return GetDynamicGroupResponse
|
|
3356
3951
|
* @throws OciError when an error occurs
|
|
3357
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
3952
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetDynamicGroup.ts.html |here} to see how to use GetDynamicGroup API.
|
|
3358
3953
|
*/
|
|
3359
3954
|
getDynamicGroup(getDynamicGroupRequest) {
|
|
3360
3955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3419,7 +4014,7 @@ class IdentityClient {
|
|
|
3419
4014
|
* @param GetGroupRequest
|
|
3420
4015
|
* @return GetGroupResponse
|
|
3421
4016
|
* @throws OciError when an error occurs
|
|
3422
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4017
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetGroup.ts.html |here} to see how to use GetGroup API.
|
|
3423
4018
|
*/
|
|
3424
4019
|
getGroup(getGroupRequest) {
|
|
3425
4020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3474,32 +4069,38 @@ class IdentityClient {
|
|
|
3474
4069
|
});
|
|
3475
4070
|
}
|
|
3476
4071
|
/**
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
4072
|
+
* Gets details on a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
|
|
4073
|
+
* iam work request id that can be provided in this API to track the current status of the operation.
|
|
4074
|
+
* <p>
|
|
4075
|
+
- If workrequest exists, returns 202 ACCEPTED
|
|
4076
|
+
* - If workrequest does not exist, returns 404 NOT FOUND
|
|
4077
|
+
*
|
|
4078
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4079
|
+
* @param GetIamWorkRequestRequest
|
|
4080
|
+
* @return GetIamWorkRequestResponse
|
|
4081
|
+
* @throws OciError when an error occurs
|
|
4082
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetIamWorkRequest.ts.html |here} to see how to use GetIamWorkRequest API.
|
|
4083
|
+
*/
|
|
4084
|
+
getIamWorkRequest(getIamWorkRequestRequest) {
|
|
3485
4085
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3486
4086
|
if (this.logger)
|
|
3487
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
4087
|
+
this.logger.debug("Calling operation IdentityClient#getIamWorkRequest.");
|
|
3488
4088
|
const pathParams = {
|
|
3489
|
-
"{
|
|
4089
|
+
"{iamWorkRequestId}": getIamWorkRequestRequest.iamWorkRequestId
|
|
3490
4090
|
};
|
|
3491
4091
|
const queryParams = {};
|
|
3492
4092
|
let headerParams = {
|
|
3493
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4093
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4094
|
+
"opc-request-id": getIamWorkRequestRequest.opcRequestId
|
|
3494
4095
|
};
|
|
3495
4096
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3496
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
4097
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIamWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3497
4098
|
if (this.logger)
|
|
3498
4099
|
retrier.logger = this.logger;
|
|
3499
4100
|
const request = yield oci_common_2.composeRequest({
|
|
3500
4101
|
baseEndpoint: this._endpoint,
|
|
3501
4102
|
defaultHeaders: this._defaultHeaders,
|
|
3502
|
-
path: "/
|
|
4103
|
+
path: "/iamWorkRequests/{iamWorkRequestId}",
|
|
3503
4104
|
method: "GET",
|
|
3504
4105
|
pathParams: pathParams,
|
|
3505
4106
|
headerParams: headerParams,
|
|
@@ -3510,19 +4111,14 @@ class IdentityClient {
|
|
|
3510
4111
|
const sdkResponse = oci_common_2.composeResponse({
|
|
3511
4112
|
responseObject: {},
|
|
3512
4113
|
body: yield response.json(),
|
|
3513
|
-
bodyKey: "
|
|
3514
|
-
bodyModel: model.
|
|
3515
|
-
type: "model.
|
|
4114
|
+
bodyKey: "iamWorkRequest",
|
|
4115
|
+
bodyModel: model.IamWorkRequest,
|
|
4116
|
+
type: "model.IamWorkRequest",
|
|
3516
4117
|
responseHeaders: [
|
|
3517
4118
|
{
|
|
3518
4119
|
value: response.headers.get("opc-request-id"),
|
|
3519
4120
|
key: "opcRequestId",
|
|
3520
4121
|
dataType: "string"
|
|
3521
|
-
},
|
|
3522
|
-
{
|
|
3523
|
-
value: response.headers.get("etag"),
|
|
3524
|
-
key: "etag",
|
|
3525
|
-
dataType: "string"
|
|
3526
4122
|
}
|
|
3527
4123
|
]
|
|
3528
4124
|
});
|
|
@@ -3534,14 +4130,80 @@ class IdentityClient {
|
|
|
3534
4130
|
});
|
|
3535
4131
|
}
|
|
3536
4132
|
/**
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
4133
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
4134
|
+
* <p>
|
|
4135
|
+
Gets the specified identity provider's information.
|
|
4136
|
+
*
|
|
4137
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4138
|
+
* @param GetIdentityProviderRequest
|
|
4139
|
+
* @return GetIdentityProviderResponse
|
|
4140
|
+
* @throws OciError when an error occurs
|
|
4141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetIdentityProvider.ts.html |here} to see how to use GetIdentityProvider API.
|
|
4142
|
+
*/
|
|
4143
|
+
getIdentityProvider(getIdentityProviderRequest) {
|
|
4144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4145
|
+
if (this.logger)
|
|
4146
|
+
this.logger.debug("Calling operation IdentityClient#getIdentityProvider.");
|
|
4147
|
+
const pathParams = {
|
|
4148
|
+
"{identityProviderId}": getIdentityProviderRequest.identityProviderId
|
|
4149
|
+
};
|
|
4150
|
+
const queryParams = {};
|
|
4151
|
+
let headerParams = {
|
|
4152
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4153
|
+
};
|
|
4154
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4155
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
4156
|
+
if (this.logger)
|
|
4157
|
+
retrier.logger = this.logger;
|
|
4158
|
+
const request = yield oci_common_2.composeRequest({
|
|
4159
|
+
baseEndpoint: this._endpoint,
|
|
4160
|
+
defaultHeaders: this._defaultHeaders,
|
|
4161
|
+
path: "/identityProviders/{identityProviderId}",
|
|
4162
|
+
method: "GET",
|
|
4163
|
+
pathParams: pathParams,
|
|
4164
|
+
headerParams: headerParams,
|
|
4165
|
+
queryParams: queryParams
|
|
4166
|
+
});
|
|
4167
|
+
try {
|
|
4168
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4169
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4170
|
+
responseObject: {},
|
|
4171
|
+
body: yield response.json(),
|
|
4172
|
+
bodyKey: "identityProvider",
|
|
4173
|
+
bodyModel: model.IdentityProvider,
|
|
4174
|
+
type: "model.IdentityProvider",
|
|
4175
|
+
responseHeaders: [
|
|
4176
|
+
{
|
|
4177
|
+
value: response.headers.get("opc-request-id"),
|
|
4178
|
+
key: "opcRequestId",
|
|
4179
|
+
dataType: "string"
|
|
4180
|
+
},
|
|
4181
|
+
{
|
|
4182
|
+
value: response.headers.get("etag"),
|
|
4183
|
+
key: "etag",
|
|
4184
|
+
dataType: "string"
|
|
4185
|
+
}
|
|
4186
|
+
]
|
|
4187
|
+
});
|
|
4188
|
+
return sdkResponse;
|
|
4189
|
+
}
|
|
4190
|
+
catch (err) {
|
|
4191
|
+
throw err;
|
|
4192
|
+
}
|
|
4193
|
+
});
|
|
4194
|
+
}
|
|
4195
|
+
/**
|
|
4196
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
4197
|
+
* <p>
|
|
4198
|
+
Gets the specified group mapping.
|
|
4199
|
+
*
|
|
4200
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4201
|
+
* @param GetIdpGroupMappingRequest
|
|
4202
|
+
* @return GetIdpGroupMappingResponse
|
|
4203
|
+
* @throws OciError when an error occurs
|
|
4204
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetIdpGroupMapping.ts.html |here} to see how to use GetIdpGroupMapping API.
|
|
4205
|
+
*/
|
|
4206
|
+
getIdpGroupMapping(getIdpGroupMappingRequest) {
|
|
3545
4207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3546
4208
|
if (this.logger)
|
|
3547
4209
|
this.logger.debug("Calling operation IdentityClient#getIdpGroupMapping.");
|
|
@@ -3601,7 +4263,7 @@ class IdentityClient {
|
|
|
3601
4263
|
* @param GetMfaTotpDeviceRequest
|
|
3602
4264
|
* @return GetMfaTotpDeviceResponse
|
|
3603
4265
|
* @throws OciError when an error occurs
|
|
3604
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4266
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetMfaTotpDevice.ts.html |here} to see how to use GetMfaTotpDevice API.
|
|
3605
4267
|
*/
|
|
3606
4268
|
getMfaTotpDevice(getMfaTotpDeviceRequest) {
|
|
3607
4269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3663,7 +4325,7 @@ class IdentityClient {
|
|
|
3663
4325
|
* @param GetNetworkSourceRequest
|
|
3664
4326
|
* @return GetNetworkSourceResponse
|
|
3665
4327
|
* @throws OciError when an error occurs
|
|
3666
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4328
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetNetworkSource.ts.html |here} to see how to use GetNetworkSource API.
|
|
3667
4329
|
*/
|
|
3668
4330
|
getNetworkSource(getNetworkSourceRequest) {
|
|
3669
4331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3723,7 +4385,7 @@ class IdentityClient {
|
|
|
3723
4385
|
* @param GetPolicyRequest
|
|
3724
4386
|
* @return GetPolicyResponse
|
|
3725
4387
|
* @throws OciError when an error occurs
|
|
3726
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetPolicy.ts.html |here} to see how to use GetPolicy API.
|
|
3727
4389
|
*/
|
|
3728
4390
|
getPolicy(getPolicyRequest) {
|
|
3729
4391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3777,13 +4439,71 @@ class IdentityClient {
|
|
|
3777
4439
|
}
|
|
3778
4440
|
});
|
|
3779
4441
|
}
|
|
4442
|
+
/**
|
|
4443
|
+
* Retrieve the standard tag namespace template given the standard tag namespace name.
|
|
4444
|
+
*
|
|
4445
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4446
|
+
* @param GetStandardTagTemplateRequest
|
|
4447
|
+
* @return GetStandardTagTemplateResponse
|
|
4448
|
+
* @throws OciError when an error occurs
|
|
4449
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetStandardTagTemplate.ts.html |here} to see how to use GetStandardTagTemplate API.
|
|
4450
|
+
*/
|
|
4451
|
+
getStandardTagTemplate(getStandardTagTemplateRequest) {
|
|
4452
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4453
|
+
if (this.logger)
|
|
4454
|
+
this.logger.debug("Calling operation IdentityClient#getStandardTagTemplate.");
|
|
4455
|
+
const pathParams = {
|
|
4456
|
+
"{standardTagNamespaceName}": getStandardTagTemplateRequest.standardTagNamespaceName
|
|
4457
|
+
};
|
|
4458
|
+
const queryParams = {
|
|
4459
|
+
"compartmentId": getStandardTagTemplateRequest.compartmentId
|
|
4460
|
+
};
|
|
4461
|
+
let headerParams = {
|
|
4462
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4463
|
+
};
|
|
4464
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4465
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getStandardTagTemplateRequest.retryConfiguration, specRetryConfiguration);
|
|
4466
|
+
if (this.logger)
|
|
4467
|
+
retrier.logger = this.logger;
|
|
4468
|
+
const request = yield oci_common_2.composeRequest({
|
|
4469
|
+
baseEndpoint: this._endpoint,
|
|
4470
|
+
defaultHeaders: this._defaultHeaders,
|
|
4471
|
+
path: "/tags/standardTagNamespaceTemplates/{standardTagNamespaceName}",
|
|
4472
|
+
method: "GET",
|
|
4473
|
+
pathParams: pathParams,
|
|
4474
|
+
headerParams: headerParams,
|
|
4475
|
+
queryParams: queryParams
|
|
4476
|
+
});
|
|
4477
|
+
try {
|
|
4478
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4479
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4480
|
+
responseObject: {},
|
|
4481
|
+
body: yield response.json(),
|
|
4482
|
+
bodyKey: "standardTagNamespaceTemplate",
|
|
4483
|
+
bodyModel: model.StandardTagNamespaceTemplate,
|
|
4484
|
+
type: "model.StandardTagNamespaceTemplate",
|
|
4485
|
+
responseHeaders: [
|
|
4486
|
+
{
|
|
4487
|
+
value: response.headers.get("opc-request-id"),
|
|
4488
|
+
key: "opcRequestId",
|
|
4489
|
+
dataType: "string"
|
|
4490
|
+
}
|
|
4491
|
+
]
|
|
4492
|
+
});
|
|
4493
|
+
return sdkResponse;
|
|
4494
|
+
}
|
|
4495
|
+
catch (err) {
|
|
4496
|
+
throw err;
|
|
4497
|
+
}
|
|
4498
|
+
});
|
|
4499
|
+
}
|
|
3780
4500
|
/**
|
|
3781
4501
|
* Gets the specified tag's information.
|
|
3782
4502
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3783
4503
|
* @param GetTagRequest
|
|
3784
4504
|
* @return GetTagResponse
|
|
3785
4505
|
* @throws OciError when an error occurs
|
|
3786
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4506
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetTag.ts.html |here} to see how to use GetTag API.
|
|
3787
4507
|
*/
|
|
3788
4508
|
getTag(getTagRequest) {
|
|
3789
4509
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3845,7 +4565,7 @@ class IdentityClient {
|
|
|
3845
4565
|
* @param GetTagDefaultRequest
|
|
3846
4566
|
* @return GetTagDefaultResponse
|
|
3847
4567
|
* @throws OciError when an error occurs
|
|
3848
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4568
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetTagDefault.ts.html |here} to see how to use GetTagDefault API.
|
|
3849
4569
|
*/
|
|
3850
4570
|
getTagDefault(getTagDefaultRequest) {
|
|
3851
4571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3906,7 +4626,7 @@ class IdentityClient {
|
|
|
3906
4626
|
* @param GetTagNamespaceRequest
|
|
3907
4627
|
* @return GetTagNamespaceResponse
|
|
3908
4628
|
* @throws OciError when an error occurs
|
|
3909
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4629
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetTagNamespace.ts.html |here} to see how to use GetTagNamespace API.
|
|
3910
4630
|
*/
|
|
3911
4631
|
getTagNamespace(getTagNamespaceRequest) {
|
|
3912
4632
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3957,13 +4677,13 @@ class IdentityClient {
|
|
|
3957
4677
|
}
|
|
3958
4678
|
/**
|
|
3959
4679
|
* Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
|
3960
|
-
* for any asynchronous operation in
|
|
4680
|
+
* for any asynchronous operation in tagging service.
|
|
3961
4681
|
*
|
|
3962
4682
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3963
4683
|
* @param GetTaggingWorkRequestRequest
|
|
3964
4684
|
* @return GetTaggingWorkRequestResponse
|
|
3965
4685
|
* @throws OciError when an error occurs
|
|
3966
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4686
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetTaggingWorkRequest.ts.html |here} to see how to use GetTaggingWorkRequest API.
|
|
3967
4687
|
*/
|
|
3968
4688
|
getTaggingWorkRequest(getTaggingWorkRequestRequest) {
|
|
3969
4689
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4023,7 +4743,7 @@ class IdentityClient {
|
|
|
4023
4743
|
* @param GetTenancyRequest
|
|
4024
4744
|
* @return GetTenancyResponse
|
|
4025
4745
|
* @throws OciError when an error occurs
|
|
4026
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4746
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetTenancy.ts.html |here} to see how to use GetTenancy API.
|
|
4027
4747
|
*/
|
|
4028
4748
|
getTenancy(getTenancyRequest) {
|
|
4029
4749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4078,7 +4798,7 @@ class IdentityClient {
|
|
|
4078
4798
|
* @param GetUserRequest
|
|
4079
4799
|
* @return GetUserResponse
|
|
4080
4800
|
* @throws OciError when an error occurs
|
|
4081
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4801
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetUser.ts.html |here} to see how to use GetUser API.
|
|
4082
4802
|
*/
|
|
4083
4803
|
getUser(getUserRequest) {
|
|
4084
4804
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4138,7 +4858,7 @@ class IdentityClient {
|
|
|
4138
4858
|
* @param GetUserGroupMembershipRequest
|
|
4139
4859
|
* @return GetUserGroupMembershipResponse
|
|
4140
4860
|
* @throws OciError when an error occurs
|
|
4141
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4861
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetUserGroupMembership.ts.html |here} to see how to use GetUserGroupMembership API.
|
|
4142
4862
|
*/
|
|
4143
4863
|
getUserGroupMembership(getUserGroupMembershipRequest) {
|
|
4144
4864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4200,7 +4920,7 @@ class IdentityClient {
|
|
|
4200
4920
|
* @param GetUserUIPasswordInformationRequest
|
|
4201
4921
|
* @return GetUserUIPasswordInformationResponse
|
|
4202
4922
|
* @throws OciError when an error occurs
|
|
4203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4923
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetUserUIPasswordInformation.ts.html |here} to see how to use GetUserUIPasswordInformation API.
|
|
4204
4924
|
*/
|
|
4205
4925
|
getUserUIPasswordInformation(getUserUIPasswordInformationRequest) {
|
|
4206
4926
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4256,13 +4976,13 @@ class IdentityClient {
|
|
|
4256
4976
|
}
|
|
4257
4977
|
/**
|
|
4258
4978
|
* Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
|
4259
|
-
* for any asynchronous operation in the
|
|
4979
|
+
* for any asynchronous operation in the compartment service.
|
|
4260
4980
|
*
|
|
4261
4981
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4262
4982
|
* @param GetWorkRequestRequest
|
|
4263
4983
|
* @return GetWorkRequestResponse
|
|
4264
4984
|
* @throws OciError when an error occurs
|
|
4265
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4985
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4266
4986
|
*/
|
|
4267
4987
|
getWorkRequest(getWorkRequestRequest) {
|
|
4268
4988
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4316,6 +5036,133 @@ class IdentityClient {
|
|
|
4316
5036
|
}
|
|
4317
5037
|
});
|
|
4318
5038
|
}
|
|
5039
|
+
/**
|
|
5040
|
+
* OCI will release Tag Namespaces that our customers can import.
|
|
5041
|
+
* These Tag Namespaces will provide Tags for our customers and Partners to provide consistency and enable data reporting.
|
|
5042
|
+
*
|
|
5043
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5044
|
+
* @param ImportStandardTagsRequest
|
|
5045
|
+
* @return ImportStandardTagsResponse
|
|
5046
|
+
* @throws OciError when an error occurs
|
|
5047
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ImportStandardTags.ts.html |here} to see how to use ImportStandardTags API.
|
|
5048
|
+
*/
|
|
5049
|
+
importStandardTags(importStandardTagsRequest) {
|
|
5050
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5051
|
+
if (this.logger)
|
|
5052
|
+
this.logger.debug("Calling operation IdentityClient#importStandardTags.");
|
|
5053
|
+
const pathParams = {};
|
|
5054
|
+
const queryParams = {};
|
|
5055
|
+
let headerParams = {
|
|
5056
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5057
|
+
"opc-request-id": importStandardTagsRequest.opcRequestId,
|
|
5058
|
+
"opc-retry-token": importStandardTagsRequest.opcRetryToken
|
|
5059
|
+
};
|
|
5060
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5061
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, importStandardTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
5062
|
+
if (this.logger)
|
|
5063
|
+
retrier.logger = this.logger;
|
|
5064
|
+
const request = yield oci_common_2.composeRequest({
|
|
5065
|
+
baseEndpoint: this._endpoint,
|
|
5066
|
+
defaultHeaders: this._defaultHeaders,
|
|
5067
|
+
path: "/tags/actions/importStandardTags",
|
|
5068
|
+
method: "POST",
|
|
5069
|
+
bodyContent: common.ObjectSerializer.serialize(importStandardTagsRequest.importStandardTagsDetails, "ImportStandardTagsDetails", model.ImportStandardTagsDetails.getJsonObj),
|
|
5070
|
+
pathParams: pathParams,
|
|
5071
|
+
headerParams: headerParams,
|
|
5072
|
+
queryParams: queryParams
|
|
5073
|
+
});
|
|
5074
|
+
try {
|
|
5075
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5076
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5077
|
+
responseObject: {},
|
|
5078
|
+
responseHeaders: [
|
|
5079
|
+
{
|
|
5080
|
+
value: response.headers.get("opc-request-id"),
|
|
5081
|
+
key: "opcRequestId",
|
|
5082
|
+
dataType: "string"
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
value: response.headers.get("opc-work-request-id"),
|
|
5086
|
+
key: "opcWorkRequestId",
|
|
5087
|
+
dataType: "string"
|
|
5088
|
+
}
|
|
5089
|
+
]
|
|
5090
|
+
});
|
|
5091
|
+
return sdkResponse;
|
|
5092
|
+
}
|
|
5093
|
+
catch (err) {
|
|
5094
|
+
throw err;
|
|
5095
|
+
}
|
|
5096
|
+
});
|
|
5097
|
+
}
|
|
5098
|
+
/**
|
|
5099
|
+
* List the allowed domain license types supported by OCI
|
|
5100
|
+
* If {@code currentLicenseTypeName} provided, returns allowed license types a domain with the specified license type name can migrate to.
|
|
5101
|
+
* If {@code name} is provided, it filters and returns resources that match the given license type name.
|
|
5102
|
+
* Otherwise, returns all valid license types that are currently supported.
|
|
5103
|
+
* <p>
|
|
5104
|
+
- If license type details are retrieved sucessfully, return 202 ACCEPTED.
|
|
5105
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
5106
|
+
*
|
|
5107
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5108
|
+
* @param ListAllowedDomainLicenseTypesRequest
|
|
5109
|
+
* @return ListAllowedDomainLicenseTypesResponse
|
|
5110
|
+
* @throws OciError when an error occurs
|
|
5111
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListAllowedDomainLicenseTypes.ts.html |here} to see how to use ListAllowedDomainLicenseTypes API.
|
|
5112
|
+
*/
|
|
5113
|
+
listAllowedDomainLicenseTypes(listAllowedDomainLicenseTypesRequest) {
|
|
5114
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5115
|
+
if (this.logger)
|
|
5116
|
+
this.logger.debug("Calling operation IdentityClient#listAllowedDomainLicenseTypes.");
|
|
5117
|
+
const pathParams = {};
|
|
5118
|
+
const queryParams = {
|
|
5119
|
+
"currentLicenseTypeName": listAllowedDomainLicenseTypesRequest.currentLicenseTypeName
|
|
5120
|
+
};
|
|
5121
|
+
let headerParams = {
|
|
5122
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5123
|
+
"opc-request-id": listAllowedDomainLicenseTypesRequest.opcRequestId
|
|
5124
|
+
};
|
|
5125
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5126
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAllowedDomainLicenseTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
5127
|
+
if (this.logger)
|
|
5128
|
+
retrier.logger = this.logger;
|
|
5129
|
+
const request = yield oci_common_2.composeRequest({
|
|
5130
|
+
baseEndpoint: this._endpoint,
|
|
5131
|
+
defaultHeaders: this._defaultHeaders,
|
|
5132
|
+
path: "/allowedDomainLicenseTypes",
|
|
5133
|
+
method: "GET",
|
|
5134
|
+
pathParams: pathParams,
|
|
5135
|
+
headerParams: headerParams,
|
|
5136
|
+
queryParams: queryParams
|
|
5137
|
+
});
|
|
5138
|
+
try {
|
|
5139
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5140
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5141
|
+
responseObject: {},
|
|
5142
|
+
body: yield response.json(),
|
|
5143
|
+
bodyKey: "items",
|
|
5144
|
+
bodyModel: model.AllowedDomainLicenseTypeSummary,
|
|
5145
|
+
type: "Array<model.AllowedDomainLicenseTypeSummary>",
|
|
5146
|
+
responseHeaders: [
|
|
5147
|
+
{
|
|
5148
|
+
value: response.headers.get("opc-request-id"),
|
|
5149
|
+
key: "opcRequestId",
|
|
5150
|
+
dataType: "string"
|
|
5151
|
+
},
|
|
5152
|
+
{
|
|
5153
|
+
value: response.headers.get("opc-next-page"),
|
|
5154
|
+
key: "opcNextPage",
|
|
5155
|
+
dataType: "string"
|
|
5156
|
+
}
|
|
5157
|
+
]
|
|
5158
|
+
});
|
|
5159
|
+
return sdkResponse;
|
|
5160
|
+
}
|
|
5161
|
+
catch (err) {
|
|
5162
|
+
throw err;
|
|
5163
|
+
}
|
|
5164
|
+
});
|
|
5165
|
+
}
|
|
4319
5166
|
/**
|
|
4320
5167
|
* Lists the API signing keys for the specified user. A user can have a maximum of three keys.
|
|
4321
5168
|
* <p>
|
|
@@ -4326,7 +5173,7 @@ class IdentityClient {
|
|
|
4326
5173
|
* @param ListApiKeysRequest
|
|
4327
5174
|
* @return ListApiKeysResponse
|
|
4328
5175
|
* @throws OciError when an error occurs
|
|
4329
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListApiKeys.ts.html |here} to see how to use ListApiKeys API.
|
|
4330
5177
|
*/
|
|
4331
5178
|
listApiKeys(listApiKeysRequest) {
|
|
4332
5179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4388,7 +5235,7 @@ class IdentityClient {
|
|
|
4388
5235
|
* @param ListAuthTokensRequest
|
|
4389
5236
|
* @return ListAuthTokensResponse
|
|
4390
5237
|
* @throws OciError when an error occurs
|
|
4391
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5238
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListAuthTokens.ts.html |here} to see how to use ListAuthTokens API.
|
|
4392
5239
|
*/
|
|
4393
5240
|
listAuthTokens(listAuthTokensRequest) {
|
|
4394
5241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4453,7 +5300,7 @@ class IdentityClient {
|
|
|
4453
5300
|
* @param ListAvailabilityDomainsRequest
|
|
4454
5301
|
* @return ListAvailabilityDomainsResponse
|
|
4455
5302
|
* @throws OciError when an error occurs
|
|
4456
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5303
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListAvailabilityDomains.ts.html |here} to see how to use ListAvailabilityDomains API.
|
|
4457
5304
|
*/
|
|
4458
5305
|
listAvailabilityDomains(listAvailabilityDomainsRequest) {
|
|
4459
5306
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4520,7 +5367,7 @@ class IdentityClient {
|
|
|
4520
5367
|
* @param ListBulkActionResourceTypesRequest
|
|
4521
5368
|
* @return ListBulkActionResourceTypesResponse
|
|
4522
5369
|
* @throws OciError when an error occurs
|
|
4523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5370
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListBulkActionResourceTypes.ts.html |here} to see how to use ListBulkActionResourceTypes API.
|
|
4524
5371
|
*/
|
|
4525
5372
|
listBulkActionResourceTypes(listBulkActionResourceTypesRequest) {
|
|
4526
5373
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4583,7 +5430,7 @@ class IdentityClient {
|
|
|
4583
5430
|
* @param ListBulkEditTagsResourceTypesRequest
|
|
4584
5431
|
* @return ListBulkEditTagsResourceTypesResponse
|
|
4585
5432
|
* @throws OciError when an error occurs
|
|
4586
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5433
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListBulkEditTagsResourceTypes.ts.html |here} to see how to use ListBulkEditTagsResourceTypes API.
|
|
4587
5434
|
*/
|
|
4588
5435
|
listBulkEditTagsResourceTypes(listBulkEditTagsResourceTypesRequest) {
|
|
4589
5436
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4662,7 +5509,7 @@ class IdentityClient {
|
|
|
4662
5509
|
* @param ListCompartmentsRequest
|
|
4663
5510
|
* @return ListCompartmentsResponse
|
|
4664
5511
|
* @throws OciError when an error occurs
|
|
4665
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5512
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListCompartments.ts.html |here} to see how to use ListCompartments API.
|
|
4666
5513
|
*/
|
|
4667
5514
|
listCompartments(listCompartmentsRequest) {
|
|
4668
5515
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4772,7 +5619,7 @@ class IdentityClient {
|
|
|
4772
5619
|
* @param ListCostTrackingTagsRequest
|
|
4773
5620
|
* @return ListCostTrackingTagsResponse
|
|
4774
5621
|
* @throws OciError when an error occurs
|
|
4775
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5622
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListCostTrackingTags.ts.html |here} to see how to use ListCostTrackingTags API.
|
|
4776
5623
|
*/
|
|
4777
5624
|
listCostTrackingTags(listCostTrackingTagsRequest) {
|
|
4778
5625
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4876,7 +5723,7 @@ class IdentityClient {
|
|
|
4876
5723
|
* @param ListCustomerSecretKeysRequest
|
|
4877
5724
|
* @return ListCustomerSecretKeysResponse
|
|
4878
5725
|
* @throws OciError when an error occurs
|
|
4879
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5726
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListCustomerSecretKeys.ts.html |here} to see how to use ListCustomerSecretKeys API.
|
|
4880
5727
|
*/
|
|
4881
5728
|
listCustomerSecretKeys(listCustomerSecretKeysRequest) {
|
|
4882
5729
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4930,6 +5777,121 @@ class IdentityClient {
|
|
|
4930
5777
|
}
|
|
4931
5778
|
});
|
|
4932
5779
|
}
|
|
5780
|
+
/**
|
|
5781
|
+
* List all domains that are homed or have a replica region in current region.
|
|
5782
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
5783
|
+
*
|
|
5784
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5785
|
+
* @param ListDomainsRequest
|
|
5786
|
+
* @return ListDomainsResponse
|
|
5787
|
+
* @throws OciError when an error occurs
|
|
5788
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListDomains.ts.html |here} to see how to use ListDomains API.
|
|
5789
|
+
*/
|
|
5790
|
+
listDomains(listDomainsRequest) {
|
|
5791
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5792
|
+
if (this.logger)
|
|
5793
|
+
this.logger.debug("Calling operation IdentityClient#listDomains.");
|
|
5794
|
+
const pathParams = {};
|
|
5795
|
+
const queryParams = {
|
|
5796
|
+
"compartmentId": listDomainsRequest.compartmentId,
|
|
5797
|
+
"displayName": listDomainsRequest.displayName,
|
|
5798
|
+
"url": listDomainsRequest.url,
|
|
5799
|
+
"homeRegionUrl": listDomainsRequest.homeRegionUrl,
|
|
5800
|
+
"type": listDomainsRequest.type,
|
|
5801
|
+
"licenseType": listDomainsRequest.licenseType,
|
|
5802
|
+
"isHiddenOnLogin": listDomainsRequest.isHiddenOnLogin,
|
|
5803
|
+
"page": listDomainsRequest.page,
|
|
5804
|
+
"limit": listDomainsRequest.limit,
|
|
5805
|
+
"name": listDomainsRequest.name,
|
|
5806
|
+
"sortBy": listDomainsRequest.sortBy,
|
|
5807
|
+
"sortOrder": listDomainsRequest.sortOrder,
|
|
5808
|
+
"lifecycleState": listDomainsRequest.lifecycleState
|
|
5809
|
+
};
|
|
5810
|
+
let headerParams = {
|
|
5811
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5812
|
+
"opc-request-id": listDomainsRequest.opcRequestId
|
|
5813
|
+
};
|
|
5814
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5815
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
5816
|
+
if (this.logger)
|
|
5817
|
+
retrier.logger = this.logger;
|
|
5818
|
+
const request = yield oci_common_2.composeRequest({
|
|
5819
|
+
baseEndpoint: this._endpoint,
|
|
5820
|
+
defaultHeaders: this._defaultHeaders,
|
|
5821
|
+
path: "/domains",
|
|
5822
|
+
method: "GET",
|
|
5823
|
+
pathParams: pathParams,
|
|
5824
|
+
headerParams: headerParams,
|
|
5825
|
+
queryParams: queryParams
|
|
5826
|
+
});
|
|
5827
|
+
try {
|
|
5828
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5829
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5830
|
+
responseObject: {},
|
|
5831
|
+
body: yield response.json(),
|
|
5832
|
+
bodyKey: "items",
|
|
5833
|
+
bodyModel: model.DomainSummary,
|
|
5834
|
+
type: "Array<model.DomainSummary>",
|
|
5835
|
+
responseHeaders: [
|
|
5836
|
+
{
|
|
5837
|
+
value: response.headers.get("opc-request-id"),
|
|
5838
|
+
key: "opcRequestId",
|
|
5839
|
+
dataType: "string"
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
value: response.headers.get("opc-next-page"),
|
|
5843
|
+
key: "opcNextPage",
|
|
5844
|
+
dataType: "string"
|
|
5845
|
+
}
|
|
5846
|
+
]
|
|
5847
|
+
});
|
|
5848
|
+
return sdkResponse;
|
|
5849
|
+
}
|
|
5850
|
+
catch (err) {
|
|
5851
|
+
throw err;
|
|
5852
|
+
}
|
|
5853
|
+
});
|
|
5854
|
+
}
|
|
5855
|
+
/**
|
|
5856
|
+
* NOTE: This function is deprecated in favor of listDomainsRecordIterator function.
|
|
5857
|
+
* Creates a new async iterator which will iterate over the models.DomainSummary objects
|
|
5858
|
+
* contained in responses from the listDomains operation. This iterator will fetch more data from the
|
|
5859
|
+
* server as needed.
|
|
5860
|
+
*
|
|
5861
|
+
* @param request a request which can be sent to the service operation
|
|
5862
|
+
*/
|
|
5863
|
+
listAllDomains(request) {
|
|
5864
|
+
return oci_common_1.paginateRecords(request, req => this.listDomains(req));
|
|
5865
|
+
}
|
|
5866
|
+
/**
|
|
5867
|
+
* NOTE: This function is deprecated in favor of listDomainsResponseIterator function.
|
|
5868
|
+
* Creates a new async iterator which will iterate over the responses received from the listDomains operation. This iterator
|
|
5869
|
+
* will fetch more data from the server as needed.
|
|
5870
|
+
*
|
|
5871
|
+
* @param request a request which can be sent to the service operation
|
|
5872
|
+
*/
|
|
5873
|
+
listAllDomainsResponses(request) {
|
|
5874
|
+
return oci_common_1.paginateResponses(request, req => this.listDomains(req));
|
|
5875
|
+
}
|
|
5876
|
+
/**
|
|
5877
|
+
* Creates a new async iterator which will iterate over the models.DomainSummary objects
|
|
5878
|
+
* contained in responses from the listDomains operation. This iterator will fetch more data from the
|
|
5879
|
+
* server as needed.
|
|
5880
|
+
*
|
|
5881
|
+
* @param request a request which can be sent to the service operation
|
|
5882
|
+
*/
|
|
5883
|
+
listDomainsRecordIterator(request) {
|
|
5884
|
+
return oci_common_1.paginateRecords(request, req => this.listDomains(req));
|
|
5885
|
+
}
|
|
5886
|
+
/**
|
|
5887
|
+
* Creates a new async iterator which will iterate over the responses received from the listDomains operation. This iterator
|
|
5888
|
+
* will fetch more data from the server as needed.
|
|
5889
|
+
*
|
|
5890
|
+
* @param request a request which can be sent to the service operation
|
|
5891
|
+
*/
|
|
5892
|
+
listDomainsResponseIterator(request) {
|
|
5893
|
+
return oci_common_1.paginateResponses(request, req => this.listDomains(req));
|
|
5894
|
+
}
|
|
4933
5895
|
/**
|
|
4934
5896
|
* Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for
|
|
4935
5897
|
* the compartment ID (remember that the tenancy is simply the root compartment).
|
|
@@ -4939,7 +5901,7 @@ class IdentityClient {
|
|
|
4939
5901
|
* @param ListDynamicGroupsRequest
|
|
4940
5902
|
* @return ListDynamicGroupsResponse
|
|
4941
5903
|
* @throws OciError when an error occurs
|
|
4942
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5904
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListDynamicGroups.ts.html |here} to see how to use ListDynamicGroups API.
|
|
4943
5905
|
*/
|
|
4944
5906
|
listDynamicGroups(listDynamicGroupsRequest) {
|
|
4945
5907
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5048,28 +6010,312 @@ class IdentityClient {
|
|
|
5048
6010
|
* @param ListFaultDomainsRequest
|
|
5049
6011
|
* @return ListFaultDomainsResponse
|
|
5050
6012
|
* @throws OciError when an error occurs
|
|
5051
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6013
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListFaultDomains.ts.html |here} to see how to use ListFaultDomains API.
|
|
5052
6014
|
*/
|
|
5053
6015
|
listFaultDomains(listFaultDomainsRequest) {
|
|
5054
6016
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5055
6017
|
if (this.logger)
|
|
5056
|
-
this.logger.debug("Calling operation IdentityClient#listFaultDomains.");
|
|
5057
|
-
const pathParams = {};
|
|
6018
|
+
this.logger.debug("Calling operation IdentityClient#listFaultDomains.");
|
|
6019
|
+
const pathParams = {};
|
|
6020
|
+
const queryParams = {
|
|
6021
|
+
"compartmentId": listFaultDomainsRequest.compartmentId,
|
|
6022
|
+
"availabilityDomain": listFaultDomainsRequest.availabilityDomain
|
|
6023
|
+
};
|
|
6024
|
+
let headerParams = {
|
|
6025
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6026
|
+
};
|
|
6027
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6028
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFaultDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
6029
|
+
if (this.logger)
|
|
6030
|
+
retrier.logger = this.logger;
|
|
6031
|
+
const request = yield oci_common_2.composeRequest({
|
|
6032
|
+
baseEndpoint: this._endpoint,
|
|
6033
|
+
defaultHeaders: this._defaultHeaders,
|
|
6034
|
+
path: "/faultDomains",
|
|
6035
|
+
method: "GET",
|
|
6036
|
+
pathParams: pathParams,
|
|
6037
|
+
headerParams: headerParams,
|
|
6038
|
+
queryParams: queryParams
|
|
6039
|
+
});
|
|
6040
|
+
try {
|
|
6041
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
6042
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6043
|
+
responseObject: {},
|
|
6044
|
+
body: yield response.json(),
|
|
6045
|
+
bodyKey: "items",
|
|
6046
|
+
bodyModel: model.FaultDomain,
|
|
6047
|
+
type: "Array<model.FaultDomain>",
|
|
6048
|
+
responseHeaders: [
|
|
6049
|
+
{
|
|
6050
|
+
value: response.headers.get("opc-request-id"),
|
|
6051
|
+
key: "opcRequestId",
|
|
6052
|
+
dataType: "string"
|
|
6053
|
+
}
|
|
6054
|
+
]
|
|
6055
|
+
});
|
|
6056
|
+
return sdkResponse;
|
|
6057
|
+
}
|
|
6058
|
+
catch (err) {
|
|
6059
|
+
throw err;
|
|
6060
|
+
}
|
|
6061
|
+
});
|
|
6062
|
+
}
|
|
6063
|
+
/**
|
|
6064
|
+
* Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
|
|
6065
|
+
* the compartment ID (remember that the tenancy is simply the root compartment).
|
|
6066
|
+
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
6067
|
+
*
|
|
6068
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6069
|
+
* @param ListGroupsRequest
|
|
6070
|
+
* @return ListGroupsResponse
|
|
6071
|
+
* @throws OciError when an error occurs
|
|
6072
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListGroups.ts.html |here} to see how to use ListGroups API.
|
|
6073
|
+
*/
|
|
6074
|
+
listGroups(listGroupsRequest) {
|
|
6075
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6076
|
+
if (this.logger)
|
|
6077
|
+
this.logger.debug("Calling operation IdentityClient#listGroups.");
|
|
6078
|
+
const pathParams = {};
|
|
6079
|
+
const queryParams = {
|
|
6080
|
+
"compartmentId": listGroupsRequest.compartmentId,
|
|
6081
|
+
"page": listGroupsRequest.page,
|
|
6082
|
+
"limit": listGroupsRequest.limit,
|
|
6083
|
+
"name": listGroupsRequest.name,
|
|
6084
|
+
"sortBy": listGroupsRequest.sortBy,
|
|
6085
|
+
"sortOrder": listGroupsRequest.sortOrder,
|
|
6086
|
+
"lifecycleState": listGroupsRequest.lifecycleState
|
|
6087
|
+
};
|
|
6088
|
+
let headerParams = {
|
|
6089
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6090
|
+
};
|
|
6091
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6092
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
6093
|
+
if (this.logger)
|
|
6094
|
+
retrier.logger = this.logger;
|
|
6095
|
+
const request = yield oci_common_2.composeRequest({
|
|
6096
|
+
baseEndpoint: this._endpoint,
|
|
6097
|
+
defaultHeaders: this._defaultHeaders,
|
|
6098
|
+
path: "/groups",
|
|
6099
|
+
method: "GET",
|
|
6100
|
+
pathParams: pathParams,
|
|
6101
|
+
headerParams: headerParams,
|
|
6102
|
+
queryParams: queryParams
|
|
6103
|
+
});
|
|
6104
|
+
try {
|
|
6105
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
6106
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6107
|
+
responseObject: {},
|
|
6108
|
+
body: yield response.json(),
|
|
6109
|
+
bodyKey: "items",
|
|
6110
|
+
bodyModel: model.Group,
|
|
6111
|
+
type: "Array<model.Group>",
|
|
6112
|
+
responseHeaders: [
|
|
6113
|
+
{
|
|
6114
|
+
value: response.headers.get("opc-request-id"),
|
|
6115
|
+
key: "opcRequestId",
|
|
6116
|
+
dataType: "string"
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
value: response.headers.get("opc-next-page"),
|
|
6120
|
+
key: "opcNextPage",
|
|
6121
|
+
dataType: "string"
|
|
6122
|
+
}
|
|
6123
|
+
]
|
|
6124
|
+
});
|
|
6125
|
+
return sdkResponse;
|
|
6126
|
+
}
|
|
6127
|
+
catch (err) {
|
|
6128
|
+
throw err;
|
|
6129
|
+
}
|
|
6130
|
+
});
|
|
6131
|
+
}
|
|
6132
|
+
/**
|
|
6133
|
+
* NOTE: This function is deprecated in favor of listGroupsRecordIterator function.
|
|
6134
|
+
* Creates a new async iterator which will iterate over the models.Group objects
|
|
6135
|
+
* contained in responses from the listGroups operation. This iterator will fetch more data from the
|
|
6136
|
+
* server as needed.
|
|
6137
|
+
*
|
|
6138
|
+
* @param request a request which can be sent to the service operation
|
|
6139
|
+
*/
|
|
6140
|
+
listAllGroups(request) {
|
|
6141
|
+
return oci_common_1.paginateRecords(request, req => this.listGroups(req));
|
|
6142
|
+
}
|
|
6143
|
+
/**
|
|
6144
|
+
* NOTE: This function is deprecated in favor of listGroupsResponseIterator function.
|
|
6145
|
+
* Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
|
|
6146
|
+
* will fetch more data from the server as needed.
|
|
6147
|
+
*
|
|
6148
|
+
* @param request a request which can be sent to the service operation
|
|
6149
|
+
*/
|
|
6150
|
+
listAllGroupsResponses(request) {
|
|
6151
|
+
return oci_common_1.paginateResponses(request, req => this.listGroups(req));
|
|
6152
|
+
}
|
|
6153
|
+
/**
|
|
6154
|
+
* Creates a new async iterator which will iterate over the models.Group objects
|
|
6155
|
+
* contained in responses from the listGroups operation. This iterator will fetch more data from the
|
|
6156
|
+
* server as needed.
|
|
6157
|
+
*
|
|
6158
|
+
* @param request a request which can be sent to the service operation
|
|
6159
|
+
*/
|
|
6160
|
+
listGroupsRecordIterator(request) {
|
|
6161
|
+
return oci_common_1.paginateRecords(request, req => this.listGroups(req));
|
|
6162
|
+
}
|
|
6163
|
+
/**
|
|
6164
|
+
* Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
|
|
6165
|
+
* will fetch more data from the server as needed.
|
|
6166
|
+
*
|
|
6167
|
+
* @param request a request which can be sent to the service operation
|
|
6168
|
+
*/
|
|
6169
|
+
listGroupsResponseIterator(request) {
|
|
6170
|
+
return oci_common_1.paginateResponses(request, req => this.listGroups(req));
|
|
6171
|
+
}
|
|
6172
|
+
/**
|
|
6173
|
+
* Gets error details for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
|
|
6174
|
+
* iam work request id that can be provided in this API to track the current status of the operation.
|
|
6175
|
+
* <p>
|
|
6176
|
+
- If workrequest exists, returns 202 ACCEPTED
|
|
6177
|
+
* - If workrequest does not exist, returns 404 NOT FOUND
|
|
6178
|
+
*
|
|
6179
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6180
|
+
* @param ListIamWorkRequestErrorsRequest
|
|
6181
|
+
* @return ListIamWorkRequestErrorsResponse
|
|
6182
|
+
* @throws OciError when an error occurs
|
|
6183
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListIamWorkRequestErrors.ts.html |here} to see how to use ListIamWorkRequestErrors API.
|
|
6184
|
+
*/
|
|
6185
|
+
listIamWorkRequestErrors(listIamWorkRequestErrorsRequest) {
|
|
6186
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6187
|
+
if (this.logger)
|
|
6188
|
+
this.logger.debug("Calling operation IdentityClient#listIamWorkRequestErrors.");
|
|
6189
|
+
const pathParams = {
|
|
6190
|
+
"{iamWorkRequestId}": listIamWorkRequestErrorsRequest.iamWorkRequestId
|
|
6191
|
+
};
|
|
6192
|
+
const queryParams = {
|
|
6193
|
+
"limit": listIamWorkRequestErrorsRequest.limit,
|
|
6194
|
+
"page": listIamWorkRequestErrorsRequest.page,
|
|
6195
|
+
"sortOrder": listIamWorkRequestErrorsRequest.sortOrder
|
|
6196
|
+
};
|
|
6197
|
+
let headerParams = {
|
|
6198
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6199
|
+
"opc-request-id": listIamWorkRequestErrorsRequest.opcRequestId
|
|
6200
|
+
};
|
|
6201
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6202
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
6203
|
+
if (this.logger)
|
|
6204
|
+
retrier.logger = this.logger;
|
|
6205
|
+
const request = yield oci_common_2.composeRequest({
|
|
6206
|
+
baseEndpoint: this._endpoint,
|
|
6207
|
+
defaultHeaders: this._defaultHeaders,
|
|
6208
|
+
path: "/iamWorkRequests/{iamWorkRequestId}/errors",
|
|
6209
|
+
method: "GET",
|
|
6210
|
+
pathParams: pathParams,
|
|
6211
|
+
headerParams: headerParams,
|
|
6212
|
+
queryParams: queryParams
|
|
6213
|
+
});
|
|
6214
|
+
try {
|
|
6215
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
6216
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6217
|
+
responseObject: {},
|
|
6218
|
+
body: yield response.json(),
|
|
6219
|
+
bodyKey: "items",
|
|
6220
|
+
bodyModel: model.IamWorkRequestErrorSummary,
|
|
6221
|
+
type: "Array<model.IamWorkRequestErrorSummary>",
|
|
6222
|
+
responseHeaders: [
|
|
6223
|
+
{
|
|
6224
|
+
value: response.headers.get("opc-next-page"),
|
|
6225
|
+
key: "opcNextPage",
|
|
6226
|
+
dataType: "string"
|
|
6227
|
+
},
|
|
6228
|
+
{
|
|
6229
|
+
value: response.headers.get("opc-request-id"),
|
|
6230
|
+
key: "opcRequestId",
|
|
6231
|
+
dataType: "string"
|
|
6232
|
+
}
|
|
6233
|
+
]
|
|
6234
|
+
});
|
|
6235
|
+
return sdkResponse;
|
|
6236
|
+
}
|
|
6237
|
+
catch (err) {
|
|
6238
|
+
throw err;
|
|
6239
|
+
}
|
|
6240
|
+
});
|
|
6241
|
+
}
|
|
6242
|
+
/**
|
|
6243
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestErrorsRecordIterator function.
|
|
6244
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestErrorSummary objects
|
|
6245
|
+
* contained in responses from the listIamWorkRequestErrors operation. This iterator will fetch more data from the
|
|
6246
|
+
* server as needed.
|
|
6247
|
+
*
|
|
6248
|
+
* @param request a request which can be sent to the service operation
|
|
6249
|
+
*/
|
|
6250
|
+
listAllIamWorkRequestErrors(request) {
|
|
6251
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestErrors(req));
|
|
6252
|
+
}
|
|
6253
|
+
/**
|
|
6254
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestErrorsResponseIterator function.
|
|
6255
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestErrors operation. This iterator
|
|
6256
|
+
* will fetch more data from the server as needed.
|
|
6257
|
+
*
|
|
6258
|
+
* @param request a request which can be sent to the service operation
|
|
6259
|
+
*/
|
|
6260
|
+
listAllIamWorkRequestErrorsResponses(request) {
|
|
6261
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestErrors(req));
|
|
6262
|
+
}
|
|
6263
|
+
/**
|
|
6264
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestErrorSummary objects
|
|
6265
|
+
* contained in responses from the listIamWorkRequestErrors operation. This iterator will fetch more data from the
|
|
6266
|
+
* server as needed.
|
|
6267
|
+
*
|
|
6268
|
+
* @param request a request which can be sent to the service operation
|
|
6269
|
+
*/
|
|
6270
|
+
listIamWorkRequestErrorsRecordIterator(request) {
|
|
6271
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestErrors(req));
|
|
6272
|
+
}
|
|
6273
|
+
/**
|
|
6274
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestErrors operation. This iterator
|
|
6275
|
+
* will fetch more data from the server as needed.
|
|
6276
|
+
*
|
|
6277
|
+
* @param request a request which can be sent to the service operation
|
|
6278
|
+
*/
|
|
6279
|
+
listIamWorkRequestErrorsResponseIterator(request) {
|
|
6280
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestErrors(req));
|
|
6281
|
+
}
|
|
6282
|
+
/**
|
|
6283
|
+
* Gets logs for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
|
|
6284
|
+
* iam work request id that can be provided in this API to track the current status of the operation.
|
|
6285
|
+
* <p>
|
|
6286
|
+
- If workrequest exists, returns 202 ACCEPTED
|
|
6287
|
+
* - If workrequest does not exist, returns 404 NOT FOUND
|
|
6288
|
+
*
|
|
6289
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6290
|
+
* @param ListIamWorkRequestLogsRequest
|
|
6291
|
+
* @return ListIamWorkRequestLogsResponse
|
|
6292
|
+
* @throws OciError when an error occurs
|
|
6293
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListIamWorkRequestLogs.ts.html |here} to see how to use ListIamWorkRequestLogs API.
|
|
6294
|
+
*/
|
|
6295
|
+
listIamWorkRequestLogs(listIamWorkRequestLogsRequest) {
|
|
6296
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6297
|
+
if (this.logger)
|
|
6298
|
+
this.logger.debug("Calling operation IdentityClient#listIamWorkRequestLogs.");
|
|
6299
|
+
const pathParams = {
|
|
6300
|
+
"{iamWorkRequestId}": listIamWorkRequestLogsRequest.iamWorkRequestId
|
|
6301
|
+
};
|
|
5058
6302
|
const queryParams = {
|
|
5059
|
-
"
|
|
5060
|
-
"
|
|
6303
|
+
"limit": listIamWorkRequestLogsRequest.limit,
|
|
6304
|
+
"page": listIamWorkRequestLogsRequest.page,
|
|
6305
|
+
"sortOrder": listIamWorkRequestLogsRequest.sortOrder
|
|
5061
6306
|
};
|
|
5062
6307
|
let headerParams = {
|
|
5063
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6308
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6309
|
+
"opc-request-id": listIamWorkRequestLogsRequest.opcRequestId
|
|
5064
6310
|
};
|
|
5065
6311
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5066
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
6312
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
5067
6313
|
if (this.logger)
|
|
5068
6314
|
retrier.logger = this.logger;
|
|
5069
6315
|
const request = yield oci_common_2.composeRequest({
|
|
5070
6316
|
baseEndpoint: this._endpoint,
|
|
5071
6317
|
defaultHeaders: this._defaultHeaders,
|
|
5072
|
-
path: "/
|
|
6318
|
+
path: "/iamWorkRequests/{iamWorkRequestId}/logs",
|
|
5073
6319
|
method: "GET",
|
|
5074
6320
|
pathParams: pathParams,
|
|
5075
6321
|
headerParams: headerParams,
|
|
@@ -5081,13 +6327,23 @@ class IdentityClient {
|
|
|
5081
6327
|
responseObject: {},
|
|
5082
6328
|
body: yield response.json(),
|
|
5083
6329
|
bodyKey: "items",
|
|
5084
|
-
bodyModel: model.
|
|
5085
|
-
type: "Array<model.
|
|
6330
|
+
bodyModel: model.IamWorkRequestLogSummary,
|
|
6331
|
+
type: "Array<model.IamWorkRequestLogSummary>",
|
|
5086
6332
|
responseHeaders: [
|
|
5087
6333
|
{
|
|
5088
6334
|
value: response.headers.get("opc-request-id"),
|
|
5089
6335
|
key: "opcRequestId",
|
|
5090
6336
|
dataType: "string"
|
|
6337
|
+
},
|
|
6338
|
+
{
|
|
6339
|
+
value: response.headers.get("retry-after"),
|
|
6340
|
+
key: "retryAfter",
|
|
6341
|
+
dataType: "number"
|
|
6342
|
+
},
|
|
6343
|
+
{
|
|
6344
|
+
value: response.headers.get("opc-next-page"),
|
|
6345
|
+
key: "opcNextPage",
|
|
6346
|
+
dataType: "string"
|
|
5091
6347
|
}
|
|
5092
6348
|
]
|
|
5093
6349
|
});
|
|
@@ -5099,41 +6355,80 @@ class IdentityClient {
|
|
|
5099
6355
|
});
|
|
5100
6356
|
}
|
|
5101
6357
|
/**
|
|
5102
|
-
*
|
|
5103
|
-
*
|
|
5104
|
-
*
|
|
6358
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestLogsRecordIterator function.
|
|
6359
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestLogSummary objects
|
|
6360
|
+
* contained in responses from the listIamWorkRequestLogs operation. This iterator will fetch more data from the
|
|
6361
|
+
* server as needed.
|
|
5105
6362
|
*
|
|
5106
|
-
*
|
|
5107
|
-
* @param ListGroupsRequest
|
|
5108
|
-
* @return ListGroupsResponse
|
|
5109
|
-
* @throws OciError when an error occurs
|
|
5110
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.6.0/identity/ListGroups.ts.html |here} to see how to use ListGroups API.
|
|
6363
|
+
* @param request a request which can be sent to the service operation
|
|
5111
6364
|
*/
|
|
5112
|
-
|
|
6365
|
+
listAllIamWorkRequestLogs(request) {
|
|
6366
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestLogs(req));
|
|
6367
|
+
}
|
|
6368
|
+
/**
|
|
6369
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestLogsResponseIterator function.
|
|
6370
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestLogs operation. This iterator
|
|
6371
|
+
* will fetch more data from the server as needed.
|
|
6372
|
+
*
|
|
6373
|
+
* @param request a request which can be sent to the service operation
|
|
6374
|
+
*/
|
|
6375
|
+
listAllIamWorkRequestLogsResponses(request) {
|
|
6376
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestLogs(req));
|
|
6377
|
+
}
|
|
6378
|
+
/**
|
|
6379
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestLogSummary objects
|
|
6380
|
+
* contained in responses from the listIamWorkRequestLogs operation. This iterator will fetch more data from the
|
|
6381
|
+
* server as needed.
|
|
6382
|
+
*
|
|
6383
|
+
* @param request a request which can be sent to the service operation
|
|
6384
|
+
*/
|
|
6385
|
+
listIamWorkRequestLogsRecordIterator(request) {
|
|
6386
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestLogs(req));
|
|
6387
|
+
}
|
|
6388
|
+
/**
|
|
6389
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestLogs operation. This iterator
|
|
6390
|
+
* will fetch more data from the server as needed.
|
|
6391
|
+
*
|
|
6392
|
+
* @param request a request which can be sent to the service operation
|
|
6393
|
+
*/
|
|
6394
|
+
listIamWorkRequestLogsResponseIterator(request) {
|
|
6395
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestLogs(req));
|
|
6396
|
+
}
|
|
6397
|
+
/**
|
|
6398
|
+
* List the IAM work requests in compartment
|
|
6399
|
+
* <p>
|
|
6400
|
+
- If IAM workrequest details are retrieved sucessfully, return 202 ACCEPTED.
|
|
6401
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
6402
|
+
*
|
|
6403
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6404
|
+
* @param ListIamWorkRequestsRequest
|
|
6405
|
+
* @return ListIamWorkRequestsResponse
|
|
6406
|
+
* @throws OciError when an error occurs
|
|
6407
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListIamWorkRequests.ts.html |here} to see how to use ListIamWorkRequests API.
|
|
6408
|
+
*/
|
|
6409
|
+
listIamWorkRequests(listIamWorkRequestsRequest) {
|
|
5113
6410
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5114
6411
|
if (this.logger)
|
|
5115
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
6412
|
+
this.logger.debug("Calling operation IdentityClient#listIamWorkRequests.");
|
|
5116
6413
|
const pathParams = {};
|
|
5117
6414
|
const queryParams = {
|
|
5118
|
-
"compartmentId":
|
|
5119
|
-
"page":
|
|
5120
|
-
"limit":
|
|
5121
|
-
"
|
|
5122
|
-
"sortBy": listGroupsRequest.sortBy,
|
|
5123
|
-
"sortOrder": listGroupsRequest.sortOrder,
|
|
5124
|
-
"lifecycleState": listGroupsRequest.lifecycleState
|
|
6415
|
+
"compartmentId": listIamWorkRequestsRequest.compartmentId,
|
|
6416
|
+
"page": listIamWorkRequestsRequest.page,
|
|
6417
|
+
"limit": listIamWorkRequestsRequest.limit,
|
|
6418
|
+
"resourceIdentifier": listIamWorkRequestsRequest.resourceIdentifier
|
|
5125
6419
|
};
|
|
5126
6420
|
let headerParams = {
|
|
5127
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6421
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6422
|
+
"opc-request-id": listIamWorkRequestsRequest.opcRequestId
|
|
5128
6423
|
};
|
|
5129
6424
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5130
|
-
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined,
|
|
6425
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
5131
6426
|
if (this.logger)
|
|
5132
6427
|
retrier.logger = this.logger;
|
|
5133
6428
|
const request = yield oci_common_2.composeRequest({
|
|
5134
6429
|
baseEndpoint: this._endpoint,
|
|
5135
6430
|
defaultHeaders: this._defaultHeaders,
|
|
5136
|
-
path: "/
|
|
6431
|
+
path: "/iamWorkRequests",
|
|
5137
6432
|
method: "GET",
|
|
5138
6433
|
pathParams: pathParams,
|
|
5139
6434
|
headerParams: headerParams,
|
|
@@ -5145,8 +6440,8 @@ class IdentityClient {
|
|
|
5145
6440
|
responseObject: {},
|
|
5146
6441
|
body: yield response.json(),
|
|
5147
6442
|
bodyKey: "items",
|
|
5148
|
-
bodyModel: model.
|
|
5149
|
-
type: "Array<model.
|
|
6443
|
+
bodyModel: model.IamWorkRequestSummary,
|
|
6444
|
+
type: "Array<model.IamWorkRequestSummary>",
|
|
5150
6445
|
responseHeaders: [
|
|
5151
6446
|
{
|
|
5152
6447
|
value: response.headers.get("opc-request-id"),
|
|
@@ -5168,53 +6463,56 @@ class IdentityClient {
|
|
|
5168
6463
|
});
|
|
5169
6464
|
}
|
|
5170
6465
|
/**
|
|
5171
|
-
* NOTE: This function is deprecated in favor of
|
|
5172
|
-
* Creates a new async iterator which will iterate over the models.
|
|
5173
|
-
* contained in responses from the
|
|
6466
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestsRecordIterator function.
|
|
6467
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestSummary objects
|
|
6468
|
+
* contained in responses from the listIamWorkRequests operation. This iterator will fetch more data from the
|
|
5174
6469
|
* server as needed.
|
|
5175
6470
|
*
|
|
5176
6471
|
* @param request a request which can be sent to the service operation
|
|
5177
6472
|
*/
|
|
5178
|
-
|
|
5179
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
6473
|
+
listAllIamWorkRequests(request) {
|
|
6474
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequests(req));
|
|
5180
6475
|
}
|
|
5181
6476
|
/**
|
|
5182
|
-
* NOTE: This function is deprecated in favor of
|
|
5183
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
6477
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestsResponseIterator function.
|
|
6478
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequests operation. This iterator
|
|
5184
6479
|
* will fetch more data from the server as needed.
|
|
5185
6480
|
*
|
|
5186
6481
|
* @param request a request which can be sent to the service operation
|
|
5187
6482
|
*/
|
|
5188
|
-
|
|
5189
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
6483
|
+
listAllIamWorkRequestsResponses(request) {
|
|
6484
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequests(req));
|
|
5190
6485
|
}
|
|
5191
6486
|
/**
|
|
5192
|
-
* Creates a new async iterator which will iterate over the models.
|
|
5193
|
-
* contained in responses from the
|
|
6487
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestSummary objects
|
|
6488
|
+
* contained in responses from the listIamWorkRequests operation. This iterator will fetch more data from the
|
|
5194
6489
|
* server as needed.
|
|
5195
6490
|
*
|
|
5196
6491
|
* @param request a request which can be sent to the service operation
|
|
5197
6492
|
*/
|
|
5198
|
-
|
|
5199
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
6493
|
+
listIamWorkRequestsRecordIterator(request) {
|
|
6494
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequests(req));
|
|
5200
6495
|
}
|
|
5201
6496
|
/**
|
|
5202
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
6497
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequests operation. This iterator
|
|
5203
6498
|
* will fetch more data from the server as needed.
|
|
5204
6499
|
*
|
|
5205
6500
|
* @param request a request which can be sent to the service operation
|
|
5206
6501
|
*/
|
|
5207
|
-
|
|
5208
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
6502
|
+
listIamWorkRequestsResponseIterator(request) {
|
|
6503
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequests(req));
|
|
5209
6504
|
}
|
|
5210
6505
|
/**
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
6506
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
6507
|
+
* <p>
|
|
6508
|
+
Lists the identity provider groups.
|
|
6509
|
+
*
|
|
6510
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6511
|
+
* @param ListIdentityProviderGroupsRequest
|
|
6512
|
+
* @return ListIdentityProviderGroupsResponse
|
|
6513
|
+
* @throws OciError when an error occurs
|
|
6514
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListIdentityProviderGroups.ts.html |here} to see how to use ListIdentityProviderGroups API.
|
|
6515
|
+
*/
|
|
5218
6516
|
listIdentityProviderGroups(listIdentityProviderGroupsRequest) {
|
|
5219
6517
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5220
6518
|
if (this.logger)
|
|
@@ -5313,17 +6611,19 @@ class IdentityClient {
|
|
|
5313
6611
|
return oci_common_1.paginateResponses(request, req => this.listIdentityProviderGroups(req));
|
|
5314
6612
|
}
|
|
5315
6613
|
/**
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
6614
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
6615
|
+
* <p>
|
|
6616
|
+
Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for
|
|
6617
|
+
* identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the
|
|
6618
|
+
* compartment ID (remember that the tenancy is simply the root compartment).
|
|
6619
|
+
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
6620
|
+
*
|
|
6621
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6622
|
+
* @param ListIdentityProvidersRequest
|
|
6623
|
+
* @return ListIdentityProvidersResponse
|
|
6624
|
+
* @throws OciError when an error occurs
|
|
6625
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListIdentityProviders.ts.html |here} to see how to use ListIdentityProviders API.
|
|
6626
|
+
*/
|
|
5327
6627
|
listIdentityProviders(listIdentityProvidersRequest) {
|
|
5328
6628
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5329
6629
|
if (this.logger)
|
|
@@ -5424,14 +6724,16 @@ class IdentityClient {
|
|
|
5424
6724
|
return oci_common_1.paginateResponses(request, req => this.listIdentityProviders(req));
|
|
5425
6725
|
}
|
|
5426
6726
|
/**
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
6727
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
6728
|
+
* <p>
|
|
6729
|
+
Lists the group mappings for the specified identity provider.
|
|
6730
|
+
*
|
|
6731
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6732
|
+
* @param ListIdpGroupMappingsRequest
|
|
6733
|
+
* @return ListIdpGroupMappingsResponse
|
|
6734
|
+
* @throws OciError when an error occurs
|
|
6735
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListIdpGroupMappings.ts.html |here} to see how to use ListIdpGroupMappings API.
|
|
6736
|
+
*/
|
|
5435
6737
|
listIdpGroupMappings(listIdpGroupMappingsRequest) {
|
|
5436
6738
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5437
6739
|
if (this.logger)
|
|
@@ -5535,7 +6837,7 @@ class IdentityClient {
|
|
|
5535
6837
|
* @param ListMfaTotpDevicesRequest
|
|
5536
6838
|
* @return ListMfaTotpDevicesResponse
|
|
5537
6839
|
* @throws OciError when an error occurs
|
|
5538
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6840
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListMfaTotpDevices.ts.html |here} to see how to use ListMfaTotpDevices API.
|
|
5539
6841
|
*/
|
|
5540
6842
|
listMfaTotpDevices(listMfaTotpDevicesRequest) {
|
|
5541
6843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5643,7 +6945,7 @@ class IdentityClient {
|
|
|
5643
6945
|
* @param ListNetworkSourcesRequest
|
|
5644
6946
|
* @return ListNetworkSourcesResponse
|
|
5645
6947
|
* @throws OciError when an error occurs
|
|
5646
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6948
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListNetworkSources.ts.html |here} to see how to use ListNetworkSources API.
|
|
5647
6949
|
*/
|
|
5648
6950
|
listNetworkSources(listNetworkSourcesRequest) {
|
|
5649
6951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5750,7 +7052,7 @@ class IdentityClient {
|
|
|
5750
7052
|
* @param ListOAuthClientCredentialsRequest
|
|
5751
7053
|
* @return ListOAuthClientCredentialsResponse
|
|
5752
7054
|
* @throws OciError when an error occurs
|
|
5753
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7055
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListOAuthClientCredentials.ts.html |here} to see how to use ListOAuthClientCredentials API.
|
|
5754
7056
|
*/
|
|
5755
7057
|
listOAuthClientCredentials(listOAuthClientCredentialsRequest) {
|
|
5756
7058
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5859,7 +7161,7 @@ class IdentityClient {
|
|
|
5859
7161
|
* @param ListPoliciesRequest
|
|
5860
7162
|
* @return ListPoliciesResponse
|
|
5861
7163
|
* @throws OciError when an error occurs
|
|
5862
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7164
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListPolicies.ts.html |here} to see how to use ListPolicies API.
|
|
5863
7165
|
*/
|
|
5864
7166
|
listPolicies(listPoliciesRequest) {
|
|
5865
7167
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5965,7 +7267,7 @@ class IdentityClient {
|
|
|
5965
7267
|
* @param ListRegionSubscriptionsRequest
|
|
5966
7268
|
* @return ListRegionSubscriptionsResponse
|
|
5967
7269
|
* @throws OciError when an error occurs
|
|
5968
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7270
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListRegionSubscriptions.ts.html |here} to see how to use ListRegionSubscriptions API.
|
|
5969
7271
|
*/
|
|
5970
7272
|
listRegionSubscriptions(listRegionSubscriptionsRequest) {
|
|
5971
7273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6020,7 +7322,7 @@ class IdentityClient {
|
|
|
6020
7322
|
* @param ListRegionsRequest
|
|
6021
7323
|
* @return ListRegionsResponse
|
|
6022
7324
|
* @throws OciError when an error occurs
|
|
6023
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7325
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListRegions.ts.html |here} to see how to use ListRegions API.
|
|
6024
7326
|
*/
|
|
6025
7327
|
listRegions(listRegionsRequest) {
|
|
6026
7328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6075,7 +7377,7 @@ class IdentityClient {
|
|
|
6075
7377
|
* @param ListSmtpCredentialsRequest
|
|
6076
7378
|
* @return ListSmtpCredentialsResponse
|
|
6077
7379
|
* @throws OciError when an error occurs
|
|
6078
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7380
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListSmtpCredentials.ts.html |here} to see how to use ListSmtpCredentials API.
|
|
6079
7381
|
*/
|
|
6080
7382
|
listSmtpCredentials(listSmtpCredentialsRequest) {
|
|
6081
7383
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6129,6 +7431,109 @@ class IdentityClient {
|
|
|
6129
7431
|
}
|
|
6130
7432
|
});
|
|
6131
7433
|
}
|
|
7434
|
+
/**
|
|
7435
|
+
* Lists available standard tag namespaces that users can create.
|
|
7436
|
+
*
|
|
7437
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7438
|
+
* @param ListStandardTagNamespacesRequest
|
|
7439
|
+
* @return ListStandardTagNamespacesResponse
|
|
7440
|
+
* @throws OciError when an error occurs
|
|
7441
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListStandardTagNamespaces.ts.html |here} to see how to use ListStandardTagNamespaces API.
|
|
7442
|
+
*/
|
|
7443
|
+
listStandardTagNamespaces(listStandardTagNamespacesRequest) {
|
|
7444
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7445
|
+
if (this.logger)
|
|
7446
|
+
this.logger.debug("Calling operation IdentityClient#listStandardTagNamespaces.");
|
|
7447
|
+
const pathParams = {};
|
|
7448
|
+
const queryParams = {
|
|
7449
|
+
"compartmentId": listStandardTagNamespacesRequest.compartmentId,
|
|
7450
|
+
"page": listStandardTagNamespacesRequest.page,
|
|
7451
|
+
"limit": listStandardTagNamespacesRequest.limit
|
|
7452
|
+
};
|
|
7453
|
+
let headerParams = {
|
|
7454
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
7455
|
+
};
|
|
7456
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7457
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listStandardTagNamespacesRequest.retryConfiguration, specRetryConfiguration);
|
|
7458
|
+
if (this.logger)
|
|
7459
|
+
retrier.logger = this.logger;
|
|
7460
|
+
const request = yield oci_common_2.composeRequest({
|
|
7461
|
+
baseEndpoint: this._endpoint,
|
|
7462
|
+
defaultHeaders: this._defaultHeaders,
|
|
7463
|
+
path: "/tags/standardTagNamespaceTemplates",
|
|
7464
|
+
method: "GET",
|
|
7465
|
+
pathParams: pathParams,
|
|
7466
|
+
headerParams: headerParams,
|
|
7467
|
+
queryParams: queryParams
|
|
7468
|
+
});
|
|
7469
|
+
try {
|
|
7470
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
7471
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
7472
|
+
responseObject: {},
|
|
7473
|
+
body: yield response.json(),
|
|
7474
|
+
bodyKey: "items",
|
|
7475
|
+
bodyModel: model.StandardTagNamespaceTemplateSummary,
|
|
7476
|
+
type: "Array<model.StandardTagNamespaceTemplateSummary>",
|
|
7477
|
+
responseHeaders: [
|
|
7478
|
+
{
|
|
7479
|
+
value: response.headers.get("opc-request-id"),
|
|
7480
|
+
key: "opcRequestId",
|
|
7481
|
+
dataType: "string"
|
|
7482
|
+
},
|
|
7483
|
+
{
|
|
7484
|
+
value: response.headers.get("opc-next-page"),
|
|
7485
|
+
key: "opcNextPage",
|
|
7486
|
+
dataType: "string"
|
|
7487
|
+
}
|
|
7488
|
+
]
|
|
7489
|
+
});
|
|
7490
|
+
return sdkResponse;
|
|
7491
|
+
}
|
|
7492
|
+
catch (err) {
|
|
7493
|
+
throw err;
|
|
7494
|
+
}
|
|
7495
|
+
});
|
|
7496
|
+
}
|
|
7497
|
+
/**
|
|
7498
|
+
* NOTE: This function is deprecated in favor of listStandardTagNamespacesRecordIterator function.
|
|
7499
|
+
* Creates a new async iterator which will iterate over the models.StandardTagNamespaceTemplateSummary objects
|
|
7500
|
+
* contained in responses from the listStandardTagNamespaces operation. This iterator will fetch more data from the
|
|
7501
|
+
* server as needed.
|
|
7502
|
+
*
|
|
7503
|
+
* @param request a request which can be sent to the service operation
|
|
7504
|
+
*/
|
|
7505
|
+
listAllStandardTagNamespaces(request) {
|
|
7506
|
+
return oci_common_1.paginateRecords(request, req => this.listStandardTagNamespaces(req));
|
|
7507
|
+
}
|
|
7508
|
+
/**
|
|
7509
|
+
* NOTE: This function is deprecated in favor of listStandardTagNamespacesResponseIterator function.
|
|
7510
|
+
* Creates a new async iterator which will iterate over the responses received from the listStandardTagNamespaces operation. This iterator
|
|
7511
|
+
* will fetch more data from the server as needed.
|
|
7512
|
+
*
|
|
7513
|
+
* @param request a request which can be sent to the service operation
|
|
7514
|
+
*/
|
|
7515
|
+
listAllStandardTagNamespacesResponses(request) {
|
|
7516
|
+
return oci_common_1.paginateResponses(request, req => this.listStandardTagNamespaces(req));
|
|
7517
|
+
}
|
|
7518
|
+
/**
|
|
7519
|
+
* Creates a new async iterator which will iterate over the models.StandardTagNamespaceTemplateSummary objects
|
|
7520
|
+
* contained in responses from the listStandardTagNamespaces operation. This iterator will fetch more data from the
|
|
7521
|
+
* server as needed.
|
|
7522
|
+
*
|
|
7523
|
+
* @param request a request which can be sent to the service operation
|
|
7524
|
+
*/
|
|
7525
|
+
listStandardTagNamespacesRecordIterator(request) {
|
|
7526
|
+
return oci_common_1.paginateRecords(request, req => this.listStandardTagNamespaces(req));
|
|
7527
|
+
}
|
|
7528
|
+
/**
|
|
7529
|
+
* Creates a new async iterator which will iterate over the responses received from the listStandardTagNamespaces operation. This iterator
|
|
7530
|
+
* will fetch more data from the server as needed.
|
|
7531
|
+
*
|
|
7532
|
+
* @param request a request which can be sent to the service operation
|
|
7533
|
+
*/
|
|
7534
|
+
listStandardTagNamespacesResponseIterator(request) {
|
|
7535
|
+
return oci_common_1.paginateResponses(request, req => this.listStandardTagNamespaces(req));
|
|
7536
|
+
}
|
|
6132
7537
|
/**
|
|
6133
7538
|
* **Deprecated. Use {@link #listAuthTokens(ListAuthTokensRequest) listAuthTokens} instead.**
|
|
6134
7539
|
* <p>
|
|
@@ -6139,7 +7544,7 @@ class IdentityClient {
|
|
|
6139
7544
|
* @param ListSwiftPasswordsRequest
|
|
6140
7545
|
* @return ListSwiftPasswordsResponse
|
|
6141
7546
|
* @throws OciError when an error occurs
|
|
6142
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7547
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListSwiftPasswords.ts.html |here} to see how to use ListSwiftPasswords API.
|
|
6143
7548
|
*/
|
|
6144
7549
|
listSwiftPasswords(listSwiftPasswordsRequest) {
|
|
6145
7550
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6200,7 +7605,7 @@ class IdentityClient {
|
|
|
6200
7605
|
* @param ListTagDefaultsRequest
|
|
6201
7606
|
* @return ListTagDefaultsResponse
|
|
6202
7607
|
* @throws OciError when an error occurs
|
|
6203
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7608
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListTagDefaults.ts.html |here} to see how to use ListTagDefaults API.
|
|
6204
7609
|
*/
|
|
6205
7610
|
listTagDefaults(listTagDefaultsRequest) {
|
|
6206
7611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6306,7 +7711,7 @@ class IdentityClient {
|
|
|
6306
7711
|
* @param ListTagNamespacesRequest
|
|
6307
7712
|
* @return ListTagNamespacesResponse
|
|
6308
7713
|
* @throws OciError when an error occurs
|
|
6309
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7714
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListTagNamespaces.ts.html |here} to see how to use ListTagNamespaces API.
|
|
6310
7715
|
*/
|
|
6311
7716
|
listTagNamespaces(listTagNamespacesRequest) {
|
|
6312
7717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6411,7 +7816,7 @@ class IdentityClient {
|
|
|
6411
7816
|
* @param ListTaggingWorkRequestErrorsRequest
|
|
6412
7817
|
* @return ListTaggingWorkRequestErrorsResponse
|
|
6413
7818
|
* @throws OciError when an error occurs
|
|
6414
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7819
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListTaggingWorkRequestErrors.ts.html |here} to see how to use ListTaggingWorkRequestErrors API.
|
|
6415
7820
|
*/
|
|
6416
7821
|
listTaggingWorkRequestErrors(listTaggingWorkRequestErrorsRequest) {
|
|
6417
7822
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6520,7 +7925,7 @@ class IdentityClient {
|
|
|
6520
7925
|
* @param ListTaggingWorkRequestLogsRequest
|
|
6521
7926
|
* @return ListTaggingWorkRequestLogsResponse
|
|
6522
7927
|
* @throws OciError when an error occurs
|
|
6523
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7928
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListTaggingWorkRequestLogs.ts.html |here} to see how to use ListTaggingWorkRequestLogs API.
|
|
6524
7929
|
*/
|
|
6525
7930
|
listTaggingWorkRequestLogs(listTaggingWorkRequestLogsRequest) {
|
|
6526
7931
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6629,7 +8034,7 @@ class IdentityClient {
|
|
|
6629
8034
|
* @param ListTaggingWorkRequestsRequest
|
|
6630
8035
|
* @return ListTaggingWorkRequestsResponse
|
|
6631
8036
|
* @throws OciError when an error occurs
|
|
6632
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8037
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListTaggingWorkRequests.ts.html |here} to see how to use ListTaggingWorkRequests API.
|
|
6633
8038
|
*/
|
|
6634
8039
|
listTaggingWorkRequests(listTaggingWorkRequestsRequest) {
|
|
6635
8040
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6733,7 +8138,7 @@ class IdentityClient {
|
|
|
6733
8138
|
* @param ListTagsRequest
|
|
6734
8139
|
* @return ListTagsResponse
|
|
6735
8140
|
* @throws OciError when an error occurs
|
|
6736
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8141
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListTags.ts.html |here} to see how to use ListTags API.
|
|
6737
8142
|
*/
|
|
6738
8143
|
listTags(listTagsRequest) {
|
|
6739
8144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6847,7 +8252,7 @@ class IdentityClient {
|
|
|
6847
8252
|
* @param ListUserGroupMembershipsRequest
|
|
6848
8253
|
* @return ListUserGroupMembershipsResponse
|
|
6849
8254
|
* @throws OciError when an error occurs
|
|
6850
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8255
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListUserGroupMemberships.ts.html |here} to see how to use ListUserGroupMemberships API.
|
|
6851
8256
|
*/
|
|
6852
8257
|
listUserGroupMemberships(listUserGroupMembershipsRequest) {
|
|
6853
8258
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6954,7 +8359,7 @@ class IdentityClient {
|
|
|
6954
8359
|
* @param ListUsersRequest
|
|
6955
8360
|
* @return ListUsersResponse
|
|
6956
8361
|
* @throws OciError when an error occurs
|
|
6957
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8362
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
6958
8363
|
*/
|
|
6959
8364
|
listUsers(listUsersRequest) {
|
|
6960
8365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7063,7 +8468,7 @@ class IdentityClient {
|
|
|
7063
8468
|
* @param ListWorkRequestsRequest
|
|
7064
8469
|
* @return ListWorkRequestsResponse
|
|
7065
8470
|
* @throws OciError when an error occurs
|
|
7066
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8471
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
7067
8472
|
*/
|
|
7068
8473
|
listWorkRequests(listWorkRequestsRequest) {
|
|
7069
8474
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7174,7 +8579,7 @@ class IdentityClient {
|
|
|
7174
8579
|
* @param MoveCompartmentRequest
|
|
7175
8580
|
* @return MoveCompartmentResponse
|
|
7176
8581
|
* @throws OciError when an error occurs
|
|
7177
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8582
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/MoveCompartment.ts.html |here} to see how to use MoveCompartment API.
|
|
7178
8583
|
*/
|
|
7179
8584
|
moveCompartment(moveCompartmentRequest) {
|
|
7180
8585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7235,7 +8640,7 @@ class IdentityClient {
|
|
|
7235
8640
|
* @param RecoverCompartmentRequest
|
|
7236
8641
|
* @return RecoverCompartmentResponse
|
|
7237
8642
|
* @throws OciError when an error occurs
|
|
7238
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8643
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/RecoverCompartment.ts.html |here} to see how to use RecoverCompartment API.
|
|
7239
8644
|
*/
|
|
7240
8645
|
recoverCompartment(recoverCompartmentRequest) {
|
|
7241
8646
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7297,7 +8702,7 @@ class IdentityClient {
|
|
|
7297
8702
|
* @param RemoveUserFromGroupRequest
|
|
7298
8703
|
* @return RemoveUserFromGroupResponse
|
|
7299
8704
|
* @throws OciError when an error occurs
|
|
7300
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8705
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/RemoveUserFromGroup.ts.html |here} to see how to use RemoveUserFromGroup API.
|
|
7301
8706
|
*/
|
|
7302
8707
|
removeUserFromGroup(removeUserFromGroupRequest) {
|
|
7303
8708
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7350,7 +8755,7 @@ class IdentityClient {
|
|
|
7350
8755
|
* @param ResetIdpScimClientRequest
|
|
7351
8756
|
* @return ResetIdpScimClientResponse
|
|
7352
8757
|
* @throws OciError when an error occurs
|
|
7353
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8758
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/ResetIdpScimClient.ts.html |here} to see how to use ResetIdpScimClient API.
|
|
7354
8759
|
*/
|
|
7355
8760
|
resetIdpScimClient(resetIdpScimClientRequest) {
|
|
7356
8761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7406,7 +8811,7 @@ class IdentityClient {
|
|
|
7406
8811
|
* @param UpdateAuthTokenRequest
|
|
7407
8812
|
* @return UpdateAuthTokenResponse
|
|
7408
8813
|
* @throws OciError when an error occurs
|
|
7409
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8814
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateAuthToken.ts.html |here} to see how to use UpdateAuthToken API.
|
|
7410
8815
|
*/
|
|
7411
8816
|
updateAuthToken(updateAuthTokenRequest) {
|
|
7412
8817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7470,7 +8875,7 @@ class IdentityClient {
|
|
|
7470
8875
|
* @param UpdateAuthenticationPolicyRequest
|
|
7471
8876
|
* @return UpdateAuthenticationPolicyResponse
|
|
7472
8877
|
* @throws OciError when an error occurs
|
|
7473
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8878
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateAuthenticationPolicy.ts.html |here} to see how to use UpdateAuthenticationPolicy API.
|
|
7474
8879
|
*/
|
|
7475
8880
|
updateAuthenticationPolicy(updateAuthenticationPolicyRequest) {
|
|
7476
8881
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7532,7 +8937,7 @@ class IdentityClient {
|
|
|
7532
8937
|
* @param UpdateCompartmentRequest
|
|
7533
8938
|
* @return UpdateCompartmentResponse
|
|
7534
8939
|
* @throws OciError when an error occurs
|
|
7535
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8940
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateCompartment.ts.html |here} to see how to use UpdateCompartment API.
|
|
7536
8941
|
*/
|
|
7537
8942
|
updateCompartment(updateCompartmentRequest) {
|
|
7538
8943
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7595,7 +9000,7 @@ class IdentityClient {
|
|
|
7595
9000
|
* @param UpdateCustomerSecretKeyRequest
|
|
7596
9001
|
* @return UpdateCustomerSecretKeyResponse
|
|
7597
9002
|
* @throws OciError when an error occurs
|
|
7598
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9003
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateCustomerSecretKey.ts.html |here} to see how to use UpdateCustomerSecretKey API.
|
|
7599
9004
|
*/
|
|
7600
9005
|
updateCustomerSecretKey(updateCustomerSecretKeyRequest) {
|
|
7601
9006
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7652,13 +9057,84 @@ class IdentityClient {
|
|
|
7652
9057
|
}
|
|
7653
9058
|
});
|
|
7654
9059
|
}
|
|
9060
|
+
/**
|
|
9061
|
+
* Updates domain information and associated stripe. This is an asynchronous call where
|
|
9062
|
+
* the associated stripe and domain are updated.
|
|
9063
|
+
* <p>
|
|
9064
|
+
To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
9065
|
+
* the async operation's status.
|
|
9066
|
+
* <p>
|
|
9067
|
+
- If the {@code displayName} is not unique within the tenancy, returns 400 BAD REQUEST.
|
|
9068
|
+
* - If any field other than {@code description} is requested to be updated for DEFAULT domain,
|
|
9069
|
+
* returns 400 BAD REQUEST.
|
|
9070
|
+
* - If Domain is not active or being updated, returns 400 BAD REQUEST.
|
|
9071
|
+
* - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
|
|
9072
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
9073
|
+
*
|
|
9074
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9075
|
+
* @param UpdateDomainRequest
|
|
9076
|
+
* @return UpdateDomainResponse
|
|
9077
|
+
* @throws OciError when an error occurs
|
|
9078
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
|
|
9079
|
+
*/
|
|
9080
|
+
updateDomain(updateDomainRequest) {
|
|
9081
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
9082
|
+
if (this.logger)
|
|
9083
|
+
this.logger.debug("Calling operation IdentityClient#updateDomain.");
|
|
9084
|
+
const pathParams = {
|
|
9085
|
+
"{domainId}": updateDomainRequest.domainId
|
|
9086
|
+
};
|
|
9087
|
+
const queryParams = {};
|
|
9088
|
+
let headerParams = {
|
|
9089
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
9090
|
+
"if-match": updateDomainRequest.ifMatch,
|
|
9091
|
+
"opc-request-id": updateDomainRequest.opcRequestId
|
|
9092
|
+
};
|
|
9093
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9094
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
9095
|
+
if (this.logger)
|
|
9096
|
+
retrier.logger = this.logger;
|
|
9097
|
+
const request = yield oci_common_2.composeRequest({
|
|
9098
|
+
baseEndpoint: this._endpoint,
|
|
9099
|
+
defaultHeaders: this._defaultHeaders,
|
|
9100
|
+
path: "/domains/{domainId}",
|
|
9101
|
+
method: "PUT",
|
|
9102
|
+
bodyContent: common.ObjectSerializer.serialize(updateDomainRequest.updateDomainDetails, "UpdateDomainDetails", model.UpdateDomainDetails.getJsonObj),
|
|
9103
|
+
pathParams: pathParams,
|
|
9104
|
+
headerParams: headerParams,
|
|
9105
|
+
queryParams: queryParams
|
|
9106
|
+
});
|
|
9107
|
+
try {
|
|
9108
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
9109
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
9110
|
+
responseObject: {},
|
|
9111
|
+
responseHeaders: [
|
|
9112
|
+
{
|
|
9113
|
+
value: response.headers.get("opc-request-id"),
|
|
9114
|
+
key: "opcRequestId",
|
|
9115
|
+
dataType: "string"
|
|
9116
|
+
},
|
|
9117
|
+
{
|
|
9118
|
+
value: response.headers.get("opc-work-request-id"),
|
|
9119
|
+
key: "opcWorkRequestId",
|
|
9120
|
+
dataType: "string"
|
|
9121
|
+
}
|
|
9122
|
+
]
|
|
9123
|
+
});
|
|
9124
|
+
return sdkResponse;
|
|
9125
|
+
}
|
|
9126
|
+
catch (err) {
|
|
9127
|
+
throw err;
|
|
9128
|
+
}
|
|
9129
|
+
});
|
|
9130
|
+
}
|
|
7655
9131
|
/**
|
|
7656
9132
|
* Updates the specified dynamic group.
|
|
7657
9133
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7658
9134
|
* @param UpdateDynamicGroupRequest
|
|
7659
9135
|
* @return UpdateDynamicGroupResponse
|
|
7660
9136
|
* @throws OciError when an error occurs
|
|
7661
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9137
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateDynamicGroup.ts.html |here} to see how to use UpdateDynamicGroup API.
|
|
7662
9138
|
*/
|
|
7663
9139
|
updateDynamicGroup(updateDynamicGroupRequest) {
|
|
7664
9140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7720,7 +9196,7 @@ class IdentityClient {
|
|
|
7720
9196
|
* @param UpdateGroupRequest
|
|
7721
9197
|
* @return UpdateGroupResponse
|
|
7722
9198
|
* @throws OciError when an error occurs
|
|
7723
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9199
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
|
|
7724
9200
|
*/
|
|
7725
9201
|
updateGroup(updateGroupRequest) {
|
|
7726
9202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7777,13 +9253,16 @@ class IdentityClient {
|
|
|
7777
9253
|
});
|
|
7778
9254
|
}
|
|
7779
9255
|
/**
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
9256
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
9257
|
+
* <p>
|
|
9258
|
+
Updates the specified identity provider.
|
|
9259
|
+
*
|
|
9260
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9261
|
+
* @param UpdateIdentityProviderRequest
|
|
9262
|
+
* @return UpdateIdentityProviderResponse
|
|
9263
|
+
* @throws OciError when an error occurs
|
|
9264
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateIdentityProvider.ts.html |here} to see how to use UpdateIdentityProvider API.
|
|
9265
|
+
*/
|
|
7787
9266
|
updateIdentityProvider(updateIdentityProviderRequest) {
|
|
7788
9267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7789
9268
|
if (this.logger)
|
|
@@ -7839,13 +9318,16 @@ class IdentityClient {
|
|
|
7839
9318
|
});
|
|
7840
9319
|
}
|
|
7841
9320
|
/**
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
9321
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
9322
|
+
* <p>
|
|
9323
|
+
Updates the specified group mapping.
|
|
9324
|
+
*
|
|
9325
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9326
|
+
* @param UpdateIdpGroupMappingRequest
|
|
9327
|
+
* @return UpdateIdpGroupMappingResponse
|
|
9328
|
+
* @throws OciError when an error occurs
|
|
9329
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateIdpGroupMapping.ts.html |here} to see how to use UpdateIdpGroupMapping API.
|
|
9330
|
+
*/
|
|
7849
9331
|
updateIdpGroupMapping(updateIdpGroupMappingRequest) {
|
|
7850
9332
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7851
9333
|
if (this.logger)
|
|
@@ -7907,7 +9389,7 @@ class IdentityClient {
|
|
|
7907
9389
|
* @param UpdateNetworkSourceRequest
|
|
7908
9390
|
* @return UpdateNetworkSourceResponse
|
|
7909
9391
|
* @throws OciError when an error occurs
|
|
7910
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9392
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateNetworkSource.ts.html |here} to see how to use UpdateNetworkSource API.
|
|
7911
9393
|
*/
|
|
7912
9394
|
updateNetworkSource(updateNetworkSourceRequest) {
|
|
7913
9395
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7970,7 +9452,7 @@ class IdentityClient {
|
|
|
7970
9452
|
* @param UpdateOAuthClientCredentialRequest
|
|
7971
9453
|
* @return UpdateOAuthClientCredentialResponse
|
|
7972
9454
|
* @throws OciError when an error occurs
|
|
7973
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9455
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateOAuthClientCredential.ts.html |here} to see how to use UpdateOAuthClientCredential API.
|
|
7974
9456
|
*/
|
|
7975
9457
|
updateOAuthClientCredential(updateOAuthClientCredentialRequest) {
|
|
7976
9458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8036,7 +9518,7 @@ class IdentityClient {
|
|
|
8036
9518
|
* @param UpdatePolicyRequest
|
|
8037
9519
|
* @return UpdatePolicyResponse
|
|
8038
9520
|
* @throws OciError when an error occurs
|
|
8039
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9521
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdatePolicy.ts.html |here} to see how to use UpdatePolicy API.
|
|
8040
9522
|
*/
|
|
8041
9523
|
updatePolicy(updatePolicyRequest) {
|
|
8042
9524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8099,7 +9581,7 @@ class IdentityClient {
|
|
|
8099
9581
|
* @param UpdateSmtpCredentialRequest
|
|
8100
9582
|
* @return UpdateSmtpCredentialResponse
|
|
8101
9583
|
* @throws OciError when an error occurs
|
|
8102
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9584
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateSmtpCredential.ts.html |here} to see how to use UpdateSmtpCredential API.
|
|
8103
9585
|
*/
|
|
8104
9586
|
updateSmtpCredential(updateSmtpCredentialRequest) {
|
|
8105
9587
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8165,7 +9647,7 @@ class IdentityClient {
|
|
|
8165
9647
|
* @param UpdateSwiftPasswordRequest
|
|
8166
9648
|
* @return UpdateSwiftPasswordResponse
|
|
8167
9649
|
* @throws OciError when an error occurs
|
|
8168
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9650
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateSwiftPassword.ts.html |here} to see how to use UpdateSwiftPassword API.
|
|
8169
9651
|
*/
|
|
8170
9652
|
updateSwiftPassword(updateSwiftPasswordRequest) {
|
|
8171
9653
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8238,7 +9720,7 @@ class IdentityClient {
|
|
|
8238
9720
|
* @param UpdateTagRequest
|
|
8239
9721
|
* @return UpdateTagResponse
|
|
8240
9722
|
* @throws OciError when an error occurs
|
|
8241
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9723
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateTag.ts.html |here} to see how to use UpdateTag API.
|
|
8242
9724
|
*/
|
|
8243
9725
|
updateTag(updateTagRequest) {
|
|
8244
9726
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8307,7 +9789,7 @@ class IdentityClient {
|
|
|
8307
9789
|
* @param UpdateTagDefaultRequest
|
|
8308
9790
|
* @return UpdateTagDefaultResponse
|
|
8309
9791
|
* @throws OciError when an error occurs
|
|
8310
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9792
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateTagDefault.ts.html |here} to see how to use UpdateTagDefault API.
|
|
8311
9793
|
*/
|
|
8312
9794
|
updateTagDefault(updateTagDefaultRequest) {
|
|
8313
9795
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8379,7 +9861,7 @@ class IdentityClient {
|
|
|
8379
9861
|
* @param UpdateTagNamespaceRequest
|
|
8380
9862
|
* @return UpdateTagNamespaceResponse
|
|
8381
9863
|
* @throws OciError when an error occurs
|
|
8382
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9864
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateTagNamespace.ts.html |here} to see how to use UpdateTagNamespace API.
|
|
8383
9865
|
*/
|
|
8384
9866
|
updateTagNamespace(updateTagNamespaceRequest) {
|
|
8385
9867
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8435,7 +9917,7 @@ class IdentityClient {
|
|
|
8435
9917
|
* @param UpdateUserRequest
|
|
8436
9918
|
* @return UpdateUserResponse
|
|
8437
9919
|
* @throws OciError when an error occurs
|
|
8438
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9920
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateUser.ts.html |here} to see how to use UpdateUser API.
|
|
8439
9921
|
*/
|
|
8440
9922
|
updateUser(updateUserRequest) {
|
|
8441
9923
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8498,7 +9980,7 @@ class IdentityClient {
|
|
|
8498
9980
|
* @param UpdateUserCapabilitiesRequest
|
|
8499
9981
|
* @return UpdateUserCapabilitiesResponse
|
|
8500
9982
|
* @throws OciError when an error occurs
|
|
8501
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9983
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateUserCapabilities.ts.html |here} to see how to use UpdateUserCapabilities API.
|
|
8502
9984
|
*/
|
|
8503
9985
|
updateUserCapabilities(updateUserCapabilitiesRequest) {
|
|
8504
9986
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8561,7 +10043,7 @@ class IdentityClient {
|
|
|
8561
10043
|
* @param UpdateUserStateRequest
|
|
8562
10044
|
* @return UpdateUserStateResponse
|
|
8563
10045
|
* @throws OciError when an error occurs
|
|
8564
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10046
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UpdateUserState.ts.html |here} to see how to use UpdateUserState API.
|
|
8565
10047
|
*/
|
|
8566
10048
|
updateUserState(updateUserStateRequest) {
|
|
8567
10049
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8638,7 +10120,7 @@ class IdentityClient {
|
|
|
8638
10120
|
* @param UploadApiKeyRequest
|
|
8639
10121
|
* @return UploadApiKeyResponse
|
|
8640
10122
|
* @throws OciError when an error occurs
|
|
8641
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
10123
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.9.0/identity/UploadApiKey.ts.html |here} to see how to use UploadApiKey API.
|
|
8642
10124
|
*/
|
|
8643
10125
|
uploadApiKey(uploadApiKeyRequest) {
|
|
8644
10126
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8696,5 +10178,5 @@ class IdentityClient {
|
|
|
8696
10178
|
}
|
|
8697
10179
|
}
|
|
8698
10180
|
exports.IdentityClient = IdentityClient;
|
|
8699
|
-
IdentityClient.serviceEndpointTemplate = "https://identity.{region}.{secondLevelDomain}";
|
|
10181
|
+
IdentityClient.serviceEndpointTemplate = "https://identity.{region}.oci.{secondLevelDomain}";
|
|
8700
10182
|
//# sourceMappingURL=client.js.map
|