@aws-lite/apigatewayv2-types 0.0.10 → 0.0.12
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/index.d.ts +11 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ import {
|
|
|
13
13
|
// $IMPORTS_END
|
|
14
14
|
} from "@aws-sdk/client-apigatewayv2";
|
|
15
15
|
|
|
16
|
+
import type { AwsLiteMethodOptions } from "@aws-lite/client";
|
|
17
|
+
|
|
16
18
|
declare interface AwsLiteAPIGatewayV2 {
|
|
17
19
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
18
20
|
// $METHODS_START
|
|
@@ -21,55 +23,55 @@ declare interface AwsLiteAPIGatewayV2 {
|
|
|
21
23
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#CreateApiMapping API Gateway V2: CreateApiMapping}
|
|
22
24
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateApiMapping API Gateway V2: CreateApiMapping}
|
|
23
25
|
*/
|
|
24
|
-
CreateApiMapping: (input: { DomainName: string, ApiId: string, ApiMappingKey?: string, Stage: string }) => Promise<CreateApiMappingResponse>
|
|
26
|
+
CreateApiMapping: (input: AwsLiteMethodOptions & { DomainName: string, ApiId: string, ApiMappingKey?: string, Stage: string }) => Promise<CreateApiMappingResponse>
|
|
25
27
|
/**
|
|
26
28
|
* @description
|
|
27
29
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments.html#CreateDeployment API Gateway V2: CreateDeployment}
|
|
28
30
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateDeployment API Gateway V2: CreateDeployment}
|
|
29
31
|
*/
|
|
30
|
-
CreateDeployment: (input: { ApiId: string, Description?: string, StageName?: string }) => Promise<CreateDeploymentResponse>
|
|
32
|
+
CreateDeployment: (input: AwsLiteMethodOptions & { ApiId: string, Description?: string, StageName?: string }) => Promise<CreateDeploymentResponse>
|
|
31
33
|
/**
|
|
32
34
|
* @description
|
|
33
35
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames.html#CreateDomainName API Gateway V2: CreateDomainName}
|
|
34
36
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#CreateDomainName API Gateway V2: CreateDomainName}
|
|
35
37
|
*/
|
|
36
|
-
CreateDomainName: (input: { DomainName: string, DomainNameConfigurations?: any[], MutualTlsAuthentication?: Record<string, any>, Tags?: Record<string, any> }) => Promise<CreateDomainNameResponse>
|
|
38
|
+
CreateDomainName: (input: AwsLiteMethodOptions & { DomainName: string, DomainNameConfigurations?: any[], MutualTlsAuthentication?: Record<string, any>, Tags?: Record<string, any> }) => Promise<CreateDomainNameResponse>
|
|
37
39
|
/**
|
|
38
40
|
* @description
|
|
39
41
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings-apimappingid.html#DeleteApiMapping API Gateway V2: DeleteApiMapping}
|
|
40
42
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#DeleteApiMapping API Gateway V2: DeleteApiMapping}
|
|
41
43
|
*/
|
|
42
|
-
DeleteApiMapping: (input: { ApiMappingId: string, DomainName: string }) => Promise<DeleteApiMappingResponse>
|
|
44
|
+
DeleteApiMapping: (input: AwsLiteMethodOptions & { ApiMappingId: string, DomainName: string }) => Promise<DeleteApiMappingResponse>
|
|
43
45
|
/**
|
|
44
46
|
* @description
|
|
45
47
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname.html#DeleteDomainName API Gateway V2: DeleteDomainName}
|
|
46
48
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#DeleteDomainName API Gateway V2: DeleteDomainName}
|
|
47
49
|
*/
|
|
48
|
-
DeleteDomainName: (input: { DomainName: string }) => Promise<DeleteDomainNameResponse>
|
|
50
|
+
DeleteDomainName: (input: AwsLiteMethodOptions & { DomainName: string }) => Promise<DeleteDomainNameResponse>
|
|
49
51
|
/**
|
|
50
52
|
* @description
|
|
51
53
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/domainnames-domainname-apimappings.html#GetApiMappings API Gateway V2: GetApiMappings}
|
|
52
54
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetApiMappings API Gateway V2: GetApiMappings}
|
|
53
55
|
*/
|
|
54
|
-
GetApiMappings: (input: { DomainName: string, MaxResults?: number, NextToken?: string, paginate?: boolean | string }) => Promise<GetApiMappingsResponse>
|
|
56
|
+
GetApiMappings: (input: AwsLiteMethodOptions & { DomainName: string, MaxResults?: number, NextToken?: string, paginate?: boolean | string }) => Promise<GetApiMappingsResponse>
|
|
55
57
|
/**
|
|
56
58
|
* @description
|
|
57
59
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments-deploymentid.html#GetDeployment API Gateway V2: GetDeployment}
|
|
58
60
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetDeployment API Gateway V2: GetDeployment}
|
|
59
61
|
*/
|
|
60
|
-
GetDeployment: (input: { ApiId: string, NextToken?: string, MaxResults?: number }) => Promise<GetDeploymentResponse>
|
|
62
|
+
GetDeployment: (input: AwsLiteMethodOptions & { ApiId: string, NextToken?: string, MaxResults?: number }) => Promise<GetDeploymentResponse>
|
|
61
63
|
/**
|
|
62
64
|
* @description
|
|
63
65
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-deployments.html#GetDeployments API Gateway V2: GetDeployments}
|
|
64
66
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#GetDeployments API Gateway V2: GetDeployments}
|
|
65
67
|
*/
|
|
66
|
-
GetDeployments: (input: { ApiId: string, NextToken?: string, MaxResults?: number, paginate?: boolean | string }) => Promise<GetDeploymentsResponse>
|
|
68
|
+
GetDeployments: (input: AwsLiteMethodOptions & { ApiId: string, NextToken?: string, MaxResults?: number, paginate?: boolean | string }) => Promise<GetDeploymentsResponse>
|
|
67
69
|
/**
|
|
68
70
|
* @description
|
|
69
71
|
* - AWS docs: {@link https://docs.aws.amazon.com/apigatewayv2/latest/api-reference/apis-apiid-stages-stagename.html#UpdateStage API Gateway V2: UpdateStage}
|
|
70
72
|
* - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/apigatewayv2/readme.md#UpdateStage API Gateway V2: UpdateStage}
|
|
71
73
|
*/
|
|
72
|
-
UpdateStage: (input: { ApiId: string, StageName: string, AccessLogSettings?: Record<string, any>, AutoDeploy?: boolean, ClientCertificateId?: string, DefaultRouteSettings?: Record<string, any>, DeploymentId?: string, Description?: string, RouteSettings?: Record<string, any>, StageVariables?: Record<string, any> }) => Promise<UpdateStageResponse>
|
|
74
|
+
UpdateStage: (input: AwsLiteMethodOptions & { ApiId: string, StageName: string, AccessLogSettings?: Record<string, any>, AutoDeploy?: boolean, ClientCertificateId?: string, DefaultRouteSettings?: Record<string, any>, DeploymentId?: string, Description?: string, RouteSettings?: Record<string, any>, StageVariables?: Record<string, any> }) => Promise<UpdateStageResponse>
|
|
73
75
|
// $METHODS_END
|
|
74
76
|
}
|
|
75
77
|
|
package/package.json
CHANGED