@aws-sdk/client-acm-pca 3.576.0 → 3.578.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/dist-cjs/index.js
CHANGED
|
@@ -1915,6 +1915,9 @@ var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
1915
1915
|
}
|
|
1916
1916
|
} catch (exception) {
|
|
1917
1917
|
reason = exception;
|
|
1918
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1919
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1920
|
+
}
|
|
1918
1921
|
}
|
|
1919
1922
|
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1920
1923
|
}, "checkState");
|
|
@@ -1941,6 +1944,9 @@ var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
1941
1944
|
if (exception.name && exception.name == "RequestInProgressException") {
|
|
1942
1945
|
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1943
1946
|
}
|
|
1947
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1948
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1949
|
+
}
|
|
1944
1950
|
}
|
|
1945
1951
|
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1946
1952
|
}, "checkState");
|
|
@@ -1967,6 +1973,9 @@ var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
|
|
|
1967
1973
|
if (exception.name && exception.name == "RequestInProgressException") {
|
|
1968
1974
|
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1969
1975
|
}
|
|
1976
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
1977
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1978
|
+
}
|
|
1970
1979
|
}
|
|
1971
1980
|
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1972
1981
|
}, "checkState");
|
|
@@ -26,6 +26,9 @@ const checkState = async (client, input) => {
|
|
|
26
26
|
}
|
|
27
27
|
catch (exception) {
|
|
28
28
|
reason = exception;
|
|
29
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
30
|
+
return { state: WaiterState.FAILURE, reason };
|
|
31
|
+
}
|
|
29
32
|
}
|
|
30
33
|
return { state: WaiterState.RETRY, reason };
|
|
31
34
|
};
|
|
@@ -12,6 +12,9 @@ const checkState = async (client, input) => {
|
|
|
12
12
|
if (exception.name && exception.name == "RequestInProgressException") {
|
|
13
13
|
return { state: WaiterState.RETRY, reason };
|
|
14
14
|
}
|
|
15
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
16
|
+
return { state: WaiterState.FAILURE, reason };
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
return { state: WaiterState.RETRY, reason };
|
|
17
20
|
};
|
|
@@ -12,6 +12,9 @@ const checkState = async (client, input) => {
|
|
|
12
12
|
if (exception.name && exception.name == "RequestInProgressException") {
|
|
13
13
|
return { state: WaiterState.RETRY, reason };
|
|
14
14
|
}
|
|
15
|
+
if (exception.name && exception.name == "AccessDeniedException") {
|
|
16
|
+
return { state: WaiterState.FAILURE, reason };
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
return { state: WaiterState.RETRY, reason };
|
|
17
20
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm-pca",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Pca Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.578.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-acm-pca",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.577.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.577.0",
|
|
25
25
|
"@aws-sdk/core": "3.576.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.577.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.577.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.577.0",
|
|
32
|
+
"@aws-sdk/types": "3.577.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.577.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.577.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.0",
|
|
37
37
|
"@smithy/core": "^2.0.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.0",
|