@aws-sdk/client-acm 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 (92) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ACMClient.js +11 -8
  3. package/dist-cjs/commands/AddTagsToCertificateCommand.js +10 -0
  4. package/dist-cjs/commands/DeleteCertificateCommand.js +10 -0
  5. package/dist-cjs/commands/DescribeCertificateCommand.js +10 -0
  6. package/dist-cjs/commands/ExportCertificateCommand.js +10 -0
  7. package/dist-cjs/commands/GetAccountConfigurationCommand.js +10 -0
  8. package/dist-cjs/commands/GetCertificateCommand.js +10 -0
  9. package/dist-cjs/commands/ImportCertificateCommand.js +10 -0
  10. package/dist-cjs/commands/ListCertificatesCommand.js +10 -0
  11. package/dist-cjs/commands/ListTagsForCertificateCommand.js +10 -0
  12. package/dist-cjs/commands/PutAccountConfigurationCommand.js +10 -0
  13. package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +10 -0
  14. package/dist-cjs/commands/RenewCertificateCommand.js +10 -0
  15. package/dist-cjs/commands/RequestCertificateCommand.js +10 -0
  16. package/dist-cjs/commands/ResendValidationEmailCommand.js +10 -0
  17. package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +10 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +343 -0
  21. package/dist-cjs/runtimeConfig.shared.js +3 -3
  22. package/dist-es/ACMClient.js +12 -9
  23. package/dist-es/commands/AddTagsToCertificateCommand.js +10 -0
  24. package/dist-es/commands/DeleteCertificateCommand.js +10 -0
  25. package/dist-es/commands/DescribeCertificateCommand.js +10 -0
  26. package/dist-es/commands/ExportCertificateCommand.js +10 -0
  27. package/dist-es/commands/GetAccountConfigurationCommand.js +10 -0
  28. package/dist-es/commands/GetCertificateCommand.js +10 -0
  29. package/dist-es/commands/ImportCertificateCommand.js +10 -0
  30. package/dist-es/commands/ListCertificatesCommand.js +10 -0
  31. package/dist-es/commands/ListTagsForCertificateCommand.js +10 -0
  32. package/dist-es/commands/PutAccountConfigurationCommand.js +10 -0
  33. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +10 -0
  34. package/dist-es/commands/RenewCertificateCommand.js +10 -0
  35. package/dist-es/commands/RequestCertificateCommand.js +10 -0
  36. package/dist-es/commands/ResendValidationEmailCommand.js +10 -0
  37. package/dist-es/commands/UpdateCertificateOptionsCommand.js +10 -0
  38. package/dist-es/endpoint/EndpointParameters.js +8 -0
  39. package/dist-es/endpoint/endpointResolver.js +8 -0
  40. package/dist-es/endpoint/ruleset.js +340 -0
  41. package/dist-es/runtimeConfig.shared.js +2 -2
  42. package/dist-types/ACMClient.d.ts +6 -9
  43. package/dist-types/commands/AddTagsToCertificateCommand.d.ts +2 -0
  44. package/dist-types/commands/DeleteCertificateCommand.d.ts +2 -0
  45. package/dist-types/commands/DescribeCertificateCommand.d.ts +2 -0
  46. package/dist-types/commands/ExportCertificateCommand.d.ts +2 -0
  47. package/dist-types/commands/GetAccountConfigurationCommand.d.ts +2 -0
  48. package/dist-types/commands/GetCertificateCommand.d.ts +2 -0
  49. package/dist-types/commands/ImportCertificateCommand.d.ts +2 -0
  50. package/dist-types/commands/ListCertificatesCommand.d.ts +2 -0
  51. package/dist-types/commands/ListTagsForCertificateCommand.d.ts +2 -0
  52. package/dist-types/commands/PutAccountConfigurationCommand.d.ts +2 -0
  53. package/dist-types/commands/RemoveTagsFromCertificateCommand.d.ts +2 -0
  54. package/dist-types/commands/RenewCertificateCommand.d.ts +2 -0
  55. package/dist-types/commands/RequestCertificateCommand.d.ts +2 -0
  56. package/dist-types/commands/ResendValidationEmailCommand.d.ts +2 -0
  57. package/dist-types/commands/UpdateCertificateOptionsCommand.d.ts +2 -0
  58. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  59. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  60. package/dist-types/endpoint/ruleset.d.ts +2 -0
  61. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  62. package/dist-types/runtimeConfig.d.ts +4 -2
  63. package/dist-types/runtimeConfig.native.d.ts +4 -2
  64. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  65. package/dist-types/ts3.4/ACMClient.d.ts +15 -8
  66. package/dist-types/ts3.4/commands/AddTagsToCertificateCommand.d.ts +2 -0
  67. package/dist-types/ts3.4/commands/DeleteCertificateCommand.d.ts +2 -0
  68. package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +2 -0
  69. package/dist-types/ts3.4/commands/ExportCertificateCommand.d.ts +2 -0
  70. package/dist-types/ts3.4/commands/GetAccountConfigurationCommand.d.ts +2 -0
  71. package/dist-types/ts3.4/commands/GetCertificateCommand.d.ts +2 -0
  72. package/dist-types/ts3.4/commands/ImportCertificateCommand.d.ts +2 -0
  73. package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +2 -0
  74. package/dist-types/ts3.4/commands/ListTagsForCertificateCommand.d.ts +2 -0
  75. package/dist-types/ts3.4/commands/PutAccountConfigurationCommand.d.ts +2 -0
  76. package/dist-types/ts3.4/commands/RemoveTagsFromCertificateCommand.d.ts +2 -0
  77. package/dist-types/ts3.4/commands/RenewCertificateCommand.d.ts +2 -0
  78. package/dist-types/ts3.4/commands/RequestCertificateCommand.d.ts +2 -0
  79. package/dist-types/ts3.4/commands/ResendValidationEmailCommand.d.ts +2 -0
  80. package/dist-types/ts3.4/commands/UpdateCertificateOptionsCommand.d.ts +2 -0
  81. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  82. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  83. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  84. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  85. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  86. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  87. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  88. package/package.json +3 -1
  89. package/dist-cjs/endpoints.js +0 -196
  90. package/dist-es/endpoints.js +0 -192
  91. package/dist-types/endpoints.d.ts +0 -2
  92. 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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
@@ -30,6 +31,7 @@ export interface PutAccountConfigurationCommandOutput extends __MetadataBearer {
30
31
  */
31
32
  export declare class PutAccountConfigurationCommand extends $Command<PutAccountConfigurationCommandInput, PutAccountConfigurationCommandOutput, ACMClientResolvedConfig> {
32
33
  readonly input: PutAccountConfigurationCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: PutAccountConfigurationCommandInput);
34
36
  /**
35
37
  * @internal
@@ -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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
@@ -30,6 +31,7 @@ export interface RemoveTagsFromCertificateCommandOutput extends __MetadataBearer
30
31
  */
31
32
  export declare class RemoveTagsFromCertificateCommand extends $Command<RemoveTagsFromCertificateCommandInput, RemoveTagsFromCertificateCommandOutput, ACMClientResolvedConfig> {
32
33
  readonly input: RemoveTagsFromCertificateCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
35
  constructor(input: RemoveTagsFromCertificateCommandInput);
34
36
  /**
35
37
  * @internal
@@ -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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
@@ -29,6 +30,7 @@ export interface RenewCertificateCommandOutput extends __MetadataBearer {
29
30
  */
30
31
  export declare class RenewCertificateCommand extends $Command<RenewCertificateCommandInput, RenewCertificateCommandOutput, ACMClientResolvedConfig> {
31
32
  readonly input: RenewCertificateCommandInput;
33
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
34
  constructor(input: RenewCertificateCommandInput);
33
35
  /**
34
36
  * @internal
@@ -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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
@@ -40,6 +41,7 @@ export interface RequestCertificateCommandOutput extends RequestCertificateRespo
40
41
  */
41
42
  export declare class RequestCertificateCommand extends $Command<RequestCertificateCommandInput, RequestCertificateCommandOutput, ACMClientResolvedConfig> {
42
43
  readonly input: RequestCertificateCommandInput;
44
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
43
45
  constructor(input: RequestCertificateCommandInput);
44
46
  /**
45
47
  * @internal
@@ -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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
@@ -33,6 +34,7 @@ export interface ResendValidationEmailCommandOutput extends __MetadataBearer {
33
34
  */
34
35
  export declare class ResendValidationEmailCommand extends $Command<ResendValidationEmailCommandInput, ResendValidationEmailCommandOutput, ACMClientResolvedConfig> {
35
36
  readonly input: ResendValidationEmailCommandInput;
37
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
36
38
  constructor(input: ResendValidationEmailCommandInput);
37
39
  /**
38
40
  * @internal
@@ -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 { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
4
  import { ACMClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ACMClient";
@@ -28,6 +29,7 @@ export interface UpdateCertificateOptionsCommandOutput extends __MetadataBearer
28
29
  */
29
30
  export declare class UpdateCertificateOptionsCommand extends $Command<UpdateCertificateOptionsCommandInput, UpdateCertificateOptionsCommandOutput, ACMClientResolvedConfig> {
30
31
  readonly input: UpdateCertificateOptionsCommandInput;
32
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
33
  constructor(input: UpdateCertificateOptionsCommandInput);
32
34
  /**
33
35
  * @internal
@@ -0,0 +1,19 @@
1
+ import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
2
+ export interface ClientInputEndpointParameters {
3
+ region?: string | Provider<string>;
4
+ useDualstackEndpoint?: boolean | Provider<boolean>;
5
+ useFipsEndpoint?: boolean | Provider<boolean>;
6
+ endpoint?: string | Provider<string>;
7
+ }
8
+ export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
+ defaultSigningName: string;
10
+ };
11
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export interface EndpointParameters extends __EndpointParameters {
15
+ Region?: string;
16
+ UseDualStack?: boolean;
17
+ UseFIPS?: boolean;
18
+ Endpoint?: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
26
26
  disableHostPrefix: boolean;
27
27
  logger: import("@aws-sdk/types").Logger;
28
28
  serviceId: string;
29
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
30
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
30
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
31
+ logger?: import("@aws-sdk/types").Logger | undefined;
32
+ }) => import("@aws-sdk/types").EndpointV2;
31
33
  tls?: boolean | undefined;
32
34
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
33
35
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
23
23
  serviceId: string;
24
24
  region: string | import("@aws-sdk/types").Provider<any>;
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
26
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
27
  defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
29
- endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
29
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
30
+ logger?: import("@aws-sdk/types").Logger | undefined;
31
+ }) => import("@aws-sdk/types").EndpointV2;
30
32
  tls?: boolean | undefined;
31
33
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
32
34
  credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
@@ -6,8 +6,10 @@ import { ACMClientConfig } from "./ACMClient";
6
6
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
7
7
  apiVersion: string;
8
8
  disableHostPrefix: boolean;
9
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
10
+ logger?: __Logger | undefined;
11
+ }) => import("@aws-sdk/types").EndpointV2;
9
12
  logger: __Logger;
10
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
11
13
  serviceId: string;
12
14
  urlParser: import("@aws-sdk/types").UrlParser;
13
15
  };
@@ -1,9 +1,11 @@
1
1
  import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
2
  RegionInputConfig,
5
3
  RegionResolvedConfig,
6
4
  } from "@aws-sdk/config-resolver";
5
+ import {
6
+ EndpointInputConfig,
7
+ EndpointResolvedConfig,
8
+ } from "@aws-sdk/middleware-endpoint";
7
9
  import {
8
10
  HostHeaderInputConfig,
9
11
  HostHeaderResolvedConfig,
@@ -37,7 +39,6 @@ import {
37
39
  Logger as __Logger,
38
40
  Provider as __Provider,
39
41
  Provider,
40
- RegionInfoProvider,
41
42
  StreamCollector as __StreamCollector,
42
43
  UrlParser as __UrlParser,
43
44
  UserAgent as __UserAgent,
@@ -102,6 +103,11 @@ import {
102
103
  UpdateCertificateOptionsCommandInput,
103
104
  UpdateCertificateOptionsCommandOutput,
104
105
  } from "./commands/UpdateCertificateOptionsCommand";
106
+ import {
107
+ ClientInputEndpointParameters,
108
+ ClientResolvedEndpointParameters,
109
+ EndpointParameters,
110
+ } from "./endpoint/EndpointParameters";
105
111
  export declare type ServiceInputTypes =
106
112
  | AddTagsToCertificateCommandInput
107
113
  | DeleteCertificateCommandInput
@@ -155,7 +161,6 @@ export interface ClientDefaults
155
161
  serviceId?: string;
156
162
  region?: string | __Provider<string>;
157
163
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
158
- regionInfoProvider?: RegionInfoProvider;
159
164
  defaultUserAgentProvider?: Provider<__UserAgent>;
160
165
  defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
161
166
  }
@@ -164,21 +169,23 @@ declare type ACMClientConfigType = Partial<
164
169
  > &
165
170
  ClientDefaults &
166
171
  RegionInputConfig &
167
- EndpointsInputConfig &
172
+ EndpointInputConfig<EndpointParameters> &
168
173
  RetryInputConfig &
169
174
  HostHeaderInputConfig &
170
175
  AwsAuthInputConfig &
171
- UserAgentInputConfig;
176
+ UserAgentInputConfig &
177
+ ClientInputEndpointParameters;
172
178
  export interface ACMClientConfig extends ACMClientConfigType {}
173
179
  declare type ACMClientResolvedConfigType =
174
180
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
175
181
  Required<ClientDefaults> &
176
182
  RegionResolvedConfig &
177
- EndpointsResolvedConfig &
183
+ EndpointResolvedConfig<EndpointParameters> &
178
184
  RetryResolvedConfig &
179
185
  HostHeaderResolvedConfig &
180
186
  AwsAuthResolvedConfig &
181
- UserAgentResolvedConfig;
187
+ UserAgentResolvedConfig &
188
+ ClientResolvedEndpointParameters;
182
189
  export interface ACMClientResolvedConfig extends ACMClientResolvedConfigType {}
183
190
  export declare class ACMClient extends __Client<
184
191
  __HttpHandlerOptions,
@@ -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 AddTagsToCertificateCommand extends $Command<
20
21
  ACMClientResolvedConfig
21
22
  > {
22
23
  readonly input: AddTagsToCertificateCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
23
25
  constructor(input: AddTagsToCertificateCommandInput);
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,
@@ -20,6 +21,7 @@ export declare class DeleteCertificateCommand extends $Command<
20
21
  ACMClientResolvedConfig
21
22
  > {
22
23
  readonly input: DeleteCertificateCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
23
25
  constructor(input: DeleteCertificateCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class DescribeCertificateCommand extends $Command<
25
26
  ACMClientResolvedConfig
26
27
  > {
27
28
  readonly input: DescribeCertificateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: DescribeCertificateCommandInput);
29
31
  resolveMiddleware(
30
32
  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,
@@ -25,6 +26,7 @@ export declare class ExportCertificateCommand extends $Command<
25
26
  ACMClientResolvedConfig
26
27
  > {
27
28
  readonly input: ExportCertificateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ExportCertificateCommandInput);
29
31
  resolveMiddleware(
30
32
  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 GetAccountConfigurationCommand extends $Command<
21
22
  ACMClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetAccountConfigurationCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetAccountConfigurationCommandInput);
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,
@@ -24,6 +25,7 @@ export declare class GetCertificateCommand extends $Command<
24
25
  ACMClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetCertificateCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetCertificateCommandInput);
28
30
  resolveMiddleware(
29
31
  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,
@@ -25,6 +26,7 @@ export declare class ImportCertificateCommand extends $Command<
25
26
  ACMClientResolvedConfig
26
27
  > {
27
28
  readonly input: ImportCertificateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ImportCertificateCommandInput);
29
31
  resolveMiddleware(
30
32
  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,
@@ -24,6 +25,7 @@ export declare class ListCertificatesCommand extends $Command<
24
25
  ACMClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListCertificatesCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListCertificatesCommandInput);
28
30
  resolveMiddleware(
29
31
  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,
@@ -25,6 +26,7 @@ export declare class ListTagsForCertificateCommand extends $Command<
25
26
  ACMClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListTagsForCertificateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListTagsForCertificateCommandInput);
29
31
  resolveMiddleware(
30
32
  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 PutAccountConfigurationCommand extends $Command<
21
22
  ACMClientResolvedConfig
22
23
  > {
23
24
  readonly input: PutAccountConfigurationCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: PutAccountConfigurationCommandInput);
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 RemoveTagsFromCertificateCommand extends $Command<
21
22
  ACMClientResolvedConfig
22
23
  > {
23
24
  readonly input: RemoveTagsFromCertificateCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: RemoveTagsFromCertificateCommandInput);
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,
@@ -19,6 +20,7 @@ export declare class RenewCertificateCommand extends $Command<
19
20
  ACMClientResolvedConfig
20
21
  > {
21
22
  readonly input: RenewCertificateCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: RenewCertificateCommandInput);
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,
@@ -25,6 +26,7 @@ export declare class RequestCertificateCommand extends $Command<
25
26
  ACMClientResolvedConfig
26
27
  > {
27
28
  readonly input: RequestCertificateCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RequestCertificateCommandInput);
29
31
  resolveMiddleware(
30
32
  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 ResendValidationEmailCommand extends $Command<
20
21
  ACMClientResolvedConfig
21
22
  > {
22
23
  readonly input: ResendValidationEmailCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
23
25
  constructor(input: ResendValidationEmailCommandInput);
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 UpdateCertificateOptionsCommand extends $Command<
21
22
  ACMClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateCertificateOptionsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateCertificateOptionsCommandInput);
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;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
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: ACMClientConfig) => {
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: ACMClientConfig) => {
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: ACMClientConfig) => {
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 { ACMClientConfig } from "./ACMClient";
3
3
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
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",
3
3
  "description": "AWS SDK for JavaScript Acm 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",