@aws-sdk/client-apigatewayv2 3.1087.0 → 3.1089.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-types/ts3.4/ApiGatewayV2.d.ts +340 -456
- package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +35 -132
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/CreateApiCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/CreateApiMappingCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateAuthorizerCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateDomainNameCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +5 -11
- package/dist-types/ts3.4/commands/CreateIntegrationResponseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreatePortalProductCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateProductPageCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateProductRestEndpointPageCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateRouteCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateRouteResponseCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateRoutingRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateStageCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateVpcLinkCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteAccessLogSettingsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteApiCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/DeleteApiMappingCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteAuthorizerCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteCorsConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteDomainNameCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteIntegrationResponseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteModelCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeletePortalProductCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeletePortalProductSharingPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteProductPageCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteProductRestEndpointPageCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteRouteRequestParameterCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteRouteResponseCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteRouteSettingsCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteRoutingRuleCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/DeleteStageCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteVpcLinkCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DisablePortalCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/ExportApiCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetApiCommand.d.ts +6 -2
- package/dist-types/ts3.4/commands/GetApiMappingCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetApiMappingsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetApisCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/GetAuthorizerCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetAuthorizersCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetDeploymentsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetDomainNameCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetDomainNamesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetIntegrationResponseCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetIntegrationResponsesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetIntegrationsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetModelCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetModelTemplateCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetModelsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetPortalProductCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetPortalProductSharingPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetProductPageCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetProductRestEndpointPageCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetRouteCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetRouteResponseCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetRouteResponsesCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetRoutesCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetRoutingRuleCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetStageCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetStagesCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetTagsCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetVpcLinkCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetVpcLinksCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ImportApiCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListPortalProductsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListProductPagesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListProductRestEndpointPagesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListRoutingRulesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/PreviewPortalCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/PublishPortalCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/PutPortalProductSharingPolicyCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/PutRoutingRuleCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ReimportApiCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ResetAuthorizersCacheCommand.d.ts +3 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/UpdateApiCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/UpdateApiMappingCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateAuthorizerCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateDeploymentCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateDomainNameCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +5 -11
- package/dist-types/ts3.4/commands/UpdateIntegrationResponseCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdatePortalProductCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateProductPageCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateProductRestEndpointPageCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateRouteCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateRouteResponseCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateStageCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateVpcLinkCommand.d.ts +4 -9
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +9 -18
- package/dist-types/ts3.4/models/errors.d.ts +3 -9
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
|
@@ -12,23 +12,20 @@ export declare const AuthorizerType: {
|
|
|
12
12
|
readonly JWT: "JWT";
|
|
13
13
|
readonly REQUEST: "REQUEST";
|
|
14
14
|
};
|
|
15
|
-
export type AuthorizerType =
|
|
16
|
-
(typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
15
|
+
export type AuthorizerType = (typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
17
16
|
export declare const DeploymentStatus: {
|
|
18
17
|
readonly DEPLOYED: "DEPLOYED";
|
|
19
18
|
readonly FAILED: "FAILED";
|
|
20
19
|
readonly PENDING: "PENDING";
|
|
21
20
|
};
|
|
22
|
-
export type DeploymentStatus =
|
|
23
|
-
(typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
21
|
+
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
24
22
|
export declare const DomainNameStatus: {
|
|
25
23
|
readonly AVAILABLE: "AVAILABLE";
|
|
26
24
|
readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
|
|
27
25
|
readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
|
|
28
26
|
readonly UPDATING: "UPDATING";
|
|
29
27
|
};
|
|
30
|
-
export type DomainNameStatus =
|
|
31
|
-
(typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
28
|
+
export type DomainNameStatus = (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
32
29
|
export declare const EndpointType: {
|
|
33
30
|
readonly EDGE: "EDGE";
|
|
34
31
|
readonly REGIONAL: "REGIONAL";
|
|
@@ -38,8 +35,7 @@ export declare const SecurityPolicy: {
|
|
|
38
35
|
readonly TLS_1_0: "TLS_1_0";
|
|
39
36
|
readonly TLS_1_2: "TLS_1_2";
|
|
40
37
|
};
|
|
41
|
-
export type SecurityPolicy =
|
|
42
|
-
(typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
38
|
+
export type SecurityPolicy = (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
43
39
|
export declare const RoutingMode: {
|
|
44
40
|
readonly API_MAPPING_ONLY: "API_MAPPING_ONLY";
|
|
45
41
|
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
@@ -50,8 +46,7 @@ export declare const ConnectionType: {
|
|
|
50
46
|
readonly INTERNET: "INTERNET";
|
|
51
47
|
readonly VPC_LINK: "VPC_LINK";
|
|
52
48
|
};
|
|
53
|
-
export type ConnectionType =
|
|
54
|
-
(typeof ConnectionType)[keyof typeof ConnectionType];
|
|
49
|
+
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
55
50
|
export declare const ContentHandlingStrategy: {
|
|
56
51
|
readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
|
|
57
52
|
readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
|
|
@@ -65,15 +60,13 @@ export declare const IntegrationType: {
|
|
|
65
60
|
readonly HTTP_PROXY: "HTTP_PROXY";
|
|
66
61
|
readonly MOCK: "MOCK";
|
|
67
62
|
};
|
|
68
|
-
export type IntegrationType =
|
|
69
|
-
(typeof IntegrationType)[keyof typeof IntegrationType];
|
|
63
|
+
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
70
64
|
export declare const PassthroughBehavior: {
|
|
71
65
|
readonly NEVER: "NEVER";
|
|
72
66
|
readonly WHEN_NO_MATCH: "WHEN_NO_MATCH";
|
|
73
67
|
readonly WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES";
|
|
74
68
|
};
|
|
75
|
-
export type PassthroughBehavior =
|
|
76
|
-
(typeof PassthroughBehavior)[keyof typeof PassthroughBehavior];
|
|
69
|
+
export type PassthroughBehavior = (typeof PassthroughBehavior)[keyof typeof PassthroughBehavior];
|
|
77
70
|
export declare const PreviewStatus: {
|
|
78
71
|
readonly PREVIEW_FAILED: "PREVIEW_FAILED";
|
|
79
72
|
readonly PREVIEW_IN_PROGRESS: "PREVIEW_IN_PROGRESS";
|
|
@@ -106,8 +99,7 @@ export declare const AuthorizationType: {
|
|
|
106
99
|
readonly JWT: "JWT";
|
|
107
100
|
readonly NONE: "NONE";
|
|
108
101
|
};
|
|
109
|
-
export type AuthorizationType =
|
|
110
|
-
(typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
102
|
+
export type AuthorizationType = (typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
111
103
|
export declare const LoggingLevel: {
|
|
112
104
|
readonly ERROR: "ERROR";
|
|
113
105
|
readonly INFO: "INFO";
|
|
@@ -125,5 +117,4 @@ export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
|
|
|
125
117
|
export declare const VpcLinkVersion: {
|
|
126
118
|
readonly V2: "V2";
|
|
127
119
|
};
|
|
128
|
-
export type VpcLinkVersion =
|
|
129
|
-
(typeof VpcLinkVersion)[keyof typeof VpcLinkVersion];
|
|
120
|
+
export type VpcLinkVersion = (typeof VpcLinkVersion)[keyof typeof VpcLinkVersion];
|
|
@@ -4,17 +4,13 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
5
5
|
readonly $fault: "client";
|
|
6
6
|
Message?: string | undefined;
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class BadRequestException extends __BaseException {
|
|
12
10
|
readonly name: "BadRequestException";
|
|
13
11
|
readonly $fault: "client";
|
|
14
12
|
Message?: string | undefined;
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<BadRequestException, __BaseException>
|
|
17
|
-
);
|
|
13
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
18
14
|
}
|
|
19
15
|
export declare class ConflictException extends __BaseException {
|
|
20
16
|
readonly name: "ConflictException";
|
|
@@ -34,7 +30,5 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
34
30
|
readonly $fault: "client";
|
|
35
31
|
LimitType?: string | undefined;
|
|
36
32
|
Message?: string | undefined;
|
|
37
|
-
constructor(
|
|
38
|
-
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
39
|
-
);
|
|
33
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
40
34
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { ApiGatewayV2Client } from "../ApiGatewayV2Client";
|
|
3
|
-
export interface ApiGatewayV2PaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface ApiGatewayV2PaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: ApiGatewayV2Client;
|
|
6
5
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: ApiGatewayV2ClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ApiGatewayV2HttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var ApiGatewayV2ServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var BadRequestException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apigatewayv2",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Apigatewayv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-apigatewayv2",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-apigatewayv2"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,17 +45,13 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
28
55
|
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-apigatewayv2",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-apigatewayv2"
|
|
68
68
|
}
|
|
69
69
|
}
|