@aws-sdk/client-elb-proxy 0.0.0-stage → 3.1178.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +311 -2
- package/dist-cjs/index.js +1474 -0
- package/dist-es/ELBProxy.js +61 -0
- package/dist-es/ELBProxyClient.js +47 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AssociateCertificateCommand.js +4 -0
- package/dist-es/commands/CreateProxyCommand.js +4 -0
- package/dist-es/commands/DeleteProxyCommand.js +4 -0
- package/dist-es/commands/DisassociateCertificateCommand.js +4 -0
- package/dist-es/commands/GetProxyAttributesCommand.js +4 -0
- package/dist-es/commands/GetProxyCommand.js +4 -0
- package/dist-es/commands/GetProxyConfigurationContentsCommand.js +4 -0
- package/dist-es/commands/GetProxyUpdateCommand.js +4 -0
- package/dist-es/commands/ListCertificateAssociationsCommand.js +4 -0
- package/dist-es/commands/ListProxiesCommand.js +4 -0
- package/dist-es/commands/ListProxyUpdatesCommand.js +4 -0
- package/dist-es/commands/ListProxyVersionsCommand.js +4 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +4 -0
- package/dist-es/commands/UntagResourceCommand.js +4 -0
- package/dist-es/commands/UpdateProxyAttributesCommand.js +4 -0
- package/dist-es/commands/UpdateProxyConfigurationCommand.js +4 -0
- package/dist-es/commands/UpdateProxyNetworkConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/bdd.js +29 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +11 -0
- package/dist-es/models/ELBProxyServiceException.js +9 -0
- package/dist-es/models/enums.js +45 -0
- package/dist-es/models/errors.js +130 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCertificateAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListProxiesPaginator.js +4 -0
- package/dist-es/pagination/ListProxyUpdatesPaginator.js +4 -0
- package/dist-es/pagination/ListProxyVersionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/runtimeConfig.browser.js +29 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +9 -0
- package/dist-es/runtimeConfig.shared.js +40 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +655 -0
- package/dist-es/waiters/index.js +3 -0
- package/dist-es/waiters/waitForProxyActive.js +49 -0
- package/dist-es/waiters/waitForProxyDeleted.js +25 -0
- package/dist-es/waiters/waitForProxyUpdateComplete.js +67 -0
- package/dist-types/ELBProxy.d.ts +196 -0
- package/dist-types/ELBProxyClient.d.ts +210 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AssociateCertificateCommand.d.ts +128 -0
- package/dist-types/commands/CreateProxyCommand.d.ts +280 -0
- package/dist-types/commands/DeleteProxyCommand.d.ts +114 -0
- package/dist-types/commands/DisassociateCertificateCommand.d.ts +125 -0
- package/dist-types/commands/GetProxyAttributesCommand.d.ts +134 -0
- package/dist-types/commands/GetProxyCommand.d.ts +186 -0
- package/dist-types/commands/GetProxyConfigurationContentsCommand.d.ts +120 -0
- package/dist-types/commands/GetProxyUpdateCommand.d.ts +140 -0
- package/dist-types/commands/ListCertificateAssociationsCommand.d.ts +127 -0
- package/dist-types/commands/ListProxiesCommand.d.ts +127 -0
- package/dist-types/commands/ListProxyUpdatesCommand.d.ts +124 -0
- package/dist-types/commands/ListProxyVersionsCommand.d.ts +112 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +103 -0
- package/dist-types/commands/TagResourceCommand.d.ts +107 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +103 -0
- package/dist-types/commands/UpdateProxyAttributesCommand.d.ts +299 -0
- package/dist-types/commands/UpdateProxyConfigurationCommand.d.ts +128 -0
- package/dist-types/commands/UpdateProxyNetworkConfigurationCommand.d.ts +204 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +24 -0
- package/dist-types/models/ELBProxyServiceException.d.ts +15 -0
- package/dist-types/models/enums.d.ts +195 -0
- package/dist-types/models/errors.d.ts +143 -0
- package/dist-types/models/models_0.d.ts +1297 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListCertificateAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProxiesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProxyUpdatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProxyVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +57 -0
- package/dist-types/runtimeConfig.d.ts +58 -0
- package/dist-types/runtimeConfig.native.d.ts +56 -0
- package/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +99 -0
- package/dist-types/ts3.4/ELBProxy.d.ts +351 -0
- package/dist-types/ts3.4/ELBProxyClient.d.ts +193 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +25 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +40 -0
- package/dist-types/ts3.4/commands/AssociateCertificateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateProxyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteProxyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DisassociateCertificateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetProxyAttributesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetProxyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetProxyConfigurationContentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetProxyUpdateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListCertificateAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProxiesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProxyUpdatesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProxyVersionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProxyAttributesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateProxyConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateProxyNetworkConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +10 -0
- package/dist-types/ts3.4/index.d.ts +14 -0
- package/dist-types/ts3.4/models/ELBProxyServiceException.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +58 -0
- package/dist-types/ts3.4/models/errors.d.ts +64 -0
- package/dist-types/ts3.4/models/models_0.d.ts +324 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListCertificateAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProxiesPaginator.d.ts +8 -0
- package/dist-types/ts3.4/pagination/ListProxyUpdatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProxyVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +99 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForProxyActive.d.ts +12 -0
- package/dist-types/ts3.4/waiters/waitForProxyDeleted.d.ts +13 -0
- package/dist-types/ts3.4/waiters/waitForProxyUpdateComplete.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/dist-types/waiters/waitForProxyActive.d.ts +15 -0
- package/dist-types/waiters/waitForProxyDeleted.d.ts +16 -0
- package/dist-types/waiters/waitForProxyUpdateComplete.d.ts +15 -0
- package/package.json +67 -4
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { GetProxyCommand } from "../commands/GetProxyCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetProxyCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
}
|
|
9
|
+
catch (exception) {
|
|
10
|
+
reason = exception;
|
|
11
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
12
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return { state: WaiterState.RETRY, reason };
|
|
16
|
+
};
|
|
17
|
+
export const waitForProxyDeleted = async (params, input) => {
|
|
18
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 600 };
|
|
19
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
20
|
+
};
|
|
21
|
+
export const waitUntilProxyDeleted = async (params, input) => {
|
|
22
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 600 };
|
|
23
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
24
|
+
return checkExceptions(result);
|
|
25
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
|
|
2
|
+
import { GetProxyUpdateCommand, } from "../commands/GetProxyUpdateCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetProxyUpdateCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.state.propagationStatus;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "complete") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.state.propagationStatus;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "failed") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.state.propagationStatus;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "cancelled") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
try {
|
|
36
|
+
const returnComparator = () => {
|
|
37
|
+
return result.state.propagationStatus;
|
|
38
|
+
};
|
|
39
|
+
if (returnComparator() === "skipped") {
|
|
40
|
+
return { state: WaiterState.FAILURE, reason };
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
catch (e) { }
|
|
44
|
+
try {
|
|
45
|
+
const returnComparator = () => {
|
|
46
|
+
return result.state.validationStatus;
|
|
47
|
+
};
|
|
48
|
+
if (returnComparator() === "invalid") {
|
|
49
|
+
return { state: WaiterState.FAILURE, reason };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
catch (e) { }
|
|
53
|
+
}
|
|
54
|
+
catch (exception) {
|
|
55
|
+
reason = exception;
|
|
56
|
+
}
|
|
57
|
+
return { state: WaiterState.RETRY, reason };
|
|
58
|
+
};
|
|
59
|
+
export const waitForProxyUpdateComplete = async (params, input) => {
|
|
60
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
61
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
62
|
+
};
|
|
63
|
+
export const waitUntilProxyUpdateComplete = async (params, input) => {
|
|
64
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
|
65
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
66
|
+
return checkExceptions(result);
|
|
67
|
+
};
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
|
+
import { type AssociateCertificateCommandInput, type AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
|
|
4
|
+
import { type CreateProxyCommandInput, type CreateProxyCommandOutput } from "./commands/CreateProxyCommand";
|
|
5
|
+
import { type DeleteProxyCommandInput, type DeleteProxyCommandOutput } from "./commands/DeleteProxyCommand";
|
|
6
|
+
import { type DisassociateCertificateCommandInput, type DisassociateCertificateCommandOutput } from "./commands/DisassociateCertificateCommand";
|
|
7
|
+
import { type GetProxyAttributesCommandInput, type GetProxyAttributesCommandOutput } from "./commands/GetProxyAttributesCommand";
|
|
8
|
+
import { type GetProxyCommandInput, type GetProxyCommandOutput } from "./commands/GetProxyCommand";
|
|
9
|
+
import { type GetProxyConfigurationContentsCommandInput, type GetProxyConfigurationContentsCommandOutput } from "./commands/GetProxyConfigurationContentsCommand";
|
|
10
|
+
import { type GetProxyUpdateCommandInput, type GetProxyUpdateCommandOutput } from "./commands/GetProxyUpdateCommand";
|
|
11
|
+
import { type ListCertificateAssociationsCommandInput, type ListCertificateAssociationsCommandOutput } from "./commands/ListCertificateAssociationsCommand";
|
|
12
|
+
import { type ListProxiesCommandInput, type ListProxiesCommandOutput } from "./commands/ListProxiesCommand";
|
|
13
|
+
import { type ListProxyUpdatesCommandInput, type ListProxyUpdatesCommandOutput } from "./commands/ListProxyUpdatesCommand";
|
|
14
|
+
import { type ListProxyVersionsCommandInput, type ListProxyVersionsCommandOutput } from "./commands/ListProxyVersionsCommand";
|
|
15
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
16
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
17
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
|
+
import { type UpdateProxyAttributesCommandInput, type UpdateProxyAttributesCommandOutput } from "./commands/UpdateProxyAttributesCommand";
|
|
19
|
+
import { type UpdateProxyConfigurationCommandInput, type UpdateProxyConfigurationCommandOutput } from "./commands/UpdateProxyConfigurationCommand";
|
|
20
|
+
import { type UpdateProxyNetworkConfigurationCommandInput, type UpdateProxyNetworkConfigurationCommandOutput } from "./commands/UpdateProxyNetworkConfigurationCommand";
|
|
21
|
+
import { ELBProxyClient } from "./ELBProxyClient";
|
|
22
|
+
import type { ResourceNotFoundException } from "./models/errors";
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface ELBProxyRequestOptions extends __HttpHandlerOptions {
|
|
27
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
28
|
+
}
|
|
29
|
+
export interface ELBProxy {
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link AssociateCertificateCommand}
|
|
32
|
+
*/
|
|
33
|
+
associateCertificate(args: AssociateCertificateCommandInput, options?: ELBProxyRequestOptions): Promise<AssociateCertificateCommandOutput>;
|
|
34
|
+
associateCertificate(args: AssociateCertificateCommandInput, cb: (err: any, data?: AssociateCertificateCommandOutput) => void): void;
|
|
35
|
+
associateCertificate(args: AssociateCertificateCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: AssociateCertificateCommandOutput) => void): void;
|
|
36
|
+
/**
|
|
37
|
+
* @see {@link CreateProxyCommand}
|
|
38
|
+
*/
|
|
39
|
+
createProxy(args: CreateProxyCommandInput, options?: ELBProxyRequestOptions): Promise<CreateProxyCommandOutput>;
|
|
40
|
+
createProxy(args: CreateProxyCommandInput, cb: (err: any, data?: CreateProxyCommandOutput) => void): void;
|
|
41
|
+
createProxy(args: CreateProxyCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: CreateProxyCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link DeleteProxyCommand}
|
|
44
|
+
*/
|
|
45
|
+
deleteProxy(args: DeleteProxyCommandInput, options?: ELBProxyRequestOptions): Promise<DeleteProxyCommandOutput>;
|
|
46
|
+
deleteProxy(args: DeleteProxyCommandInput, cb: (err: any, data?: DeleteProxyCommandOutput) => void): void;
|
|
47
|
+
deleteProxy(args: DeleteProxyCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: DeleteProxyCommandOutput) => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* @see {@link DisassociateCertificateCommand}
|
|
50
|
+
*/
|
|
51
|
+
disassociateCertificate(args: DisassociateCertificateCommandInput, options?: ELBProxyRequestOptions): Promise<DisassociateCertificateCommandOutput>;
|
|
52
|
+
disassociateCertificate(args: DisassociateCertificateCommandInput, cb: (err: any, data?: DisassociateCertificateCommandOutput) => void): void;
|
|
53
|
+
disassociateCertificate(args: DisassociateCertificateCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: DisassociateCertificateCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link GetProxyCommand}
|
|
56
|
+
*/
|
|
57
|
+
getProxy(args: GetProxyCommandInput, options?: ELBProxyRequestOptions): Promise<GetProxyCommandOutput>;
|
|
58
|
+
getProxy(args: GetProxyCommandInput, cb: (err: any, data?: GetProxyCommandOutput) => void): void;
|
|
59
|
+
getProxy(args: GetProxyCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: GetProxyCommandOutput) => void): void;
|
|
60
|
+
/**
|
|
61
|
+
* @see {@link GetProxyAttributesCommand}
|
|
62
|
+
*/
|
|
63
|
+
getProxyAttributes(args: GetProxyAttributesCommandInput, options?: ELBProxyRequestOptions): Promise<GetProxyAttributesCommandOutput>;
|
|
64
|
+
getProxyAttributes(args: GetProxyAttributesCommandInput, cb: (err: any, data?: GetProxyAttributesCommandOutput) => void): void;
|
|
65
|
+
getProxyAttributes(args: GetProxyAttributesCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: GetProxyAttributesCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link GetProxyConfigurationContentsCommand}
|
|
68
|
+
*/
|
|
69
|
+
getProxyConfigurationContents(args: GetProxyConfigurationContentsCommandInput, options?: ELBProxyRequestOptions): Promise<GetProxyConfigurationContentsCommandOutput>;
|
|
70
|
+
getProxyConfigurationContents(args: GetProxyConfigurationContentsCommandInput, cb: (err: any, data?: GetProxyConfigurationContentsCommandOutput) => void): void;
|
|
71
|
+
getProxyConfigurationContents(args: GetProxyConfigurationContentsCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: GetProxyConfigurationContentsCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* @see {@link GetProxyUpdateCommand}
|
|
74
|
+
*/
|
|
75
|
+
getProxyUpdate(args: GetProxyUpdateCommandInput, options?: ELBProxyRequestOptions): Promise<GetProxyUpdateCommandOutput>;
|
|
76
|
+
getProxyUpdate(args: GetProxyUpdateCommandInput, cb: (err: any, data?: GetProxyUpdateCommandOutput) => void): void;
|
|
77
|
+
getProxyUpdate(args: GetProxyUpdateCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: GetProxyUpdateCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link ListCertificateAssociationsCommand}
|
|
80
|
+
*/
|
|
81
|
+
listCertificateAssociations(args: ListCertificateAssociationsCommandInput, options?: ELBProxyRequestOptions): Promise<ListCertificateAssociationsCommandOutput>;
|
|
82
|
+
listCertificateAssociations(args: ListCertificateAssociationsCommandInput, cb: (err: any, data?: ListCertificateAssociationsCommandOutput) => void): void;
|
|
83
|
+
listCertificateAssociations(args: ListCertificateAssociationsCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: ListCertificateAssociationsCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link ListProxiesCommand}
|
|
86
|
+
*/
|
|
87
|
+
listProxies(): Promise<ListProxiesCommandOutput>;
|
|
88
|
+
listProxies(args: ListProxiesCommandInput, options?: ELBProxyRequestOptions): Promise<ListProxiesCommandOutput>;
|
|
89
|
+
listProxies(args: ListProxiesCommandInput, cb: (err: any, data?: ListProxiesCommandOutput) => void): void;
|
|
90
|
+
listProxies(args: ListProxiesCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: ListProxiesCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* @see {@link ListProxyUpdatesCommand}
|
|
93
|
+
*/
|
|
94
|
+
listProxyUpdates(args: ListProxyUpdatesCommandInput, options?: ELBProxyRequestOptions): Promise<ListProxyUpdatesCommandOutput>;
|
|
95
|
+
listProxyUpdates(args: ListProxyUpdatesCommandInput, cb: (err: any, data?: ListProxyUpdatesCommandOutput) => void): void;
|
|
96
|
+
listProxyUpdates(args: ListProxyUpdatesCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: ListProxyUpdatesCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* @see {@link ListProxyVersionsCommand}
|
|
99
|
+
*/
|
|
100
|
+
listProxyVersions(args: ListProxyVersionsCommandInput, options?: ELBProxyRequestOptions): Promise<ListProxyVersionsCommandOutput>;
|
|
101
|
+
listProxyVersions(args: ListProxyVersionsCommandInput, cb: (err: any, data?: ListProxyVersionsCommandOutput) => void): void;
|
|
102
|
+
listProxyVersions(args: ListProxyVersionsCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: ListProxyVersionsCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* @see {@link ListTagsForResourceCommand}
|
|
105
|
+
*/
|
|
106
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: ELBProxyRequestOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
107
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
108
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* @see {@link TagResourceCommand}
|
|
111
|
+
*/
|
|
112
|
+
tagResource(args: TagResourceCommandInput, options?: ELBProxyRequestOptions): Promise<TagResourceCommandOutput>;
|
|
113
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
114
|
+
tagResource(args: TagResourceCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
115
|
+
/**
|
|
116
|
+
* @see {@link UntagResourceCommand}
|
|
117
|
+
*/
|
|
118
|
+
untagResource(args: UntagResourceCommandInput, options?: ELBProxyRequestOptions): Promise<UntagResourceCommandOutput>;
|
|
119
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
120
|
+
untagResource(args: UntagResourceCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* @see {@link UpdateProxyAttributesCommand}
|
|
123
|
+
*/
|
|
124
|
+
updateProxyAttributes(args: UpdateProxyAttributesCommandInput, options?: ELBProxyRequestOptions): Promise<UpdateProxyAttributesCommandOutput>;
|
|
125
|
+
updateProxyAttributes(args: UpdateProxyAttributesCommandInput, cb: (err: any, data?: UpdateProxyAttributesCommandOutput) => void): void;
|
|
126
|
+
updateProxyAttributes(args: UpdateProxyAttributesCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: UpdateProxyAttributesCommandOutput) => void): void;
|
|
127
|
+
/**
|
|
128
|
+
* @see {@link UpdateProxyConfigurationCommand}
|
|
129
|
+
*/
|
|
130
|
+
updateProxyConfiguration(args: UpdateProxyConfigurationCommandInput, options?: ELBProxyRequestOptions): Promise<UpdateProxyConfigurationCommandOutput>;
|
|
131
|
+
updateProxyConfiguration(args: UpdateProxyConfigurationCommandInput, cb: (err: any, data?: UpdateProxyConfigurationCommandOutput) => void): void;
|
|
132
|
+
updateProxyConfiguration(args: UpdateProxyConfigurationCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: UpdateProxyConfigurationCommandOutput) => void): void;
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link UpdateProxyNetworkConfigurationCommand}
|
|
135
|
+
*/
|
|
136
|
+
updateProxyNetworkConfiguration(args: UpdateProxyNetworkConfigurationCommandInput, options?: ELBProxyRequestOptions): Promise<UpdateProxyNetworkConfigurationCommandOutput>;
|
|
137
|
+
updateProxyNetworkConfiguration(args: UpdateProxyNetworkConfigurationCommandInput, cb: (err: any, data?: UpdateProxyNetworkConfigurationCommandOutput) => void): void;
|
|
138
|
+
updateProxyNetworkConfiguration(args: UpdateProxyNetworkConfigurationCommandInput, options: ELBProxyRequestOptions, cb: (err: any, data?: UpdateProxyNetworkConfigurationCommandOutput) => void): void;
|
|
139
|
+
/**
|
|
140
|
+
* @see {@link ListCertificateAssociationsCommand}
|
|
141
|
+
* @param args - command input.
|
|
142
|
+
* @param paginationConfig - optional pagination config.
|
|
143
|
+
* @returns AsyncIterable of {@link ListCertificateAssociationsCommandOutput}.
|
|
144
|
+
*/
|
|
145
|
+
paginateListCertificateAssociations(args: ListCertificateAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCertificateAssociationsCommandOutput>;
|
|
146
|
+
/**
|
|
147
|
+
* @see {@link ListProxiesCommand}
|
|
148
|
+
* @param args - command input.
|
|
149
|
+
* @param paginationConfig - optional pagination config.
|
|
150
|
+
* @returns AsyncIterable of {@link ListProxiesCommandOutput}.
|
|
151
|
+
*/
|
|
152
|
+
paginateListProxies(args?: ListProxiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProxiesCommandOutput>;
|
|
153
|
+
/**
|
|
154
|
+
* @see {@link ListProxyUpdatesCommand}
|
|
155
|
+
* @param args - command input.
|
|
156
|
+
* @param paginationConfig - optional pagination config.
|
|
157
|
+
* @returns AsyncIterable of {@link ListProxyUpdatesCommandOutput}.
|
|
158
|
+
*/
|
|
159
|
+
paginateListProxyUpdates(args: ListProxyUpdatesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProxyUpdatesCommandOutput>;
|
|
160
|
+
/**
|
|
161
|
+
* @see {@link ListProxyVersionsCommand}
|
|
162
|
+
* @param args - command input.
|
|
163
|
+
* @param paginationConfig - optional pagination config.
|
|
164
|
+
* @returns AsyncIterable of {@link ListProxyVersionsCommandOutput}.
|
|
165
|
+
*/
|
|
166
|
+
paginateListProxyVersions(args: ListProxyVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListProxyVersionsCommandOutput>;
|
|
167
|
+
/**
|
|
168
|
+
* @see {@link GetProxyCommand}
|
|
169
|
+
* @param args - command input.
|
|
170
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
171
|
+
*/
|
|
172
|
+
waitUntilProxyActive(args: GetProxyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ELBProxy>, "client">): Promise<WaiterResult<GetProxyCommandOutput>>;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link GetProxyCommand}
|
|
175
|
+
* @param args - command input.
|
|
176
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
177
|
+
*/
|
|
178
|
+
waitUntilProxyDeleted(args: GetProxyCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ELBProxy>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link GetProxyUpdateCommand}
|
|
181
|
+
* @param args - command input.
|
|
182
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
183
|
+
*/
|
|
184
|
+
waitUntilProxyUpdateComplete(args: GetProxyUpdateCommandInput, waiterConfig: number | Omit<WaiterConfiguration<ELBProxy>, "client">): Promise<WaiterResult<GetProxyUpdateCommandOutput>>;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Elastic Load Balancing for Envoy is a fully managed service that runs the
|
|
188
|
+
* open-source Envoy proxy on your behalf. You bring your Envoy configuration, and
|
|
189
|
+
* AWS provisions the proxy, scales it, upgrades the Envoy version, patches the
|
|
190
|
+
* operating system, and monitors its health. The proxy runs on Amazon EC2
|
|
191
|
+
* instances inside your own virtual private cloud (VPC), so you keep full
|
|
192
|
+
* control of your network, security groups, and IAM.
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
export declare class ELBProxy extends ELBProxyClient implements ELBProxy {
|
|
196
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
2
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
4
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
5
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { AssociateCertificateCommandInput, AssociateCertificateCommandOutput } from "./commands/AssociateCertificateCommand";
|
|
10
|
+
import type { CreateProxyCommandInput, CreateProxyCommandOutput } from "./commands/CreateProxyCommand";
|
|
11
|
+
import type { DeleteProxyCommandInput, DeleteProxyCommandOutput } from "./commands/DeleteProxyCommand";
|
|
12
|
+
import type { DisassociateCertificateCommandInput, DisassociateCertificateCommandOutput } from "./commands/DisassociateCertificateCommand";
|
|
13
|
+
import type { GetProxyAttributesCommandInput, GetProxyAttributesCommandOutput } from "./commands/GetProxyAttributesCommand";
|
|
14
|
+
import type { GetProxyCommandInput, GetProxyCommandOutput } from "./commands/GetProxyCommand";
|
|
15
|
+
import type { GetProxyConfigurationContentsCommandInput, GetProxyConfigurationContentsCommandOutput } from "./commands/GetProxyConfigurationContentsCommand";
|
|
16
|
+
import type { GetProxyUpdateCommandInput, GetProxyUpdateCommandOutput } from "./commands/GetProxyUpdateCommand";
|
|
17
|
+
import type { ListCertificateAssociationsCommandInput, ListCertificateAssociationsCommandOutput } from "./commands/ListCertificateAssociationsCommand";
|
|
18
|
+
import type { ListProxiesCommandInput, ListProxiesCommandOutput } from "./commands/ListProxiesCommand";
|
|
19
|
+
import type { ListProxyUpdatesCommandInput, ListProxyUpdatesCommandOutput } from "./commands/ListProxyUpdatesCommand";
|
|
20
|
+
import type { ListProxyVersionsCommandInput, ListProxyVersionsCommandOutput } from "./commands/ListProxyVersionsCommand";
|
|
21
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
22
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
24
|
+
import type { UpdateProxyAttributesCommandInput, UpdateProxyAttributesCommandOutput } from "./commands/UpdateProxyAttributesCommand";
|
|
25
|
+
import type { UpdateProxyConfigurationCommandInput, UpdateProxyConfigurationCommandOutput } from "./commands/UpdateProxyConfigurationCommand";
|
|
26
|
+
import type { UpdateProxyNetworkConfigurationCommandInput, UpdateProxyNetworkConfigurationCommandOutput } from "./commands/UpdateProxyNetworkConfigurationCommand";
|
|
27
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
29
|
+
export { __Client };
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
export type ServiceInputTypes = AssociateCertificateCommandInput | CreateProxyCommandInput | DeleteProxyCommandInput | DisassociateCertificateCommandInput | GetProxyAttributesCommandInput | GetProxyCommandInput | GetProxyConfigurationContentsCommandInput | GetProxyUpdateCommandInput | ListCertificateAssociationsCommandInput | ListProxiesCommandInput | ListProxyUpdatesCommandInput | ListProxyVersionsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateProxyAttributesCommandInput | UpdateProxyConfigurationCommandInput | UpdateProxyNetworkConfigurationCommandInput;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type ServiceOutputTypes = AssociateCertificateCommandOutput | CreateProxyCommandOutput | DeleteProxyCommandOutput | DisassociateCertificateCommandOutput | GetProxyAttributesCommandOutput | GetProxyCommandOutput | GetProxyConfigurationContentsCommandOutput | GetProxyUpdateCommandOutput | ListCertificateAssociationsCommandOutput | ListProxiesCommandOutput | ListProxyUpdatesCommandOutput | ListProxyVersionsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateProxyAttributesCommandOutput | UpdateProxyConfigurationCommandOutput | UpdateProxyNetworkConfigurationCommandOutput;
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
42
|
+
/**
|
|
43
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
44
|
+
*/
|
|
45
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
46
|
+
/**
|
|
47
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
48
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
52
|
+
/**
|
|
53
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
urlParser?: __UrlParser;
|
|
57
|
+
/**
|
|
58
|
+
* A function that can calculate the length of a request body.
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
62
|
+
/**
|
|
63
|
+
* A function that converts a stream into an array of bytes.
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
streamCollector?: __StreamCollector;
|
|
67
|
+
/**
|
|
68
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
base64Decoder?: __Decoder;
|
|
72
|
+
/**
|
|
73
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
base64Encoder?: __Encoder;
|
|
77
|
+
/**
|
|
78
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
utf8Decoder?: __Decoder;
|
|
82
|
+
/**
|
|
83
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
utf8Encoder?: __Encoder;
|
|
87
|
+
/**
|
|
88
|
+
* The runtime environment.
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
runtime?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
94
|
+
* trait of an operation.
|
|
95
|
+
*/
|
|
96
|
+
disableHostPrefix?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Unique service identifier.
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
serviceId?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
104
|
+
*/
|
|
105
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Enables FIPS compatible endpoints.
|
|
108
|
+
*/
|
|
109
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* The AWS region to which this client will send requests
|
|
112
|
+
*/
|
|
113
|
+
region?: string | __Provider<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Setting a client profile is similar to setting a value for the
|
|
116
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
117
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
118
|
+
*
|
|
119
|
+
* When set, and only for environments where an AWS configuration
|
|
120
|
+
* file exists, fields configurable by this file will be retrieved
|
|
121
|
+
* from the specified profile within that file.
|
|
122
|
+
* Conflicting code configuration and environment variables will
|
|
123
|
+
* still have higher priority.
|
|
124
|
+
*
|
|
125
|
+
* For client credential resolution that involves checking the AWS
|
|
126
|
+
* configuration file, the client's profile (this value) will be
|
|
127
|
+
* used unless a different profile is set in the credential
|
|
128
|
+
* provider options.
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
profile?: string;
|
|
132
|
+
/**
|
|
133
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
137
|
+
/**
|
|
138
|
+
* Default credentials provider; Not available in browser runtime.
|
|
139
|
+
* @deprecated
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
142
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
143
|
+
/**
|
|
144
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
145
|
+
*/
|
|
146
|
+
maxAttempts?: number | __Provider<number>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies which retry algorithm to use.
|
|
149
|
+
* Accepted values are "standard" and "adaptive".
|
|
150
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
151
|
+
*
|
|
152
|
+
*/
|
|
153
|
+
retryMode?: string | __Provider<string>;
|
|
154
|
+
/**
|
|
155
|
+
* Optional logger for logging debug/info/warn/error.
|
|
156
|
+
*/
|
|
157
|
+
logger?: __Logger;
|
|
158
|
+
/**
|
|
159
|
+
* Optional extensions
|
|
160
|
+
*/
|
|
161
|
+
extensions?: RuntimeExtension[];
|
|
162
|
+
/**
|
|
163
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
164
|
+
*/
|
|
165
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type ELBProxyClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*
|
|
174
|
+
* The configuration interface of ELBProxyClient class constructor that set the region, credentials and other options.
|
|
175
|
+
*/
|
|
176
|
+
export interface ELBProxyClientConfig extends ELBProxyClientConfigType {
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
export type ELBProxyClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*
|
|
185
|
+
* The resolved configuration interface of ELBProxyClient class. This is resolved and normalized from the {@link ELBProxyClientConfig | constructor configuration interface}.
|
|
186
|
+
*/
|
|
187
|
+
export interface ELBProxyClientResolvedConfig extends ELBProxyClientResolvedConfigType {
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Elastic Load Balancing for Envoy is a fully managed service that runs the
|
|
191
|
+
* open-source Envoy proxy on your behalf. You bring your Envoy configuration, and
|
|
192
|
+
* AWS provisions the proxy, scales it, upgrades the Envoy version, patches the
|
|
193
|
+
* operating system, and monitors its health. The proxy runs on Amazon EC2
|
|
194
|
+
* instances inside your own virtual private cloud (VPC), so you keep full
|
|
195
|
+
* control of your network, security groups, and IAM.
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export declare class ELBProxyClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ELBProxyClientResolvedConfig> {
|
|
199
|
+
/**
|
|
200
|
+
* The resolved configuration of ELBProxyClient class. This is resolved and normalized from the {@link ELBProxyClientConfig | constructor configuration interface}.
|
|
201
|
+
*/
|
|
202
|
+
readonly config: ELBProxyClientResolvedConfig;
|
|
203
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<ELBProxyClientConfig>);
|
|
204
|
+
/**
|
|
205
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
206
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
207
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
208
|
+
*/
|
|
209
|
+
destroy(): void;
|
|
210
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import type { ELBProxyHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: ELBProxyHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): ELBProxyHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: ELBProxyHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type ELBProxyClientResolvedConfig } from "../ELBProxyClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface ELBProxyHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface ELBProxyHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<ELBProxyClientResolvedConfig, HandlerExecutionContext, ELBProxyHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultELBProxyHttpAuthSchemeParametersProvider: (config: ELBProxyClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<ELBProxyHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface ELBProxyHttpAuthSchemeProvider extends HttpAuthSchemeProvider<ELBProxyHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultELBProxyHttpAuthSchemeProvider: ELBProxyHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: ELBProxyHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: ELBProxyHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ELBProxyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ELBProxyClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, ELBProxyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ELBProxyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|