oci-identity 2.5.1 → 2.7.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/LICENSE.txt +6 -0
- package/lib/client.d.ts +747 -181
- package/lib/client.js +1937 -425
- 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/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/index.d.ts +34 -0
- package/lib/model/index.js +37 -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/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-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/index.d.ts +30 -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-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/index.d.ts +30 -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/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
|
@@ -52,6 +52,9 @@ const oci_common_2 = require("oci-common");
|
|
|
52
52
|
var IdentityApiKeys;
|
|
53
53
|
(function (IdentityApiKeys) {
|
|
54
54
|
})(IdentityApiKeys = exports.IdentityApiKeys || (exports.IdentityApiKeys = {}));
|
|
55
|
+
/**
|
|
56
|
+
* This service client does not use circuit breakers by default if the user has not defined a circuit breaker configuration.
|
|
57
|
+
*/
|
|
55
58
|
class IdentityClient {
|
|
56
59
|
constructor(params, clientConfiguration) {
|
|
57
60
|
this["_endpoint"] = "";
|
|
@@ -66,6 +69,13 @@ class IdentityClient {
|
|
|
66
69
|
? clientConfiguration.circuitBreaker.circuit
|
|
67
70
|
: null;
|
|
68
71
|
}
|
|
72
|
+
// if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker
|
|
73
|
+
const specCircuitBreakerEnabled = false;
|
|
74
|
+
if (!this._circuitBreaker &&
|
|
75
|
+
common.utils.isCircuitBreakerSystemEnabled(clientConfiguration) &&
|
|
76
|
+
(specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden)) {
|
|
77
|
+
this._circuitBreaker = new common.CircuitBreaker().circuit;
|
|
78
|
+
}
|
|
69
79
|
this._httpClient =
|
|
70
80
|
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
|
|
71
81
|
if (params.authenticationDetailsProvider &&
|
|
@@ -135,13 +145,90 @@ class IdentityClient {
|
|
|
135
145
|
}
|
|
136
146
|
throw Error("Waiters do not exist. Please create waiters.");
|
|
137
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.7.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
|
+
}
|
|
138
224
|
/**
|
|
139
225
|
* Activates the specified MFA TOTP device for the user. Activation requires manual interaction with the Console.
|
|
140
226
|
*
|
|
227
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
141
228
|
* @param ActivateMfaTotpDeviceRequest
|
|
142
229
|
* @return ActivateMfaTotpDeviceResponse
|
|
143
230
|
* @throws OciError when an error occurs
|
|
144
|
-
* @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.7.0/identity/ActivateMfaTotpDevice.ts.html |here} to see how to use ActivateMfaTotpDevice API.
|
|
145
232
|
*/
|
|
146
233
|
activateMfaTotpDevice(activateMfaTotpDeviceRequest) {
|
|
147
234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -157,7 +244,8 @@ class IdentityClient {
|
|
|
157
244
|
"if-match": activateMfaTotpDeviceRequest.ifMatch,
|
|
158
245
|
"opc-retry-token": activateMfaTotpDeviceRequest.opcRetryToken
|
|
159
246
|
};
|
|
160
|
-
const
|
|
247
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
248
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, activateMfaTotpDeviceRequest.retryConfiguration, specRetryConfiguration);
|
|
161
249
|
if (this.logger)
|
|
162
250
|
retrier.logger = this.logger;
|
|
163
251
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -204,10 +292,11 @@ class IdentityClient {
|
|
|
204
292
|
After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
205
293
|
* object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
206
294
|
*
|
|
295
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
207
296
|
* @param AddUserToGroupRequest
|
|
208
297
|
* @return AddUserToGroupResponse
|
|
209
298
|
* @throws OciError when an error occurs
|
|
210
|
-
* @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.7.0/identity/AddUserToGroup.ts.html |here} to see how to use AddUserToGroup API.
|
|
211
300
|
*/
|
|
212
301
|
addUserToGroup(addUserToGroupRequest) {
|
|
213
302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -219,7 +308,8 @@ class IdentityClient {
|
|
|
219
308
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
220
309
|
"opc-retry-token": addUserToGroupRequest.opcRetryToken
|
|
221
310
|
};
|
|
222
|
-
const
|
|
311
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
312
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, addUserToGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
223
313
|
if (this.logger)
|
|
224
314
|
retrier.logger = this.logger;
|
|
225
315
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -266,10 +356,11 @@ class IdentityClient {
|
|
|
266
356
|
* referencing the same tag in a compartment lower down the hierarchy. This set of tag defaults
|
|
267
357
|
* includes all tag defaults from the current compartment back to the root compartment.
|
|
268
358
|
*
|
|
359
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
269
360
|
* @param AssembleEffectiveTagSetRequest
|
|
270
361
|
* @return AssembleEffectiveTagSetResponse
|
|
271
362
|
* @throws OciError when an error occurs
|
|
272
|
-
* @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.7.0/identity/AssembleEffectiveTagSet.ts.html |here} to see how to use AssembleEffectiveTagSet API.
|
|
273
364
|
*/
|
|
274
365
|
assembleEffectiveTagSet(assembleEffectiveTagSetRequest) {
|
|
275
366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -283,7 +374,8 @@ class IdentityClient {
|
|
|
283
374
|
let headerParams = {
|
|
284
375
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
285
376
|
};
|
|
286
|
-
const
|
|
377
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
378
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, assembleEffectiveTagSetRequest.retryConfiguration, specRetryConfiguration);
|
|
287
379
|
if (this.logger)
|
|
288
380
|
retrier.logger = this.logger;
|
|
289
381
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -330,10 +422,11 @@ class IdentityClient {
|
|
|
330
422
|
* {@link WorkRequest}. Use the {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest}
|
|
331
423
|
* API to monitor the status of the bulk action.
|
|
332
424
|
*
|
|
425
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
333
426
|
* @param BulkDeleteResourcesRequest
|
|
334
427
|
* @return BulkDeleteResourcesResponse
|
|
335
428
|
* @throws OciError when an error occurs
|
|
336
|
-
* @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.7.0/identity/BulkDeleteResources.ts.html |here} to see how to use BulkDeleteResources API.
|
|
337
430
|
*/
|
|
338
431
|
bulkDeleteResources(bulkDeleteResourcesRequest) {
|
|
339
432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -348,7 +441,8 @@ class IdentityClient {
|
|
|
348
441
|
"opc-request-id": bulkDeleteResourcesRequest.opcRequestId,
|
|
349
442
|
"opc-retry-token": bulkDeleteResourcesRequest.opcRetryToken
|
|
350
443
|
};
|
|
351
|
-
const
|
|
444
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
445
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDeleteResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
352
446
|
if (this.logger)
|
|
353
447
|
retrier.logger = this.logger;
|
|
354
448
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -408,10 +502,11 @@ class IdentityClient {
|
|
|
408
502
|
In order to delete tags, you must first retire the tags. Use {@link #updateTag(UpdateTagRequest) updateTag}
|
|
409
503
|
* to retire a tag.
|
|
410
504
|
*
|
|
505
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
411
506
|
* @param BulkDeleteTagsRequest
|
|
412
507
|
* @return BulkDeleteTagsResponse
|
|
413
508
|
* @throws OciError when an error occurs
|
|
414
|
-
* @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.7.0/identity/BulkDeleteTags.ts.html |here} to see how to use BulkDeleteTags API.
|
|
415
510
|
*/
|
|
416
511
|
bulkDeleteTags(bulkDeleteTagsRequest) {
|
|
417
512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -424,7 +519,8 @@ class IdentityClient {
|
|
|
424
519
|
"opc-request-id": bulkDeleteTagsRequest.opcRequestId,
|
|
425
520
|
"opc-retry-token": bulkDeleteTagsRequest.opcRetryToken
|
|
426
521
|
};
|
|
427
|
-
const
|
|
522
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
523
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkDeleteTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
428
524
|
if (this.logger)
|
|
429
525
|
retrier.logger = this.logger;
|
|
430
526
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -477,10 +573,11 @@ class IdentityClient {
|
|
|
477
573
|
* For example, if one request adds `tag set-1` to a resource and sets a tag value to `tag set-2`,
|
|
478
574
|
* `tag set-1` and `tag set-2` cannot have any common tag definitions.
|
|
479
575
|
*
|
|
576
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
480
577
|
* @param BulkEditTagsRequest
|
|
481
578
|
* @return BulkEditTagsResponse
|
|
482
579
|
* @throws OciError when an error occurs
|
|
483
|
-
* @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.7.0/identity/BulkEditTags.ts.html |here} to see how to use BulkEditTags API.
|
|
484
581
|
*/
|
|
485
582
|
bulkEditTags(bulkEditTagsRequest) {
|
|
486
583
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -493,7 +590,8 @@ class IdentityClient {
|
|
|
493
590
|
"opc-request-id": bulkEditTagsRequest.opcRequestId,
|
|
494
591
|
"opc-retry-token": bulkEditTagsRequest.opcRetryToken
|
|
495
592
|
};
|
|
496
|
-
const
|
|
593
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
594
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkEditTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
497
595
|
if (this.logger)
|
|
498
596
|
retrier.logger = this.logger;
|
|
499
597
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -537,10 +635,11 @@ class IdentityClient {
|
|
|
537
635
|
* compartments. This operation creates a {@link WorkRequest}.
|
|
538
636
|
* Use the {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} API to monitor the status of the bulk action.
|
|
539
637
|
*
|
|
638
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
540
639
|
* @param BulkMoveResourcesRequest
|
|
541
640
|
* @return BulkMoveResourcesResponse
|
|
542
641
|
* @throws OciError when an error occurs
|
|
543
|
-
* @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.7.0/identity/BulkMoveResources.ts.html |here} to see how to use BulkMoveResources API.
|
|
544
643
|
*/
|
|
545
644
|
bulkMoveResources(bulkMoveResourcesRequest) {
|
|
546
645
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -555,7 +654,8 @@ class IdentityClient {
|
|
|
555
654
|
"opc-request-id": bulkMoveResourcesRequest.opcRequestId,
|
|
556
655
|
"opc-retry-token": bulkMoveResourcesRequest.opcRetryToken
|
|
557
656
|
};
|
|
558
|
-
const
|
|
657
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
658
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, bulkMoveResourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
559
659
|
if (this.logger)
|
|
560
660
|
retrier.logger = this.logger;
|
|
561
661
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -613,10 +713,11 @@ class IdentityClient {
|
|
|
613
713
|
To delete a tag namespace, you must first retire it. Use {@link #updateTagNamespace(UpdateTagNamespaceRequest) updateTagNamespace}
|
|
614
714
|
* to retire a tag namespace.
|
|
615
715
|
*
|
|
716
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
616
717
|
* @param CascadeDeleteTagNamespaceRequest
|
|
617
718
|
* @return CascadeDeleteTagNamespaceResponse
|
|
618
719
|
* @throws OciError when an error occurs
|
|
619
|
-
* @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.7.0/identity/CascadeDeleteTagNamespace.ts.html |here} to see how to use CascadeDeleteTagNamespace API.
|
|
620
721
|
*/
|
|
621
722
|
cascadeDeleteTagNamespace(cascadeDeleteTagNamespaceRequest) {
|
|
622
723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -632,7 +733,8 @@ class IdentityClient {
|
|
|
632
733
|
"opc-request-id": cascadeDeleteTagNamespaceRequest.opcRequestId,
|
|
633
734
|
"opc-retry-token": cascadeDeleteTagNamespaceRequest.opcRetryToken
|
|
634
735
|
};
|
|
635
|
-
const
|
|
736
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
737
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, cascadeDeleteTagNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
636
738
|
if (this.logger)
|
|
637
739
|
retrier.logger = this.logger;
|
|
638
740
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -668,6 +770,153 @@ class IdentityClient {
|
|
|
668
770
|
}
|
|
669
771
|
});
|
|
670
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.7.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.7.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
|
+
}
|
|
671
920
|
/**
|
|
672
921
|
* Moves the specified tag namespace to the specified compartment within the same tenancy.
|
|
673
922
|
* <p>
|
|
@@ -676,10 +925,11 @@ class IdentityClient {
|
|
|
676
925
|
* <p>
|
|
677
926
|
Moving a tag namespace moves all the tag key definitions contained in the tag namespace.
|
|
678
927
|
*
|
|
928
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
679
929
|
* @param ChangeTagNamespaceCompartmentRequest
|
|
680
930
|
* @return ChangeTagNamespaceCompartmentResponse
|
|
681
931
|
* @throws OciError when an error occurs
|
|
682
|
-
* @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.7.0/identity/ChangeTagNamespaceCompartment.ts.html |here} to see how to use ChangeTagNamespaceCompartment API.
|
|
683
933
|
*/
|
|
684
934
|
changeTagNamespaceCompartment(changeTagNamespaceCompartmentRequest) {
|
|
685
935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -693,7 +943,8 @@ class IdentityClient {
|
|
|
693
943
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
694
944
|
"opc-retry-token": changeTagNamespaceCompartmentRequest.opcRetryToken
|
|
695
945
|
};
|
|
696
|
-
const
|
|
946
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
947
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeTagNamespaceCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
697
948
|
if (this.logger)
|
|
698
949
|
retrier.logger = this.logger;
|
|
699
950
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -737,10 +988,11 @@ class IdentityClient {
|
|
|
737
988
|
* does not need to write a policy to give users this ability. To compare, administrators who have permission to the
|
|
738
989
|
* tenancy can use this operation to create an auth token for any user, including themselves.
|
|
739
990
|
*
|
|
991
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
740
992
|
* @param CreateAuthTokenRequest
|
|
741
993
|
* @return CreateAuthTokenResponse
|
|
742
994
|
* @throws OciError when an error occurs
|
|
743
|
-
* @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.7.0/identity/CreateAuthToken.ts.html |here} to see how to use CreateAuthToken API.
|
|
744
996
|
*/
|
|
745
997
|
createAuthToken(createAuthTokenRequest) {
|
|
746
998
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -754,7 +1006,8 @@ class IdentityClient {
|
|
|
754
1006
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
755
1007
|
"opc-retry-token": createAuthTokenRequest.opcRetryToken
|
|
756
1008
|
};
|
|
757
|
-
const
|
|
1009
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1010
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAuthTokenRequest.retryConfiguration, specRetryConfiguration);
|
|
758
1011
|
if (this.logger)
|
|
759
1012
|
retrier.logger = this.logger;
|
|
760
1013
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -816,10 +1069,11 @@ class IdentityClient {
|
|
|
816
1069
|
After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
817
1070
|
* object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
818
1071
|
*
|
|
1072
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
819
1073
|
* @param CreateCompartmentRequest
|
|
820
1074
|
* @return CreateCompartmentResponse
|
|
821
1075
|
* @throws OciError when an error occurs
|
|
822
|
-
* @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.7.0/identity/CreateCompartment.ts.html |here} to see how to use CreateCompartment API.
|
|
823
1077
|
*/
|
|
824
1078
|
createCompartment(createCompartmentRequest) {
|
|
825
1079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -831,7 +1085,8 @@ class IdentityClient {
|
|
|
831
1085
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
832
1086
|
"opc-retry-token": createCompartmentRequest.opcRetryToken
|
|
833
1087
|
};
|
|
834
|
-
const
|
|
1088
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1089
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
835
1090
|
if (this.logger)
|
|
836
1091
|
retrier.logger = this.logger;
|
|
837
1092
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -885,10 +1140,11 @@ class IdentityClient {
|
|
|
885
1140
|
* does not need to write a policy to give users this ability. To compare, administrators who have permission to the
|
|
886
1141
|
* tenancy can use this operation to create a secret key for any user, including themselves.
|
|
887
1142
|
*
|
|
1143
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
888
1144
|
* @param CreateCustomerSecretKeyRequest
|
|
889
1145
|
* @return CreateCustomerSecretKeyResponse
|
|
890
1146
|
* @throws OciError when an error occurs
|
|
891
|
-
* @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.7.0/identity/CreateCustomerSecretKey.ts.html |here} to see how to use CreateCustomerSecretKey API.
|
|
892
1148
|
*/
|
|
893
1149
|
createCustomerSecretKey(createCustomerSecretKeyRequest) {
|
|
894
1150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -902,7 +1158,8 @@ class IdentityClient {
|
|
|
902
1158
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
903
1159
|
"opc-retry-token": createCustomerSecretKeyRequest.opcRetryToken
|
|
904
1160
|
};
|
|
905
|
-
const
|
|
1161
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1162
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCustomerSecretKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
906
1163
|
if (this.logger)
|
|
907
1164
|
retrier.logger = this.logger;
|
|
908
1165
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -943,6 +1200,79 @@ class IdentityClient {
|
|
|
943
1200
|
}
|
|
944
1201
|
});
|
|
945
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.7.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
|
+
}
|
|
946
1276
|
/**
|
|
947
1277
|
* Creates a new dynamic group in your tenancy.
|
|
948
1278
|
* <p>
|
|
@@ -963,10 +1293,11 @@ class IdentityClient {
|
|
|
963
1293
|
After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using the
|
|
964
1294
|
* object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
965
1295
|
*
|
|
1296
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
966
1297
|
* @param CreateDynamicGroupRequest
|
|
967
1298
|
* @return CreateDynamicGroupResponse
|
|
968
1299
|
* @throws OciError when an error occurs
|
|
969
|
-
* @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.7.0/identity/CreateDynamicGroup.ts.html |here} to see how to use CreateDynamicGroup API.
|
|
970
1301
|
*/
|
|
971
1302
|
createDynamicGroup(createDynamicGroupRequest) {
|
|
972
1303
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -978,7 +1309,8 @@ class IdentityClient {
|
|
|
978
1309
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
979
1310
|
"opc-retry-token": createDynamicGroupRequest.opcRetryToken
|
|
980
1311
|
};
|
|
981
|
-
const
|
|
1312
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1313
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createDynamicGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
982
1314
|
if (this.logger)
|
|
983
1315
|
retrier.logger = this.logger;
|
|
984
1316
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1042,10 +1374,11 @@ class IdentityClient {
|
|
|
1042
1374
|
* See {@link #addUserToGroup(AddUserToGroupRequest) addUserToGroup} and
|
|
1043
1375
|
* {@link #createPolicy(CreatePolicyRequest) createPolicy}.
|
|
1044
1376
|
*
|
|
1377
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1045
1378
|
* @param CreateGroupRequest
|
|
1046
1379
|
* @return CreateGroupResponse
|
|
1047
1380
|
* @throws OciError when an error occurs
|
|
1048
|
-
* @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.7.0/identity/CreateGroup.ts.html |here} to see how to use CreateGroup API.
|
|
1049
1382
|
*/
|
|
1050
1383
|
createGroup(createGroupRequest) {
|
|
1051
1384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1057,7 +1390,8 @@ class IdentityClient {
|
|
|
1057
1390
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1058
1391
|
"opc-retry-token": createGroupRequest.opcRetryToken
|
|
1059
1392
|
};
|
|
1060
|
-
const
|
|
1393
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1394
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
1061
1395
|
if (this.logger)
|
|
1062
1396
|
retrier.logger = this.logger;
|
|
1063
1397
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1099,7 +1433,9 @@ class IdentityClient {
|
|
|
1099
1433
|
});
|
|
1100
1434
|
}
|
|
1101
1435
|
/**
|
|
1102
|
-
*
|
|
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
|
|
1103
1439
|
* [Identity Providers and Federation](https://docs.cloud.oracle.com/Content/Identity/Concepts/federation.htm).
|
|
1104
1440
|
* <p>
|
|
1105
1441
|
You must specify your tenancy's OCID as the compartment ID in the request object.
|
|
@@ -1118,10 +1454,11 @@ class IdentityClient {
|
|
|
1118
1454
|
* be CREATING. Before using the object, first make sure its `lifecycleState` has
|
|
1119
1455
|
* changed to ACTIVE.
|
|
1120
1456
|
*
|
|
1457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1121
1458
|
* @param CreateIdentityProviderRequest
|
|
1122
1459
|
* @return CreateIdentityProviderResponse
|
|
1123
1460
|
* @throws OciError when an error occurs
|
|
1124
|
-
* @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.7.0/identity/CreateIdentityProvider.ts.html |here} to see how to use CreateIdentityProvider API.
|
|
1125
1462
|
*/
|
|
1126
1463
|
createIdentityProvider(createIdentityProviderRequest) {
|
|
1127
1464
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1133,7 +1470,8 @@ class IdentityClient {
|
|
|
1133
1470
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1134
1471
|
"opc-retry-token": createIdentityProviderRequest.opcRetryToken
|
|
1135
1472
|
};
|
|
1136
|
-
const
|
|
1473
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1474
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
1137
1475
|
if (this.logger)
|
|
1138
1476
|
retrier.logger = this.logger;
|
|
1139
1477
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1175,14 +1513,17 @@ class IdentityClient {
|
|
|
1175
1513
|
});
|
|
1176
1514
|
}
|
|
1177
1515
|
/**
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
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.7.0/identity/CreateIdpGroupMapping.ts.html |here} to see how to use CreateIdpGroupMapping API.
|
|
1526
|
+
*/
|
|
1186
1527
|
createIdpGroupMapping(createIdpGroupMappingRequest) {
|
|
1187
1528
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1188
1529
|
if (this.logger)
|
|
@@ -1195,7 +1536,8 @@ class IdentityClient {
|
|
|
1195
1536
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1196
1537
|
"opc-retry-token": createIdpGroupMappingRequest.opcRetryToken
|
|
1197
1538
|
};
|
|
1198
|
-
const
|
|
1539
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1540
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createIdpGroupMappingRequest.retryConfiguration, specRetryConfiguration);
|
|
1199
1541
|
if (this.logger)
|
|
1200
1542
|
retrier.logger = this.logger;
|
|
1201
1543
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1239,10 +1581,11 @@ class IdentityClient {
|
|
|
1239
1581
|
/**
|
|
1240
1582
|
* Creates a new MFA TOTP device for the user. A user can have one MFA TOTP device.
|
|
1241
1583
|
*
|
|
1584
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1242
1585
|
* @param CreateMfaTotpDeviceRequest
|
|
1243
1586
|
* @return CreateMfaTotpDeviceResponse
|
|
1244
1587
|
* @throws OciError when an error occurs
|
|
1245
|
-
* @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.7.0/identity/CreateMfaTotpDevice.ts.html |here} to see how to use CreateMfaTotpDevice API.
|
|
1246
1589
|
*/
|
|
1247
1590
|
createMfaTotpDevice(createMfaTotpDeviceRequest) {
|
|
1248
1591
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1256,7 +1599,8 @@ class IdentityClient {
|
|
|
1256
1599
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1257
1600
|
"opc-retry-token": createMfaTotpDeviceRequest.opcRetryToken
|
|
1258
1601
|
};
|
|
1259
|
-
const
|
|
1602
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1603
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createMfaTotpDeviceRequest.retryConfiguration, specRetryConfiguration);
|
|
1260
1604
|
if (this.logger)
|
|
1261
1605
|
retrier.logger = this.logger;
|
|
1262
1606
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1319,10 +1663,11 @@ class IdentityClient {
|
|
|
1319
1663
|
After your network resource is created, you can use it in policy to restrict access to only requests made from an allowed
|
|
1320
1664
|
* IP address specified in your network source. For more information, see [Managing Network Sources](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingnetworksources.htm).
|
|
1321
1665
|
*
|
|
1666
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1322
1667
|
* @param CreateNetworkSourceRequest
|
|
1323
1668
|
* @return CreateNetworkSourceResponse
|
|
1324
1669
|
* @throws OciError when an error occurs
|
|
1325
|
-
* @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.7.0/identity/CreateNetworkSource.ts.html |here} to see how to use CreateNetworkSource API.
|
|
1326
1671
|
*/
|
|
1327
1672
|
createNetworkSource(createNetworkSourceRequest) {
|
|
1328
1673
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1334,7 +1679,8 @@ class IdentityClient {
|
|
|
1334
1679
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1335
1680
|
"opc-retry-token": createNetworkSourceRequest.opcRetryToken
|
|
1336
1681
|
};
|
|
1337
|
-
const
|
|
1682
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1683
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNetworkSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
1338
1684
|
if (this.logger)
|
|
1339
1685
|
retrier.logger = this.logger;
|
|
1340
1686
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1378,10 +1724,11 @@ class IdentityClient {
|
|
|
1378
1724
|
/**
|
|
1379
1725
|
* Creates Oauth token for the user
|
|
1380
1726
|
*
|
|
1727
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1381
1728
|
* @param CreateOAuthClientCredentialRequest
|
|
1382
1729
|
* @return CreateOAuthClientCredentialResponse
|
|
1383
1730
|
* @throws OciError when an error occurs
|
|
1384
|
-
* @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.7.0/identity/CreateOAuthClientCredential.ts.html |here} to see how to use CreateOAuthClientCredential API.
|
|
1385
1732
|
*/
|
|
1386
1733
|
createOAuthClientCredential(createOAuthClientCredentialRequest) {
|
|
1387
1734
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1395,7 +1742,8 @@ class IdentityClient {
|
|
|
1395
1742
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1396
1743
|
"opc-retry-token": createOAuthClientCredentialRequest.opcRetryToken
|
|
1397
1744
|
};
|
|
1398
|
-
const
|
|
1745
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1746
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOAuthClientCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
1399
1747
|
if (this.logger)
|
|
1400
1748
|
retrier.logger = this.logger;
|
|
1401
1749
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1449,10 +1797,11 @@ class IdentityClient {
|
|
|
1449
1797
|
**Note:** The user's Console login is the unique name you specified when you created the user
|
|
1450
1798
|
* (see {@link #createUser(CreateUserRequest) createUser}).
|
|
1451
1799
|
*
|
|
1800
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1452
1801
|
* @param CreateOrResetUIPasswordRequest
|
|
1453
1802
|
* @return CreateOrResetUIPasswordResponse
|
|
1454
1803
|
* @throws OciError when an error occurs
|
|
1455
|
-
* @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.7.0/identity/CreateOrResetUIPassword.ts.html |here} to see how to use CreateOrResetUIPassword API.
|
|
1456
1805
|
*/
|
|
1457
1806
|
createOrResetUIPassword(createOrResetUIPasswordRequest) {
|
|
1458
1807
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1466,7 +1815,8 @@ class IdentityClient {
|
|
|
1466
1815
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1467
1816
|
"opc-retry-token": createOrResetUIPasswordRequest.opcRetryToken
|
|
1468
1817
|
};
|
|
1469
|
-
const
|
|
1818
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1819
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createOrResetUIPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
1470
1820
|
if (this.logger)
|
|
1471
1821
|
retrier.logger = this.logger;
|
|
1472
1822
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1525,10 +1875,11 @@ class IdentityClient {
|
|
|
1525
1875
|
* <p>
|
|
1526
1876
|
New policies take effect typically within 10 seconds.
|
|
1527
1877
|
*
|
|
1878
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1528
1879
|
* @param CreatePolicyRequest
|
|
1529
1880
|
* @return CreatePolicyResponse
|
|
1530
1881
|
* @throws OciError when an error occurs
|
|
1531
|
-
* @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.7.0/identity/CreatePolicy.ts.html |here} to see how to use CreatePolicy API.
|
|
1532
1883
|
*/
|
|
1533
1884
|
createPolicy(createPolicyRequest) {
|
|
1534
1885
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1540,7 +1891,8 @@ class IdentityClient {
|
|
|
1540
1891
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1541
1892
|
"opc-retry-token": createPolicyRequest.opcRetryToken
|
|
1542
1893
|
};
|
|
1543
|
-
const
|
|
1894
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1895
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
1544
1896
|
if (this.logger)
|
|
1545
1897
|
retrier.logger = this.logger;
|
|
1546
1898
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1584,10 +1936,11 @@ class IdentityClient {
|
|
|
1584
1936
|
/**
|
|
1585
1937
|
* Creates a subscription to a region for a tenancy.
|
|
1586
1938
|
*
|
|
1939
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1587
1940
|
* @param CreateRegionSubscriptionRequest
|
|
1588
1941
|
* @return CreateRegionSubscriptionResponse
|
|
1589
1942
|
* @throws OciError when an error occurs
|
|
1590
|
-
* @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.7.0/identity/CreateRegionSubscription.ts.html |here} to see how to use CreateRegionSubscription API.
|
|
1591
1944
|
*/
|
|
1592
1945
|
createRegionSubscription(createRegionSubscriptionRequest) {
|
|
1593
1946
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1601,7 +1954,8 @@ class IdentityClient {
|
|
|
1601
1954
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1602
1955
|
"opc-retry-token": createRegionSubscriptionRequest.opcRetryToken
|
|
1603
1956
|
};
|
|
1604
|
-
const
|
|
1957
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
1958
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createRegionSubscriptionRequest.retryConfiguration, specRetryConfiguration);
|
|
1605
1959
|
if (this.logger)
|
|
1606
1960
|
retrier.logger = this.logger;
|
|
1607
1961
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1643,10 +1997,11 @@ class IdentityClient {
|
|
|
1643
1997
|
* have to be unique, and you can change it anytime with
|
|
1644
1998
|
* {@link #updateSmtpCredential(UpdateSmtpCredentialRequest) updateSmtpCredential}.
|
|
1645
1999
|
*
|
|
2000
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1646
2001
|
* @param CreateSmtpCredentialRequest
|
|
1647
2002
|
* @return CreateSmtpCredentialResponse
|
|
1648
2003
|
* @throws OciError when an error occurs
|
|
1649
|
-
* @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.7.0/identity/CreateSmtpCredential.ts.html |here} to see how to use CreateSmtpCredential API.
|
|
1650
2005
|
*/
|
|
1651
2006
|
createSmtpCredential(createSmtpCredentialRequest) {
|
|
1652
2007
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1660,7 +2015,8 @@ class IdentityClient {
|
|
|
1660
2015
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1661
2016
|
"opc-retry-token": createSmtpCredentialRequest.opcRetryToken
|
|
1662
2017
|
};
|
|
1663
|
-
const
|
|
2018
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2019
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSmtpCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
1664
2020
|
if (this.logger)
|
|
1665
2021
|
retrier.logger = this.logger;
|
|
1666
2022
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1715,10 +2071,11 @@ class IdentityClient {
|
|
|
1715
2071
|
* does not need to write a policy to give users this ability. To compare, administrators who have permission to the
|
|
1716
2072
|
* tenancy can use this operation to create a Swift password for any user, including themselves.
|
|
1717
2073
|
*
|
|
2074
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1718
2075
|
* @param CreateSwiftPasswordRequest
|
|
1719
2076
|
* @return CreateSwiftPasswordResponse
|
|
1720
2077
|
* @throws OciError when an error occurs
|
|
1721
|
-
* @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.7.0/identity/CreateSwiftPassword.ts.html |here} to see how to use CreateSwiftPassword API.
|
|
1722
2079
|
*/
|
|
1723
2080
|
createSwiftPassword(createSwiftPasswordRequest) {
|
|
1724
2081
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1732,7 +2089,8 @@ class IdentityClient {
|
|
|
1732
2089
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1733
2090
|
"opc-retry-token": createSwiftPasswordRequest.opcRetryToken
|
|
1734
2091
|
};
|
|
1735
|
-
const
|
|
2092
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2093
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createSwiftPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
1736
2094
|
if (this.logger)
|
|
1737
2095
|
retrier.logger = this.logger;
|
|
1738
2096
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1797,10 +2155,11 @@ class IdentityClient {
|
|
|
1797
2155
|
* * If a `validator` is set, the user applying the tag to a resource must select from a list
|
|
1798
2156
|
* of values that you supply with {@link #enumTagDefinitionValidator(EnumTagDefinitionValidatorRequest) enumTagDefinitionValidator}.
|
|
1799
2157
|
*
|
|
2158
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1800
2159
|
* @param CreateTagRequest
|
|
1801
2160
|
* @return CreateTagResponse
|
|
1802
2161
|
* @throws OciError when an error occurs
|
|
1803
|
-
* @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.7.0/identity/CreateTag.ts.html |here} to see how to use CreateTag API.
|
|
1804
2163
|
*/
|
|
1805
2164
|
createTag(createTagRequest) {
|
|
1806
2165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1814,7 +2173,8 @@ class IdentityClient {
|
|
|
1814
2173
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1815
2174
|
"opc-retry-token": createTagRequest.opcRetryToken
|
|
1816
2175
|
};
|
|
1817
|
-
const
|
|
2176
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2177
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTagRequest.retryConfiguration, specRetryConfiguration);
|
|
1818
2178
|
if (this.logger)
|
|
1819
2179
|
retrier.logger = this.logger;
|
|
1820
2180
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1865,10 +2225,11 @@ class IdentityClient {
|
|
|
1865
2225
|
* If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
|
1866
2226
|
* * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
|
1867
2227
|
*
|
|
2228
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1868
2229
|
* @param CreateTagDefaultRequest
|
|
1869
2230
|
* @return CreateTagDefaultResponse
|
|
1870
2231
|
* @throws OciError when an error occurs
|
|
1871
|
-
* @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.7.0/identity/CreateTagDefault.ts.html |here} to see how to use CreateTagDefault API.
|
|
1872
2233
|
*/
|
|
1873
2234
|
createTagDefault(createTagDefaultRequest) {
|
|
1874
2235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1881,7 +2242,8 @@ class IdentityClient {
|
|
|
1881
2242
|
"opc-retry-token": createTagDefaultRequest.opcRetryToken,
|
|
1882
2243
|
"opc-request-id": createTagDefaultRequest.opcRequestId
|
|
1883
2244
|
};
|
|
1884
|
-
const
|
|
2245
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2246
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTagDefaultRequest.retryConfiguration, specRetryConfiguration);
|
|
1885
2247
|
if (this.logger)
|
|
1886
2248
|
retrier.logger = this.logger;
|
|
1887
2249
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -1938,10 +2300,11 @@ class IdentityClient {
|
|
|
1938
2300
|
* It does not have to be unique, and you can change it with
|
|
1939
2301
|
* {@link #updateTagNamespace(UpdateTagNamespaceRequest) updateTagNamespace}.
|
|
1940
2302
|
*
|
|
2303
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1941
2304
|
* @param CreateTagNamespaceRequest
|
|
1942
2305
|
* @return CreateTagNamespaceResponse
|
|
1943
2306
|
* @throws OciError when an error occurs
|
|
1944
|
-
* @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.7.0/identity/CreateTagNamespace.ts.html |here} to see how to use CreateTagNamespace API.
|
|
1945
2308
|
*/
|
|
1946
2309
|
createTagNamespace(createTagNamespaceRequest) {
|
|
1947
2310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1953,7 +2316,8 @@ class IdentityClient {
|
|
|
1953
2316
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
1954
2317
|
"opc-retry-token": createTagNamespaceRequest.opcRetryToken
|
|
1955
2318
|
};
|
|
1956
|
-
const
|
|
2319
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2320
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createTagNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
1957
2321
|
if (this.logger)
|
|
1958
2322
|
retrier.logger = this.logger;
|
|
1959
2323
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2026,10 +2390,11 @@ class IdentityClient {
|
|
|
2026
2390
|
* <p>
|
|
2027
2391
|
**Important:** Make sure to inform the new user which compartment(s) they have access to.
|
|
2028
2392
|
*
|
|
2393
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2029
2394
|
* @param CreateUserRequest
|
|
2030
2395
|
* @return CreateUserResponse
|
|
2031
2396
|
* @throws OciError when an error occurs
|
|
2032
|
-
* @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.7.0/identity/CreateUser.ts.html |here} to see how to use CreateUser API.
|
|
2033
2398
|
*/
|
|
2034
2399
|
createUser(createUserRequest) {
|
|
2035
2400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2041,7 +2406,8 @@ class IdentityClient {
|
|
|
2041
2406
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2042
2407
|
"opc-retry-token": createUserRequest.opcRetryToken
|
|
2043
2408
|
};
|
|
2044
|
-
const
|
|
2409
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2410
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createUserRequest.retryConfiguration, specRetryConfiguration);
|
|
2045
2411
|
if (this.logger)
|
|
2046
2412
|
retrier.logger = this.logger;
|
|
2047
2413
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2082,6 +2448,83 @@ class IdentityClient {
|
|
|
2082
2448
|
}
|
|
2083
2449
|
});
|
|
2084
2450
|
}
|
|
2451
|
+
/**
|
|
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.
|
|
2457
|
+
* <p>
|
|
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.
|
|
2470
|
+
*
|
|
2471
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2472
|
+
* @param DeactivateDomainRequest
|
|
2473
|
+
* @return DeactivateDomainResponse
|
|
2474
|
+
* @throws OciError when an error occurs
|
|
2475
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/DeactivateDomain.ts.html |here} to see how to use DeactivateDomain API.
|
|
2476
|
+
*/
|
|
2477
|
+
deactivateDomain(deactivateDomainRequest) {
|
|
2478
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2479
|
+
if (this.logger)
|
|
2480
|
+
this.logger.debug("Calling operation IdentityClient#deactivateDomain.");
|
|
2481
|
+
const pathParams = {
|
|
2482
|
+
"{domainId}": deactivateDomainRequest.domainId
|
|
2483
|
+
};
|
|
2484
|
+
const queryParams = {};
|
|
2485
|
+
let headerParams = {
|
|
2486
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2487
|
+
"opc-request-id": deactivateDomainRequest.opcRequestId,
|
|
2488
|
+
"opc-retry-token": deactivateDomainRequest.opcRetryToken,
|
|
2489
|
+
"if-match": deactivateDomainRequest.ifMatch
|
|
2490
|
+
};
|
|
2491
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2492
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deactivateDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
2493
|
+
if (this.logger)
|
|
2494
|
+
retrier.logger = this.logger;
|
|
2495
|
+
const request = yield oci_common_2.composeRequest({
|
|
2496
|
+
baseEndpoint: this._endpoint,
|
|
2497
|
+
defaultHeaders: this._defaultHeaders,
|
|
2498
|
+
path: "/domains/{domainId}/actions/deactivate",
|
|
2499
|
+
method: "POST",
|
|
2500
|
+
pathParams: pathParams,
|
|
2501
|
+
headerParams: headerParams,
|
|
2502
|
+
queryParams: queryParams
|
|
2503
|
+
});
|
|
2504
|
+
try {
|
|
2505
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
2506
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
2507
|
+
responseObject: {},
|
|
2508
|
+
responseHeaders: [
|
|
2509
|
+
{
|
|
2510
|
+
value: response.headers.get("opc-request-id"),
|
|
2511
|
+
key: "opcRequestId",
|
|
2512
|
+
dataType: "string"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
value: response.headers.get("opc-work-request-id"),
|
|
2516
|
+
key: "opcWorkRequestId",
|
|
2517
|
+
dataType: "string"
|
|
2518
|
+
}
|
|
2519
|
+
]
|
|
2520
|
+
});
|
|
2521
|
+
return sdkResponse;
|
|
2522
|
+
}
|
|
2523
|
+
catch (err) {
|
|
2524
|
+
throw err;
|
|
2525
|
+
}
|
|
2526
|
+
});
|
|
2527
|
+
}
|
|
2085
2528
|
/**
|
|
2086
2529
|
* Deletes the specified API signing key for the specified user.
|
|
2087
2530
|
* <p>
|
|
@@ -2090,10 +2533,11 @@ class IdentityClient {
|
|
|
2090
2533
|
* To compare, administrators who have permission to the tenancy can use this operation to delete
|
|
2091
2534
|
* a key for any user, including themselves.
|
|
2092
2535
|
*
|
|
2536
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2093
2537
|
* @param DeleteApiKeyRequest
|
|
2094
2538
|
* @return DeleteApiKeyResponse
|
|
2095
2539
|
* @throws OciError when an error occurs
|
|
2096
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2540
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/DeleteApiKey.ts.html |here} to see how to use DeleteApiKey API.
|
|
2097
2541
|
*/
|
|
2098
2542
|
deleteApiKey(deleteApiKeyRequest) {
|
|
2099
2543
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2108,7 +2552,8 @@ class IdentityClient {
|
|
|
2108
2552
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2109
2553
|
"if-match": deleteApiKeyRequest.ifMatch
|
|
2110
2554
|
};
|
|
2111
|
-
const
|
|
2555
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2556
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteApiKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
2112
2557
|
if (this.logger)
|
|
2113
2558
|
retrier.logger = this.logger;
|
|
2114
2559
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2142,10 +2587,11 @@ class IdentityClient {
|
|
|
2142
2587
|
/**
|
|
2143
2588
|
* Deletes the specified auth token for the specified user.
|
|
2144
2589
|
*
|
|
2590
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2145
2591
|
* @param DeleteAuthTokenRequest
|
|
2146
2592
|
* @return DeleteAuthTokenResponse
|
|
2147
2593
|
* @throws OciError when an error occurs
|
|
2148
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
2594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/DeleteAuthToken.ts.html |here} to see how to use DeleteAuthToken API.
|
|
2149
2595
|
*/
|
|
2150
2596
|
deleteAuthToken(deleteAuthTokenRequest) {
|
|
2151
2597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2160,7 +2606,8 @@ class IdentityClient {
|
|
|
2160
2606
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2161
2607
|
"if-match": deleteAuthTokenRequest.ifMatch
|
|
2162
2608
|
};
|
|
2163
|
-
const
|
|
2609
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2610
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAuthTokenRequest.retryConfiguration, specRetryConfiguration);
|
|
2164
2611
|
if (this.logger)
|
|
2165
2612
|
retrier.logger = this.logger;
|
|
2166
2613
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2194,10 +2641,11 @@ class IdentityClient {
|
|
|
2194
2641
|
/**
|
|
2195
2642
|
* Deletes the specified compartment. The compartment must be empty.
|
|
2196
2643
|
*
|
|
2644
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2197
2645
|
* @param DeleteCompartmentRequest
|
|
2198
2646
|
* @return DeleteCompartmentResponse
|
|
2199
2647
|
* @throws OciError when an error occurs
|
|
2200
|
-
* @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.7.0/identity/DeleteCompartment.ts.html |here} to see how to use DeleteCompartment API.
|
|
2201
2649
|
*/
|
|
2202
2650
|
deleteCompartment(deleteCompartmentRequest) {
|
|
2203
2651
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2211,7 +2659,8 @@ class IdentityClient {
|
|
|
2211
2659
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2212
2660
|
"if-match": deleteCompartmentRequest.ifMatch
|
|
2213
2661
|
};
|
|
2214
|
-
const
|
|
2662
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2663
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
2215
2664
|
if (this.logger)
|
|
2216
2665
|
retrier.logger = this.logger;
|
|
2217
2666
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2250,10 +2699,11 @@ class IdentityClient {
|
|
|
2250
2699
|
/**
|
|
2251
2700
|
* Deletes the specified secret key for the specified user.
|
|
2252
2701
|
*
|
|
2702
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2253
2703
|
* @param DeleteCustomerSecretKeyRequest
|
|
2254
2704
|
* @return DeleteCustomerSecretKeyResponse
|
|
2255
2705
|
* @throws OciError when an error occurs
|
|
2256
|
-
* @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.7.0/identity/DeleteCustomerSecretKey.ts.html |here} to see how to use DeleteCustomerSecretKey API.
|
|
2257
2707
|
*/
|
|
2258
2708
|
deleteCustomerSecretKey(deleteCustomerSecretKeyRequest) {
|
|
2259
2709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2268,7 +2718,8 @@ class IdentityClient {
|
|
|
2268
2718
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2269
2719
|
"if-match": deleteCustomerSecretKeyRequest.ifMatch
|
|
2270
2720
|
};
|
|
2271
|
-
const
|
|
2721
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2722
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteCustomerSecretKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
2272
2723
|
if (this.logger)
|
|
2273
2724
|
retrier.logger = this.logger;
|
|
2274
2725
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2300,14 +2751,90 @@ class IdentityClient {
|
|
|
2300
2751
|
});
|
|
2301
2752
|
}
|
|
2302
2753
|
/**
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
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.7.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
|
+
}
|
|
2828
|
+
/**
|
|
2829
|
+
* Deletes the specified dynamic group.
|
|
2830
|
+
*
|
|
2831
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2832
|
+
* @param DeleteDynamicGroupRequest
|
|
2833
|
+
* @return DeleteDynamicGroupResponse
|
|
2834
|
+
* @throws OciError when an error occurs
|
|
2835
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/DeleteDynamicGroup.ts.html |here} to see how to use DeleteDynamicGroup API.
|
|
2836
|
+
*/
|
|
2837
|
+
deleteDynamicGroup(deleteDynamicGroupRequest) {
|
|
2311
2838
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2312
2839
|
if (this.logger)
|
|
2313
2840
|
this.logger.debug("Calling operation IdentityClient#deleteDynamicGroup.");
|
|
@@ -2319,7 +2846,8 @@ class IdentityClient {
|
|
|
2319
2846
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2320
2847
|
"if-match": deleteDynamicGroupRequest.ifMatch
|
|
2321
2848
|
};
|
|
2322
|
-
const
|
|
2849
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2850
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteDynamicGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
2323
2851
|
if (this.logger)
|
|
2324
2852
|
retrier.logger = this.logger;
|
|
2325
2853
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2353,10 +2881,11 @@ class IdentityClient {
|
|
|
2353
2881
|
/**
|
|
2354
2882
|
* Deletes the specified group. The group must be empty.
|
|
2355
2883
|
*
|
|
2884
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2356
2885
|
* @param DeleteGroupRequest
|
|
2357
2886
|
* @return DeleteGroupResponse
|
|
2358
2887
|
* @throws OciError when an error occurs
|
|
2359
|
-
* @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.7.0/identity/DeleteGroup.ts.html |here} to see how to use DeleteGroup API.
|
|
2360
2889
|
*/
|
|
2361
2890
|
deleteGroup(deleteGroupRequest) {
|
|
2362
2891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2370,7 +2899,8 @@ class IdentityClient {
|
|
|
2370
2899
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2371
2900
|
"if-match": deleteGroupRequest.ifMatch
|
|
2372
2901
|
};
|
|
2373
|
-
const
|
|
2902
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2903
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
2374
2904
|
if (this.logger)
|
|
2375
2905
|
retrier.logger = this.logger;
|
|
2376
2906
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2402,14 +2932,17 @@ class IdentityClient {
|
|
|
2402
2932
|
});
|
|
2403
2933
|
}
|
|
2404
2934
|
/**
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
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.7.0/identity/DeleteIdentityProvider.ts.html |here} to see how to use DeleteIdentityProvider API.
|
|
2945
|
+
*/
|
|
2413
2946
|
deleteIdentityProvider(deleteIdentityProviderRequest) {
|
|
2414
2947
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2415
2948
|
if (this.logger)
|
|
@@ -2422,7 +2955,8 @@ class IdentityClient {
|
|
|
2422
2955
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2423
2956
|
"if-match": deleteIdentityProviderRequest.ifMatch
|
|
2424
2957
|
};
|
|
2425
|
-
const
|
|
2958
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
2959
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
2426
2960
|
if (this.logger)
|
|
2427
2961
|
retrier.logger = this.logger;
|
|
2428
2962
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2454,12 +2988,16 @@ class IdentityClient {
|
|
|
2454
2988
|
});
|
|
2455
2989
|
}
|
|
2456
2990
|
/**
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
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.7.0/identity/DeleteIdpGroupMapping.ts.html |here} to see how to use DeleteIdpGroupMapping API.
|
|
3000
|
+
*/
|
|
2463
3001
|
deleteIdpGroupMapping(deleteIdpGroupMappingRequest) {
|
|
2464
3002
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2465
3003
|
if (this.logger)
|
|
@@ -2473,7 +3011,8 @@ class IdentityClient {
|
|
|
2473
3011
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2474
3012
|
"if-match": deleteIdpGroupMappingRequest.ifMatch
|
|
2475
3013
|
};
|
|
2476
|
-
const
|
|
3014
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3015
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteIdpGroupMappingRequest.retryConfiguration, specRetryConfiguration);
|
|
2477
3016
|
if (this.logger)
|
|
2478
3017
|
retrier.logger = this.logger;
|
|
2479
3018
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2507,10 +3046,11 @@ class IdentityClient {
|
|
|
2507
3046
|
/**
|
|
2508
3047
|
* Deletes the specified MFA TOTP device for the specified user.
|
|
2509
3048
|
*
|
|
3049
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2510
3050
|
* @param DeleteMfaTotpDeviceRequest
|
|
2511
3051
|
* @return DeleteMfaTotpDeviceResponse
|
|
2512
3052
|
* @throws OciError when an error occurs
|
|
2513
|
-
* @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.7.0/identity/DeleteMfaTotpDevice.ts.html |here} to see how to use DeleteMfaTotpDevice API.
|
|
2514
3054
|
*/
|
|
2515
3055
|
deleteMfaTotpDevice(deleteMfaTotpDeviceRequest) {
|
|
2516
3056
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2525,7 +3065,8 @@ class IdentityClient {
|
|
|
2525
3065
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2526
3066
|
"if-match": deleteMfaTotpDeviceRequest.ifMatch
|
|
2527
3067
|
};
|
|
2528
|
-
const
|
|
3068
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3069
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteMfaTotpDeviceRequest.retryConfiguration, specRetryConfiguration);
|
|
2529
3070
|
if (this.logger)
|
|
2530
3071
|
retrier.logger = this.logger;
|
|
2531
3072
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2559,10 +3100,11 @@ class IdentityClient {
|
|
|
2559
3100
|
/**
|
|
2560
3101
|
* Deletes the specified network source
|
|
2561
3102
|
*
|
|
3103
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2562
3104
|
* @param DeleteNetworkSourceRequest
|
|
2563
3105
|
* @return DeleteNetworkSourceResponse
|
|
2564
3106
|
* @throws OciError when an error occurs
|
|
2565
|
-
* @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.7.0/identity/DeleteNetworkSource.ts.html |here} to see how to use DeleteNetworkSource API.
|
|
2566
3108
|
*/
|
|
2567
3109
|
deleteNetworkSource(deleteNetworkSourceRequest) {
|
|
2568
3110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2576,7 +3118,8 @@ class IdentityClient {
|
|
|
2576
3118
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2577
3119
|
"if-match": deleteNetworkSourceRequest.ifMatch
|
|
2578
3120
|
};
|
|
2579
|
-
const
|
|
3121
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3122
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNetworkSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
2580
3123
|
if (this.logger)
|
|
2581
3124
|
retrier.logger = this.logger;
|
|
2582
3125
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2610,10 +3153,11 @@ class IdentityClient {
|
|
|
2610
3153
|
/**
|
|
2611
3154
|
* Delete Oauth token for the user
|
|
2612
3155
|
*
|
|
3156
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2613
3157
|
* @param DeleteOAuthClientCredentialRequest
|
|
2614
3158
|
* @return DeleteOAuthClientCredentialResponse
|
|
2615
3159
|
* @throws OciError when an error occurs
|
|
2616
|
-
* @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.7.0/identity/DeleteOAuthClientCredential.ts.html |here} to see how to use DeleteOAuthClientCredential API.
|
|
2617
3161
|
*/
|
|
2618
3162
|
deleteOAuthClientCredential(deleteOAuthClientCredentialRequest) {
|
|
2619
3163
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2628,7 +3172,8 @@ class IdentityClient {
|
|
|
2628
3172
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2629
3173
|
"if-match": deleteOAuthClientCredentialRequest.ifMatch
|
|
2630
3174
|
};
|
|
2631
|
-
const
|
|
3175
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3176
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteOAuthClientCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
2632
3177
|
if (this.logger)
|
|
2633
3178
|
retrier.logger = this.logger;
|
|
2634
3179
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2661,10 +3206,11 @@ class IdentityClient {
|
|
|
2661
3206
|
}
|
|
2662
3207
|
/**
|
|
2663
3208
|
* Deletes the specified policy. The deletion takes effect typically within 10 seconds.
|
|
3209
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2664
3210
|
* @param DeletePolicyRequest
|
|
2665
3211
|
* @return DeletePolicyResponse
|
|
2666
3212
|
* @throws OciError when an error occurs
|
|
2667
|
-
* @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.7.0/identity/DeletePolicy.ts.html |here} to see how to use DeletePolicy API.
|
|
2668
3214
|
*/
|
|
2669
3215
|
deletePolicy(deletePolicyRequest) {
|
|
2670
3216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2678,7 +3224,8 @@ class IdentityClient {
|
|
|
2678
3224
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2679
3225
|
"if-match": deletePolicyRequest.ifMatch
|
|
2680
3226
|
};
|
|
2681
|
-
const
|
|
3227
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3228
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deletePolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
2682
3229
|
if (this.logger)
|
|
2683
3230
|
retrier.logger = this.logger;
|
|
2684
3231
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2712,10 +3259,11 @@ class IdentityClient {
|
|
|
2712
3259
|
/**
|
|
2713
3260
|
* Deletes the specified SMTP credential for the specified user.
|
|
2714
3261
|
*
|
|
3262
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2715
3263
|
* @param DeleteSmtpCredentialRequest
|
|
2716
3264
|
* @return DeleteSmtpCredentialResponse
|
|
2717
3265
|
* @throws OciError when an error occurs
|
|
2718
|
-
* @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.7.0/identity/DeleteSmtpCredential.ts.html |here} to see how to use DeleteSmtpCredential API.
|
|
2719
3267
|
*/
|
|
2720
3268
|
deleteSmtpCredential(deleteSmtpCredentialRequest) {
|
|
2721
3269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2730,7 +3278,8 @@ class IdentityClient {
|
|
|
2730
3278
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2731
3279
|
"if-match": deleteSmtpCredentialRequest.ifMatch
|
|
2732
3280
|
};
|
|
2733
|
-
const
|
|
3281
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3282
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSmtpCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
2734
3283
|
if (this.logger)
|
|
2735
3284
|
retrier.logger = this.logger;
|
|
2736
3285
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2766,10 +3315,11 @@ class IdentityClient {
|
|
|
2766
3315
|
* <p>
|
|
2767
3316
|
Deletes the specified Swift password for the specified user.
|
|
2768
3317
|
*
|
|
3318
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2769
3319
|
* @param DeleteSwiftPasswordRequest
|
|
2770
3320
|
* @return DeleteSwiftPasswordResponse
|
|
2771
3321
|
* @throws OciError when an error occurs
|
|
2772
|
-
* @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.7.0/identity/DeleteSwiftPassword.ts.html |here} to see how to use DeleteSwiftPassword API.
|
|
2773
3323
|
*/
|
|
2774
3324
|
deleteSwiftPassword(deleteSwiftPasswordRequest) {
|
|
2775
3325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2784,7 +3334,8 @@ class IdentityClient {
|
|
|
2784
3334
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2785
3335
|
"if-match": deleteSwiftPasswordRequest.ifMatch
|
|
2786
3336
|
};
|
|
2787
|
-
const
|
|
3337
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3338
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteSwiftPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
2788
3339
|
if (this.logger)
|
|
2789
3340
|
retrier.logger = this.logger;
|
|
2790
3341
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2838,10 +3389,11 @@ class IdentityClient {
|
|
|
2838
3389
|
To delete a tag, you must first retire it. Use {@link #updateTag(UpdateTagRequest) updateTag}
|
|
2839
3390
|
* to retire a tag.
|
|
2840
3391
|
*
|
|
3392
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2841
3393
|
* @param DeleteTagRequest
|
|
2842
3394
|
* @return DeleteTagResponse
|
|
2843
3395
|
* @throws OciError when an error occurs
|
|
2844
|
-
* @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.7.0/identity/DeleteTag.ts.html |here} to see how to use DeleteTag API.
|
|
2845
3397
|
*/
|
|
2846
3398
|
deleteTag(deleteTagRequest) {
|
|
2847
3399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2856,7 +3408,8 @@ class IdentityClient {
|
|
|
2856
3408
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
2857
3409
|
"if-match": deleteTagRequest.ifMatch
|
|
2858
3410
|
};
|
|
2859
|
-
const
|
|
3411
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3412
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTagRequest.retryConfiguration, specRetryConfiguration);
|
|
2860
3413
|
if (this.logger)
|
|
2861
3414
|
retrier.logger = this.logger;
|
|
2862
3415
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2895,10 +3448,11 @@ class IdentityClient {
|
|
|
2895
3448
|
/**
|
|
2896
3449
|
* Deletes the the specified tag default.
|
|
2897
3450
|
*
|
|
3451
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2898
3452
|
* @param DeleteTagDefaultRequest
|
|
2899
3453
|
* @return DeleteTagDefaultResponse
|
|
2900
3454
|
* @throws OciError when an error occurs
|
|
2901
|
-
* @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.7.0/identity/DeleteTagDefault.ts.html |here} to see how to use DeleteTagDefault API.
|
|
2902
3456
|
*/
|
|
2903
3457
|
deleteTagDefault(deleteTagDefaultRequest) {
|
|
2904
3458
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2913,7 +3467,8 @@ class IdentityClient {
|
|
|
2913
3467
|
"opc-request-id": deleteTagDefaultRequest.opcRequestId,
|
|
2914
3468
|
"if-match": deleteTagDefaultRequest.ifMatch
|
|
2915
3469
|
};
|
|
2916
|
-
const
|
|
3470
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3471
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTagDefaultRequest.retryConfiguration, specRetryConfiguration);
|
|
2917
3472
|
if (this.logger)
|
|
2918
3473
|
retrier.logger = this.logger;
|
|
2919
3474
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -2953,10 +3508,11 @@ class IdentityClient {
|
|
|
2953
3508
|
* <p>
|
|
2954
3509
|
Use {@link #deleteTag(DeleteTagRequest) deleteTag} to delete a tag definition.
|
|
2955
3510
|
*
|
|
3511
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2956
3512
|
* @param DeleteTagNamespaceRequest
|
|
2957
3513
|
* @return DeleteTagNamespaceResponse
|
|
2958
3514
|
* @throws OciError when an error occurs
|
|
2959
|
-
* @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.7.0/identity/DeleteTagNamespace.ts.html |here} to see how to use DeleteTagNamespace API.
|
|
2960
3516
|
*/
|
|
2961
3517
|
deleteTagNamespace(deleteTagNamespaceRequest) {
|
|
2962
3518
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2971,7 +3527,8 @@ class IdentityClient {
|
|
|
2971
3527
|
"if-match": deleteTagNamespaceRequest.ifMatch,
|
|
2972
3528
|
"opc-request-id": deleteTagNamespaceRequest.opcRequestId
|
|
2973
3529
|
};
|
|
2974
|
-
const
|
|
3530
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3531
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteTagNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
2975
3532
|
if (this.logger)
|
|
2976
3533
|
retrier.logger = this.logger;
|
|
2977
3534
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3004,10 +3561,11 @@ class IdentityClient {
|
|
|
3004
3561
|
}
|
|
3005
3562
|
/**
|
|
3006
3563
|
* Deletes the specified user. The user must not be in any groups.
|
|
3564
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3007
3565
|
* @param DeleteUserRequest
|
|
3008
3566
|
* @return DeleteUserResponse
|
|
3009
3567
|
* @throws OciError when an error occurs
|
|
3010
|
-
* @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.7.0/identity/DeleteUser.ts.html |here} to see how to use DeleteUser API.
|
|
3011
3569
|
*/
|
|
3012
3570
|
deleteUser(deleteUserRequest) {
|
|
3013
3571
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3021,7 +3579,8 @@ class IdentityClient {
|
|
|
3021
3579
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3022
3580
|
"if-match": deleteUserRequest.ifMatch
|
|
3023
3581
|
};
|
|
3024
|
-
const
|
|
3582
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3583
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUserRequest.retryConfiguration, specRetryConfiguration);
|
|
3025
3584
|
if (this.logger)
|
|
3026
3585
|
retrier.logger = this.logger;
|
|
3027
3586
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3052,13 +3611,87 @@ class IdentityClient {
|
|
|
3052
3611
|
}
|
|
3053
3612
|
});
|
|
3054
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.7.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
|
+
}
|
|
3055
3687
|
/**
|
|
3056
3688
|
* Generate seed for the MFA TOTP device.
|
|
3057
3689
|
*
|
|
3690
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3058
3691
|
* @param GenerateTotpSeedRequest
|
|
3059
3692
|
* @return GenerateTotpSeedResponse
|
|
3060
3693
|
* @throws OciError when an error occurs
|
|
3061
|
-
* @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.7.0/identity/GenerateTotpSeed.ts.html |here} to see how to use GenerateTotpSeed API.
|
|
3062
3695
|
*/
|
|
3063
3696
|
generateTotpSeed(generateTotpSeedRequest) {
|
|
3064
3697
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3073,7 +3706,8 @@ class IdentityClient {
|
|
|
3073
3706
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
3074
3707
|
"if-match": generateTotpSeedRequest.ifMatch
|
|
3075
3708
|
};
|
|
3076
|
-
const
|
|
3709
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3710
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, generateTotpSeedRequest.retryConfiguration, specRetryConfiguration);
|
|
3077
3711
|
if (this.logger)
|
|
3078
3712
|
retrier.logger = this.logger;
|
|
3079
3713
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3117,10 +3751,11 @@ class IdentityClient {
|
|
|
3117
3751
|
* Gets the authentication policy for the given tenancy. You must specify your tenant\u2019s OCID as the value for
|
|
3118
3752
|
* the compartment ID (remember that the tenancy is simply the root compartment).
|
|
3119
3753
|
*
|
|
3754
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3120
3755
|
* @param GetAuthenticationPolicyRequest
|
|
3121
3756
|
* @return GetAuthenticationPolicyResponse
|
|
3122
3757
|
* @throws OciError when an error occurs
|
|
3123
|
-
* @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.7.0/identity/GetAuthenticationPolicy.ts.html |here} to see how to use GetAuthenticationPolicy API.
|
|
3124
3759
|
*/
|
|
3125
3760
|
getAuthenticationPolicy(getAuthenticationPolicyRequest) {
|
|
3126
3761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3133,7 +3768,8 @@ class IdentityClient {
|
|
|
3133
3768
|
let headerParams = {
|
|
3134
3769
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3135
3770
|
};
|
|
3136
|
-
const
|
|
3771
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3772
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAuthenticationPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3137
3773
|
if (this.logger)
|
|
3138
3774
|
retrier.logger = this.logger;
|
|
3139
3775
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3183,10 +3819,11 @@ class IdentityClient {
|
|
|
3183
3819
|
* call the {@link #listInstances(ListInstancesRequest) listInstances} operation in the Cloud Compute
|
|
3184
3820
|
* Service or the {@link #listVolumes(ListVolumesRequest) listVolumes} operation in Cloud Block Storage.
|
|
3185
3821
|
*
|
|
3822
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3186
3823
|
* @param GetCompartmentRequest
|
|
3187
3824
|
* @return GetCompartmentResponse
|
|
3188
3825
|
* @throws OciError when an error occurs
|
|
3189
|
-
* @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.7.0/identity/GetCompartment.ts.html |here} to see how to use GetCompartment API.
|
|
3190
3827
|
*/
|
|
3191
3828
|
getCompartment(getCompartmentRequest) {
|
|
3192
3829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3199,7 +3836,8 @@ class IdentityClient {
|
|
|
3199
3836
|
let headerParams = {
|
|
3200
3837
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3201
3838
|
};
|
|
3202
|
-
const
|
|
3839
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3840
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
3203
3841
|
if (this.logger)
|
|
3204
3842
|
retrier.logger = this.logger;
|
|
3205
3843
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3239,13 +3877,79 @@ class IdentityClient {
|
|
|
3239
3877
|
}
|
|
3240
3878
|
});
|
|
3241
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.7.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
|
+
}
|
|
3242
3945
|
/**
|
|
3243
3946
|
* Gets the specified dynamic group's information.
|
|
3244
3947
|
*
|
|
3948
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3245
3949
|
* @param GetDynamicGroupRequest
|
|
3246
3950
|
* @return GetDynamicGroupResponse
|
|
3247
3951
|
* @throws OciError when an error occurs
|
|
3248
|
-
* @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.7.0/identity/GetDynamicGroup.ts.html |here} to see how to use GetDynamicGroup API.
|
|
3249
3953
|
*/
|
|
3250
3954
|
getDynamicGroup(getDynamicGroupRequest) {
|
|
3251
3955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3258,7 +3962,8 @@ class IdentityClient {
|
|
|
3258
3962
|
let headerParams = {
|
|
3259
3963
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3260
3964
|
};
|
|
3261
|
-
const
|
|
3965
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
3966
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getDynamicGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
3262
3967
|
if (this.logger)
|
|
3263
3968
|
retrier.logger = this.logger;
|
|
3264
3969
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3305,10 +4010,11 @@ class IdentityClient {
|
|
|
3305
4010
|
* {@link #listUserGroupMemberships(ListUserGroupMembershipsRequest) listUserGroupMemberships} and
|
|
3306
4011
|
* provide the group's OCID as a query parameter in the request.
|
|
3307
4012
|
*
|
|
4013
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3308
4014
|
* @param GetGroupRequest
|
|
3309
4015
|
* @return GetGroupResponse
|
|
3310
4016
|
* @throws OciError when an error occurs
|
|
3311
|
-
* @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.7.0/identity/GetGroup.ts.html |here} to see how to use GetGroup API.
|
|
3312
4018
|
*/
|
|
3313
4019
|
getGroup(getGroupRequest) {
|
|
3314
4020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3321,7 +4027,8 @@ class IdentityClient {
|
|
|
3321
4027
|
let headerParams = {
|
|
3322
4028
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3323
4029
|
};
|
|
3324
|
-
const
|
|
4030
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4031
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
3325
4032
|
if (this.logger)
|
|
3326
4033
|
retrier.logger = this.logger;
|
|
3327
4034
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3362,12 +4069,77 @@ class IdentityClient {
|
|
|
3362
4069
|
});
|
|
3363
4070
|
}
|
|
3364
4071
|
/**
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
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.7.0/identity/GetIamWorkRequest.ts.html |here} to see how to use GetIamWorkRequest API.
|
|
4083
|
+
*/
|
|
4084
|
+
getIamWorkRequest(getIamWorkRequestRequest) {
|
|
4085
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4086
|
+
if (this.logger)
|
|
4087
|
+
this.logger.debug("Calling operation IdentityClient#getIamWorkRequest.");
|
|
4088
|
+
const pathParams = {
|
|
4089
|
+
"{iamWorkRequestId}": getIamWorkRequestRequest.iamWorkRequestId
|
|
4090
|
+
};
|
|
4091
|
+
const queryParams = {};
|
|
4092
|
+
let headerParams = {
|
|
4093
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4094
|
+
"opc-request-id": getIamWorkRequestRequest.opcRequestId
|
|
4095
|
+
};
|
|
4096
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4097
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIamWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
4098
|
+
if (this.logger)
|
|
4099
|
+
retrier.logger = this.logger;
|
|
4100
|
+
const request = yield oci_common_2.composeRequest({
|
|
4101
|
+
baseEndpoint: this._endpoint,
|
|
4102
|
+
defaultHeaders: this._defaultHeaders,
|
|
4103
|
+
path: "/iamWorkRequests/{iamWorkRequestId}",
|
|
4104
|
+
method: "GET",
|
|
4105
|
+
pathParams: pathParams,
|
|
4106
|
+
headerParams: headerParams,
|
|
4107
|
+
queryParams: queryParams
|
|
4108
|
+
});
|
|
4109
|
+
try {
|
|
4110
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
4111
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4112
|
+
responseObject: {},
|
|
4113
|
+
body: yield response.json(),
|
|
4114
|
+
bodyKey: "iamWorkRequest",
|
|
4115
|
+
bodyModel: model.IamWorkRequest,
|
|
4116
|
+
type: "model.IamWorkRequest",
|
|
4117
|
+
responseHeaders: [
|
|
4118
|
+
{
|
|
4119
|
+
value: response.headers.get("opc-request-id"),
|
|
4120
|
+
key: "opcRequestId",
|
|
4121
|
+
dataType: "string"
|
|
4122
|
+
}
|
|
4123
|
+
]
|
|
4124
|
+
});
|
|
4125
|
+
return sdkResponse;
|
|
4126
|
+
}
|
|
4127
|
+
catch (err) {
|
|
4128
|
+
throw err;
|
|
4129
|
+
}
|
|
4130
|
+
});
|
|
4131
|
+
}
|
|
4132
|
+
/**
|
|
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.7.0/identity/GetIdentityProvider.ts.html |here} to see how to use GetIdentityProvider API.
|
|
4142
|
+
*/
|
|
3371
4143
|
getIdentityProvider(getIdentityProviderRequest) {
|
|
3372
4144
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3373
4145
|
if (this.logger)
|
|
@@ -3379,7 +4151,8 @@ class IdentityClient {
|
|
|
3379
4151
|
let headerParams = {
|
|
3380
4152
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3381
4153
|
};
|
|
3382
|
-
const
|
|
4154
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4155
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
3383
4156
|
if (this.logger)
|
|
3384
4157
|
retrier.logger = this.logger;
|
|
3385
4158
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3420,12 +4193,16 @@ class IdentityClient {
|
|
|
3420
4193
|
});
|
|
3421
4194
|
}
|
|
3422
4195
|
/**
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
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.7.0/identity/GetIdpGroupMapping.ts.html |here} to see how to use GetIdpGroupMapping API.
|
|
4205
|
+
*/
|
|
3429
4206
|
getIdpGroupMapping(getIdpGroupMappingRequest) {
|
|
3430
4207
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3431
4208
|
if (this.logger)
|
|
@@ -3438,7 +4215,8 @@ class IdentityClient {
|
|
|
3438
4215
|
let headerParams = {
|
|
3439
4216
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3440
4217
|
};
|
|
3441
|
-
const
|
|
4218
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4219
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getIdpGroupMappingRequest.retryConfiguration, specRetryConfiguration);
|
|
3442
4220
|
if (this.logger)
|
|
3443
4221
|
retrier.logger = this.logger;
|
|
3444
4222
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3481,10 +4259,11 @@ class IdentityClient {
|
|
|
3481
4259
|
/**
|
|
3482
4260
|
* Get the specified MFA TOTP device for the specified user.
|
|
3483
4261
|
*
|
|
4262
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3484
4263
|
* @param GetMfaTotpDeviceRequest
|
|
3485
4264
|
* @return GetMfaTotpDeviceResponse
|
|
3486
4265
|
* @throws OciError when an error occurs
|
|
3487
|
-
* @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.7.0/identity/GetMfaTotpDevice.ts.html |here} to see how to use GetMfaTotpDevice API.
|
|
3488
4267
|
*/
|
|
3489
4268
|
getMfaTotpDevice(getMfaTotpDeviceRequest) {
|
|
3490
4269
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3498,7 +4277,8 @@ class IdentityClient {
|
|
|
3498
4277
|
let headerParams = {
|
|
3499
4278
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3500
4279
|
};
|
|
3501
|
-
const
|
|
4280
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4281
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getMfaTotpDeviceRequest.retryConfiguration, specRetryConfiguration);
|
|
3502
4282
|
if (this.logger)
|
|
3503
4283
|
retrier.logger = this.logger;
|
|
3504
4284
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3541,10 +4321,11 @@ class IdentityClient {
|
|
|
3541
4321
|
/**
|
|
3542
4322
|
* Gets the specified network source's information.
|
|
3543
4323
|
*
|
|
4324
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3544
4325
|
* @param GetNetworkSourceRequest
|
|
3545
4326
|
* @return GetNetworkSourceResponse
|
|
3546
4327
|
* @throws OciError when an error occurs
|
|
3547
|
-
* @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.7.0/identity/GetNetworkSource.ts.html |here} to see how to use GetNetworkSource API.
|
|
3548
4329
|
*/
|
|
3549
4330
|
getNetworkSource(getNetworkSourceRequest) {
|
|
3550
4331
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3557,7 +4338,8 @@ class IdentityClient {
|
|
|
3557
4338
|
let headerParams = {
|
|
3558
4339
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3559
4340
|
};
|
|
3560
|
-
const
|
|
4341
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4342
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNetworkSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
3561
4343
|
if (this.logger)
|
|
3562
4344
|
retrier.logger = this.logger;
|
|
3563
4345
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3599,10 +4381,11 @@ class IdentityClient {
|
|
|
3599
4381
|
}
|
|
3600
4382
|
/**
|
|
3601
4383
|
* Gets the specified policy's information.
|
|
4384
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3602
4385
|
* @param GetPolicyRequest
|
|
3603
4386
|
* @return GetPolicyResponse
|
|
3604
4387
|
* @throws OciError when an error occurs
|
|
3605
|
-
* @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.7.0/identity/GetPolicy.ts.html |here} to see how to use GetPolicy API.
|
|
3606
4389
|
*/
|
|
3607
4390
|
getPolicy(getPolicyRequest) {
|
|
3608
4391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3615,7 +4398,8 @@ class IdentityClient {
|
|
|
3615
4398
|
let headerParams = {
|
|
3616
4399
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3617
4400
|
};
|
|
3618
|
-
const
|
|
4401
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4402
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
3619
4403
|
if (this.logger)
|
|
3620
4404
|
retrier.logger = this.logger;
|
|
3621
4405
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3657,10 +4441,11 @@ class IdentityClient {
|
|
|
3657
4441
|
}
|
|
3658
4442
|
/**
|
|
3659
4443
|
* Gets the specified tag's information.
|
|
4444
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3660
4445
|
* @param GetTagRequest
|
|
3661
4446
|
* @return GetTagResponse
|
|
3662
4447
|
* @throws OciError when an error occurs
|
|
3663
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4448
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetTag.ts.html |here} to see how to use GetTag API.
|
|
3664
4449
|
*/
|
|
3665
4450
|
getTag(getTagRequest) {
|
|
3666
4451
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3674,7 +4459,8 @@ class IdentityClient {
|
|
|
3674
4459
|
let headerParams = {
|
|
3675
4460
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3676
4461
|
};
|
|
3677
|
-
const
|
|
4462
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4463
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTagRequest.retryConfiguration, specRetryConfiguration);
|
|
3678
4464
|
if (this.logger)
|
|
3679
4465
|
retrier.logger = this.logger;
|
|
3680
4466
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3717,10 +4503,11 @@ class IdentityClient {
|
|
|
3717
4503
|
/**
|
|
3718
4504
|
* Retrieves the specified tag default.
|
|
3719
4505
|
*
|
|
4506
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3720
4507
|
* @param GetTagDefaultRequest
|
|
3721
4508
|
* @return GetTagDefaultResponse
|
|
3722
4509
|
* @throws OciError when an error occurs
|
|
3723
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4510
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetTagDefault.ts.html |here} to see how to use GetTagDefault API.
|
|
3724
4511
|
*/
|
|
3725
4512
|
getTagDefault(getTagDefaultRequest) {
|
|
3726
4513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3733,7 +4520,8 @@ class IdentityClient {
|
|
|
3733
4520
|
let headerParams = {
|
|
3734
4521
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3735
4522
|
};
|
|
3736
|
-
const
|
|
4523
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4524
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTagDefaultRequest.retryConfiguration, specRetryConfiguration);
|
|
3737
4525
|
if (this.logger)
|
|
3738
4526
|
retrier.logger = this.logger;
|
|
3739
4527
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3776,10 +4564,11 @@ class IdentityClient {
|
|
|
3776
4564
|
/**
|
|
3777
4565
|
* Gets the specified tag namespace's information.
|
|
3778
4566
|
*
|
|
4567
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3779
4568
|
* @param GetTagNamespaceRequest
|
|
3780
4569
|
* @return GetTagNamespaceResponse
|
|
3781
4570
|
* @throws OciError when an error occurs
|
|
3782
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4571
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetTagNamespace.ts.html |here} to see how to use GetTagNamespace API.
|
|
3783
4572
|
*/
|
|
3784
4573
|
getTagNamespace(getTagNamespaceRequest) {
|
|
3785
4574
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3792,7 +4581,8 @@ class IdentityClient {
|
|
|
3792
4581
|
let headerParams = {
|
|
3793
4582
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3794
4583
|
};
|
|
3795
|
-
const
|
|
4584
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4585
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTagNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
3796
4586
|
if (this.logger)
|
|
3797
4587
|
retrier.logger = this.logger;
|
|
3798
4588
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3829,12 +4619,13 @@ class IdentityClient {
|
|
|
3829
4619
|
}
|
|
3830
4620
|
/**
|
|
3831
4621
|
* Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
|
3832
|
-
* for any asynchronous operation in
|
|
4622
|
+
* for any asynchronous operation in tagging service.
|
|
3833
4623
|
*
|
|
4624
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3834
4625
|
* @param GetTaggingWorkRequestRequest
|
|
3835
4626
|
* @return GetTaggingWorkRequestResponse
|
|
3836
4627
|
* @throws OciError when an error occurs
|
|
3837
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4628
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetTaggingWorkRequest.ts.html |here} to see how to use GetTaggingWorkRequest API.
|
|
3838
4629
|
*/
|
|
3839
4630
|
getTaggingWorkRequest(getTaggingWorkRequestRequest) {
|
|
3840
4631
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3847,7 +4638,8 @@ class IdentityClient {
|
|
|
3847
4638
|
let headerParams = {
|
|
3848
4639
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3849
4640
|
};
|
|
3850
|
-
const
|
|
4641
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4642
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTaggingWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
3851
4643
|
if (this.logger)
|
|
3852
4644
|
retrier.logger = this.logger;
|
|
3853
4645
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3889,10 +4681,11 @@ class IdentityClient {
|
|
|
3889
4681
|
}
|
|
3890
4682
|
/**
|
|
3891
4683
|
* Get the specified tenancy's information.
|
|
4684
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3892
4685
|
* @param GetTenancyRequest
|
|
3893
4686
|
* @return GetTenancyResponse
|
|
3894
4687
|
* @throws OciError when an error occurs
|
|
3895
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4688
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetTenancy.ts.html |here} to see how to use GetTenancy API.
|
|
3896
4689
|
*/
|
|
3897
4690
|
getTenancy(getTenancyRequest) {
|
|
3898
4691
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3905,7 +4698,8 @@ class IdentityClient {
|
|
|
3905
4698
|
let headerParams = {
|
|
3906
4699
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3907
4700
|
};
|
|
3908
|
-
const
|
|
4701
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4702
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getTenancyRequest.retryConfiguration, specRetryConfiguration);
|
|
3909
4703
|
if (this.logger)
|
|
3910
4704
|
retrier.logger = this.logger;
|
|
3911
4705
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -3942,10 +4736,11 @@ class IdentityClient {
|
|
|
3942
4736
|
}
|
|
3943
4737
|
/**
|
|
3944
4738
|
* Gets the specified user's information.
|
|
4739
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
3945
4740
|
* @param GetUserRequest
|
|
3946
4741
|
* @return GetUserResponse
|
|
3947
4742
|
* @throws OciError when an error occurs
|
|
3948
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4743
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetUser.ts.html |here} to see how to use GetUser API.
|
|
3949
4744
|
*/
|
|
3950
4745
|
getUser(getUserRequest) {
|
|
3951
4746
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -3958,7 +4753,8 @@ class IdentityClient {
|
|
|
3958
4753
|
let headerParams = {
|
|
3959
4754
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
3960
4755
|
};
|
|
3961
|
-
const
|
|
4756
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4757
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUserRequest.retryConfiguration, specRetryConfiguration);
|
|
3962
4758
|
if (this.logger)
|
|
3963
4759
|
retrier.logger = this.logger;
|
|
3964
4760
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4000,10 +4796,11 @@ class IdentityClient {
|
|
|
4000
4796
|
}
|
|
4001
4797
|
/**
|
|
4002
4798
|
* Gets the specified UserGroupMembership's information.
|
|
4799
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4003
4800
|
* @param GetUserGroupMembershipRequest
|
|
4004
4801
|
* @return GetUserGroupMembershipResponse
|
|
4005
4802
|
* @throws OciError when an error occurs
|
|
4006
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4803
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetUserGroupMembership.ts.html |here} to see how to use GetUserGroupMembership API.
|
|
4007
4804
|
*/
|
|
4008
4805
|
getUserGroupMembership(getUserGroupMembershipRequest) {
|
|
4009
4806
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4016,7 +4813,8 @@ class IdentityClient {
|
|
|
4016
4813
|
let headerParams = {
|
|
4017
4814
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4018
4815
|
};
|
|
4019
|
-
const
|
|
4816
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4817
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUserGroupMembershipRequest.retryConfiguration, specRetryConfiguration);
|
|
4020
4818
|
if (this.logger)
|
|
4021
4819
|
retrier.logger = this.logger;
|
|
4022
4820
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4060,10 +4858,11 @@ class IdentityClient {
|
|
|
4060
4858
|
* Gets the specified user's console password information. The returned object contains the user's OCID,
|
|
4061
4859
|
* but not the password itself. The actual password is returned only when created or reset.
|
|
4062
4860
|
*
|
|
4861
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4063
4862
|
* @param GetUserUIPasswordInformationRequest
|
|
4064
4863
|
* @return GetUserUIPasswordInformationResponse
|
|
4065
4864
|
* @throws OciError when an error occurs
|
|
4066
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4865
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetUserUIPasswordInformation.ts.html |here} to see how to use GetUserUIPasswordInformation API.
|
|
4067
4866
|
*/
|
|
4068
4867
|
getUserUIPasswordInformation(getUserUIPasswordInformationRequest) {
|
|
4069
4868
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4076,7 +4875,8 @@ class IdentityClient {
|
|
|
4076
4875
|
let headerParams = {
|
|
4077
4876
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4078
4877
|
};
|
|
4079
|
-
const
|
|
4878
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4879
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUserUIPasswordInformationRequest.retryConfiguration, specRetryConfiguration);
|
|
4080
4880
|
if (this.logger)
|
|
4081
4881
|
retrier.logger = this.logger;
|
|
4082
4882
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4118,12 +4918,13 @@ class IdentityClient {
|
|
|
4118
4918
|
}
|
|
4119
4919
|
/**
|
|
4120
4920
|
* Gets details on a specified work request. The workRequestID is returned in the opc-workrequest-id header
|
|
4121
|
-
* for any asynchronous operation in the
|
|
4921
|
+
* for any asynchronous operation in the compartment service.
|
|
4122
4922
|
*
|
|
4923
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4123
4924
|
* @param GetWorkRequestRequest
|
|
4124
4925
|
* @return GetWorkRequestResponse
|
|
4125
4926
|
* @throws OciError when an error occurs
|
|
4126
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4927
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
|
|
4127
4928
|
*/
|
|
4128
4929
|
getWorkRequest(getWorkRequestRequest) {
|
|
4129
4930
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4136,7 +4937,8 @@ class IdentityClient {
|
|
|
4136
4937
|
let headerParams = {
|
|
4137
4938
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4138
4939
|
};
|
|
4139
|
-
const
|
|
4940
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4941
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
|
|
4140
4942
|
if (this.logger)
|
|
4141
4943
|
retrier.logger = this.logger;
|
|
4142
4944
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4177,34 +4979,40 @@ class IdentityClient {
|
|
|
4177
4979
|
});
|
|
4178
4980
|
}
|
|
4179
4981
|
/**
|
|
4180
|
-
*
|
|
4982
|
+
* List the allowed domain license types supported by OCI
|
|
4983
|
+
* If {@code currentLicenseTypeName} provided, returns allowed license types a domain with the specified license type name can migrate to.
|
|
4984
|
+
* If {@code name} is provided, it filters and returns resources that match the given license type name.
|
|
4985
|
+
* Otherwise, returns all valid license types that are currently supported.
|
|
4181
4986
|
* <p>
|
|
4182
|
-
|
|
4183
|
-
*
|
|
4987
|
+
- If license type details are retrieved sucessfully, return 202 ACCEPTED.
|
|
4988
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
4184
4989
|
*
|
|
4185
|
-
*
|
|
4186
|
-
* @
|
|
4990
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4991
|
+
* @param ListAllowedDomainLicenseTypesRequest
|
|
4992
|
+
* @return ListAllowedDomainLicenseTypesResponse
|
|
4187
4993
|
* @throws OciError when an error occurs
|
|
4188
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
4994
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListAllowedDomainLicenseTypes.ts.html |here} to see how to use ListAllowedDomainLicenseTypes API.
|
|
4189
4995
|
*/
|
|
4190
|
-
|
|
4996
|
+
listAllowedDomainLicenseTypes(listAllowedDomainLicenseTypesRequest) {
|
|
4191
4997
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4192
4998
|
if (this.logger)
|
|
4193
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
4194
|
-
const pathParams = {
|
|
4195
|
-
|
|
4999
|
+
this.logger.debug("Calling operation IdentityClient#listAllowedDomainLicenseTypes.");
|
|
5000
|
+
const pathParams = {};
|
|
5001
|
+
const queryParams = {
|
|
5002
|
+
"currentLicenseTypeName": listAllowedDomainLicenseTypesRequest.currentLicenseTypeName
|
|
4196
5003
|
};
|
|
4197
|
-
const queryParams = {};
|
|
4198
5004
|
let headerParams = {
|
|
4199
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5005
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5006
|
+
"opc-request-id": listAllowedDomainLicenseTypesRequest.opcRequestId
|
|
4200
5007
|
};
|
|
4201
|
-
const
|
|
5008
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5009
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAllowedDomainLicenseTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
4202
5010
|
if (this.logger)
|
|
4203
5011
|
retrier.logger = this.logger;
|
|
4204
5012
|
const request = yield oci_common_2.composeRequest({
|
|
4205
5013
|
baseEndpoint: this._endpoint,
|
|
4206
5014
|
defaultHeaders: this._defaultHeaders,
|
|
4207
|
-
path: "/
|
|
5015
|
+
path: "/allowedDomainLicenseTypes",
|
|
4208
5016
|
method: "GET",
|
|
4209
5017
|
pathParams: pathParams,
|
|
4210
5018
|
headerParams: headerParams,
|
|
@@ -4216,8 +5024,8 @@ class IdentityClient {
|
|
|
4216
5024
|
responseObject: {},
|
|
4217
5025
|
body: yield response.json(),
|
|
4218
5026
|
bodyKey: "items",
|
|
4219
|
-
bodyModel: model.
|
|
4220
|
-
type: "Array<model.
|
|
5027
|
+
bodyModel: model.AllowedDomainLicenseTypeSummary,
|
|
5028
|
+
type: "Array<model.AllowedDomainLicenseTypeSummary>",
|
|
4221
5029
|
responseHeaders: [
|
|
4222
5030
|
{
|
|
4223
5031
|
value: response.headers.get("opc-request-id"),
|
|
@@ -4239,18 +5047,83 @@ class IdentityClient {
|
|
|
4239
5047
|
});
|
|
4240
5048
|
}
|
|
4241
5049
|
/**
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
5050
|
+
* Lists the API signing keys for the specified user. A user can have a maximum of three keys.
|
|
5051
|
+
* <p>
|
|
5052
|
+
Every user has permission to use this API call for *their own user ID*. An administrator in your
|
|
5053
|
+
* organization does not need to write a policy to give users this ability.
|
|
5054
|
+
*
|
|
5055
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5056
|
+
* @param ListApiKeysRequest
|
|
5057
|
+
* @return ListApiKeysResponse
|
|
5058
|
+
* @throws OciError when an error occurs
|
|
5059
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListApiKeys.ts.html |here} to see how to use ListApiKeys API.
|
|
5060
|
+
*/
|
|
5061
|
+
listApiKeys(listApiKeysRequest) {
|
|
4251
5062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4252
5063
|
if (this.logger)
|
|
4253
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
5064
|
+
this.logger.debug("Calling operation IdentityClient#listApiKeys.");
|
|
5065
|
+
const pathParams = {
|
|
5066
|
+
"{userId}": listApiKeysRequest.userId
|
|
5067
|
+
};
|
|
5068
|
+
const queryParams = {};
|
|
5069
|
+
let headerParams = {
|
|
5070
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5071
|
+
};
|
|
5072
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5073
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listApiKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
5074
|
+
if (this.logger)
|
|
5075
|
+
retrier.logger = this.logger;
|
|
5076
|
+
const request = yield oci_common_2.composeRequest({
|
|
5077
|
+
baseEndpoint: this._endpoint,
|
|
5078
|
+
defaultHeaders: this._defaultHeaders,
|
|
5079
|
+
path: "/users/{userId}/apiKeys",
|
|
5080
|
+
method: "GET",
|
|
5081
|
+
pathParams: pathParams,
|
|
5082
|
+
headerParams: headerParams,
|
|
5083
|
+
queryParams: queryParams
|
|
5084
|
+
});
|
|
5085
|
+
try {
|
|
5086
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5087
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5088
|
+
responseObject: {},
|
|
5089
|
+
body: yield response.json(),
|
|
5090
|
+
bodyKey: "items",
|
|
5091
|
+
bodyModel: model.ApiKey,
|
|
5092
|
+
type: "Array<model.ApiKey>",
|
|
5093
|
+
responseHeaders: [
|
|
5094
|
+
{
|
|
5095
|
+
value: response.headers.get("opc-request-id"),
|
|
5096
|
+
key: "opcRequestId",
|
|
5097
|
+
dataType: "string"
|
|
5098
|
+
},
|
|
5099
|
+
{
|
|
5100
|
+
value: response.headers.get("opc-next-page"),
|
|
5101
|
+
key: "opcNextPage",
|
|
5102
|
+
dataType: "string"
|
|
5103
|
+
}
|
|
5104
|
+
]
|
|
5105
|
+
});
|
|
5106
|
+
return sdkResponse;
|
|
5107
|
+
}
|
|
5108
|
+
catch (err) {
|
|
5109
|
+
throw err;
|
|
5110
|
+
}
|
|
5111
|
+
});
|
|
5112
|
+
}
|
|
5113
|
+
/**
|
|
5114
|
+
* Lists the auth tokens for the specified user. The returned object contains the token's OCID, but not
|
|
5115
|
+
* the token itself. The actual token is returned only upon creation.
|
|
5116
|
+
*
|
|
5117
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5118
|
+
* @param ListAuthTokensRequest
|
|
5119
|
+
* @return ListAuthTokensResponse
|
|
5120
|
+
* @throws OciError when an error occurs
|
|
5121
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListAuthTokens.ts.html |here} to see how to use ListAuthTokens API.
|
|
5122
|
+
*/
|
|
5123
|
+
listAuthTokens(listAuthTokensRequest) {
|
|
5124
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5125
|
+
if (this.logger)
|
|
5126
|
+
this.logger.debug("Calling operation IdentityClient#listAuthTokens.");
|
|
4254
5127
|
const pathParams = {
|
|
4255
5128
|
"{userId}": listAuthTokensRequest.userId
|
|
4256
5129
|
};
|
|
@@ -4258,7 +5131,8 @@ class IdentityClient {
|
|
|
4258
5131
|
let headerParams = {
|
|
4259
5132
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4260
5133
|
};
|
|
4261
|
-
const
|
|
5134
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5135
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAuthTokensRequest.retryConfiguration, specRetryConfiguration);
|
|
4262
5136
|
if (this.logger)
|
|
4263
5137
|
retrier.logger = this.logger;
|
|
4264
5138
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4305,10 +5179,11 @@ class IdentityClient {
|
|
|
4305
5179
|
* Note that the order of the results returned can change if availability domains are added or removed; therefore, do not
|
|
4306
5180
|
* create a dependency on the list order.
|
|
4307
5181
|
*
|
|
5182
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4308
5183
|
* @param ListAvailabilityDomainsRequest
|
|
4309
5184
|
* @return ListAvailabilityDomainsResponse
|
|
4310
5185
|
* @throws OciError when an error occurs
|
|
4311
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5186
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListAvailabilityDomains.ts.html |here} to see how to use ListAvailabilityDomains API.
|
|
4312
5187
|
*/
|
|
4313
5188
|
listAvailabilityDomains(listAvailabilityDomainsRequest) {
|
|
4314
5189
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4321,7 +5196,8 @@ class IdentityClient {
|
|
|
4321
5196
|
let headerParams = {
|
|
4322
5197
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4323
5198
|
};
|
|
4324
|
-
const
|
|
5199
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5200
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAvailabilityDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
4325
5201
|
if (this.logger)
|
|
4326
5202
|
retrier.logger = this.logger;
|
|
4327
5203
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4370,10 +5246,11 @@ class IdentityClient {
|
|
|
4370
5246
|
* require an [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to identify a specific resource, but some resource-types,
|
|
4371
5247
|
* such as buckets, require you to provide other identifying information.
|
|
4372
5248
|
*
|
|
5249
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4373
5250
|
* @param ListBulkActionResourceTypesRequest
|
|
4374
5251
|
* @return ListBulkActionResourceTypesResponse
|
|
4375
5252
|
* @throws OciError when an error occurs
|
|
4376
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5253
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListBulkActionResourceTypes.ts.html |here} to see how to use ListBulkActionResourceTypes API.
|
|
4377
5254
|
*/
|
|
4378
5255
|
listBulkActionResourceTypes(listBulkActionResourceTypesRequest) {
|
|
4379
5256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4388,7 +5265,8 @@ class IdentityClient {
|
|
|
4388
5265
|
let headerParams = {
|
|
4389
5266
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4390
5267
|
};
|
|
4391
|
-
const
|
|
5268
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5269
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBulkActionResourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
4392
5270
|
if (this.logger)
|
|
4393
5271
|
retrier.logger = this.logger;
|
|
4394
5272
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4431,10 +5309,11 @@ class IdentityClient {
|
|
|
4431
5309
|
/**
|
|
4432
5310
|
* Lists the resource types that support bulk tag editing.
|
|
4433
5311
|
*
|
|
5312
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4434
5313
|
* @param ListBulkEditTagsResourceTypesRequest
|
|
4435
5314
|
* @return ListBulkEditTagsResourceTypesResponse
|
|
4436
5315
|
* @throws OciError when an error occurs
|
|
4437
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5316
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListBulkEditTagsResourceTypes.ts.html |here} to see how to use ListBulkEditTagsResourceTypes API.
|
|
4438
5317
|
*/
|
|
4439
5318
|
listBulkEditTagsResourceTypes(listBulkEditTagsResourceTypesRequest) {
|
|
4440
5319
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4448,7 +5327,8 @@ class IdentityClient {
|
|
|
4448
5327
|
let headerParams = {
|
|
4449
5328
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4450
5329
|
};
|
|
4451
|
-
const
|
|
5330
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5331
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBulkEditTagsResourceTypesRequest.retryConfiguration, specRetryConfiguration);
|
|
4452
5332
|
if (this.logger)
|
|
4453
5333
|
retrier.logger = this.logger;
|
|
4454
5334
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4508,10 +5388,11 @@ class IdentityClient {
|
|
|
4508
5388
|
* <p>
|
|
4509
5389
|
See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
4510
5390
|
*
|
|
5391
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4511
5392
|
* @param ListCompartmentsRequest
|
|
4512
5393
|
* @return ListCompartmentsResponse
|
|
4513
5394
|
* @throws OciError when an error occurs
|
|
4514
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5395
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListCompartments.ts.html |here} to see how to use ListCompartments API.
|
|
4515
5396
|
*/
|
|
4516
5397
|
listCompartments(listCompartmentsRequest) {
|
|
4517
5398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4532,7 +5413,8 @@ class IdentityClient {
|
|
|
4532
5413
|
let headerParams = {
|
|
4533
5414
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4534
5415
|
};
|
|
4535
|
-
const
|
|
5416
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5417
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCompartmentsRequest.retryConfiguration, specRetryConfiguration);
|
|
4536
5418
|
if (this.logger)
|
|
4537
5419
|
retrier.logger = this.logger;
|
|
4538
5420
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4616,10 +5498,11 @@ class IdentityClient {
|
|
|
4616
5498
|
* Lists all the tags enabled for cost-tracking in the specified tenancy. For information about
|
|
4617
5499
|
* cost-tracking tags, see [Using Cost-tracking Tags](https://docs.cloud.oracle.com/Content/Identity/Concepts/taggingoverview.htm#costs).
|
|
4618
5500
|
*
|
|
5501
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4619
5502
|
* @param ListCostTrackingTagsRequest
|
|
4620
5503
|
* @return ListCostTrackingTagsResponse
|
|
4621
5504
|
* @throws OciError when an error occurs
|
|
4622
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5505
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListCostTrackingTags.ts.html |here} to see how to use ListCostTrackingTags API.
|
|
4623
5506
|
*/
|
|
4624
5507
|
listCostTrackingTags(listCostTrackingTagsRequest) {
|
|
4625
5508
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4634,7 +5517,8 @@ class IdentityClient {
|
|
|
4634
5517
|
let headerParams = {
|
|
4635
5518
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4636
5519
|
};
|
|
4637
|
-
const
|
|
5520
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5521
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCostTrackingTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
4638
5522
|
if (this.logger)
|
|
4639
5523
|
retrier.logger = this.logger;
|
|
4640
5524
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4718,10 +5602,11 @@ class IdentityClient {
|
|
|
4718
5602
|
* Lists the secret keys for the specified user. The returned object contains the secret key's OCID, but not
|
|
4719
5603
|
* the secret key itself. The actual secret key is returned only upon creation.
|
|
4720
5604
|
*
|
|
5605
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4721
5606
|
* @param ListCustomerSecretKeysRequest
|
|
4722
5607
|
* @return ListCustomerSecretKeysResponse
|
|
4723
5608
|
* @throws OciError when an error occurs
|
|
4724
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
5609
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListCustomerSecretKeys.ts.html |here} to see how to use ListCustomerSecretKeys API.
|
|
4725
5610
|
*/
|
|
4726
5611
|
listCustomerSecretKeys(listCustomerSecretKeysRequest) {
|
|
4727
5612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -4734,7 +5619,8 @@ class IdentityClient {
|
|
|
4734
5619
|
let headerParams = {
|
|
4735
5620
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
4736
5621
|
};
|
|
4737
|
-
const
|
|
5622
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5623
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listCustomerSecretKeysRequest.retryConfiguration, specRetryConfiguration);
|
|
4738
5624
|
if (this.logger)
|
|
4739
5625
|
retrier.logger = this.logger;
|
|
4740
5626
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -4775,39 +5661,434 @@ class IdentityClient {
|
|
|
4775
5661
|
});
|
|
4776
5662
|
}
|
|
4777
5663
|
/**
|
|
4778
|
-
*
|
|
4779
|
-
*
|
|
4780
|
-
*
|
|
5664
|
+
* List all domains that are homed or have a replica region in current region.
|
|
5665
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
5666
|
+
*
|
|
5667
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5668
|
+
* @param ListDomainsRequest
|
|
5669
|
+
* @return ListDomainsResponse
|
|
5670
|
+
* @throws OciError when an error occurs
|
|
5671
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListDomains.ts.html |here} to see how to use ListDomains API.
|
|
5672
|
+
*/
|
|
5673
|
+
listDomains(listDomainsRequest) {
|
|
5674
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5675
|
+
if (this.logger)
|
|
5676
|
+
this.logger.debug("Calling operation IdentityClient#listDomains.");
|
|
5677
|
+
const pathParams = {};
|
|
5678
|
+
const queryParams = {
|
|
5679
|
+
"compartmentId": listDomainsRequest.compartmentId,
|
|
5680
|
+
"displayName": listDomainsRequest.displayName,
|
|
5681
|
+
"url": listDomainsRequest.url,
|
|
5682
|
+
"homeRegionUrl": listDomainsRequest.homeRegionUrl,
|
|
5683
|
+
"type": listDomainsRequest.type,
|
|
5684
|
+
"licenseType": listDomainsRequest.licenseType,
|
|
5685
|
+
"isHiddenOnLogin": listDomainsRequest.isHiddenOnLogin,
|
|
5686
|
+
"page": listDomainsRequest.page,
|
|
5687
|
+
"limit": listDomainsRequest.limit,
|
|
5688
|
+
"name": listDomainsRequest.name,
|
|
5689
|
+
"sortBy": listDomainsRequest.sortBy,
|
|
5690
|
+
"sortOrder": listDomainsRequest.sortOrder,
|
|
5691
|
+
"lifecycleState": listDomainsRequest.lifecycleState
|
|
5692
|
+
};
|
|
5693
|
+
let headerParams = {
|
|
5694
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
5695
|
+
"opc-request-id": listDomainsRequest.opcRequestId
|
|
5696
|
+
};
|
|
5697
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5698
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
5699
|
+
if (this.logger)
|
|
5700
|
+
retrier.logger = this.logger;
|
|
5701
|
+
const request = yield oci_common_2.composeRequest({
|
|
5702
|
+
baseEndpoint: this._endpoint,
|
|
5703
|
+
defaultHeaders: this._defaultHeaders,
|
|
5704
|
+
path: "/domains",
|
|
5705
|
+
method: "GET",
|
|
5706
|
+
pathParams: pathParams,
|
|
5707
|
+
headerParams: headerParams,
|
|
5708
|
+
queryParams: queryParams
|
|
5709
|
+
});
|
|
5710
|
+
try {
|
|
5711
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5712
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5713
|
+
responseObject: {},
|
|
5714
|
+
body: yield response.json(),
|
|
5715
|
+
bodyKey: "items",
|
|
5716
|
+
bodyModel: model.DomainSummary,
|
|
5717
|
+
type: "Array<model.DomainSummary>",
|
|
5718
|
+
responseHeaders: [
|
|
5719
|
+
{
|
|
5720
|
+
value: response.headers.get("opc-request-id"),
|
|
5721
|
+
key: "opcRequestId",
|
|
5722
|
+
dataType: "string"
|
|
5723
|
+
},
|
|
5724
|
+
{
|
|
5725
|
+
value: response.headers.get("opc-next-page"),
|
|
5726
|
+
key: "opcNextPage",
|
|
5727
|
+
dataType: "string"
|
|
5728
|
+
}
|
|
5729
|
+
]
|
|
5730
|
+
});
|
|
5731
|
+
return sdkResponse;
|
|
5732
|
+
}
|
|
5733
|
+
catch (err) {
|
|
5734
|
+
throw err;
|
|
5735
|
+
}
|
|
5736
|
+
});
|
|
5737
|
+
}
|
|
5738
|
+
/**
|
|
5739
|
+
* NOTE: This function is deprecated in favor of listDomainsRecordIterator function.
|
|
5740
|
+
* Creates a new async iterator which will iterate over the models.DomainSummary objects
|
|
5741
|
+
* contained in responses from the listDomains operation. This iterator will fetch more data from the
|
|
5742
|
+
* server as needed.
|
|
5743
|
+
*
|
|
5744
|
+
* @param request a request which can be sent to the service operation
|
|
5745
|
+
*/
|
|
5746
|
+
listAllDomains(request) {
|
|
5747
|
+
return oci_common_1.paginateRecords(request, req => this.listDomains(req));
|
|
5748
|
+
}
|
|
5749
|
+
/**
|
|
5750
|
+
* NOTE: This function is deprecated in favor of listDomainsResponseIterator function.
|
|
5751
|
+
* Creates a new async iterator which will iterate over the responses received from the listDomains operation. This iterator
|
|
5752
|
+
* will fetch more data from the server as needed.
|
|
5753
|
+
*
|
|
5754
|
+
* @param request a request which can be sent to the service operation
|
|
5755
|
+
*/
|
|
5756
|
+
listAllDomainsResponses(request) {
|
|
5757
|
+
return oci_common_1.paginateResponses(request, req => this.listDomains(req));
|
|
5758
|
+
}
|
|
5759
|
+
/**
|
|
5760
|
+
* Creates a new async iterator which will iterate over the models.DomainSummary objects
|
|
5761
|
+
* contained in responses from the listDomains operation. This iterator will fetch more data from the
|
|
5762
|
+
* server as needed.
|
|
5763
|
+
*
|
|
5764
|
+
* @param request a request which can be sent to the service operation
|
|
5765
|
+
*/
|
|
5766
|
+
listDomainsRecordIterator(request) {
|
|
5767
|
+
return oci_common_1.paginateRecords(request, req => this.listDomains(req));
|
|
5768
|
+
}
|
|
5769
|
+
/**
|
|
5770
|
+
* Creates a new async iterator which will iterate over the responses received from the listDomains operation. This iterator
|
|
5771
|
+
* will fetch more data from the server as needed.
|
|
5772
|
+
*
|
|
5773
|
+
* @param request a request which can be sent to the service operation
|
|
5774
|
+
*/
|
|
5775
|
+
listDomainsResponseIterator(request) {
|
|
5776
|
+
return oci_common_1.paginateResponses(request, req => this.listDomains(req));
|
|
5777
|
+
}
|
|
5778
|
+
/**
|
|
5779
|
+
* Lists the dynamic groups in your tenancy. You must specify your tenancy's OCID as the value for
|
|
5780
|
+
* the compartment ID (remember that the tenancy is simply the root compartment).
|
|
5781
|
+
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
5782
|
+
*
|
|
5783
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5784
|
+
* @param ListDynamicGroupsRequest
|
|
5785
|
+
* @return ListDynamicGroupsResponse
|
|
5786
|
+
* @throws OciError when an error occurs
|
|
5787
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListDynamicGroups.ts.html |here} to see how to use ListDynamicGroups API.
|
|
5788
|
+
*/
|
|
5789
|
+
listDynamicGroups(listDynamicGroupsRequest) {
|
|
5790
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5791
|
+
if (this.logger)
|
|
5792
|
+
this.logger.debug("Calling operation IdentityClient#listDynamicGroups.");
|
|
5793
|
+
const pathParams = {};
|
|
5794
|
+
const queryParams = {
|
|
5795
|
+
"compartmentId": listDynamicGroupsRequest.compartmentId,
|
|
5796
|
+
"page": listDynamicGroupsRequest.page,
|
|
5797
|
+
"limit": listDynamicGroupsRequest.limit,
|
|
5798
|
+
"name": listDynamicGroupsRequest.name,
|
|
5799
|
+
"sortBy": listDynamicGroupsRequest.sortBy,
|
|
5800
|
+
"sortOrder": listDynamicGroupsRequest.sortOrder,
|
|
5801
|
+
"lifecycleState": listDynamicGroupsRequest.lifecycleState
|
|
5802
|
+
};
|
|
5803
|
+
let headerParams = {
|
|
5804
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5805
|
+
};
|
|
5806
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5807
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listDynamicGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
5808
|
+
if (this.logger)
|
|
5809
|
+
retrier.logger = this.logger;
|
|
5810
|
+
const request = yield oci_common_2.composeRequest({
|
|
5811
|
+
baseEndpoint: this._endpoint,
|
|
5812
|
+
defaultHeaders: this._defaultHeaders,
|
|
5813
|
+
path: "/dynamicGroups",
|
|
5814
|
+
method: "GET",
|
|
5815
|
+
pathParams: pathParams,
|
|
5816
|
+
headerParams: headerParams,
|
|
5817
|
+
queryParams: queryParams
|
|
5818
|
+
});
|
|
5819
|
+
try {
|
|
5820
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5821
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5822
|
+
responseObject: {},
|
|
5823
|
+
body: yield response.json(),
|
|
5824
|
+
bodyKey: "items",
|
|
5825
|
+
bodyModel: model.DynamicGroup,
|
|
5826
|
+
type: "Array<model.DynamicGroup>",
|
|
5827
|
+
responseHeaders: [
|
|
5828
|
+
{
|
|
5829
|
+
value: response.headers.get("opc-request-id"),
|
|
5830
|
+
key: "opcRequestId",
|
|
5831
|
+
dataType: "string"
|
|
5832
|
+
},
|
|
5833
|
+
{
|
|
5834
|
+
value: response.headers.get("opc-next-page"),
|
|
5835
|
+
key: "opcNextPage",
|
|
5836
|
+
dataType: "string"
|
|
5837
|
+
}
|
|
5838
|
+
]
|
|
5839
|
+
});
|
|
5840
|
+
return sdkResponse;
|
|
5841
|
+
}
|
|
5842
|
+
catch (err) {
|
|
5843
|
+
throw err;
|
|
5844
|
+
}
|
|
5845
|
+
});
|
|
5846
|
+
}
|
|
5847
|
+
/**
|
|
5848
|
+
* NOTE: This function is deprecated in favor of listDynamicGroupsRecordIterator function.
|
|
5849
|
+
* Creates a new async iterator which will iterate over the models.DynamicGroup objects
|
|
5850
|
+
* contained in responses from the listDynamicGroups operation. This iterator will fetch more data from the
|
|
5851
|
+
* server as needed.
|
|
5852
|
+
*
|
|
5853
|
+
* @param request a request which can be sent to the service operation
|
|
5854
|
+
*/
|
|
5855
|
+
listAllDynamicGroups(request) {
|
|
5856
|
+
return oci_common_1.paginateRecords(request, req => this.listDynamicGroups(req));
|
|
5857
|
+
}
|
|
5858
|
+
/**
|
|
5859
|
+
* NOTE: This function is deprecated in favor of listDynamicGroupsResponseIterator function.
|
|
5860
|
+
* Creates a new async iterator which will iterate over the responses received from the listDynamicGroups operation. This iterator
|
|
5861
|
+
* will fetch more data from the server as needed.
|
|
5862
|
+
*
|
|
5863
|
+
* @param request a request which can be sent to the service operation
|
|
5864
|
+
*/
|
|
5865
|
+
listAllDynamicGroupsResponses(request) {
|
|
5866
|
+
return oci_common_1.paginateResponses(request, req => this.listDynamicGroups(req));
|
|
5867
|
+
}
|
|
5868
|
+
/**
|
|
5869
|
+
* Creates a new async iterator which will iterate over the models.DynamicGroup objects
|
|
5870
|
+
* contained in responses from the listDynamicGroups operation. This iterator will fetch more data from the
|
|
5871
|
+
* server as needed.
|
|
5872
|
+
*
|
|
5873
|
+
* @param request a request which can be sent to the service operation
|
|
5874
|
+
*/
|
|
5875
|
+
listDynamicGroupsRecordIterator(request) {
|
|
5876
|
+
return oci_common_1.paginateRecords(request, req => this.listDynamicGroups(req));
|
|
5877
|
+
}
|
|
5878
|
+
/**
|
|
5879
|
+
* Creates a new async iterator which will iterate over the responses received from the listDynamicGroups operation. This iterator
|
|
5880
|
+
* will fetch more data from the server as needed.
|
|
5881
|
+
*
|
|
5882
|
+
* @param request a request which can be sent to the service operation
|
|
5883
|
+
*/
|
|
5884
|
+
listDynamicGroupsResponseIterator(request) {
|
|
5885
|
+
return oci_common_1.paginateResponses(request, req => this.listDynamicGroups(req));
|
|
5886
|
+
}
|
|
5887
|
+
/**
|
|
5888
|
+
* Lists the Fault Domains in your tenancy. Specify the OCID of either the tenancy or another
|
|
5889
|
+
* of your compartments as the value for the compartment ID (remember that the tenancy is simply the root compartment).
|
|
5890
|
+
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
5891
|
+
*
|
|
5892
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5893
|
+
* @param ListFaultDomainsRequest
|
|
5894
|
+
* @return ListFaultDomainsResponse
|
|
5895
|
+
* @throws OciError when an error occurs
|
|
5896
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListFaultDomains.ts.html |here} to see how to use ListFaultDomains API.
|
|
5897
|
+
*/
|
|
5898
|
+
listFaultDomains(listFaultDomainsRequest) {
|
|
5899
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5900
|
+
if (this.logger)
|
|
5901
|
+
this.logger.debug("Calling operation IdentityClient#listFaultDomains.");
|
|
5902
|
+
const pathParams = {};
|
|
5903
|
+
const queryParams = {
|
|
5904
|
+
"compartmentId": listFaultDomainsRequest.compartmentId,
|
|
5905
|
+
"availabilityDomain": listFaultDomainsRequest.availabilityDomain
|
|
5906
|
+
};
|
|
5907
|
+
let headerParams = {
|
|
5908
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5909
|
+
};
|
|
5910
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5911
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listFaultDomainsRequest.retryConfiguration, specRetryConfiguration);
|
|
5912
|
+
if (this.logger)
|
|
5913
|
+
retrier.logger = this.logger;
|
|
5914
|
+
const request = yield oci_common_2.composeRequest({
|
|
5915
|
+
baseEndpoint: this._endpoint,
|
|
5916
|
+
defaultHeaders: this._defaultHeaders,
|
|
5917
|
+
path: "/faultDomains",
|
|
5918
|
+
method: "GET",
|
|
5919
|
+
pathParams: pathParams,
|
|
5920
|
+
headerParams: headerParams,
|
|
5921
|
+
queryParams: queryParams
|
|
5922
|
+
});
|
|
5923
|
+
try {
|
|
5924
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5925
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5926
|
+
responseObject: {},
|
|
5927
|
+
body: yield response.json(),
|
|
5928
|
+
bodyKey: "items",
|
|
5929
|
+
bodyModel: model.FaultDomain,
|
|
5930
|
+
type: "Array<model.FaultDomain>",
|
|
5931
|
+
responseHeaders: [
|
|
5932
|
+
{
|
|
5933
|
+
value: response.headers.get("opc-request-id"),
|
|
5934
|
+
key: "opcRequestId",
|
|
5935
|
+
dataType: "string"
|
|
5936
|
+
}
|
|
5937
|
+
]
|
|
5938
|
+
});
|
|
5939
|
+
return sdkResponse;
|
|
5940
|
+
}
|
|
5941
|
+
catch (err) {
|
|
5942
|
+
throw err;
|
|
5943
|
+
}
|
|
5944
|
+
});
|
|
5945
|
+
}
|
|
5946
|
+
/**
|
|
5947
|
+
* Lists the groups in your tenancy. You must specify your tenancy's OCID as the value for
|
|
5948
|
+
* the compartment ID (remember that the tenancy is simply the root compartment).
|
|
5949
|
+
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
5950
|
+
*
|
|
5951
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5952
|
+
* @param ListGroupsRequest
|
|
5953
|
+
* @return ListGroupsResponse
|
|
5954
|
+
* @throws OciError when an error occurs
|
|
5955
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListGroups.ts.html |here} to see how to use ListGroups API.
|
|
5956
|
+
*/
|
|
5957
|
+
listGroups(listGroupsRequest) {
|
|
5958
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5959
|
+
if (this.logger)
|
|
5960
|
+
this.logger.debug("Calling operation IdentityClient#listGroups.");
|
|
5961
|
+
const pathParams = {};
|
|
5962
|
+
const queryParams = {
|
|
5963
|
+
"compartmentId": listGroupsRequest.compartmentId,
|
|
5964
|
+
"page": listGroupsRequest.page,
|
|
5965
|
+
"limit": listGroupsRequest.limit,
|
|
5966
|
+
"name": listGroupsRequest.name,
|
|
5967
|
+
"sortBy": listGroupsRequest.sortBy,
|
|
5968
|
+
"sortOrder": listGroupsRequest.sortOrder,
|
|
5969
|
+
"lifecycleState": listGroupsRequest.lifecycleState
|
|
5970
|
+
};
|
|
5971
|
+
let headerParams = {
|
|
5972
|
+
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5973
|
+
};
|
|
5974
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
5975
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
5976
|
+
if (this.logger)
|
|
5977
|
+
retrier.logger = this.logger;
|
|
5978
|
+
const request = yield oci_common_2.composeRequest({
|
|
5979
|
+
baseEndpoint: this._endpoint,
|
|
5980
|
+
defaultHeaders: this._defaultHeaders,
|
|
5981
|
+
path: "/groups",
|
|
5982
|
+
method: "GET",
|
|
5983
|
+
pathParams: pathParams,
|
|
5984
|
+
headerParams: headerParams,
|
|
5985
|
+
queryParams: queryParams
|
|
5986
|
+
});
|
|
5987
|
+
try {
|
|
5988
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
5989
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
5990
|
+
responseObject: {},
|
|
5991
|
+
body: yield response.json(),
|
|
5992
|
+
bodyKey: "items",
|
|
5993
|
+
bodyModel: model.Group,
|
|
5994
|
+
type: "Array<model.Group>",
|
|
5995
|
+
responseHeaders: [
|
|
5996
|
+
{
|
|
5997
|
+
value: response.headers.get("opc-request-id"),
|
|
5998
|
+
key: "opcRequestId",
|
|
5999
|
+
dataType: "string"
|
|
6000
|
+
},
|
|
6001
|
+
{
|
|
6002
|
+
value: response.headers.get("opc-next-page"),
|
|
6003
|
+
key: "opcNextPage",
|
|
6004
|
+
dataType: "string"
|
|
6005
|
+
}
|
|
6006
|
+
]
|
|
6007
|
+
});
|
|
6008
|
+
return sdkResponse;
|
|
6009
|
+
}
|
|
6010
|
+
catch (err) {
|
|
6011
|
+
throw err;
|
|
6012
|
+
}
|
|
6013
|
+
});
|
|
6014
|
+
}
|
|
6015
|
+
/**
|
|
6016
|
+
* NOTE: This function is deprecated in favor of listGroupsRecordIterator function.
|
|
6017
|
+
* Creates a new async iterator which will iterate over the models.Group objects
|
|
6018
|
+
* contained in responses from the listGroups operation. This iterator will fetch more data from the
|
|
6019
|
+
* server as needed.
|
|
6020
|
+
*
|
|
6021
|
+
* @param request a request which can be sent to the service operation
|
|
6022
|
+
*/
|
|
6023
|
+
listAllGroups(request) {
|
|
6024
|
+
return oci_common_1.paginateRecords(request, req => this.listGroups(req));
|
|
6025
|
+
}
|
|
6026
|
+
/**
|
|
6027
|
+
* NOTE: This function is deprecated in favor of listGroupsResponseIterator function.
|
|
6028
|
+
* Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
|
|
6029
|
+
* will fetch more data from the server as needed.
|
|
6030
|
+
*
|
|
6031
|
+
* @param request a request which can be sent to the service operation
|
|
6032
|
+
*/
|
|
6033
|
+
listAllGroupsResponses(request) {
|
|
6034
|
+
return oci_common_1.paginateResponses(request, req => this.listGroups(req));
|
|
6035
|
+
}
|
|
6036
|
+
/**
|
|
6037
|
+
* Creates a new async iterator which will iterate over the models.Group objects
|
|
6038
|
+
* contained in responses from the listGroups operation. This iterator will fetch more data from the
|
|
6039
|
+
* server as needed.
|
|
4781
6040
|
*
|
|
4782
|
-
* @param
|
|
4783
|
-
* @return ListDynamicGroupsResponse
|
|
4784
|
-
* @throws OciError when an error occurs
|
|
4785
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/identity/ListDynamicGroups.ts.html |here} to see how to use ListDynamicGroups API.
|
|
6041
|
+
* @param request a request which can be sent to the service operation
|
|
4786
6042
|
*/
|
|
4787
|
-
|
|
6043
|
+
listGroupsRecordIterator(request) {
|
|
6044
|
+
return oci_common_1.paginateRecords(request, req => this.listGroups(req));
|
|
6045
|
+
}
|
|
6046
|
+
/**
|
|
6047
|
+
* Creates a new async iterator which will iterate over the responses received from the listGroups operation. This iterator
|
|
6048
|
+
* will fetch more data from the server as needed.
|
|
6049
|
+
*
|
|
6050
|
+
* @param request a request which can be sent to the service operation
|
|
6051
|
+
*/
|
|
6052
|
+
listGroupsResponseIterator(request) {
|
|
6053
|
+
return oci_common_1.paginateResponses(request, req => this.listGroups(req));
|
|
6054
|
+
}
|
|
6055
|
+
/**
|
|
6056
|
+
* 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
|
|
6057
|
+
* iam work request id that can be provided in this API to track the current status of the operation.
|
|
6058
|
+
* <p>
|
|
6059
|
+
- If workrequest exists, returns 202 ACCEPTED
|
|
6060
|
+
* - If workrequest does not exist, returns 404 NOT FOUND
|
|
6061
|
+
*
|
|
6062
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6063
|
+
* @param ListIamWorkRequestErrorsRequest
|
|
6064
|
+
* @return ListIamWorkRequestErrorsResponse
|
|
6065
|
+
* @throws OciError when an error occurs
|
|
6066
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListIamWorkRequestErrors.ts.html |here} to see how to use ListIamWorkRequestErrors API.
|
|
6067
|
+
*/
|
|
6068
|
+
listIamWorkRequestErrors(listIamWorkRequestErrorsRequest) {
|
|
4788
6069
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4789
6070
|
if (this.logger)
|
|
4790
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
4791
|
-
const pathParams = {
|
|
6071
|
+
this.logger.debug("Calling operation IdentityClient#listIamWorkRequestErrors.");
|
|
6072
|
+
const pathParams = {
|
|
6073
|
+
"{iamWorkRequestId}": listIamWorkRequestErrorsRequest.iamWorkRequestId
|
|
6074
|
+
};
|
|
4792
6075
|
const queryParams = {
|
|
4793
|
-
"
|
|
4794
|
-
"page":
|
|
4795
|
-
"
|
|
4796
|
-
"name": listDynamicGroupsRequest.name,
|
|
4797
|
-
"sortBy": listDynamicGroupsRequest.sortBy,
|
|
4798
|
-
"sortOrder": listDynamicGroupsRequest.sortOrder,
|
|
4799
|
-
"lifecycleState": listDynamicGroupsRequest.lifecycleState
|
|
6076
|
+
"limit": listIamWorkRequestErrorsRequest.limit,
|
|
6077
|
+
"page": listIamWorkRequestErrorsRequest.page,
|
|
6078
|
+
"sortOrder": listIamWorkRequestErrorsRequest.sortOrder
|
|
4800
6079
|
};
|
|
4801
6080
|
let headerParams = {
|
|
4802
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6081
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6082
|
+
"opc-request-id": listIamWorkRequestErrorsRequest.opcRequestId
|
|
4803
6083
|
};
|
|
4804
|
-
const
|
|
6084
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6085
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
4805
6086
|
if (this.logger)
|
|
4806
6087
|
retrier.logger = this.logger;
|
|
4807
6088
|
const request = yield oci_common_2.composeRequest({
|
|
4808
6089
|
baseEndpoint: this._endpoint,
|
|
4809
6090
|
defaultHeaders: this._defaultHeaders,
|
|
4810
|
-
path: "/
|
|
6091
|
+
path: "/iamWorkRequests/{iamWorkRequestId}/errors",
|
|
4811
6092
|
method: "GET",
|
|
4812
6093
|
pathParams: pathParams,
|
|
4813
6094
|
headerParams: headerParams,
|
|
@@ -4819,17 +6100,17 @@ class IdentityClient {
|
|
|
4819
6100
|
responseObject: {},
|
|
4820
6101
|
body: yield response.json(),
|
|
4821
6102
|
bodyKey: "items",
|
|
4822
|
-
bodyModel: model.
|
|
4823
|
-
type: "Array<model.
|
|
6103
|
+
bodyModel: model.IamWorkRequestErrorSummary,
|
|
6104
|
+
type: "Array<model.IamWorkRequestErrorSummary>",
|
|
4824
6105
|
responseHeaders: [
|
|
4825
6106
|
{
|
|
4826
|
-
value: response.headers.get("opc-
|
|
4827
|
-
key: "
|
|
6107
|
+
value: response.headers.get("opc-next-page"),
|
|
6108
|
+
key: "opcNextPage",
|
|
4828
6109
|
dataType: "string"
|
|
4829
6110
|
},
|
|
4830
6111
|
{
|
|
4831
|
-
value: response.headers.get("opc-
|
|
4832
|
-
key: "
|
|
6112
|
+
value: response.headers.get("opc-request-id"),
|
|
6113
|
+
key: "opcRequestId",
|
|
4833
6114
|
dataType: "string"
|
|
4834
6115
|
}
|
|
4835
6116
|
]
|
|
@@ -4842,74 +6123,82 @@ class IdentityClient {
|
|
|
4842
6123
|
});
|
|
4843
6124
|
}
|
|
4844
6125
|
/**
|
|
4845
|
-
* NOTE: This function is deprecated in favor of
|
|
4846
|
-
* Creates a new async iterator which will iterate over the models.
|
|
4847
|
-
* contained in responses from the
|
|
6126
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestErrorsRecordIterator function.
|
|
6127
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestErrorSummary objects
|
|
6128
|
+
* contained in responses from the listIamWorkRequestErrors operation. This iterator will fetch more data from the
|
|
4848
6129
|
* server as needed.
|
|
4849
6130
|
*
|
|
4850
6131
|
* @param request a request which can be sent to the service operation
|
|
4851
6132
|
*/
|
|
4852
|
-
|
|
4853
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
6133
|
+
listAllIamWorkRequestErrors(request) {
|
|
6134
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestErrors(req));
|
|
4854
6135
|
}
|
|
4855
6136
|
/**
|
|
4856
|
-
* NOTE: This function is deprecated in favor of
|
|
4857
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
6137
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestErrorsResponseIterator function.
|
|
6138
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestErrors operation. This iterator
|
|
4858
6139
|
* will fetch more data from the server as needed.
|
|
4859
6140
|
*
|
|
4860
6141
|
* @param request a request which can be sent to the service operation
|
|
4861
6142
|
*/
|
|
4862
|
-
|
|
4863
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
6143
|
+
listAllIamWorkRequestErrorsResponses(request) {
|
|
6144
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestErrors(req));
|
|
4864
6145
|
}
|
|
4865
6146
|
/**
|
|
4866
|
-
* Creates a new async iterator which will iterate over the models.
|
|
4867
|
-
* contained in responses from the
|
|
6147
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestErrorSummary objects
|
|
6148
|
+
* contained in responses from the listIamWorkRequestErrors operation. This iterator will fetch more data from the
|
|
4868
6149
|
* server as needed.
|
|
4869
6150
|
*
|
|
4870
6151
|
* @param request a request which can be sent to the service operation
|
|
4871
6152
|
*/
|
|
4872
|
-
|
|
4873
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
6153
|
+
listIamWorkRequestErrorsRecordIterator(request) {
|
|
6154
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestErrors(req));
|
|
4874
6155
|
}
|
|
4875
6156
|
/**
|
|
4876
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
6157
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestErrors operation. This iterator
|
|
4877
6158
|
* will fetch more data from the server as needed.
|
|
4878
6159
|
*
|
|
4879
6160
|
* @param request a request which can be sent to the service operation
|
|
4880
6161
|
*/
|
|
4881
|
-
|
|
4882
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
6162
|
+
listIamWorkRequestErrorsResponseIterator(request) {
|
|
6163
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestErrors(req));
|
|
4883
6164
|
}
|
|
4884
6165
|
/**
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
6166
|
+
* Gets logs for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains
|
|
6167
|
+
* iam work request id that can be provided in this API to track the current status of the operation.
|
|
6168
|
+
* <p>
|
|
6169
|
+
- If workrequest exists, returns 202 ACCEPTED
|
|
6170
|
+
* - If workrequest does not exist, returns 404 NOT FOUND
|
|
6171
|
+
*
|
|
6172
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6173
|
+
* @param ListIamWorkRequestLogsRequest
|
|
6174
|
+
* @return ListIamWorkRequestLogsResponse
|
|
6175
|
+
* @throws OciError when an error occurs
|
|
6176
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListIamWorkRequestLogs.ts.html |here} to see how to use ListIamWorkRequestLogs API.
|
|
6177
|
+
*/
|
|
6178
|
+
listIamWorkRequestLogs(listIamWorkRequestLogsRequest) {
|
|
4895
6179
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4896
6180
|
if (this.logger)
|
|
4897
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
4898
|
-
const pathParams = {
|
|
6181
|
+
this.logger.debug("Calling operation IdentityClient#listIamWorkRequestLogs.");
|
|
6182
|
+
const pathParams = {
|
|
6183
|
+
"{iamWorkRequestId}": listIamWorkRequestLogsRequest.iamWorkRequestId
|
|
6184
|
+
};
|
|
4899
6185
|
const queryParams = {
|
|
4900
|
-
"
|
|
4901
|
-
"
|
|
6186
|
+
"limit": listIamWorkRequestLogsRequest.limit,
|
|
6187
|
+
"page": listIamWorkRequestLogsRequest.page,
|
|
6188
|
+
"sortOrder": listIamWorkRequestLogsRequest.sortOrder
|
|
4902
6189
|
};
|
|
4903
6190
|
let headerParams = {
|
|
4904
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6191
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6192
|
+
"opc-request-id": listIamWorkRequestLogsRequest.opcRequestId
|
|
4905
6193
|
};
|
|
4906
|
-
const
|
|
6194
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6195
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
4907
6196
|
if (this.logger)
|
|
4908
6197
|
retrier.logger = this.logger;
|
|
4909
6198
|
const request = yield oci_common_2.composeRequest({
|
|
4910
6199
|
baseEndpoint: this._endpoint,
|
|
4911
6200
|
defaultHeaders: this._defaultHeaders,
|
|
4912
|
-
path: "/
|
|
6201
|
+
path: "/iamWorkRequests/{iamWorkRequestId}/logs",
|
|
4913
6202
|
method: "GET",
|
|
4914
6203
|
pathParams: pathParams,
|
|
4915
6204
|
headerParams: headerParams,
|
|
@@ -4921,13 +6210,23 @@ class IdentityClient {
|
|
|
4921
6210
|
responseObject: {},
|
|
4922
6211
|
body: yield response.json(),
|
|
4923
6212
|
bodyKey: "items",
|
|
4924
|
-
bodyModel: model.
|
|
4925
|
-
type: "Array<model.
|
|
6213
|
+
bodyModel: model.IamWorkRequestLogSummary,
|
|
6214
|
+
type: "Array<model.IamWorkRequestLogSummary>",
|
|
4926
6215
|
responseHeaders: [
|
|
4927
6216
|
{
|
|
4928
6217
|
value: response.headers.get("opc-request-id"),
|
|
4929
6218
|
key: "opcRequestId",
|
|
4930
6219
|
dataType: "string"
|
|
6220
|
+
},
|
|
6221
|
+
{
|
|
6222
|
+
value: response.headers.get("retry-after"),
|
|
6223
|
+
key: "retryAfter",
|
|
6224
|
+
dataType: "number"
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
value: response.headers.get("opc-next-page"),
|
|
6228
|
+
key: "opcNextPage",
|
|
6229
|
+
dataType: "string"
|
|
4931
6230
|
}
|
|
4932
6231
|
]
|
|
4933
6232
|
});
|
|
@@ -4939,39 +6238,80 @@ class IdentityClient {
|
|
|
4939
6238
|
});
|
|
4940
6239
|
}
|
|
4941
6240
|
/**
|
|
4942
|
-
*
|
|
4943
|
-
*
|
|
4944
|
-
*
|
|
6241
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestLogsRecordIterator function.
|
|
6242
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestLogSummary objects
|
|
6243
|
+
* contained in responses from the listIamWorkRequestLogs operation. This iterator will fetch more data from the
|
|
6244
|
+
* server as needed.
|
|
4945
6245
|
*
|
|
4946
|
-
* @param
|
|
4947
|
-
* @return ListGroupsResponse
|
|
4948
|
-
* @throws OciError when an error occurs
|
|
4949
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.5.1/identity/ListGroups.ts.html |here} to see how to use ListGroups API.
|
|
6246
|
+
* @param request a request which can be sent to the service operation
|
|
4950
6247
|
*/
|
|
4951
|
-
|
|
6248
|
+
listAllIamWorkRequestLogs(request) {
|
|
6249
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestLogs(req));
|
|
6250
|
+
}
|
|
6251
|
+
/**
|
|
6252
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestLogsResponseIterator function.
|
|
6253
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestLogs operation. This iterator
|
|
6254
|
+
* will fetch more data from the server as needed.
|
|
6255
|
+
*
|
|
6256
|
+
* @param request a request which can be sent to the service operation
|
|
6257
|
+
*/
|
|
6258
|
+
listAllIamWorkRequestLogsResponses(request) {
|
|
6259
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestLogs(req));
|
|
6260
|
+
}
|
|
6261
|
+
/**
|
|
6262
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestLogSummary objects
|
|
6263
|
+
* contained in responses from the listIamWorkRequestLogs operation. This iterator will fetch more data from the
|
|
6264
|
+
* server as needed.
|
|
6265
|
+
*
|
|
6266
|
+
* @param request a request which can be sent to the service operation
|
|
6267
|
+
*/
|
|
6268
|
+
listIamWorkRequestLogsRecordIterator(request) {
|
|
6269
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequestLogs(req));
|
|
6270
|
+
}
|
|
6271
|
+
/**
|
|
6272
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequestLogs operation. This iterator
|
|
6273
|
+
* will fetch more data from the server as needed.
|
|
6274
|
+
*
|
|
6275
|
+
* @param request a request which can be sent to the service operation
|
|
6276
|
+
*/
|
|
6277
|
+
listIamWorkRequestLogsResponseIterator(request) {
|
|
6278
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequestLogs(req));
|
|
6279
|
+
}
|
|
6280
|
+
/**
|
|
6281
|
+
* List the IAM work requests in compartment
|
|
6282
|
+
* <p>
|
|
6283
|
+
- If IAM workrequest details are retrieved sucessfully, return 202 ACCEPTED.
|
|
6284
|
+
* - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
|
|
6285
|
+
*
|
|
6286
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6287
|
+
* @param ListIamWorkRequestsRequest
|
|
6288
|
+
* @return ListIamWorkRequestsResponse
|
|
6289
|
+
* @throws OciError when an error occurs
|
|
6290
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListIamWorkRequests.ts.html |here} to see how to use ListIamWorkRequests API.
|
|
6291
|
+
*/
|
|
6292
|
+
listIamWorkRequests(listIamWorkRequestsRequest) {
|
|
4952
6293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4953
6294
|
if (this.logger)
|
|
4954
|
-
this.logger.debug("Calling operation IdentityClient#
|
|
6295
|
+
this.logger.debug("Calling operation IdentityClient#listIamWorkRequests.");
|
|
4955
6296
|
const pathParams = {};
|
|
4956
6297
|
const queryParams = {
|
|
4957
|
-
"compartmentId":
|
|
4958
|
-
"page":
|
|
4959
|
-
"limit":
|
|
4960
|
-
"
|
|
4961
|
-
"sortBy": listGroupsRequest.sortBy,
|
|
4962
|
-
"sortOrder": listGroupsRequest.sortOrder,
|
|
4963
|
-
"lifecycleState": listGroupsRequest.lifecycleState
|
|
6298
|
+
"compartmentId": listIamWorkRequestsRequest.compartmentId,
|
|
6299
|
+
"page": listIamWorkRequestsRequest.page,
|
|
6300
|
+
"limit": listIamWorkRequestsRequest.limit,
|
|
6301
|
+
"resourceIdentifier": listIamWorkRequestsRequest.resourceIdentifier
|
|
4964
6302
|
};
|
|
4965
6303
|
let headerParams = {
|
|
4966
|
-
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6304
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6305
|
+
"opc-request-id": listIamWorkRequestsRequest.opcRequestId
|
|
4967
6306
|
};
|
|
4968
|
-
const
|
|
6307
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6308
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIamWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
4969
6309
|
if (this.logger)
|
|
4970
6310
|
retrier.logger = this.logger;
|
|
4971
6311
|
const request = yield oci_common_2.composeRequest({
|
|
4972
6312
|
baseEndpoint: this._endpoint,
|
|
4973
6313
|
defaultHeaders: this._defaultHeaders,
|
|
4974
|
-
path: "/
|
|
6314
|
+
path: "/iamWorkRequests",
|
|
4975
6315
|
method: "GET",
|
|
4976
6316
|
pathParams: pathParams,
|
|
4977
6317
|
headerParams: headerParams,
|
|
@@ -4983,8 +6323,8 @@ class IdentityClient {
|
|
|
4983
6323
|
responseObject: {},
|
|
4984
6324
|
body: yield response.json(),
|
|
4985
6325
|
bodyKey: "items",
|
|
4986
|
-
bodyModel: model.
|
|
4987
|
-
type: "Array<model.
|
|
6326
|
+
bodyModel: model.IamWorkRequestSummary,
|
|
6327
|
+
type: "Array<model.IamWorkRequestSummary>",
|
|
4988
6328
|
responseHeaders: [
|
|
4989
6329
|
{
|
|
4990
6330
|
value: response.headers.get("opc-request-id"),
|
|
@@ -5006,52 +6346,56 @@ class IdentityClient {
|
|
|
5006
6346
|
});
|
|
5007
6347
|
}
|
|
5008
6348
|
/**
|
|
5009
|
-
* NOTE: This function is deprecated in favor of
|
|
5010
|
-
* Creates a new async iterator which will iterate over the models.
|
|
5011
|
-
* contained in responses from the
|
|
6349
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestsRecordIterator function.
|
|
6350
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestSummary objects
|
|
6351
|
+
* contained in responses from the listIamWorkRequests operation. This iterator will fetch more data from the
|
|
5012
6352
|
* server as needed.
|
|
5013
6353
|
*
|
|
5014
6354
|
* @param request a request which can be sent to the service operation
|
|
5015
6355
|
*/
|
|
5016
|
-
|
|
5017
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
6356
|
+
listAllIamWorkRequests(request) {
|
|
6357
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequests(req));
|
|
5018
6358
|
}
|
|
5019
6359
|
/**
|
|
5020
|
-
* NOTE: This function is deprecated in favor of
|
|
5021
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
6360
|
+
* NOTE: This function is deprecated in favor of listIamWorkRequestsResponseIterator function.
|
|
6361
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequests operation. This iterator
|
|
5022
6362
|
* will fetch more data from the server as needed.
|
|
5023
6363
|
*
|
|
5024
6364
|
* @param request a request which can be sent to the service operation
|
|
5025
6365
|
*/
|
|
5026
|
-
|
|
5027
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
6366
|
+
listAllIamWorkRequestsResponses(request) {
|
|
6367
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequests(req));
|
|
5028
6368
|
}
|
|
5029
6369
|
/**
|
|
5030
|
-
* Creates a new async iterator which will iterate over the models.
|
|
5031
|
-
* contained in responses from the
|
|
6370
|
+
* Creates a new async iterator which will iterate over the models.IamWorkRequestSummary objects
|
|
6371
|
+
* contained in responses from the listIamWorkRequests operation. This iterator will fetch more data from the
|
|
5032
6372
|
* server as needed.
|
|
5033
6373
|
*
|
|
5034
6374
|
* @param request a request which can be sent to the service operation
|
|
5035
6375
|
*/
|
|
5036
|
-
|
|
5037
|
-
return oci_common_1.paginateRecords(request, req => this.
|
|
6376
|
+
listIamWorkRequestsRecordIterator(request) {
|
|
6377
|
+
return oci_common_1.paginateRecords(request, req => this.listIamWorkRequests(req));
|
|
5038
6378
|
}
|
|
5039
6379
|
/**
|
|
5040
|
-
* Creates a new async iterator which will iterate over the responses received from the
|
|
6380
|
+
* Creates a new async iterator which will iterate over the responses received from the listIamWorkRequests operation. This iterator
|
|
5041
6381
|
* will fetch more data from the server as needed.
|
|
5042
6382
|
*
|
|
5043
6383
|
* @param request a request which can be sent to the service operation
|
|
5044
6384
|
*/
|
|
5045
|
-
|
|
5046
|
-
return oci_common_1.paginateResponses(request, req => this.
|
|
6385
|
+
listIamWorkRequestsResponseIterator(request) {
|
|
6386
|
+
return oci_common_1.paginateResponses(request, req => this.listIamWorkRequests(req));
|
|
5047
6387
|
}
|
|
5048
6388
|
/**
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
6389
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
6390
|
+
* <p>
|
|
6391
|
+
Lists the identity provider groups.
|
|
6392
|
+
*
|
|
6393
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6394
|
+
* @param ListIdentityProviderGroupsRequest
|
|
6395
|
+
* @return ListIdentityProviderGroupsResponse
|
|
6396
|
+
* @throws OciError when an error occurs
|
|
6397
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListIdentityProviderGroups.ts.html |here} to see how to use ListIdentityProviderGroups API.
|
|
6398
|
+
*/
|
|
5055
6399
|
listIdentityProviderGroups(listIdentityProviderGroupsRequest) {
|
|
5056
6400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5057
6401
|
if (this.logger)
|
|
@@ -5068,7 +6412,8 @@ class IdentityClient {
|
|
|
5068
6412
|
let headerParams = {
|
|
5069
6413
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5070
6414
|
};
|
|
5071
|
-
const
|
|
6415
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6416
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIdentityProviderGroupsRequest.retryConfiguration, specRetryConfiguration);
|
|
5072
6417
|
if (this.logger)
|
|
5073
6418
|
retrier.logger = this.logger;
|
|
5074
6419
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5149,16 +6494,19 @@ class IdentityClient {
|
|
|
5149
6494
|
return oci_common_1.paginateResponses(request, req => this.listIdentityProviderGroups(req));
|
|
5150
6495
|
}
|
|
5151
6496
|
/**
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
6497
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
6498
|
+
* <p>
|
|
6499
|
+
Lists all the identity providers in your tenancy. You must specify the identity provider type (e.g., `SAML2` for
|
|
6500
|
+
* identity providers using the SAML2.0 protocol). You must specify your tenancy's OCID as the value for the
|
|
6501
|
+
* compartment ID (remember that the tenancy is simply the root compartment).
|
|
6502
|
+
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
6503
|
+
*
|
|
6504
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6505
|
+
* @param ListIdentityProvidersRequest
|
|
6506
|
+
* @return ListIdentityProvidersResponse
|
|
6507
|
+
* @throws OciError when an error occurs
|
|
6508
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListIdentityProviders.ts.html |here} to see how to use ListIdentityProviders API.
|
|
6509
|
+
*/
|
|
5162
6510
|
listIdentityProviders(listIdentityProvidersRequest) {
|
|
5163
6511
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5164
6512
|
if (this.logger)
|
|
@@ -5177,7 +6525,8 @@ class IdentityClient {
|
|
|
5177
6525
|
let headerParams = {
|
|
5178
6526
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5179
6527
|
};
|
|
5180
|
-
const
|
|
6528
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6529
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIdentityProvidersRequest.retryConfiguration, specRetryConfiguration);
|
|
5181
6530
|
if (this.logger)
|
|
5182
6531
|
retrier.logger = this.logger;
|
|
5183
6532
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5258,13 +6607,16 @@ class IdentityClient {
|
|
|
5258
6607
|
return oci_common_1.paginateResponses(request, req => this.listIdentityProviders(req));
|
|
5259
6608
|
}
|
|
5260
6609
|
/**
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
6610
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
6611
|
+
* <p>
|
|
6612
|
+
Lists the group mappings for the specified identity provider.
|
|
6613
|
+
*
|
|
6614
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6615
|
+
* @param ListIdpGroupMappingsRequest
|
|
6616
|
+
* @return ListIdpGroupMappingsResponse
|
|
6617
|
+
* @throws OciError when an error occurs
|
|
6618
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListIdpGroupMappings.ts.html |here} to see how to use ListIdpGroupMappings API.
|
|
6619
|
+
*/
|
|
5268
6620
|
listIdpGroupMappings(listIdpGroupMappingsRequest) {
|
|
5269
6621
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5270
6622
|
if (this.logger)
|
|
@@ -5279,7 +6631,8 @@ class IdentityClient {
|
|
|
5279
6631
|
let headerParams = {
|
|
5280
6632
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5281
6633
|
};
|
|
5282
|
-
const
|
|
6634
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6635
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listIdpGroupMappingsRequest.retryConfiguration, specRetryConfiguration);
|
|
5283
6636
|
if (this.logger)
|
|
5284
6637
|
retrier.logger = this.logger;
|
|
5285
6638
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5363,10 +6716,11 @@ class IdentityClient {
|
|
|
5363
6716
|
* Lists the MFA TOTP devices for the specified user. The returned object contains the device's OCID, but not
|
|
5364
6717
|
* the seed. The seed is returned only upon creation or when the IAM service regenerates the MFA seed for the device.
|
|
5365
6718
|
*
|
|
6719
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5366
6720
|
* @param ListMfaTotpDevicesRequest
|
|
5367
6721
|
* @return ListMfaTotpDevicesResponse
|
|
5368
6722
|
* @throws OciError when an error occurs
|
|
5369
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6723
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListMfaTotpDevices.ts.html |here} to see how to use ListMfaTotpDevices API.
|
|
5370
6724
|
*/
|
|
5371
6725
|
listMfaTotpDevices(listMfaTotpDevicesRequest) {
|
|
5372
6726
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5384,7 +6738,8 @@ class IdentityClient {
|
|
|
5384
6738
|
let headerParams = {
|
|
5385
6739
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5386
6740
|
};
|
|
5387
|
-
const
|
|
6741
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6742
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listMfaTotpDevicesRequest.retryConfiguration, specRetryConfiguration);
|
|
5388
6743
|
if (this.logger)
|
|
5389
6744
|
retrier.logger = this.logger;
|
|
5390
6745
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5469,10 +6824,11 @@ class IdentityClient {
|
|
|
5469
6824
|
* the compartment ID (remember that the tenancy is simply the root compartment).
|
|
5470
6825
|
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
5471
6826
|
*
|
|
6827
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5472
6828
|
* @param ListNetworkSourcesRequest
|
|
5473
6829
|
* @return ListNetworkSourcesResponse
|
|
5474
6830
|
* @throws OciError when an error occurs
|
|
5475
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6831
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListNetworkSources.ts.html |here} to see how to use ListNetworkSources API.
|
|
5476
6832
|
*/
|
|
5477
6833
|
listNetworkSources(listNetworkSourcesRequest) {
|
|
5478
6834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5491,7 +6847,8 @@ class IdentityClient {
|
|
|
5491
6847
|
let headerParams = {
|
|
5492
6848
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5493
6849
|
};
|
|
5494
|
-
const
|
|
6850
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6851
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkSourcesRequest.retryConfiguration, specRetryConfiguration);
|
|
5495
6852
|
if (this.logger)
|
|
5496
6853
|
retrier.logger = this.logger;
|
|
5497
6854
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5574,10 +6931,11 @@ class IdentityClient {
|
|
|
5574
6931
|
/**
|
|
5575
6932
|
* List of Oauth tokens for the user
|
|
5576
6933
|
*
|
|
6934
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5577
6935
|
* @param ListOAuthClientCredentialsRequest
|
|
5578
6936
|
* @return ListOAuthClientCredentialsResponse
|
|
5579
6937
|
* @throws OciError when an error occurs
|
|
5580
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
6938
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListOAuthClientCredentials.ts.html |here} to see how to use ListOAuthClientCredentials API.
|
|
5581
6939
|
*/
|
|
5582
6940
|
listOAuthClientCredentials(listOAuthClientCredentialsRequest) {
|
|
5583
6941
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5594,7 +6952,8 @@ class IdentityClient {
|
|
|
5594
6952
|
let headerParams = {
|
|
5595
6953
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5596
6954
|
};
|
|
5597
|
-
const
|
|
6955
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6956
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listOAuthClientCredentialsRequest.retryConfiguration, specRetryConfiguration);
|
|
5598
6957
|
if (this.logger)
|
|
5599
6958
|
retrier.logger = this.logger;
|
|
5600
6959
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5681,10 +7040,11 @@ class IdentityClient {
|
|
|
5681
7040
|
To determine which policies apply to a particular group or compartment, you must view the individual
|
|
5682
7041
|
* statements inside all your policies. There isn't a way to automatically obtain that information via the API.
|
|
5683
7042
|
*
|
|
7043
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5684
7044
|
* @param ListPoliciesRequest
|
|
5685
7045
|
* @return ListPoliciesResponse
|
|
5686
7046
|
* @throws OciError when an error occurs
|
|
5687
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7047
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListPolicies.ts.html |here} to see how to use ListPolicies API.
|
|
5688
7048
|
*/
|
|
5689
7049
|
listPolicies(listPoliciesRequest) {
|
|
5690
7050
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5703,7 +7063,8 @@ class IdentityClient {
|
|
|
5703
7063
|
let headerParams = {
|
|
5704
7064
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5705
7065
|
};
|
|
5706
|
-
const
|
|
7066
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7067
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listPoliciesRequest.retryConfiguration, specRetryConfiguration);
|
|
5707
7068
|
if (this.logger)
|
|
5708
7069
|
retrier.logger = this.logger;
|
|
5709
7070
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5785,10 +7146,11 @@ class IdentityClient {
|
|
|
5785
7146
|
}
|
|
5786
7147
|
/**
|
|
5787
7148
|
* Lists the region subscriptions for the specified tenancy.
|
|
7149
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5788
7150
|
* @param ListRegionSubscriptionsRequest
|
|
5789
7151
|
* @return ListRegionSubscriptionsResponse
|
|
5790
7152
|
* @throws OciError when an error occurs
|
|
5791
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7153
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListRegionSubscriptions.ts.html |here} to see how to use ListRegionSubscriptions API.
|
|
5792
7154
|
*/
|
|
5793
7155
|
listRegionSubscriptions(listRegionSubscriptionsRequest) {
|
|
5794
7156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5801,7 +7163,8 @@ class IdentityClient {
|
|
|
5801
7163
|
let headerParams = {
|
|
5802
7164
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5803
7165
|
};
|
|
5804
|
-
const
|
|
7166
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7167
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRegionSubscriptionsRequest.retryConfiguration, specRetryConfiguration);
|
|
5805
7168
|
if (this.logger)
|
|
5806
7169
|
retrier.logger = this.logger;
|
|
5807
7170
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5838,10 +7201,11 @@ class IdentityClient {
|
|
|
5838
7201
|
}
|
|
5839
7202
|
/**
|
|
5840
7203
|
* Lists all the regions offered by Oracle Cloud Infrastructure.
|
|
7204
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5841
7205
|
* @param ListRegionsRequest
|
|
5842
7206
|
* @return ListRegionsResponse
|
|
5843
7207
|
* @throws OciError when an error occurs
|
|
5844
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7208
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListRegions.ts.html |here} to see how to use ListRegions API.
|
|
5845
7209
|
*/
|
|
5846
7210
|
listRegions(listRegionsRequest) {
|
|
5847
7211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5852,7 +7216,8 @@ class IdentityClient {
|
|
|
5852
7216
|
let headerParams = {
|
|
5853
7217
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5854
7218
|
};
|
|
5855
|
-
const
|
|
7219
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7220
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listRegionsRequest.retryConfiguration, specRetryConfiguration);
|
|
5856
7221
|
if (this.logger)
|
|
5857
7222
|
retrier.logger = this.logger;
|
|
5858
7223
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5891,10 +7256,11 @@ class IdentityClient {
|
|
|
5891
7256
|
* Lists the SMTP credentials for the specified user. The returned object contains the credential's OCID,
|
|
5892
7257
|
* the SMTP user name but not the SMTP password. The SMTP password is returned only upon creation.
|
|
5893
7258
|
*
|
|
7259
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5894
7260
|
* @param ListSmtpCredentialsRequest
|
|
5895
7261
|
* @return ListSmtpCredentialsResponse
|
|
5896
7262
|
* @throws OciError when an error occurs
|
|
5897
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7263
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListSmtpCredentials.ts.html |here} to see how to use ListSmtpCredentials API.
|
|
5898
7264
|
*/
|
|
5899
7265
|
listSmtpCredentials(listSmtpCredentialsRequest) {
|
|
5900
7266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5907,7 +7273,8 @@ class IdentityClient {
|
|
|
5907
7273
|
let headerParams = {
|
|
5908
7274
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5909
7275
|
};
|
|
5910
|
-
const
|
|
7276
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7277
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSmtpCredentialsRequest.retryConfiguration, specRetryConfiguration);
|
|
5911
7278
|
if (this.logger)
|
|
5912
7279
|
retrier.logger = this.logger;
|
|
5913
7280
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -5953,10 +7320,11 @@ class IdentityClient {
|
|
|
5953
7320
|
Lists the Swift passwords for the specified user. The returned object contains the password's OCID, but not
|
|
5954
7321
|
* the password itself. The actual password is returned only upon creation.
|
|
5955
7322
|
*
|
|
7323
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5956
7324
|
* @param ListSwiftPasswordsRequest
|
|
5957
7325
|
* @return ListSwiftPasswordsResponse
|
|
5958
7326
|
* @throws OciError when an error occurs
|
|
5959
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7327
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListSwiftPasswords.ts.html |here} to see how to use ListSwiftPasswords API.
|
|
5960
7328
|
*/
|
|
5961
7329
|
listSwiftPasswords(listSwiftPasswordsRequest) {
|
|
5962
7330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -5969,7 +7337,8 @@ class IdentityClient {
|
|
|
5969
7337
|
let headerParams = {
|
|
5970
7338
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
5971
7339
|
};
|
|
5972
|
-
const
|
|
7340
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7341
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSwiftPasswordsRequest.retryConfiguration, specRetryConfiguration);
|
|
5973
7342
|
if (this.logger)
|
|
5974
7343
|
retrier.logger = this.logger;
|
|
5975
7344
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6012,10 +7381,11 @@ class IdentityClient {
|
|
|
6012
7381
|
/**
|
|
6013
7382
|
* Lists the tag defaults for tag definitions in the specified compartment.
|
|
6014
7383
|
*
|
|
7384
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6015
7385
|
* @param ListTagDefaultsRequest
|
|
6016
7386
|
* @return ListTagDefaultsResponse
|
|
6017
7387
|
* @throws OciError when an error occurs
|
|
6018
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7388
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListTagDefaults.ts.html |here} to see how to use ListTagDefaults API.
|
|
6019
7389
|
*/
|
|
6020
7390
|
listTagDefaults(listTagDefaultsRequest) {
|
|
6021
7391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6033,7 +7403,8 @@ class IdentityClient {
|
|
|
6033
7403
|
let headerParams = {
|
|
6034
7404
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6035
7405
|
};
|
|
6036
|
-
const
|
|
7406
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7407
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTagDefaultsRequest.retryConfiguration, specRetryConfiguration);
|
|
6037
7408
|
if (this.logger)
|
|
6038
7409
|
retrier.logger = this.logger;
|
|
6039
7410
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6116,10 +7487,11 @@ class IdentityClient {
|
|
|
6116
7487
|
/**
|
|
6117
7488
|
* Lists the tag namespaces in the specified compartment.
|
|
6118
7489
|
*
|
|
7490
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6119
7491
|
* @param ListTagNamespacesRequest
|
|
6120
7492
|
* @return ListTagNamespacesResponse
|
|
6121
7493
|
* @throws OciError when an error occurs
|
|
6122
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7494
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListTagNamespaces.ts.html |here} to see how to use ListTagNamespaces API.
|
|
6123
7495
|
*/
|
|
6124
7496
|
listTagNamespaces(listTagNamespacesRequest) {
|
|
6125
7497
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6136,7 +7508,8 @@ class IdentityClient {
|
|
|
6136
7508
|
let headerParams = {
|
|
6137
7509
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6138
7510
|
};
|
|
6139
|
-
const
|
|
7511
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7512
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTagNamespacesRequest.retryConfiguration, specRetryConfiguration);
|
|
6140
7513
|
if (this.logger)
|
|
6141
7514
|
retrier.logger = this.logger;
|
|
6142
7515
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6219,10 +7592,11 @@ class IdentityClient {
|
|
|
6219
7592
|
/**
|
|
6220
7593
|
* Gets the errors for a work request.
|
|
6221
7594
|
*
|
|
7595
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6222
7596
|
* @param ListTaggingWorkRequestErrorsRequest
|
|
6223
7597
|
* @return ListTaggingWorkRequestErrorsResponse
|
|
6224
7598
|
* @throws OciError when an error occurs
|
|
6225
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7599
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListTaggingWorkRequestErrors.ts.html |here} to see how to use ListTaggingWorkRequestErrors API.
|
|
6226
7600
|
*/
|
|
6227
7601
|
listTaggingWorkRequestErrors(listTaggingWorkRequestErrorsRequest) {
|
|
6228
7602
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6238,7 +7612,8 @@ class IdentityClient {
|
|
|
6238
7612
|
let headerParams = {
|
|
6239
7613
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6240
7614
|
};
|
|
6241
|
-
const
|
|
7615
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7616
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTaggingWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
|
|
6242
7617
|
if (this.logger)
|
|
6243
7618
|
retrier.logger = this.logger;
|
|
6244
7619
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6326,10 +7701,11 @@ class IdentityClient {
|
|
|
6326
7701
|
/**
|
|
6327
7702
|
* Gets the logs for a work request.
|
|
6328
7703
|
*
|
|
7704
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6329
7705
|
* @param ListTaggingWorkRequestLogsRequest
|
|
6330
7706
|
* @return ListTaggingWorkRequestLogsResponse
|
|
6331
7707
|
* @throws OciError when an error occurs
|
|
6332
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7708
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListTaggingWorkRequestLogs.ts.html |here} to see how to use ListTaggingWorkRequestLogs API.
|
|
6333
7709
|
*/
|
|
6334
7710
|
listTaggingWorkRequestLogs(listTaggingWorkRequestLogsRequest) {
|
|
6335
7711
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6345,7 +7721,8 @@ class IdentityClient {
|
|
|
6345
7721
|
let headerParams = {
|
|
6346
7722
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6347
7723
|
};
|
|
6348
|
-
const
|
|
7724
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7725
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTaggingWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
|
|
6349
7726
|
if (this.logger)
|
|
6350
7727
|
retrier.logger = this.logger;
|
|
6351
7728
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6433,10 +7810,11 @@ class IdentityClient {
|
|
|
6433
7810
|
/**
|
|
6434
7811
|
* Lists the tagging work requests in compartment.
|
|
6435
7812
|
*
|
|
7813
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6436
7814
|
* @param ListTaggingWorkRequestsRequest
|
|
6437
7815
|
* @return ListTaggingWorkRequestsResponse
|
|
6438
7816
|
* @throws OciError when an error occurs
|
|
6439
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7817
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListTaggingWorkRequests.ts.html |here} to see how to use ListTaggingWorkRequests API.
|
|
6440
7818
|
*/
|
|
6441
7819
|
listTaggingWorkRequests(listTaggingWorkRequestsRequest) {
|
|
6442
7820
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6452,7 +7830,8 @@ class IdentityClient {
|
|
|
6452
7830
|
let headerParams = {
|
|
6453
7831
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6454
7832
|
};
|
|
6455
|
-
const
|
|
7833
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7834
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTaggingWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
6456
7835
|
if (this.logger)
|
|
6457
7836
|
retrier.logger = this.logger;
|
|
6458
7837
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6535,10 +7914,11 @@ class IdentityClient {
|
|
|
6535
7914
|
/**
|
|
6536
7915
|
* Lists the tag definitions in the specified tag namespace.
|
|
6537
7916
|
*
|
|
7917
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6538
7918
|
* @param ListTagsRequest
|
|
6539
7919
|
* @return ListTagsResponse
|
|
6540
7920
|
* @throws OciError when an error occurs
|
|
6541
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
7921
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListTags.ts.html |here} to see how to use ListTags API.
|
|
6542
7922
|
*/
|
|
6543
7923
|
listTags(listTagsRequest) {
|
|
6544
7924
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6555,7 +7935,8 @@ class IdentityClient {
|
|
|
6555
7935
|
let headerParams = {
|
|
6556
7936
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6557
7937
|
};
|
|
6558
|
-
const
|
|
7938
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
7939
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listTagsRequest.retryConfiguration, specRetryConfiguration);
|
|
6559
7940
|
if (this.logger)
|
|
6560
7941
|
retrier.logger = this.logger;
|
|
6561
7942
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6647,10 +8028,11 @@ class IdentityClient {
|
|
|
6647
8028
|
* If the answer is no, the response is an empty list.
|
|
6648
8029
|
* - Although`userId` and `groupId` are not individually required, you must set one of them.
|
|
6649
8030
|
*
|
|
8031
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6650
8032
|
* @param ListUserGroupMembershipsRequest
|
|
6651
8033
|
* @return ListUserGroupMembershipsResponse
|
|
6652
8034
|
* @throws OciError when an error occurs
|
|
6653
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8035
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListUserGroupMemberships.ts.html |here} to see how to use ListUserGroupMemberships API.
|
|
6654
8036
|
*/
|
|
6655
8037
|
listUserGroupMemberships(listUserGroupMembershipsRequest) {
|
|
6656
8038
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6667,7 +8049,8 @@ class IdentityClient {
|
|
|
6667
8049
|
let headerParams = {
|
|
6668
8050
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6669
8051
|
};
|
|
6670
|
-
const
|
|
8052
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8053
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUserGroupMembershipsRequest.retryConfiguration, specRetryConfiguration);
|
|
6671
8054
|
if (this.logger)
|
|
6672
8055
|
retrier.logger = this.logger;
|
|
6673
8056
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6752,10 +8135,11 @@ class IdentityClient {
|
|
|
6752
8135
|
* compartment ID (remember that the tenancy is simply the root compartment).
|
|
6753
8136
|
* See [Where to Get the Tenancy's OCID and User's OCID](https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#five).
|
|
6754
8137
|
*
|
|
8138
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6755
8139
|
* @param ListUsersRequest
|
|
6756
8140
|
* @return ListUsersResponse
|
|
6757
8141
|
* @throws OciError when an error occurs
|
|
6758
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8142
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListUsers.ts.html |here} to see how to use ListUsers API.
|
|
6759
8143
|
*/
|
|
6760
8144
|
listUsers(listUsersRequest) {
|
|
6761
8145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6776,7 +8160,8 @@ class IdentityClient {
|
|
|
6776
8160
|
let headerParams = {
|
|
6777
8161
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6778
8162
|
};
|
|
6779
|
-
const
|
|
8163
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8164
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUsersRequest.retryConfiguration, specRetryConfiguration);
|
|
6780
8165
|
if (this.logger)
|
|
6781
8166
|
retrier.logger = this.logger;
|
|
6782
8167
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6859,10 +8244,11 @@ class IdentityClient {
|
|
|
6859
8244
|
/**
|
|
6860
8245
|
* Lists the work requests in compartment.
|
|
6861
8246
|
*
|
|
8247
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6862
8248
|
* @param ListWorkRequestsRequest
|
|
6863
8249
|
* @return ListWorkRequestsResponse
|
|
6864
8250
|
* @throws OciError when an error occurs
|
|
6865
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8251
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
|
|
6866
8252
|
*/
|
|
6867
8253
|
listWorkRequests(listWorkRequestsRequest) {
|
|
6868
8254
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6878,7 +8264,8 @@ class IdentityClient {
|
|
|
6878
8264
|
let headerParams = {
|
|
6879
8265
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
6880
8266
|
};
|
|
6881
|
-
const
|
|
8267
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8268
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
|
|
6882
8269
|
if (this.logger)
|
|
6883
8270
|
retrier.logger = this.logger;
|
|
6884
8271
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -6968,10 +8355,11 @@ class IdentityClient {
|
|
|
6968
8355
|
* are aware of the implications for the compartment contents before you move it. For more
|
|
6969
8356
|
* information, see [Moving a Compartment](https://docs.cloud.oracle.com/Content/Identity/Tasks/managingcompartments.htm#MoveCompartment).
|
|
6970
8357
|
*
|
|
8358
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6971
8359
|
* @param MoveCompartmentRequest
|
|
6972
8360
|
* @return MoveCompartmentResponse
|
|
6973
8361
|
* @throws OciError when an error occurs
|
|
6974
|
-
* @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.7.0/identity/MoveCompartment.ts.html |here} to see how to use MoveCompartment API.
|
|
6975
8363
|
*/
|
|
6976
8364
|
moveCompartment(moveCompartmentRequest) {
|
|
6977
8365
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -6987,7 +8375,8 @@ class IdentityClient {
|
|
|
6987
8375
|
"opc-request-id": moveCompartmentRequest.opcRequestId,
|
|
6988
8376
|
"opc-retry-token": moveCompartmentRequest.opcRetryToken
|
|
6989
8377
|
};
|
|
6990
|
-
const
|
|
8378
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8379
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, moveCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
6991
8380
|
if (this.logger)
|
|
6992
8381
|
retrier.logger = this.logger;
|
|
6993
8382
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7027,10 +8416,11 @@ class IdentityClient {
|
|
|
7027
8416
|
/**
|
|
7028
8417
|
* Recover the compartment from DELETED state to ACTIVE state.
|
|
7029
8418
|
*
|
|
8419
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7030
8420
|
* @param RecoverCompartmentRequest
|
|
7031
8421
|
* @return RecoverCompartmentResponse
|
|
7032
8422
|
* @throws OciError when an error occurs
|
|
7033
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8423
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/RecoverCompartment.ts.html |here} to see how to use RecoverCompartment API.
|
|
7034
8424
|
*/
|
|
7035
8425
|
recoverCompartment(recoverCompartmentRequest) {
|
|
7036
8426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7045,7 +8435,8 @@ class IdentityClient {
|
|
|
7045
8435
|
"if-match": recoverCompartmentRequest.ifMatch,
|
|
7046
8436
|
"opc-request-id": recoverCompartmentRequest.opcRequestId
|
|
7047
8437
|
};
|
|
7048
|
-
const
|
|
8438
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8439
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, recoverCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
7049
8440
|
if (this.logger)
|
|
7050
8441
|
retrier.logger = this.logger;
|
|
7051
8442
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7087,10 +8478,11 @@ class IdentityClient {
|
|
|
7087
8478
|
}
|
|
7088
8479
|
/**
|
|
7089
8480
|
* Removes a user from a group by deleting the corresponding `UserGroupMembership`.
|
|
8481
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7090
8482
|
* @param RemoveUserFromGroupRequest
|
|
7091
8483
|
* @return RemoveUserFromGroupResponse
|
|
7092
8484
|
* @throws OciError when an error occurs
|
|
7093
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8485
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/RemoveUserFromGroup.ts.html |here} to see how to use RemoveUserFromGroup API.
|
|
7094
8486
|
*/
|
|
7095
8487
|
removeUserFromGroup(removeUserFromGroupRequest) {
|
|
7096
8488
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7104,7 +8496,8 @@ class IdentityClient {
|
|
|
7104
8496
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7105
8497
|
"if-match": removeUserFromGroupRequest.ifMatch
|
|
7106
8498
|
};
|
|
7107
|
-
const
|
|
8499
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8500
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, removeUserFromGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
7108
8501
|
if (this.logger)
|
|
7109
8502
|
retrier.logger = this.logger;
|
|
7110
8503
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7138,10 +8531,11 @@ class IdentityClient {
|
|
|
7138
8531
|
/**
|
|
7139
8532
|
* Resets the OAuth2 client credentials for the SCIM client associated with this identity provider.
|
|
7140
8533
|
*
|
|
8534
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7141
8535
|
* @param ResetIdpScimClientRequest
|
|
7142
8536
|
* @return ResetIdpScimClientResponse
|
|
7143
8537
|
* @throws OciError when an error occurs
|
|
7144
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8538
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/ResetIdpScimClient.ts.html |here} to see how to use ResetIdpScimClient API.
|
|
7145
8539
|
*/
|
|
7146
8540
|
resetIdpScimClient(resetIdpScimClientRequest) {
|
|
7147
8541
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7154,7 +8548,8 @@ class IdentityClient {
|
|
|
7154
8548
|
let headerParams = {
|
|
7155
8549
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
7156
8550
|
};
|
|
7157
|
-
const
|
|
8551
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8552
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, resetIdpScimClientRequest.retryConfiguration, specRetryConfiguration);
|
|
7158
8553
|
if (this.logger)
|
|
7159
8554
|
retrier.logger = this.logger;
|
|
7160
8555
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7192,10 +8587,11 @@ class IdentityClient {
|
|
|
7192
8587
|
/**
|
|
7193
8588
|
* Updates the specified auth token's description.
|
|
7194
8589
|
*
|
|
8590
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7195
8591
|
* @param UpdateAuthTokenRequest
|
|
7196
8592
|
* @return UpdateAuthTokenResponse
|
|
7197
8593
|
* @throws OciError when an error occurs
|
|
7198
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8594
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateAuthToken.ts.html |here} to see how to use UpdateAuthToken API.
|
|
7199
8595
|
*/
|
|
7200
8596
|
updateAuthToken(updateAuthTokenRequest) {
|
|
7201
8597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7210,7 +8606,8 @@ class IdentityClient {
|
|
|
7210
8606
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7211
8607
|
"if-match": updateAuthTokenRequest.ifMatch
|
|
7212
8608
|
};
|
|
7213
|
-
const
|
|
8609
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8610
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAuthTokenRequest.retryConfiguration, specRetryConfiguration);
|
|
7214
8611
|
if (this.logger)
|
|
7215
8612
|
retrier.logger = this.logger;
|
|
7216
8613
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7254,10 +8651,11 @@ class IdentityClient {
|
|
|
7254
8651
|
/**
|
|
7255
8652
|
* Updates authentication policy for the specified tenancy
|
|
7256
8653
|
*
|
|
8654
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7257
8655
|
* @param UpdateAuthenticationPolicyRequest
|
|
7258
8656
|
* @return UpdateAuthenticationPolicyResponse
|
|
7259
8657
|
* @throws OciError when an error occurs
|
|
7260
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8658
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateAuthenticationPolicy.ts.html |here} to see how to use UpdateAuthenticationPolicy API.
|
|
7261
8659
|
*/
|
|
7262
8660
|
updateAuthenticationPolicy(updateAuthenticationPolicyRequest) {
|
|
7263
8661
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7271,7 +8669,8 @@ class IdentityClient {
|
|
|
7271
8669
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7272
8670
|
"if-match": updateAuthenticationPolicyRequest.ifMatch
|
|
7273
8671
|
};
|
|
7274
|
-
const
|
|
8672
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8673
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAuthenticationPolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
7275
8674
|
if (this.logger)
|
|
7276
8675
|
retrier.logger = this.logger;
|
|
7277
8676
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7314,10 +8713,11 @@ class IdentityClient {
|
|
|
7314
8713
|
}
|
|
7315
8714
|
/**
|
|
7316
8715
|
* Updates the specified compartment's description or name. You can't update the root compartment.
|
|
8716
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7317
8717
|
* @param UpdateCompartmentRequest
|
|
7318
8718
|
* @return UpdateCompartmentResponse
|
|
7319
8719
|
* @throws OciError when an error occurs
|
|
7320
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8720
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateCompartment.ts.html |here} to see how to use UpdateCompartment API.
|
|
7321
8721
|
*/
|
|
7322
8722
|
updateCompartment(updateCompartmentRequest) {
|
|
7323
8723
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7331,7 +8731,8 @@ class IdentityClient {
|
|
|
7331
8731
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7332
8732
|
"if-match": updateCompartmentRequest.ifMatch
|
|
7333
8733
|
};
|
|
7334
|
-
const
|
|
8734
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8735
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCompartmentRequest.retryConfiguration, specRetryConfiguration);
|
|
7335
8736
|
if (this.logger)
|
|
7336
8737
|
retrier.logger = this.logger;
|
|
7337
8738
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7375,10 +8776,11 @@ class IdentityClient {
|
|
|
7375
8776
|
/**
|
|
7376
8777
|
* Updates the specified secret key's description.
|
|
7377
8778
|
*
|
|
8779
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7378
8780
|
* @param UpdateCustomerSecretKeyRequest
|
|
7379
8781
|
* @return UpdateCustomerSecretKeyResponse
|
|
7380
8782
|
* @throws OciError when an error occurs
|
|
7381
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8783
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateCustomerSecretKey.ts.html |here} to see how to use UpdateCustomerSecretKey API.
|
|
7382
8784
|
*/
|
|
7383
8785
|
updateCustomerSecretKey(updateCustomerSecretKeyRequest) {
|
|
7384
8786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7393,7 +8795,8 @@ class IdentityClient {
|
|
|
7393
8795
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7394
8796
|
"if-match": updateCustomerSecretKeyRequest.ifMatch
|
|
7395
8797
|
};
|
|
7396
|
-
const
|
|
8798
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8799
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateCustomerSecretKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
7397
8800
|
if (this.logger)
|
|
7398
8801
|
retrier.logger = this.logger;
|
|
7399
8802
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7434,12 +8837,84 @@ class IdentityClient {
|
|
|
7434
8837
|
}
|
|
7435
8838
|
});
|
|
7436
8839
|
}
|
|
8840
|
+
/**
|
|
8841
|
+
* Updates domain information and associated stripe. This is an asynchronous call where
|
|
8842
|
+
* the associated stripe and domain are updated.
|
|
8843
|
+
* <p>
|
|
8844
|
+
To track progress, HTTP GET on /iamWorkRequests/{iamWorkRequestsId} endpoint will provide
|
|
8845
|
+
* the async operation's status.
|
|
8846
|
+
* <p>
|
|
8847
|
+
- If the {@code displayName} is not unique within the tenancy, returns 400 BAD REQUEST.
|
|
8848
|
+
* - If any field other than {@code description} is requested to be updated for DEFAULT domain,
|
|
8849
|
+
* returns 400 BAD REQUEST.
|
|
8850
|
+
* - If Domain is not active or being updated, returns 400 BAD REQUEST.
|
|
8851
|
+
* - If Domain {@code type} is DEFAULT or DEFAULT_LIGHTWEIGHT, return 400 BAD Request
|
|
8852
|
+
* - If the domain doesn't exists, returns 404 NOT FOUND.
|
|
8853
|
+
*
|
|
8854
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8855
|
+
* @param UpdateDomainRequest
|
|
8856
|
+
* @return UpdateDomainResponse
|
|
8857
|
+
* @throws OciError when an error occurs
|
|
8858
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateDomain.ts.html |here} to see how to use UpdateDomain API.
|
|
8859
|
+
*/
|
|
8860
|
+
updateDomain(updateDomainRequest) {
|
|
8861
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8862
|
+
if (this.logger)
|
|
8863
|
+
this.logger.debug("Calling operation IdentityClient#updateDomain.");
|
|
8864
|
+
const pathParams = {
|
|
8865
|
+
"{domainId}": updateDomainRequest.domainId
|
|
8866
|
+
};
|
|
8867
|
+
const queryParams = {};
|
|
8868
|
+
let headerParams = {
|
|
8869
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8870
|
+
"if-match": updateDomainRequest.ifMatch,
|
|
8871
|
+
"opc-request-id": updateDomainRequest.opcRequestId
|
|
8872
|
+
};
|
|
8873
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8874
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDomainRequest.retryConfiguration, specRetryConfiguration);
|
|
8875
|
+
if (this.logger)
|
|
8876
|
+
retrier.logger = this.logger;
|
|
8877
|
+
const request = yield oci_common_2.composeRequest({
|
|
8878
|
+
baseEndpoint: this._endpoint,
|
|
8879
|
+
defaultHeaders: this._defaultHeaders,
|
|
8880
|
+
path: "/domains/{domainId}",
|
|
8881
|
+
method: "PUT",
|
|
8882
|
+
bodyContent: common.ObjectSerializer.serialize(updateDomainRequest.updateDomainDetails, "UpdateDomainDetails", model.UpdateDomainDetails.getJsonObj),
|
|
8883
|
+
pathParams: pathParams,
|
|
8884
|
+
headerParams: headerParams,
|
|
8885
|
+
queryParams: queryParams
|
|
8886
|
+
});
|
|
8887
|
+
try {
|
|
8888
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request);
|
|
8889
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
8890
|
+
responseObject: {},
|
|
8891
|
+
responseHeaders: [
|
|
8892
|
+
{
|
|
8893
|
+
value: response.headers.get("opc-request-id"),
|
|
8894
|
+
key: "opcRequestId",
|
|
8895
|
+
dataType: "string"
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
value: response.headers.get("opc-work-request-id"),
|
|
8899
|
+
key: "opcWorkRequestId",
|
|
8900
|
+
dataType: "string"
|
|
8901
|
+
}
|
|
8902
|
+
]
|
|
8903
|
+
});
|
|
8904
|
+
return sdkResponse;
|
|
8905
|
+
}
|
|
8906
|
+
catch (err) {
|
|
8907
|
+
throw err;
|
|
8908
|
+
}
|
|
8909
|
+
});
|
|
8910
|
+
}
|
|
7437
8911
|
/**
|
|
7438
8912
|
* Updates the specified dynamic group.
|
|
8913
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7439
8914
|
* @param UpdateDynamicGroupRequest
|
|
7440
8915
|
* @return UpdateDynamicGroupResponse
|
|
7441
8916
|
* @throws OciError when an error occurs
|
|
7442
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8917
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateDynamicGroup.ts.html |here} to see how to use UpdateDynamicGroup API.
|
|
7443
8918
|
*/
|
|
7444
8919
|
updateDynamicGroup(updateDynamicGroupRequest) {
|
|
7445
8920
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7453,7 +8928,8 @@ class IdentityClient {
|
|
|
7453
8928
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7454
8929
|
"if-match": updateDynamicGroupRequest.ifMatch
|
|
7455
8930
|
};
|
|
7456
|
-
const
|
|
8931
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8932
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateDynamicGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
7457
8933
|
if (this.logger)
|
|
7458
8934
|
retrier.logger = this.logger;
|
|
7459
8935
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7496,10 +8972,11 @@ class IdentityClient {
|
|
|
7496
8972
|
}
|
|
7497
8973
|
/**
|
|
7498
8974
|
* Updates the specified group.
|
|
8975
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7499
8976
|
* @param UpdateGroupRequest
|
|
7500
8977
|
* @return UpdateGroupResponse
|
|
7501
8978
|
* @throws OciError when an error occurs
|
|
7502
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
8979
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateGroup.ts.html |here} to see how to use UpdateGroup API.
|
|
7503
8980
|
*/
|
|
7504
8981
|
updateGroup(updateGroupRequest) {
|
|
7505
8982
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7513,7 +8990,8 @@ class IdentityClient {
|
|
|
7513
8990
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7514
8991
|
"if-match": updateGroupRequest.ifMatch
|
|
7515
8992
|
};
|
|
7516
|
-
const
|
|
8993
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
8994
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateGroupRequest.retryConfiguration, specRetryConfiguration);
|
|
7517
8995
|
if (this.logger)
|
|
7518
8996
|
retrier.logger = this.logger;
|
|
7519
8997
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7555,12 +9033,16 @@ class IdentityClient {
|
|
|
7555
9033
|
});
|
|
7556
9034
|
}
|
|
7557
9035
|
/**
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
9036
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
9037
|
+
* <p>
|
|
9038
|
+
Updates the specified identity provider.
|
|
9039
|
+
*
|
|
9040
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9041
|
+
* @param UpdateIdentityProviderRequest
|
|
9042
|
+
* @return UpdateIdentityProviderResponse
|
|
9043
|
+
* @throws OciError when an error occurs
|
|
9044
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateIdentityProvider.ts.html |here} to see how to use UpdateIdentityProvider API.
|
|
9045
|
+
*/
|
|
7564
9046
|
updateIdentityProvider(updateIdentityProviderRequest) {
|
|
7565
9047
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7566
9048
|
if (this.logger)
|
|
@@ -7573,7 +9055,8 @@ class IdentityClient {
|
|
|
7573
9055
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7574
9056
|
"if-match": updateIdentityProviderRequest.ifMatch
|
|
7575
9057
|
};
|
|
7576
|
-
const
|
|
9058
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9059
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateIdentityProviderRequest.retryConfiguration, specRetryConfiguration);
|
|
7577
9060
|
if (this.logger)
|
|
7578
9061
|
retrier.logger = this.logger;
|
|
7579
9062
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7615,12 +9098,16 @@ class IdentityClient {
|
|
|
7615
9098
|
});
|
|
7616
9099
|
}
|
|
7617
9100
|
/**
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
9101
|
+
* **Deprecated.** For more information, see [Deprecated IAM Service APIs](https://docs.cloud.oracle.com/Content/Identity/Reference/deprecatediamapis.htm).
|
|
9102
|
+
* <p>
|
|
9103
|
+
Updates the specified group mapping.
|
|
9104
|
+
*
|
|
9105
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
9106
|
+
* @param UpdateIdpGroupMappingRequest
|
|
9107
|
+
* @return UpdateIdpGroupMappingResponse
|
|
9108
|
+
* @throws OciError when an error occurs
|
|
9109
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateIdpGroupMapping.ts.html |here} to see how to use UpdateIdpGroupMapping API.
|
|
9110
|
+
*/
|
|
7624
9111
|
updateIdpGroupMapping(updateIdpGroupMappingRequest) {
|
|
7625
9112
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7626
9113
|
if (this.logger)
|
|
@@ -7634,7 +9121,8 @@ class IdentityClient {
|
|
|
7634
9121
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7635
9122
|
"if-match": updateIdpGroupMappingRequest.ifMatch
|
|
7636
9123
|
};
|
|
7637
|
-
const
|
|
9124
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9125
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateIdpGroupMappingRequest.retryConfiguration, specRetryConfiguration);
|
|
7638
9126
|
if (this.logger)
|
|
7639
9127
|
retrier.logger = this.logger;
|
|
7640
9128
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7677,10 +9165,11 @@ class IdentityClient {
|
|
|
7677
9165
|
}
|
|
7678
9166
|
/**
|
|
7679
9167
|
* Updates the specified network source.
|
|
9168
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7680
9169
|
* @param UpdateNetworkSourceRequest
|
|
7681
9170
|
* @return UpdateNetworkSourceResponse
|
|
7682
9171
|
* @throws OciError when an error occurs
|
|
7683
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9172
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateNetworkSource.ts.html |here} to see how to use UpdateNetworkSource API.
|
|
7684
9173
|
*/
|
|
7685
9174
|
updateNetworkSource(updateNetworkSourceRequest) {
|
|
7686
9175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7694,7 +9183,8 @@ class IdentityClient {
|
|
|
7694
9183
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7695
9184
|
"if-match": updateNetworkSourceRequest.ifMatch
|
|
7696
9185
|
};
|
|
7697
|
-
const
|
|
9186
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9187
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNetworkSourceRequest.retryConfiguration, specRetryConfiguration);
|
|
7698
9188
|
if (this.logger)
|
|
7699
9189
|
retrier.logger = this.logger;
|
|
7700
9190
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7738,10 +9228,11 @@ class IdentityClient {
|
|
|
7738
9228
|
/**
|
|
7739
9229
|
* Updates Oauth token for the user
|
|
7740
9230
|
*
|
|
9231
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7741
9232
|
* @param UpdateOAuthClientCredentialRequest
|
|
7742
9233
|
* @return UpdateOAuthClientCredentialResponse
|
|
7743
9234
|
* @throws OciError when an error occurs
|
|
7744
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9235
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateOAuthClientCredential.ts.html |here} to see how to use UpdateOAuthClientCredential API.
|
|
7745
9236
|
*/
|
|
7746
9237
|
updateOAuthClientCredential(updateOAuthClientCredentialRequest) {
|
|
7747
9238
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7756,7 +9247,8 @@ class IdentityClient {
|
|
|
7756
9247
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7757
9248
|
"if-match": updateOAuthClientCredentialRequest.ifMatch
|
|
7758
9249
|
};
|
|
7759
|
-
const
|
|
9250
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9251
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateOAuthClientCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
7760
9252
|
if (this.logger)
|
|
7761
9253
|
retrier.logger = this.logger;
|
|
7762
9254
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7802,10 +9294,11 @@ class IdentityClient {
|
|
|
7802
9294
|
* <p>
|
|
7803
9295
|
Policy changes take effect typically within 10 seconds.
|
|
7804
9296
|
*
|
|
9297
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7805
9298
|
* @param UpdatePolicyRequest
|
|
7806
9299
|
* @return UpdatePolicyResponse
|
|
7807
9300
|
* @throws OciError when an error occurs
|
|
7808
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9301
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdatePolicy.ts.html |here} to see how to use UpdatePolicy API.
|
|
7809
9302
|
*/
|
|
7810
9303
|
updatePolicy(updatePolicyRequest) {
|
|
7811
9304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7819,7 +9312,8 @@ class IdentityClient {
|
|
|
7819
9312
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7820
9313
|
"if-match": updatePolicyRequest.ifMatch
|
|
7821
9314
|
};
|
|
7822
|
-
const
|
|
9315
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9316
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updatePolicyRequest.retryConfiguration, specRetryConfiguration);
|
|
7823
9317
|
if (this.logger)
|
|
7824
9318
|
retrier.logger = this.logger;
|
|
7825
9319
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7863,10 +9357,11 @@ class IdentityClient {
|
|
|
7863
9357
|
/**
|
|
7864
9358
|
* Updates the specified SMTP credential's description.
|
|
7865
9359
|
*
|
|
9360
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7866
9361
|
* @param UpdateSmtpCredentialRequest
|
|
7867
9362
|
* @return UpdateSmtpCredentialResponse
|
|
7868
9363
|
* @throws OciError when an error occurs
|
|
7869
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9364
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateSmtpCredential.ts.html |here} to see how to use UpdateSmtpCredential API.
|
|
7870
9365
|
*/
|
|
7871
9366
|
updateSmtpCredential(updateSmtpCredentialRequest) {
|
|
7872
9367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7881,7 +9376,8 @@ class IdentityClient {
|
|
|
7881
9376
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7882
9377
|
"if-match": updateSmtpCredentialRequest.ifMatch
|
|
7883
9378
|
};
|
|
7884
|
-
const
|
|
9379
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9380
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSmtpCredentialRequest.retryConfiguration, specRetryConfiguration);
|
|
7885
9381
|
if (this.logger)
|
|
7886
9382
|
retrier.logger = this.logger;
|
|
7887
9383
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7927,10 +9423,11 @@ class IdentityClient {
|
|
|
7927
9423
|
* <p>
|
|
7928
9424
|
Updates the specified Swift password's description.
|
|
7929
9425
|
*
|
|
9426
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
7930
9427
|
* @param UpdateSwiftPasswordRequest
|
|
7931
9428
|
* @return UpdateSwiftPasswordResponse
|
|
7932
9429
|
* @throws OciError when an error occurs
|
|
7933
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9430
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateSwiftPassword.ts.html |here} to see how to use UpdateSwiftPassword API.
|
|
7934
9431
|
*/
|
|
7935
9432
|
updateSwiftPassword(updateSwiftPasswordRequest) {
|
|
7936
9433
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -7945,7 +9442,8 @@ class IdentityClient {
|
|
|
7945
9442
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
7946
9443
|
"if-match": updateSwiftPasswordRequest.ifMatch
|
|
7947
9444
|
};
|
|
7948
|
-
const
|
|
9445
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9446
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateSwiftPasswordRequest.retryConfiguration, specRetryConfiguration);
|
|
7949
9447
|
if (this.logger)
|
|
7950
9448
|
retrier.logger = this.logger;
|
|
7951
9449
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -7998,10 +9496,11 @@ class IdentityClient {
|
|
|
7998
9496
|
You cannot remove list values that appear in a TagDefault. To remove a list value that
|
|
7999
9497
|
* appears in a TagDefault, first update the TagDefault to use a different value.
|
|
8000
9498
|
*
|
|
9499
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8001
9500
|
* @param UpdateTagRequest
|
|
8002
9501
|
* @return UpdateTagResponse
|
|
8003
9502
|
* @throws OciError when an error occurs
|
|
8004
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9503
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateTag.ts.html |here} to see how to use UpdateTag API.
|
|
8005
9504
|
*/
|
|
8006
9505
|
updateTag(updateTagRequest) {
|
|
8007
9506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8016,7 +9515,8 @@ class IdentityClient {
|
|
|
8016
9515
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8017
9516
|
"if-match": updateTagRequest.ifMatch
|
|
8018
9517
|
};
|
|
8019
|
-
const
|
|
9518
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9519
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTagRequest.retryConfiguration, specRetryConfiguration);
|
|
8020
9520
|
if (this.logger)
|
|
8021
9521
|
retrier.logger = this.logger;
|
|
8022
9522
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8065,10 +9565,11 @@ class IdentityClient {
|
|
|
8065
9565
|
* If the `isRequired` flag is set to \"true\", the value is set during resource creation.
|
|
8066
9566
|
* * If the `isRequired` flag is set to \"false\", the value you enter is set during resource creation.
|
|
8067
9567
|
*
|
|
9568
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8068
9569
|
* @param UpdateTagDefaultRequest
|
|
8069
9570
|
* @return UpdateTagDefaultResponse
|
|
8070
9571
|
* @throws OciError when an error occurs
|
|
8071
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9572
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateTagDefault.ts.html |here} to see how to use UpdateTagDefault API.
|
|
8072
9573
|
*/
|
|
8073
9574
|
updateTagDefault(updateTagDefaultRequest) {
|
|
8074
9575
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8083,7 +9584,8 @@ class IdentityClient {
|
|
|
8083
9584
|
"if-match": updateTagDefaultRequest.ifMatch,
|
|
8084
9585
|
"opc-request-id": updateTagDefaultRequest.opcRequestId
|
|
8085
9586
|
};
|
|
8086
|
-
const
|
|
9587
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9588
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTagDefaultRequest.retryConfiguration, specRetryConfiguration);
|
|
8087
9589
|
if (this.logger)
|
|
8088
9590
|
retrier.logger = this.logger;
|
|
8089
9591
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8135,10 +9637,11 @@ class IdentityClient {
|
|
|
8135
9637
|
* <p>
|
|
8136
9638
|
You can't add a namespace with the same name as a retired namespace in the same tenancy.
|
|
8137
9639
|
*
|
|
9640
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8138
9641
|
* @param UpdateTagNamespaceRequest
|
|
8139
9642
|
* @return UpdateTagNamespaceResponse
|
|
8140
9643
|
* @throws OciError when an error occurs
|
|
8141
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9644
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateTagNamespace.ts.html |here} to see how to use UpdateTagNamespace API.
|
|
8142
9645
|
*/
|
|
8143
9646
|
updateTagNamespace(updateTagNamespaceRequest) {
|
|
8144
9647
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8151,7 +9654,8 @@ class IdentityClient {
|
|
|
8151
9654
|
let headerParams = {
|
|
8152
9655
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
8153
9656
|
};
|
|
8154
|
-
const
|
|
9657
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9658
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateTagNamespaceRequest.retryConfiguration, specRetryConfiguration);
|
|
8155
9659
|
if (this.logger)
|
|
8156
9660
|
retrier.logger = this.logger;
|
|
8157
9661
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8189,10 +9693,11 @@ class IdentityClient {
|
|
|
8189
9693
|
}
|
|
8190
9694
|
/**
|
|
8191
9695
|
* Updates the description of the specified user.
|
|
9696
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8192
9697
|
* @param UpdateUserRequest
|
|
8193
9698
|
* @return UpdateUserResponse
|
|
8194
9699
|
* @throws OciError when an error occurs
|
|
8195
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9700
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateUser.ts.html |here} to see how to use UpdateUser API.
|
|
8196
9701
|
*/
|
|
8197
9702
|
updateUser(updateUserRequest) {
|
|
8198
9703
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8206,7 +9711,8 @@ class IdentityClient {
|
|
|
8206
9711
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8207
9712
|
"if-match": updateUserRequest.ifMatch
|
|
8208
9713
|
};
|
|
8209
|
-
const
|
|
9714
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9715
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUserRequest.retryConfiguration, specRetryConfiguration);
|
|
8210
9716
|
if (this.logger)
|
|
8211
9717
|
retrier.logger = this.logger;
|
|
8212
9718
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8250,10 +9756,11 @@ class IdentityClient {
|
|
|
8250
9756
|
/**
|
|
8251
9757
|
* Updates the capabilities of the specified user.
|
|
8252
9758
|
*
|
|
9759
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8253
9760
|
* @param UpdateUserCapabilitiesRequest
|
|
8254
9761
|
* @return UpdateUserCapabilitiesResponse
|
|
8255
9762
|
* @throws OciError when an error occurs
|
|
8256
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9763
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateUserCapabilities.ts.html |here} to see how to use UpdateUserCapabilities API.
|
|
8257
9764
|
*/
|
|
8258
9765
|
updateUserCapabilities(updateUserCapabilitiesRequest) {
|
|
8259
9766
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8267,7 +9774,8 @@ class IdentityClient {
|
|
|
8267
9774
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8268
9775
|
"if-match": updateUserCapabilitiesRequest.ifMatch
|
|
8269
9776
|
};
|
|
8270
|
-
const
|
|
9777
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9778
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUserCapabilitiesRequest.retryConfiguration, specRetryConfiguration);
|
|
8271
9779
|
if (this.logger)
|
|
8272
9780
|
retrier.logger = this.logger;
|
|
8273
9781
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8311,10 +9819,11 @@ class IdentityClient {
|
|
|
8311
9819
|
/**
|
|
8312
9820
|
* Updates the state of the specified user.
|
|
8313
9821
|
*
|
|
9822
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8314
9823
|
* @param UpdateUserStateRequest
|
|
8315
9824
|
* @return UpdateUserStateResponse
|
|
8316
9825
|
* @throws OciError when an error occurs
|
|
8317
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9826
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UpdateUserState.ts.html |here} to see how to use UpdateUserState API.
|
|
8318
9827
|
*/
|
|
8319
9828
|
updateUserState(updateUserStateRequest) {
|
|
8320
9829
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8328,7 +9837,8 @@ class IdentityClient {
|
|
|
8328
9837
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8329
9838
|
"if-match": updateUserStateRequest.ifMatch
|
|
8330
9839
|
};
|
|
8331
|
-
const
|
|
9840
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9841
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUserStateRequest.retryConfiguration, specRetryConfiguration);
|
|
8332
9842
|
if (this.logger)
|
|
8333
9843
|
retrier.logger = this.logger;
|
|
8334
9844
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8386,10 +9896,11 @@ class IdentityClient {
|
|
|
8386
9896
|
After you send your request, the new object's `lifecycleState` will temporarily be CREATING. Before using
|
|
8387
9897
|
* the object, first make sure its `lifecycleState` has changed to ACTIVE.
|
|
8388
9898
|
*
|
|
9899
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
8389
9900
|
* @param UploadApiKeyRequest
|
|
8390
9901
|
* @return UploadApiKeyResponse
|
|
8391
9902
|
* @throws OciError when an error occurs
|
|
8392
|
-
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.
|
|
9903
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.7.0/identity/UploadApiKey.ts.html |here} to see how to use UploadApiKey API.
|
|
8393
9904
|
*/
|
|
8394
9905
|
uploadApiKey(uploadApiKeyRequest) {
|
|
8395
9906
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8403,7 +9914,8 @@ class IdentityClient {
|
|
|
8403
9914
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
8404
9915
|
"opc-retry-token": uploadApiKeyRequest.opcRetryToken
|
|
8405
9916
|
};
|
|
8406
|
-
const
|
|
9917
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
9918
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, uploadApiKeyRequest.retryConfiguration, specRetryConfiguration);
|
|
8407
9919
|
if (this.logger)
|
|
8408
9920
|
retrier.logger = this.logger;
|
|
8409
9921
|
const request = yield oci_common_2.composeRequest({
|
|
@@ -8446,5 +9958,5 @@ class IdentityClient {
|
|
|
8446
9958
|
}
|
|
8447
9959
|
}
|
|
8448
9960
|
exports.IdentityClient = IdentityClient;
|
|
8449
|
-
IdentityClient.serviceEndpointTemplate = "https://identity.{region}.{secondLevelDomain}";
|
|
9961
|
+
IdentityClient.serviceEndpointTemplate = "https://identity.{region}.oci.{secondLevelDomain}";
|
|
8450
9962
|
//# sourceMappingURL=client.js.map
|