@aws-sdk/client-acm-pca 3.194.0 → 3.195.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.
Files changed (132) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist-cjs/ACMPCAClient.js +11 -8
  4. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +10 -0
  5. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +10 -0
  6. package/dist-cjs/commands/CreatePermissionCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +10 -0
  8. package/dist-cjs/commands/DeletePermissionCommand.js +10 -0
  9. package/dist-cjs/commands/DeletePolicyCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +10 -0
  12. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +10 -0
  13. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +10 -0
  14. package/dist-cjs/commands/GetCertificateCommand.js +10 -0
  15. package/dist-cjs/commands/GetPolicyCommand.js +10 -0
  16. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +10 -0
  17. package/dist-cjs/commands/IssueCertificateCommand.js +10 -0
  18. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +10 -0
  19. package/dist-cjs/commands/ListPermissionsCommand.js +10 -0
  20. package/dist-cjs/commands/ListTagsCommand.js +10 -0
  21. package/dist-cjs/commands/PutPolicyCommand.js +10 -0
  22. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +10 -0
  23. package/dist-cjs/commands/RevokeCertificateCommand.js +10 -0
  24. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +10 -0
  25. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +10 -0
  26. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +10 -0
  27. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  28. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  29. package/dist-cjs/endpoint/ruleset.js +343 -0
  30. package/dist-cjs/models/models_0.js +7 -2
  31. package/dist-cjs/protocols/Aws_json1_1.js +2 -0
  32. package/dist-cjs/runtimeConfig.shared.js +3 -3
  33. package/dist-es/ACMPCAClient.js +12 -9
  34. package/dist-es/commands/CreateCertificateAuthorityAuditReportCommand.js +10 -0
  35. package/dist-es/commands/CreateCertificateAuthorityCommand.js +10 -0
  36. package/dist-es/commands/CreatePermissionCommand.js +10 -0
  37. package/dist-es/commands/DeleteCertificateAuthorityCommand.js +10 -0
  38. package/dist-es/commands/DeletePermissionCommand.js +10 -0
  39. package/dist-es/commands/DeletePolicyCommand.js +10 -0
  40. package/dist-es/commands/DescribeCertificateAuthorityAuditReportCommand.js +10 -0
  41. package/dist-es/commands/DescribeCertificateAuthorityCommand.js +10 -0
  42. package/dist-es/commands/GetCertificateAuthorityCertificateCommand.js +10 -0
  43. package/dist-es/commands/GetCertificateAuthorityCsrCommand.js +10 -0
  44. package/dist-es/commands/GetCertificateCommand.js +10 -0
  45. package/dist-es/commands/GetPolicyCommand.js +10 -0
  46. package/dist-es/commands/ImportCertificateAuthorityCertificateCommand.js +10 -0
  47. package/dist-es/commands/IssueCertificateCommand.js +10 -0
  48. package/dist-es/commands/ListCertificateAuthoritiesCommand.js +10 -0
  49. package/dist-es/commands/ListPermissionsCommand.js +10 -0
  50. package/dist-es/commands/ListTagsCommand.js +10 -0
  51. package/dist-es/commands/PutPolicyCommand.js +10 -0
  52. package/dist-es/commands/RestoreCertificateAuthorityCommand.js +10 -0
  53. package/dist-es/commands/RevokeCertificateCommand.js +10 -0
  54. package/dist-es/commands/TagCertificateAuthorityCommand.js +10 -0
  55. package/dist-es/commands/UntagCertificateAuthorityCommand.js +10 -0
  56. package/dist-es/commands/UpdateCertificateAuthorityCommand.js +10 -0
  57. package/dist-es/endpoint/EndpointParameters.js +8 -0
  58. package/dist-es/endpoint/endpointResolver.js +8 -0
  59. package/dist-es/endpoint/ruleset.js +340 -0
  60. package/dist-es/models/models_0.js +5 -0
  61. package/dist-es/protocols/Aws_json1_1.js +2 -0
  62. package/dist-es/runtimeConfig.shared.js +2 -2
  63. package/dist-types/ACMPCA.d.ts +1 -1
  64. package/dist-types/ACMPCAClient.d.ts +7 -10
  65. package/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -0
  66. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +2 -0
  67. package/dist-types/commands/CreatePermissionCommand.d.ts +2 -0
  68. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +2 -0
  69. package/dist-types/commands/DeletePermissionCommand.d.ts +2 -0
  70. package/dist-types/commands/DeletePolicyCommand.d.ts +2 -0
  71. package/dist-types/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -0
  72. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +2 -0
  73. package/dist-types/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -0
  74. package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -0
  75. package/dist-types/commands/GetCertificateCommand.d.ts +2 -0
  76. package/dist-types/commands/GetPolicyCommand.d.ts +2 -0
  77. package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -0
  78. package/dist-types/commands/IssueCertificateCommand.d.ts +2 -0
  79. package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +2 -0
  80. package/dist-types/commands/ListPermissionsCommand.d.ts +2 -0
  81. package/dist-types/commands/ListTagsCommand.d.ts +2 -0
  82. package/dist-types/commands/PutPolicyCommand.d.ts +2 -0
  83. package/dist-types/commands/RestoreCertificateAuthorityCommand.d.ts +2 -0
  84. package/dist-types/commands/RevokeCertificateCommand.d.ts +2 -0
  85. package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +2 -0
  86. package/dist-types/commands/UntagCertificateAuthorityCommand.d.ts +2 -0
  87. package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +2 -0
  88. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  89. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  90. package/dist-types/endpoint/ruleset.d.ts +2 -0
  91. package/dist-types/models/models_0.d.ts +25 -8
  92. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  93. package/dist-types/runtimeConfig.d.ts +4 -2
  94. package/dist-types/runtimeConfig.native.d.ts +4 -2
  95. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  96. package/dist-types/ts3.4/ACMPCAClient.d.ts +15 -8
  97. package/dist-types/ts3.4/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +2 -0
  98. package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +2 -0
  99. package/dist-types/ts3.4/commands/CreatePermissionCommand.d.ts +2 -0
  100. package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +2 -0
  101. package/dist-types/ts3.4/commands/DeletePermissionCommand.d.ts +2 -0
  102. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -0
  103. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityAuditReportCommand.d.ts +2 -0
  104. package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +2 -0
  105. package/dist-types/ts3.4/commands/GetCertificateAuthorityCertificateCommand.d.ts +2 -0
  106. package/dist-types/ts3.4/commands/GetCertificateAuthorityCsrCommand.d.ts +2 -0
  107. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +2 -0
  108. package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -0
  109. package/dist-types/ts3.4/commands/ImportCertificateAuthorityCertificateCommand.d.ts +2 -0
  110. package/dist-types/ts3.4/commands/IssueCertificateCommand.d.ts +2 -0
  111. package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +2 -0
  112. package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +2 -0
  113. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -0
  114. package/dist-types/ts3.4/commands/PutPolicyCommand.d.ts +2 -0
  115. package/dist-types/ts3.4/commands/RestoreCertificateAuthorityCommand.d.ts +2 -0
  116. package/dist-types/ts3.4/commands/RevokeCertificateCommand.d.ts +2 -0
  117. package/dist-types/ts3.4/commands/TagCertificateAuthorityCommand.d.ts +2 -0
  118. package/dist-types/ts3.4/commands/UntagCertificateAuthorityCommand.d.ts +2 -0
  119. package/dist-types/ts3.4/commands/UpdateCertificateAuthorityCommand.d.ts +2 -0
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  121. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  122. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  123. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  128. package/package.json +3 -1
  129. package/dist-cjs/endpoints.js +0 -194
  130. package/dist-es/endpoints.js +0 -190
  131. package/dist-types/endpoints.d.ts +0 -2
  132. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class PutPolicyCommand extends $Command<
19
20
  ACMPCAClientResolvedConfig
20
21
  > {
21
22
  readonly input: PutPolicyCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: PutPolicyCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class RestoreCertificateAuthorityCommand extends $Command<
21
22
  ACMPCAClientResolvedConfig
22
23
  > {
23
24
  readonly input: RestoreCertificateAuthorityCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: RestoreCertificateAuthorityCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -20,6 +21,7 @@ export declare class RevokeCertificateCommand extends $Command<
20
21
  ACMPCAClientResolvedConfig
21
22
  > {
22
23
  readonly input: RevokeCertificateCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
23
25
  constructor(input: RevokeCertificateCommandInput);
24
26
  resolveMiddleware(
25
27
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class TagCertificateAuthorityCommand extends $Command<
21
22
  ACMPCAClientResolvedConfig
22
23
  > {
23
24
  readonly input: TagCertificateAuthorityCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: TagCertificateAuthorityCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UntagCertificateAuthorityCommand extends $Command<
21
22
  ACMPCAClientResolvedConfig
22
23
  > {
23
24
  readonly input: UntagCertificateAuthorityCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UntagCertificateAuthorityCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateCertificateAuthorityCommand extends $Command<
21
22
  ACMPCAClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateCertificateAuthorityCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateCertificateAuthorityCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -118,6 +118,10 @@ export interface Tag {
118
118
  Key: string | undefined;
119
119
  Value?: string;
120
120
  }
121
+ export declare enum CertificateAuthorityUsageMode {
122
+ GENERAL_PURPOSE = "GENERAL_PURPOSE",
123
+ SHORT_LIVED_CERTIFICATE = "SHORT_LIVED_CERTIFICATE",
124
+ }
121
125
  export interface CreateCertificateAuthorityRequest {
122
126
  CertificateAuthorityConfiguration:
123
127
  | CertificateAuthorityConfiguration
@@ -127,6 +131,7 @@ export interface CreateCertificateAuthorityRequest {
127
131
  IdempotencyToken?: string;
128
132
  KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
129
133
  Tags?: Tag[];
134
+ UsageMode?: CertificateAuthorityUsageMode | string;
130
135
  }
131
136
  export interface CreateCertificateAuthorityResponse {
132
137
  CertificateAuthorityArn?: string;
@@ -289,6 +294,7 @@ export interface CertificateAuthority {
289
294
  RevocationConfiguration?: RevocationConfiguration;
290
295
  RestorableUntil?: Date;
291
296
  KeyStorageSecurityStandard?: KeyStorageSecurityStandard | string;
297
+ UsageMode?: CertificateAuthorityUsageMode | string;
292
298
  }
293
299
  export interface DescribeCertificateAuthorityResponse {
294
300
  CertificateAuthority?: CertificateAuthority;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ACMPCAClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ACMPCAClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: ACMPCAClientConfig) => {
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
33
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
33
  import("@aws-sdk/types").UserAgent
35
34
  >;
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: ACMPCAClientConfig) => {
40
39
  >;
41
40
  endpoint?:
42
41
  | string
43
- | import("@aws-sdk/types").Endpoint
44
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
43
+ import("@aws-sdk/types").Provider<string>)
44
+ | (import("@aws-sdk/types").Endpoint &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").EndpointV2 &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
49
+ import("@aws-sdk/types").Provider<string>)
45
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
46
57
  tls?: boolean | undefined;
47
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
48
59
  credentials?:
@@ -3,8 +3,13 @@ import { ACMPCAClientConfig } from "./ACMPCAClient";
3
3
  export declare const getRuntimeConfig: (config: ACMPCAClientConfig) => {
4
4
  apiVersion: string;
5
5
  disableHostPrefix: boolean;
6
+ endpointProvider: (
7
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
8
+ context?: {
9
+ logger?: __Logger | undefined;
10
+ }
11
+ ) => import("@aws-sdk/types").EndpointV2;
6
12
  logger: __Logger;
7
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
8
13
  serviceId: string;
9
14
  urlParser: import("@aws-sdk/types").UrlParser;
10
15
  };
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.194.0",
4
+ "version": "3.195.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -26,6 +26,7 @@
26
26
  "@aws-sdk/hash-node": "3.193.0",
27
27
  "@aws-sdk/invalid-dependency": "3.193.0",
28
28
  "@aws-sdk/middleware-content-length": "3.193.0",
29
+ "@aws-sdk/middleware-endpoint": "3.193.0",
29
30
  "@aws-sdk/middleware-host-header": "3.193.0",
30
31
  "@aws-sdk/middleware-logger": "3.193.0",
31
32
  "@aws-sdk/middleware-recursion-detection": "3.193.0",
@@ -46,6 +47,7 @@
46
47
  "@aws-sdk/util-body-length-node": "3.188.0",
47
48
  "@aws-sdk/util-defaults-mode-browser": "3.193.0",
48
49
  "@aws-sdk/util-defaults-mode-node": "3.193.0",
50
+ "@aws-sdk/util-endpoints": "3.194.0",
49
51
  "@aws-sdk/util-user-agent-browser": "3.193.0",
50
52
  "@aws-sdk/util-user-agent-node": "3.193.0",
51
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -1,194 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "ca-central-1": {
7
- variants: [
8
- {
9
- hostname: "acm-pca-fips.ca-central-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- "us-east-1": {
15
- variants: [
16
- {
17
- hostname: "acm-pca-fips.us-east-1.amazonaws.com",
18
- tags: ["fips"],
19
- },
20
- ],
21
- },
22
- "us-east-2": {
23
- variants: [
24
- {
25
- hostname: "acm-pca-fips.us-east-2.amazonaws.com",
26
- tags: ["fips"],
27
- },
28
- ],
29
- },
30
- "us-gov-east-1": {
31
- variants: [
32
- {
33
- hostname: "acm-pca.us-gov-east-1.amazonaws.com",
34
- tags: ["fips"],
35
- },
36
- ],
37
- },
38
- "us-gov-west-1": {
39
- variants: [
40
- {
41
- hostname: "acm-pca.us-gov-west-1.amazonaws.com",
42
- tags: ["fips"],
43
- },
44
- ],
45
- },
46
- "us-west-1": {
47
- variants: [
48
- {
49
- hostname: "acm-pca-fips.us-west-1.amazonaws.com",
50
- tags: ["fips"],
51
- },
52
- ],
53
- },
54
- "us-west-2": {
55
- variants: [
56
- {
57
- hostname: "acm-pca-fips.us-west-2.amazonaws.com",
58
- tags: ["fips"],
59
- },
60
- ],
61
- },
62
- };
63
- const partitionHash = {
64
- aws: {
65
- regions: [
66
- "af-south-1",
67
- "ap-east-1",
68
- "ap-northeast-1",
69
- "ap-northeast-2",
70
- "ap-northeast-3",
71
- "ap-south-1",
72
- "ap-southeast-1",
73
- "ap-southeast-2",
74
- "ap-southeast-3",
75
- "ca-central-1",
76
- "eu-central-1",
77
- "eu-north-1",
78
- "eu-south-1",
79
- "eu-west-1",
80
- "eu-west-2",
81
- "eu-west-3",
82
- "fips-ca-central-1",
83
- "fips-us-east-1",
84
- "fips-us-east-2",
85
- "fips-us-west-1",
86
- "fips-us-west-2",
87
- "me-central-1",
88
- "me-south-1",
89
- "sa-east-1",
90
- "us-east-1",
91
- "us-east-2",
92
- "us-west-1",
93
- "us-west-2",
94
- ],
95
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
96
- variants: [
97
- {
98
- hostname: "acm-pca.{region}.amazonaws.com",
99
- tags: [],
100
- },
101
- {
102
- hostname: "acm-pca-fips.{region}.amazonaws.com",
103
- tags: ["fips"],
104
- },
105
- {
106
- hostname: "acm-pca-fips.{region}.api.aws",
107
- tags: ["dualstack", "fips"],
108
- },
109
- {
110
- hostname: "acm-pca.{region}.api.aws",
111
- tags: ["dualstack"],
112
- },
113
- ],
114
- },
115
- "aws-cn": {
116
- regions: ["cn-north-1", "cn-northwest-1"],
117
- regionRegex: "^cn\\-\\w+\\-\\d+$",
118
- variants: [
119
- {
120
- hostname: "acm-pca.{region}.amazonaws.com.cn",
121
- tags: [],
122
- },
123
- {
124
- hostname: "acm-pca-fips.{region}.amazonaws.com.cn",
125
- tags: ["fips"],
126
- },
127
- {
128
- hostname: "acm-pca-fips.{region}.api.amazonwebservices.com.cn",
129
- tags: ["dualstack", "fips"],
130
- },
131
- {
132
- hostname: "acm-pca.{region}.api.amazonwebservices.com.cn",
133
- tags: ["dualstack"],
134
- },
135
- ],
136
- },
137
- "aws-iso": {
138
- regions: ["us-iso-east-1", "us-iso-west-1"],
139
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
140
- variants: [
141
- {
142
- hostname: "acm-pca.{region}.c2s.ic.gov",
143
- tags: [],
144
- },
145
- {
146
- hostname: "acm-pca-fips.{region}.c2s.ic.gov",
147
- tags: ["fips"],
148
- },
149
- ],
150
- },
151
- "aws-iso-b": {
152
- regions: ["us-isob-east-1"],
153
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
154
- variants: [
155
- {
156
- hostname: "acm-pca.{region}.sc2s.sgov.gov",
157
- tags: [],
158
- },
159
- {
160
- hostname: "acm-pca-fips.{region}.sc2s.sgov.gov",
161
- tags: ["fips"],
162
- },
163
- ],
164
- },
165
- "aws-us-gov": {
166
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
167
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
168
- variants: [
169
- {
170
- hostname: "acm-pca.{region}.amazonaws.com",
171
- tags: [],
172
- },
173
- {
174
- hostname: "acm-pca.{region}.amazonaws.com",
175
- tags: ["fips"],
176
- },
177
- {
178
- hostname: "acm-pca-fips.{region}.api.aws",
179
- tags: ["dualstack", "fips"],
180
- },
181
- {
182
- hostname: "acm-pca.{region}.api.aws",
183
- tags: ["dualstack"],
184
- },
185
- ],
186
- },
187
- };
188
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
189
- ...options,
190
- signingService: "acm-pca",
191
- regionHash,
192
- partitionHash,
193
- });
194
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,190 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "ca-central-1": {
4
- variants: [
5
- {
6
- hostname: "acm-pca-fips.ca-central-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "us-east-1": {
12
- variants: [
13
- {
14
- hostname: "acm-pca-fips.us-east-1.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "us-east-2": {
20
- variants: [
21
- {
22
- hostname: "acm-pca-fips.us-east-2.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- "us-gov-east-1": {
28
- variants: [
29
- {
30
- hostname: "acm-pca.us-gov-east-1.amazonaws.com",
31
- tags: ["fips"],
32
- },
33
- ],
34
- },
35
- "us-gov-west-1": {
36
- variants: [
37
- {
38
- hostname: "acm-pca.us-gov-west-1.amazonaws.com",
39
- tags: ["fips"],
40
- },
41
- ],
42
- },
43
- "us-west-1": {
44
- variants: [
45
- {
46
- hostname: "acm-pca-fips.us-west-1.amazonaws.com",
47
- tags: ["fips"],
48
- },
49
- ],
50
- },
51
- "us-west-2": {
52
- variants: [
53
- {
54
- hostname: "acm-pca-fips.us-west-2.amazonaws.com",
55
- tags: ["fips"],
56
- },
57
- ],
58
- },
59
- };
60
- const partitionHash = {
61
- aws: {
62
- regions: [
63
- "af-south-1",
64
- "ap-east-1",
65
- "ap-northeast-1",
66
- "ap-northeast-2",
67
- "ap-northeast-3",
68
- "ap-south-1",
69
- "ap-southeast-1",
70
- "ap-southeast-2",
71
- "ap-southeast-3",
72
- "ca-central-1",
73
- "eu-central-1",
74
- "eu-north-1",
75
- "eu-south-1",
76
- "eu-west-1",
77
- "eu-west-2",
78
- "eu-west-3",
79
- "fips-ca-central-1",
80
- "fips-us-east-1",
81
- "fips-us-east-2",
82
- "fips-us-west-1",
83
- "fips-us-west-2",
84
- "me-central-1",
85
- "me-south-1",
86
- "sa-east-1",
87
- "us-east-1",
88
- "us-east-2",
89
- "us-west-1",
90
- "us-west-2",
91
- ],
92
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
93
- variants: [
94
- {
95
- hostname: "acm-pca.{region}.amazonaws.com",
96
- tags: [],
97
- },
98
- {
99
- hostname: "acm-pca-fips.{region}.amazonaws.com",
100
- tags: ["fips"],
101
- },
102
- {
103
- hostname: "acm-pca-fips.{region}.api.aws",
104
- tags: ["dualstack", "fips"],
105
- },
106
- {
107
- hostname: "acm-pca.{region}.api.aws",
108
- tags: ["dualstack"],
109
- },
110
- ],
111
- },
112
- "aws-cn": {
113
- regions: ["cn-north-1", "cn-northwest-1"],
114
- regionRegex: "^cn\\-\\w+\\-\\d+$",
115
- variants: [
116
- {
117
- hostname: "acm-pca.{region}.amazonaws.com.cn",
118
- tags: [],
119
- },
120
- {
121
- hostname: "acm-pca-fips.{region}.amazonaws.com.cn",
122
- tags: ["fips"],
123
- },
124
- {
125
- hostname: "acm-pca-fips.{region}.api.amazonwebservices.com.cn",
126
- tags: ["dualstack", "fips"],
127
- },
128
- {
129
- hostname: "acm-pca.{region}.api.amazonwebservices.com.cn",
130
- tags: ["dualstack"],
131
- },
132
- ],
133
- },
134
- "aws-iso": {
135
- regions: ["us-iso-east-1", "us-iso-west-1"],
136
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
137
- variants: [
138
- {
139
- hostname: "acm-pca.{region}.c2s.ic.gov",
140
- tags: [],
141
- },
142
- {
143
- hostname: "acm-pca-fips.{region}.c2s.ic.gov",
144
- tags: ["fips"],
145
- },
146
- ],
147
- },
148
- "aws-iso-b": {
149
- regions: ["us-isob-east-1"],
150
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
151
- variants: [
152
- {
153
- hostname: "acm-pca.{region}.sc2s.sgov.gov",
154
- tags: [],
155
- },
156
- {
157
- hostname: "acm-pca-fips.{region}.sc2s.sgov.gov",
158
- tags: ["fips"],
159
- },
160
- ],
161
- },
162
- "aws-us-gov": {
163
- regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
164
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
165
- variants: [
166
- {
167
- hostname: "acm-pca.{region}.amazonaws.com",
168
- tags: [],
169
- },
170
- {
171
- hostname: "acm-pca.{region}.amazonaws.com",
172
- tags: ["fips"],
173
- },
174
- {
175
- hostname: "acm-pca-fips.{region}.api.aws",
176
- tags: ["dualstack", "fips"],
177
- },
178
- {
179
- hostname: "acm-pca.{region}.api.aws",
180
- tags: ["dualstack"],
181
- },
182
- ],
183
- },
184
- };
185
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
186
- ...options,
187
- signingService: "acm-pca",
188
- regionHash,
189
- partitionHash,
190
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;