@aws-sdk/client-acm 3.1075.0 → 3.1077.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/README.md +161 -7
- package/dist-cjs/index.js +2459 -33
- package/dist-es/ACM.js +60 -0
- package/dist-es/commands/AddTagsToCertificateCommand.js +4 -1
- package/dist-es/commands/CreateAcmeDomainValidationCommand.js +19 -0
- package/dist-es/commands/CreateAcmeEndpointCommand.js +19 -0
- package/dist-es/commands/CreateAcmeExternalAccountBindingCommand.js +19 -0
- package/dist-es/commands/DeleteAcmeDomainValidationCommand.js +19 -0
- package/dist-es/commands/DeleteAcmeEndpointCommand.js +19 -0
- package/dist-es/commands/DeleteAcmeExternalAccountBindingCommand.js +19 -0
- package/dist-es/commands/DeleteCertificateCommand.js +4 -1
- package/dist-es/commands/DescribeAcmeAccountCommand.js +19 -0
- package/dist-es/commands/DescribeAcmeDomainValidationCommand.js +19 -0
- package/dist-es/commands/DescribeAcmeEndpointCommand.js +19 -0
- package/dist-es/commands/DescribeAcmeExternalAccountBindingCommand.js +19 -0
- package/dist-es/commands/DescribeCertificateCommand.js +4 -1
- package/dist-es/commands/ExportCertificateCommand.js +4 -1
- package/dist-es/commands/GetAccountConfigurationCommand.js +4 -1
- package/dist-es/commands/GetAcmeExternalAccountBindingCredentialsCommand.js +19 -0
- package/dist-es/commands/GetCertificateCommand.js +4 -1
- package/dist-es/commands/ImportCertificateCommand.js +4 -1
- package/dist-es/commands/ListAcmeAccountsCommand.js +19 -0
- package/dist-es/commands/ListAcmeDomainValidationsCommand.js +19 -0
- package/dist-es/commands/ListAcmeEndpointsCommand.js +19 -0
- package/dist-es/commands/ListAcmeExternalAccountBindingsCommand.js +19 -0
- package/dist-es/commands/ListCertificatesCommand.js +4 -1
- package/dist-es/commands/ListTagsForCertificateCommand.js +4 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +19 -0
- package/dist-es/commands/PutAccountConfigurationCommand.js +4 -1
- package/dist-es/commands/RemoveTagsFromCertificateCommand.js +4 -1
- package/dist-es/commands/RenewCertificateCommand.js +4 -1
- package/dist-es/commands/RequestCertificateCommand.js +4 -1
- package/dist-es/commands/ResendValidationEmailCommand.js +4 -1
- package/dist-es/commands/RevokeAcmeAccountCommand.js +19 -0
- package/dist-es/commands/RevokeAcmeExternalAccountBindingCommand.js +19 -0
- package/dist-es/commands/RevokeCertificateCommand.js +4 -1
- package/dist-es/commands/SearchCertificatesCommand.js +4 -1
- package/dist-es/commands/TagResourceCommand.js +19 -0
- package/dist-es/commands/UntagResourceCommand.js +19 -0
- package/dist-es/commands/UpdateAcmeDomainValidationCommand.js +19 -0
- package/dist-es/commands/UpdateAcmeEndpointCommand.js +19 -0
- package/dist-es/commands/UpdateCertificateOptionsCommand.js +4 -1
- package/dist-es/commands/index.js +22 -0
- package/dist-es/endpoint/EndpointParameters.js +4 -1
- package/dist-es/endpoint/bdd.js +27 -35
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/enums.js +60 -0
- package/dist-es/models/errors.js +37 -12
- package/dist-es/pagination/ListAcmeAccountsPaginator.js +4 -0
- package/dist-es/pagination/ListAcmeDomainValidationsPaginator.js +4 -0
- package/dist-es/pagination/ListAcmeEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListAcmeExternalAccountBindingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +512 -39
- package/dist-es/waiters/index.js +4 -0
- package/dist-es/waiters/waitForAcmeDomainValidationDeleted.js +34 -0
- package/dist-es/waiters/waitForAcmeDomainValidationValidated.js +49 -0
- package/dist-es/waiters/waitForAcmeEndpointActive.js +49 -0
- package/dist-es/waiters/waitForAcmeEndpointDeleted.js +34 -0
- package/dist-types/ACM.d.ts +208 -0
- package/dist-types/ACMClient.d.ts +24 -2
- package/dist-types/commands/AddTagsToCertificateCommand.d.ts +4 -1
- package/dist-types/commands/CreateAcmeDomainValidationCommand.d.ts +115 -0
- package/dist-types/commands/CreateAcmeEndpointCommand.d.ts +115 -0
- package/dist-types/commands/CreateAcmeExternalAccountBindingCommand.d.ts +118 -0
- package/dist-types/commands/DeleteAcmeDomainValidationCommand.d.ts +89 -0
- package/dist-types/commands/DeleteAcmeEndpointCommand.d.ts +89 -0
- package/dist-types/commands/DeleteAcmeExternalAccountBindingCommand.d.ts +86 -0
- package/dist-types/commands/DeleteCertificateCommand.d.ts +4 -1
- package/dist-types/commands/DescribeAcmeAccountCommand.d.ts +101 -0
- package/dist-types/commands/DescribeAcmeDomainValidationCommand.d.ts +118 -0
- package/dist-types/commands/DescribeAcmeEndpointCommand.d.ts +113 -0
- package/dist-types/commands/DescribeAcmeExternalAccountBindingCommand.d.ts +100 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +6 -0
- package/dist-types/commands/ExportCertificateCommand.d.ts +3 -0
- package/dist-types/commands/GetAcmeExternalAccountBindingCredentialsCommand.d.ts +92 -0
- package/dist-types/commands/GetCertificateCommand.d.ts +3 -0
- package/dist-types/commands/ImportCertificateCommand.d.ts +3 -0
- package/dist-types/commands/ListAcmeAccountsCommand.d.ts +105 -0
- package/dist-types/commands/ListAcmeDomainValidationsCommand.d.ts +123 -0
- package/dist-types/commands/ListAcmeEndpointsCommand.d.ts +114 -0
- package/dist-types/commands/ListAcmeExternalAccountBindingsCommand.d.ts +105 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +5 -1
- package/dist-types/commands/ListTagsForCertificateCommand.d.ts +4 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +87 -0
- package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +4 -1
- package/dist-types/commands/RenewCertificateCommand.d.ts +3 -0
- package/dist-types/commands/ResendValidationEmailCommand.d.ts +3 -0
- package/dist-types/commands/RevokeAcmeAccountCommand.d.ts +93 -0
- package/dist-types/commands/RevokeAcmeExternalAccountBindingCommand.d.ts +92 -0
- package/dist-types/commands/RevokeCertificateCommand.d.ts +3 -0
- package/dist-types/commands/SearchCertificatesCommand.d.ts +10 -1
- package/dist-types/commands/TagResourceCommand.d.ts +89 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +83 -0
- package/dist-types/commands/UpdateAcmeDomainValidationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateAcmeEndpointCommand.d.ts +101 -0
- package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +22 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +14 -5
- package/dist-types/models/enums.d.ts +148 -0
- package/dist-types/models/errors.d.ts +37 -12
- package/dist-types/models/models_0.d.ts +1284 -67
- package/dist-types/pagination/ListAcmeAccountsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAcmeDomainValidationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAcmeEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAcmeExternalAccountBindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +76 -0
- package/dist-types/ts3.4/ACM.d.ts +452 -0
- package/dist-types/ts3.4/ACMClient.d.ts +132 -0
- package/dist-types/ts3.4/commands/CreateAcmeDomainValidationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateAcmeEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/CreateAcmeExternalAccountBindingCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteAcmeDomainValidationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteAcmeEndpointCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/DeleteAcmeExternalAccountBindingCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DescribeAcmeAccountCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribeAcmeDomainValidationCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribeAcmeEndpointCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DescribeAcmeExternalAccountBindingCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetAcmeExternalAccountBindingCredentialsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAcmeAccountsCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListAcmeDomainValidationsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAcmeEndpointsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListAcmeExternalAccountBindingsCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/RevokeAcmeAccountCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/RevokeAcmeExternalAccountBindingCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateAcmeDomainValidationCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateAcmeEndpointCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/index.d.ts +22 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +14 -5
- package/dist-types/ts3.4/models/enums.d.ts +80 -0
- package/dist-types/ts3.4/models/errors.d.ts +22 -7
- package/dist-types/ts3.4/models/models_0.d.ts +395 -5
- package/dist-types/ts3.4/pagination/ListAcmeAccountsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAcmeDomainValidationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAcmeEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAcmeExternalAccountBindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +18 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +18 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +18 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +76 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/ts3.4/waiters/waitForAcmeDomainValidationDeleted.d.ts +18 -0
- package/dist-types/ts3.4/waiters/waitForAcmeDomainValidationValidated.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForAcmeEndpointActive.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForAcmeEndpointDeleted.d.ts +18 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/dist-types/waiters/waitForAcmeDomainValidationDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForAcmeDomainValidationValidated.d.ts +15 -0
- package/dist-types/waiters/waitForAcmeEndpointActive.d.ts +15 -0
- package/dist-types/waiters/waitForAcmeEndpointDeleted.d.ts +16 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ACMServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -197
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -778
|
@@ -21,8 +21,13 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
|
21
21
|
| RequestHandler
|
|
22
22
|
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
23
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
streamCollector: (
|
|
25
|
+
stream:
|
|
26
|
+
| import("stream").Readable
|
|
27
|
+
| import("stream/web").ReadableStream
|
|
28
|
+
| ReadableStream
|
|
29
|
+
| Blob
|
|
30
|
+
) => Promise<Uint8Array>;
|
|
26
31
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
32
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
33
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -36,6 +41,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
|
36
41
|
[setting: string]: unknown;
|
|
37
42
|
};
|
|
38
43
|
apiVersion: string;
|
|
44
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
39
45
|
urlParser: import("@smithy/types").UrlParser;
|
|
40
46
|
base64Decoder: import("@smithy/types").Decoder;
|
|
41
47
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -92,4 +98,14 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
|
92
98
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
99
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
100
|
) => import("@smithy/types").RequestSigner;
|
|
101
|
+
clientContextParams?: {
|
|
102
|
+
serviceType?:
|
|
103
|
+
| string
|
|
104
|
+
| undefined
|
|
105
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
106
|
+
};
|
|
107
|
+
serviceType?:
|
|
108
|
+
| string
|
|
109
|
+
| undefined
|
|
110
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
95
111
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ACMClientConfig } from "./ACMClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
5
4
|
requestHandler:
|
|
6
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
6
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -18,9 +17,16 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
|
18
17
|
[setting: string]: unknown;
|
|
19
18
|
};
|
|
20
19
|
apiVersion: string;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
|
-
streamCollector:
|
|
23
|
+
streamCollector: (
|
|
24
|
+
stream:
|
|
25
|
+
| import("stream").Readable
|
|
26
|
+
| import("stream/web").ReadableStream
|
|
27
|
+
| ReadableStream
|
|
28
|
+
| Blob
|
|
29
|
+
) => Promise<Uint8Array>;
|
|
24
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
25
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
26
32
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -101,4 +107,14 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
|
101
107
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
102
108
|
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
103
109
|
) => import("@smithy/types").RequestSigner;
|
|
110
|
+
clientContextParams?: {
|
|
111
|
+
serviceType?:
|
|
112
|
+
| string
|
|
113
|
+
| undefined
|
|
114
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
115
|
+
};
|
|
116
|
+
serviceType?:
|
|
117
|
+
| string
|
|
118
|
+
| undefined
|
|
119
|
+
| import("@smithy/types").Provider<string | undefined>;
|
|
104
120
|
};
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
|
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
};
|
|
26
26
|
serviceId: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
30
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
export declare var ACMServiceException$: StaticErrorSchema;
|
|
9
9
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
10
10
|
export declare var ConflictException$: StaticErrorSchema;
|
|
11
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
12
|
export declare var InvalidArgsException$: StaticErrorSchema;
|
|
12
13
|
export declare var InvalidArnException$: StaticErrorSchema;
|
|
13
14
|
export declare var InvalidDomainValidationOptionsException$: StaticErrorSchema;
|
|
@@ -18,43 +19,87 @@ export declare var LimitExceededException$: StaticErrorSchema;
|
|
|
18
19
|
export declare var RequestInProgressException$: StaticErrorSchema;
|
|
19
20
|
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
20
21
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
22
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
21
23
|
export declare var TagPolicyException$: StaticErrorSchema;
|
|
22
24
|
export declare var ThrottlingException$: StaticErrorSchema;
|
|
23
25
|
export declare var TooManyTagsException$: StaticErrorSchema;
|
|
24
26
|
export declare var ValidationException$: StaticErrorSchema;
|
|
25
27
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
26
28
|
export declare var AcmCertificateMetadata$: StaticStructureSchema;
|
|
29
|
+
export declare var AcmeAccount$: StaticStructureSchema;
|
|
30
|
+
export declare var AcmeAccountSummary$: StaticStructureSchema;
|
|
31
|
+
export declare var AcmeDomainValidation$: StaticStructureSchema;
|
|
32
|
+
export declare var AcmeDomainValidationSummary$: StaticStructureSchema;
|
|
33
|
+
export declare var AcmeEndpoint$: StaticStructureSchema;
|
|
34
|
+
export declare var AcmeEndpointSummary$: StaticStructureSchema;
|
|
35
|
+
export declare var AcmeExternalAccountBinding$: StaticStructureSchema;
|
|
36
|
+
export declare var AcmeExternalAccountBindingSummary$: StaticStructureSchema;
|
|
27
37
|
export declare var AddTagsToCertificateRequest$: StaticStructureSchema;
|
|
28
38
|
export declare var CertificateDetail$: StaticStructureSchema;
|
|
29
39
|
export declare var CertificateOptions$: StaticStructureSchema;
|
|
30
40
|
export declare var CertificateSearchResult$: StaticStructureSchema;
|
|
31
41
|
export declare var CertificateSummary$: StaticStructureSchema;
|
|
32
42
|
export declare var CommonNameFilter$: StaticStructureSchema;
|
|
43
|
+
export declare var CreateAcmeDomainValidationRequest$: StaticStructureSchema;
|
|
44
|
+
export declare var CreateAcmeDomainValidationResponse$: StaticStructureSchema;
|
|
45
|
+
export declare var CreateAcmeEndpointRequest$: StaticStructureSchema;
|
|
46
|
+
export declare var CreateAcmeEndpointResponse$: StaticStructureSchema;
|
|
47
|
+
export declare var CreateAcmeExternalAccountBindingRequest$: StaticStructureSchema;
|
|
48
|
+
export declare var CreateAcmeExternalAccountBindingResponse$: StaticStructureSchema;
|
|
33
49
|
export declare var CustomAttribute$: StaticStructureSchema;
|
|
50
|
+
export declare var DeleteAcmeDomainValidationRequest$: StaticStructureSchema;
|
|
51
|
+
export declare var DeleteAcmeEndpointRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var DeleteAcmeExternalAccountBindingRequest$: StaticStructureSchema;
|
|
34
53
|
export declare var DeleteCertificateRequest$: StaticStructureSchema;
|
|
54
|
+
export declare var DescribeAcmeAccountRequest$: StaticStructureSchema;
|
|
55
|
+
export declare var DescribeAcmeAccountResponse$: StaticStructureSchema;
|
|
56
|
+
export declare var DescribeAcmeDomainValidationRequest$: StaticStructureSchema;
|
|
57
|
+
export declare var DescribeAcmeDomainValidationResponse$: StaticStructureSchema;
|
|
58
|
+
export declare var DescribeAcmeEndpointRequest$: StaticStructureSchema;
|
|
59
|
+
export declare var DescribeAcmeEndpointResponse$: StaticStructureSchema;
|
|
60
|
+
export declare var DescribeAcmeExternalAccountBindingRequest$: StaticStructureSchema;
|
|
61
|
+
export declare var DescribeAcmeExternalAccountBindingResponse$: StaticStructureSchema;
|
|
35
62
|
export declare var DescribeCertificateRequest$: StaticStructureSchema;
|
|
36
63
|
export declare var DescribeCertificateResponse$: StaticStructureSchema;
|
|
37
64
|
export declare var DistinguishedName$: StaticStructureSchema;
|
|
38
65
|
export declare var DnsNameFilter$: StaticStructureSchema;
|
|
66
|
+
export declare var DnsPrevalidationDetails$: StaticStructureSchema;
|
|
67
|
+
export declare var DnsPrevalidationOptions$: StaticStructureSchema;
|
|
68
|
+
export declare var DomainScope$: StaticStructureSchema;
|
|
39
69
|
export declare var DomainValidation$: StaticStructureSchema;
|
|
40
70
|
export declare var DomainValidationOption$: StaticStructureSchema;
|
|
71
|
+
export declare var Expiration$: StaticStructureSchema;
|
|
41
72
|
export declare var ExpiryEventsConfiguration$: StaticStructureSchema;
|
|
42
73
|
export declare var ExportCertificateRequest$: StaticStructureSchema;
|
|
43
74
|
export declare var ExportCertificateResponse$: StaticStructureSchema;
|
|
44
75
|
export declare var ExtendedKeyUsage$: StaticStructureSchema;
|
|
76
|
+
export declare var FailureDetails$: StaticStructureSchema;
|
|
45
77
|
export declare var Filters$: StaticStructureSchema;
|
|
46
78
|
export declare var GetAccountConfigurationResponse$: StaticStructureSchema;
|
|
79
|
+
export declare var GetAcmeExternalAccountBindingCredentialsRequest$: StaticStructureSchema;
|
|
80
|
+
export declare var GetAcmeExternalAccountBindingCredentialsResponse$: StaticStructureSchema;
|
|
47
81
|
export declare var GetCertificateRequest$: StaticStructureSchema;
|
|
48
82
|
export declare var GetCertificateResponse$: StaticStructureSchema;
|
|
49
83
|
export declare var HttpRedirect$: StaticStructureSchema;
|
|
50
84
|
export declare var ImportCertificateRequest$: StaticStructureSchema;
|
|
51
85
|
export declare var ImportCertificateResponse$: StaticStructureSchema;
|
|
52
86
|
export declare var KeyUsage$: StaticStructureSchema;
|
|
87
|
+
export declare var ListAcmeAccountsRequest$: StaticStructureSchema;
|
|
88
|
+
export declare var ListAcmeAccountsResponse$: StaticStructureSchema;
|
|
89
|
+
export declare var ListAcmeDomainValidationsRequest$: StaticStructureSchema;
|
|
90
|
+
export declare var ListAcmeDomainValidationsResponse$: StaticStructureSchema;
|
|
91
|
+
export declare var ListAcmeEndpointsRequest$: StaticStructureSchema;
|
|
92
|
+
export declare var ListAcmeEndpointsResponse$: StaticStructureSchema;
|
|
93
|
+
export declare var ListAcmeExternalAccountBindingsRequest$: StaticStructureSchema;
|
|
94
|
+
export declare var ListAcmeExternalAccountBindingsResponse$: StaticStructureSchema;
|
|
53
95
|
export declare var ListCertificatesRequest$: StaticStructureSchema;
|
|
54
96
|
export declare var ListCertificatesResponse$: StaticStructureSchema;
|
|
55
97
|
export declare var ListTagsForCertificateRequest$: StaticStructureSchema;
|
|
56
98
|
export declare var ListTagsForCertificateResponse$: StaticStructureSchema;
|
|
99
|
+
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
100
|
+
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
57
101
|
export declare var OtherName$: StaticStructureSchema;
|
|
102
|
+
export declare var PublicCertificateAuthority$: StaticStructureSchema;
|
|
58
103
|
export declare var PutAccountConfigurationRequest$: StaticStructureSchema;
|
|
59
104
|
export declare var RemoveTagsFromCertificateRequest$: StaticStructureSchema;
|
|
60
105
|
export declare var RenewalSummary$: StaticStructureSchema;
|
|
@@ -63,37 +108,68 @@ export declare var RequestCertificateRequest$: StaticStructureSchema;
|
|
|
63
108
|
export declare var RequestCertificateResponse$: StaticStructureSchema;
|
|
64
109
|
export declare var ResendValidationEmailRequest$: StaticStructureSchema;
|
|
65
110
|
export declare var ResourceRecord$: StaticStructureSchema;
|
|
111
|
+
export declare var RevokeAcmeAccountRequest$: StaticStructureSchema;
|
|
112
|
+
export declare var RevokeAcmeExternalAccountBindingRequest$: StaticStructureSchema;
|
|
66
113
|
export declare var RevokeCertificateRequest$: StaticStructureSchema;
|
|
67
114
|
export declare var RevokeCertificateResponse$: StaticStructureSchema;
|
|
68
115
|
export declare var SearchCertificatesRequest$: StaticStructureSchema;
|
|
69
116
|
export declare var SearchCertificatesResponse$: StaticStructureSchema;
|
|
70
117
|
export declare var Tag$: StaticStructureSchema;
|
|
118
|
+
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
71
119
|
export declare var ThrottlingReason$: StaticStructureSchema;
|
|
72
120
|
export declare var TimestampRange$: StaticStructureSchema;
|
|
121
|
+
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
122
|
+
export declare var UpdateAcmeDomainValidationRequest$: StaticStructureSchema;
|
|
123
|
+
export declare var UpdateAcmeEndpointRequest$: StaticStructureSchema;
|
|
73
124
|
export declare var UpdateCertificateOptionsRequest$: StaticStructureSchema;
|
|
74
125
|
export declare var X509Attributes$: StaticStructureSchema;
|
|
75
126
|
export declare var AcmCertificateMetadataFilter$: StaticUnionSchema;
|
|
127
|
+
export declare var CertificateAuthority$: StaticUnionSchema;
|
|
76
128
|
export declare var CertificateFilter$: StaticUnionSchema;
|
|
77
129
|
export declare var CertificateFilterStatement$: StaticUnionSchema;
|
|
78
130
|
export declare var CertificateMetadata$: StaticUnionSchema;
|
|
79
131
|
export declare var GeneralName$: StaticUnionSchema;
|
|
132
|
+
export declare var PrevalidationDetails$: StaticUnionSchema;
|
|
133
|
+
export declare var PrevalidationOptions$: StaticUnionSchema;
|
|
80
134
|
export declare var SubjectAlternativeNameFilter$: StaticUnionSchema;
|
|
81
135
|
export declare var SubjectFilter$: StaticUnionSchema;
|
|
82
136
|
export declare var X509AttributeFilter$: StaticUnionSchema;
|
|
83
137
|
export declare var AddTagsToCertificate$: StaticOperationSchema;
|
|
138
|
+
export declare var CreateAcmeDomainValidation$: StaticOperationSchema;
|
|
139
|
+
export declare var CreateAcmeEndpoint$: StaticOperationSchema;
|
|
140
|
+
export declare var CreateAcmeExternalAccountBinding$: StaticOperationSchema;
|
|
141
|
+
export declare var DeleteAcmeDomainValidation$: StaticOperationSchema;
|
|
142
|
+
export declare var DeleteAcmeEndpoint$: StaticOperationSchema;
|
|
143
|
+
export declare var DeleteAcmeExternalAccountBinding$: StaticOperationSchema;
|
|
84
144
|
export declare var DeleteCertificate$: StaticOperationSchema;
|
|
145
|
+
export declare var DescribeAcmeAccount$: StaticOperationSchema;
|
|
146
|
+
export declare var DescribeAcmeDomainValidation$: StaticOperationSchema;
|
|
147
|
+
export declare var DescribeAcmeEndpoint$: StaticOperationSchema;
|
|
148
|
+
export declare var DescribeAcmeExternalAccountBinding$: StaticOperationSchema;
|
|
85
149
|
export declare var DescribeCertificate$: StaticOperationSchema;
|
|
86
150
|
export declare var ExportCertificate$: StaticOperationSchema;
|
|
87
151
|
export declare var GetAccountConfiguration$: StaticOperationSchema;
|
|
152
|
+
export declare var GetAcmeExternalAccountBindingCredentials$: StaticOperationSchema;
|
|
88
153
|
export declare var GetCertificate$: StaticOperationSchema;
|
|
89
154
|
export declare var ImportCertificate$: StaticOperationSchema;
|
|
155
|
+
export declare var ListAcmeAccounts$: StaticOperationSchema;
|
|
156
|
+
export declare var ListAcmeDomainValidations$: StaticOperationSchema;
|
|
157
|
+
export declare var ListAcmeEndpoints$: StaticOperationSchema;
|
|
158
|
+
export declare var ListAcmeExternalAccountBindings$: StaticOperationSchema;
|
|
90
159
|
export declare var ListCertificates$: StaticOperationSchema;
|
|
91
160
|
export declare var ListTagsForCertificate$: StaticOperationSchema;
|
|
161
|
+
export declare var ListTagsForResource$: StaticOperationSchema;
|
|
92
162
|
export declare var PutAccountConfiguration$: StaticOperationSchema;
|
|
93
163
|
export declare var RemoveTagsFromCertificate$: StaticOperationSchema;
|
|
94
164
|
export declare var RenewCertificate$: StaticOperationSchema;
|
|
95
165
|
export declare var RequestCertificate$: StaticOperationSchema;
|
|
96
166
|
export declare var ResendValidationEmail$: StaticOperationSchema;
|
|
167
|
+
export declare var RevokeAcmeAccount$: StaticOperationSchema;
|
|
168
|
+
export declare var RevokeAcmeExternalAccountBinding$: StaticOperationSchema;
|
|
97
169
|
export declare var RevokeCertificate$: StaticOperationSchema;
|
|
98
170
|
export declare var SearchCertificates$: StaticOperationSchema;
|
|
171
|
+
export declare var TagResource$: StaticOperationSchema;
|
|
172
|
+
export declare var UntagResource$: StaticOperationSchema;
|
|
173
|
+
export declare var UpdateAcmeDomainValidation$: StaticOperationSchema;
|
|
174
|
+
export declare var UpdateAcmeEndpoint$: StaticOperationSchema;
|
|
99
175
|
export declare var UpdateCertificateOptions$: StaticOperationSchema;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { ACMClient } from "../ACMClient";
|
|
3
|
+
import {
|
|
4
|
+
DescribeAcmeDomainValidationCommandInput,
|
|
5
|
+
DescribeAcmeDomainValidationCommandOutput,
|
|
6
|
+
} from "../commands/DescribeAcmeDomainValidationCommand";
|
|
7
|
+
import { ACMServiceException } from "../models/ACMServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
9
|
+
export declare const waitForAcmeDomainValidationDeleted: (
|
|
10
|
+
params: WaiterConfiguration<ACMClient>,
|
|
11
|
+
input: DescribeAcmeDomainValidationCommandInput
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<DescribeAcmeDomainValidationCommandOutput | ACMServiceException>
|
|
14
|
+
>;
|
|
15
|
+
export declare const waitUntilAcmeDomainValidationDeleted: (
|
|
16
|
+
params: WaiterConfiguration<ACMClient>,
|
|
17
|
+
input: DescribeAcmeDomainValidationCommandInput
|
|
18
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { ACMClient } from "../ACMClient";
|
|
3
|
+
import {
|
|
4
|
+
DescribeAcmeDomainValidationCommandInput,
|
|
5
|
+
DescribeAcmeDomainValidationCommandOutput,
|
|
6
|
+
} from "../commands/DescribeAcmeDomainValidationCommand";
|
|
7
|
+
import { ACMServiceException } from "../models/ACMServiceException";
|
|
8
|
+
export declare const waitForAcmeDomainValidationValidated: (
|
|
9
|
+
params: WaiterConfiguration<ACMClient>,
|
|
10
|
+
input: DescribeAcmeDomainValidationCommandInput
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeAcmeDomainValidationCommandOutput | ACMServiceException>
|
|
13
|
+
>;
|
|
14
|
+
export declare const waitUntilAcmeDomainValidationValidated: (
|
|
15
|
+
params: WaiterConfiguration<ACMClient>,
|
|
16
|
+
input: DescribeAcmeDomainValidationCommandInput
|
|
17
|
+
) => Promise<WaiterResult<DescribeAcmeDomainValidationCommandOutput>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { ACMClient } from "../ACMClient";
|
|
3
|
+
import {
|
|
4
|
+
DescribeAcmeEndpointCommandInput,
|
|
5
|
+
DescribeAcmeEndpointCommandOutput,
|
|
6
|
+
} from "../commands/DescribeAcmeEndpointCommand";
|
|
7
|
+
import { ACMServiceException } from "../models/ACMServiceException";
|
|
8
|
+
export declare const waitForAcmeEndpointActive: (
|
|
9
|
+
params: WaiterConfiguration<ACMClient>,
|
|
10
|
+
input: DescribeAcmeEndpointCommandInput
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<DescribeAcmeEndpointCommandOutput | ACMServiceException>
|
|
13
|
+
>;
|
|
14
|
+
export declare const waitUntilAcmeEndpointActive: (
|
|
15
|
+
params: WaiterConfiguration<ACMClient>,
|
|
16
|
+
input: DescribeAcmeEndpointCommandInput
|
|
17
|
+
) => Promise<WaiterResult<DescribeAcmeEndpointCommandOutput>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { ACMClient } from "../ACMClient";
|
|
3
|
+
import {
|
|
4
|
+
DescribeAcmeEndpointCommandInput,
|
|
5
|
+
DescribeAcmeEndpointCommandOutput,
|
|
6
|
+
} from "../commands/DescribeAcmeEndpointCommand";
|
|
7
|
+
import { ACMServiceException } from "../models/ACMServiceException";
|
|
8
|
+
import { ResourceNotFoundException } from "../models/errors";
|
|
9
|
+
export declare const waitForAcmeEndpointDeleted: (
|
|
10
|
+
params: WaiterConfiguration<ACMClient>,
|
|
11
|
+
input: DescribeAcmeEndpointCommandInput
|
|
12
|
+
) => Promise<
|
|
13
|
+
WaiterResult<DescribeAcmeEndpointCommandOutput | ACMServiceException>
|
|
14
|
+
>;
|
|
15
|
+
export declare const waitUntilAcmeEndpointDeleted: (
|
|
16
|
+
params: WaiterConfiguration<ACMClient>,
|
|
17
|
+
input: DescribeAcmeEndpointCommandInput
|
|
18
|
+
) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { ACMClient } from "../ACMClient";
|
|
3
|
+
import { type DescribeAcmeDomainValidationCommandInput, type DescribeAcmeDomainValidationCommandOutput } from "../commands/DescribeAcmeDomainValidationCommand";
|
|
4
|
+
import type { ACMServiceException } from "../models/ACMServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
6
|
+
/**
|
|
7
|
+
* Wait until an ACME domain validation has been deleted.
|
|
8
|
+
* @deprecated Use waitUntilAcmeDomainValidationDeleted instead. waitForAcmeDomainValidationDeleted does not throw error in non-success cases.
|
|
9
|
+
*/
|
|
10
|
+
export declare const waitForAcmeDomainValidationDeleted: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeDomainValidationCommandInput) => Promise<WaiterResult<DescribeAcmeDomainValidationCommandOutput | ACMServiceException>>;
|
|
11
|
+
/**
|
|
12
|
+
* Wait until an ACME domain validation has been deleted.
|
|
13
|
+
* @param params - Waiter configuration options.
|
|
14
|
+
* @param input - The input to DescribeAcmeDomainValidationCommand for polling.
|
|
15
|
+
*/
|
|
16
|
+
export declare const waitUntilAcmeDomainValidationDeleted: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeDomainValidationCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { ACMClient } from "../ACMClient";
|
|
3
|
+
import { type DescribeAcmeDomainValidationCommandInput, type DescribeAcmeDomainValidationCommandOutput } from "../commands/DescribeAcmeDomainValidationCommand";
|
|
4
|
+
import type { ACMServiceException } from "../models/ACMServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until an ACME domain validation reaches a terminal validation state.
|
|
7
|
+
* @deprecated Use waitUntilAcmeDomainValidationValidated instead. waitForAcmeDomainValidationValidated does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForAcmeDomainValidationValidated: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeDomainValidationCommandInput) => Promise<WaiterResult<DescribeAcmeDomainValidationCommandOutput | ACMServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Wait until an ACME domain validation reaches a terminal validation state.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to DescribeAcmeDomainValidationCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilAcmeDomainValidationValidated: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeDomainValidationCommandInput) => Promise<WaiterResult<DescribeAcmeDomainValidationCommandOutput>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { ACMClient } from "../ACMClient";
|
|
3
|
+
import { type DescribeAcmeEndpointCommandInput, type DescribeAcmeEndpointCommandOutput } from "../commands/DescribeAcmeEndpointCommand";
|
|
4
|
+
import type { ACMServiceException } from "../models/ACMServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until an ACME endpoint has finished provisioning and is ACTIVE.
|
|
7
|
+
* @deprecated Use waitUntilAcmeEndpointActive instead. waitForAcmeEndpointActive does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForAcmeEndpointActive: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeEndpointCommandInput) => Promise<WaiterResult<DescribeAcmeEndpointCommandOutput | ACMServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Wait until an ACME endpoint has finished provisioning and is ACTIVE.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to DescribeAcmeEndpointCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilAcmeEndpointActive: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeEndpointCommandInput) => Promise<WaiterResult<DescribeAcmeEndpointCommandOutput>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { ACMClient } from "../ACMClient";
|
|
3
|
+
import { type DescribeAcmeEndpointCommandInput, type DescribeAcmeEndpointCommandOutput } from "../commands/DescribeAcmeEndpointCommand";
|
|
4
|
+
import type { ACMServiceException } from "../models/ACMServiceException";
|
|
5
|
+
import type { ResourceNotFoundException } from "../models/errors";
|
|
6
|
+
/**
|
|
7
|
+
* Wait until an ACME endpoint has been deleted.
|
|
8
|
+
* @deprecated Use waitUntilAcmeEndpointDeleted instead. waitForAcmeEndpointDeleted does not throw error in non-success cases.
|
|
9
|
+
*/
|
|
10
|
+
export declare const waitForAcmeEndpointDeleted: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeEndpointCommandInput) => Promise<WaiterResult<DescribeAcmeEndpointCommandOutput | ACMServiceException>>;
|
|
11
|
+
/**
|
|
12
|
+
* Wait until an ACME endpoint has been deleted.
|
|
13
|
+
* @param params - Waiter configuration options.
|
|
14
|
+
* @param input - The input to DescribeAcmeEndpointCommand for polling.
|
|
15
|
+
*/
|
|
16
|
+
export declare const waitUntilAcmeEndpointDeleted: (params: WaiterConfiguration<ACMClient>, input: DescribeAcmeEndpointCommandInput) => Promise<WaiterResult<ResourceNotFoundException>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-acm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1077.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -21,15 +21,13 @@
|
|
|
21
21
|
"module": "./dist-es/index.js",
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-
|
|
25
|
-
"@aws-
|
|
26
|
-
"@aws-sdk/
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@smithy/
|
|
30
|
-
"@smithy/
|
|
31
|
-
"@smithy/node-http-handler": "^4.7.6",
|
|
32
|
-
"@smithy/types": "^4.14.3",
|
|
24
|
+
"@aws-sdk/core": "^3.974.25",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.60",
|
|
26
|
+
"@aws-sdk/types": "^3.973.14",
|
|
27
|
+
"@smithy/core": "^3.28.0",
|
|
28
|
+
"@smithy/fetch-http-handler": "^5.6.1",
|
|
29
|
+
"@smithy/node-http-handler": "^4.9.1",
|
|
30
|
+
"@smithy/types": "^4.15.0",
|
|
33
31
|
"tslib": "^2.6.2"
|
|
34
32
|
},
|
|
35
33
|
"devDependencies": {
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
-
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
-
exports.defaultACMHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
-
return {
|
|
5
|
-
operation: getSmithyContext(context).operation,
|
|
6
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
-
})(),
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
12
|
-
return {
|
|
13
|
-
schemeId: "aws.auth#sigv4",
|
|
14
|
-
signingProperties: {
|
|
15
|
-
name: "acm",
|
|
16
|
-
region: authParameters.region,
|
|
17
|
-
},
|
|
18
|
-
propertiesExtractor: (config, context) => ({
|
|
19
|
-
signingProperties: {
|
|
20
|
-
config,
|
|
21
|
-
context,
|
|
22
|
-
},
|
|
23
|
-
}),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.defaultACMHttpAuthSchemeProvider = (authParameters) => {
|
|
27
|
-
const options = [];
|
|
28
|
-
switch (authParameters.operation) {
|
|
29
|
-
default: {
|
|
30
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return options;
|
|
34
|
-
};
|
|
35
|
-
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
37
|
-
return Object.assign(config_0, {
|
|
38
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
39
|
-
});
|
|
40
|
-
};
|
package/dist-cjs/endpoint/bdd.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
2
|
-
const k = "ref";
|
|
3
|
-
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
-
const _data = {
|
|
5
|
-
conditions: [
|
|
6
|
-
[c, [g]],
|
|
7
|
-
[c, j],
|
|
8
|
-
["aws.partition", j, d],
|
|
9
|
-
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
-
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
-
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
-
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
13
|
-
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
14
|
-
],
|
|
15
|
-
results: [
|
|
16
|
-
[a],
|
|
17
|
-
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
18
|
-
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
19
|
-
[g, i],
|
|
20
|
-
["https://acm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
21
|
-
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
22
|
-
["https://acm.{Region}.amazonaws.com", i],
|
|
23
|
-
["https://acm-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
24
|
-
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
25
|
-
["https://acm.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
26
|
-
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
27
|
-
["https://acm.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
28
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
const root = 2;
|
|
32
|
-
const r = 100_000_000;
|
|
33
|
-
const nodes = new Int32Array([
|
|
34
|
-
-1, 1, -1,
|
|
35
|
-
0, 13, 3,
|
|
36
|
-
1, 4, r + 12,
|
|
37
|
-
2, 5, r + 12,
|
|
38
|
-
3, 8, 6,
|
|
39
|
-
4, 7, r + 11,
|
|
40
|
-
5, r + 9, r + 10,
|
|
41
|
-
4, 11, 9,
|
|
42
|
-
6, 10, r + 8,
|
|
43
|
-
7, r + 6, r + 7,
|
|
44
|
-
5, 12, r + 5,
|
|
45
|
-
6, r + 4, r + 5,
|
|
46
|
-
3, r + 1, 14,
|
|
47
|
-
4, r + 2, r + 3,
|
|
48
|
-
]);
|
|
49
|
-
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
-
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
-
const { bdd } = require("./bdd");
|
|
4
|
-
const cache = new EndpointCache({
|
|
5
|
-
size: 50,
|
|
6
|
-
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
-
});
|
|
8
|
-
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
|
-
endpointParams: endpointParams,
|
|
11
|
-
logger: context.logger,
|
|
12
|
-
}));
|
|
13
|
-
};
|
|
14
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
-
exports.__ServiceException = __ServiceException;
|
|
3
|
-
exports.ACMServiceException = class ACMServiceException extends __ServiceException {
|
|
4
|
-
constructor(options) {
|
|
5
|
-
super(options);
|
|
6
|
-
Object.setPrototypeOf(this, ACMServiceException.prototype);
|
|
7
|
-
}
|
|
8
|
-
};
|