@aws-sdk/client-lambda-core 3.1148.0 → 3.1150.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 (40) hide show
  1. package/README.md +8 -1
  2. package/dist-cjs/index.js +64 -11
  3. package/dist-es/LambdaCore.js +4 -0
  4. package/dist-es/commands/ListNetworkConnectorVersionsCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/LambdaCoreServiceException.js +1 -0
  7. package/dist-es/models/enums.js +3 -0
  8. package/dist-es/models/errors.js +6 -0
  9. package/dist-es/pagination/ListNetworkConnectorVersionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +40 -10
  12. package/dist-types/LambdaCore.d.ts +15 -1
  13. package/dist-types/LambdaCoreClient.d.ts +4 -3
  14. package/dist-types/commands/CreateNetworkConnectorCommand.d.ts +6 -4
  15. package/dist-types/commands/DeleteNetworkConnectorCommand.d.ts +4 -2
  16. package/dist-types/commands/GetNetworkConnectorCommand.d.ts +6 -3
  17. package/dist-types/commands/ListNetworkConnectorVersionsCommand.d.ts +99 -0
  18. package/dist-types/commands/ListNetworkConnectorsCommand.d.ts +2 -0
  19. package/dist-types/commands/UpdateNetworkConnectorCommand.d.ts +8 -3
  20. package/dist-types/commands/index.d.ts +1 -0
  21. package/dist-types/index.d.ts +1 -1
  22. package/dist-types/models/LambdaCoreServiceException.d.ts +1 -0
  23. package/dist-types/models/enums.d.ts +6 -0
  24. package/dist-types/models/errors.d.ts +7 -1
  25. package/dist-types/models/models_0.d.ts +157 -11
  26. package/dist-types/pagination/ListNetworkConnectorVersionsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/index.d.ts +1 -0
  28. package/dist-types/schemas/schemas_0.d.ts +4 -0
  29. package/dist-types/ts3.4/LambdaCore.d.ts +24 -0
  30. package/dist-types/ts3.4/LambdaCoreClient.d.ts +6 -0
  31. package/dist-types/ts3.4/commands/ListNetworkConnectorVersionsCommand.d.ts +42 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/LambdaCoreServiceException.d.ts +1 -0
  34. package/dist-types/ts3.4/models/enums.d.ts +3 -0
  35. package/dist-types/ts3.4/models/errors.d.ts +6 -0
  36. package/dist-types/ts3.4/models/models_0.d.ts +32 -0
  37. package/dist-types/ts3.4/pagination/ListNetworkConnectorVersionsPaginator.d.ts +11 -0
  38. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  40. package/package.json +4 -4
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListNetworkConnectorVersionsCommandInput, ListNetworkConnectorVersionsCommandOutput } from "../commands/ListNetworkConnectorVersionsCommand";
3
+ import type { LambdaCorePaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListNetworkConnectorVersions: (config: LambdaCorePaginationConfiguration, input: ListNetworkConnectorVersionsCommandInput, ...rest: any[]) => Paginator<ListNetworkConnectorVersionsCommandOutput>;
@@ -1,2 +1,3 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListNetworkConnectorsPaginator";
3
+ export * from "./ListNetworkConnectorVersionsPaginator";
@@ -21,7 +21,10 @@ export declare var GetNetworkConnectorRequest$: StaticStructureSchema;
21
21
  export declare var GetNetworkConnectorResponse$: StaticStructureSchema;
22
22
  export declare var ListNetworkConnectorsRequest$: StaticStructureSchema;
23
23
  export declare var ListNetworkConnectorsResponse$: StaticStructureSchema;
24
+ export declare var ListNetworkConnectorVersionsRequest$: StaticStructureSchema;
25
+ export declare var ListNetworkConnectorVersionsResponse$: StaticStructureSchema;
24
26
  export declare var NetworkConnectorSummary$: StaticStructureSchema;
27
+ export declare var NetworkConnectorVersionSummary$: StaticStructureSchema;
25
28
  export declare var NetworkConnectorVpcEgressConfiguration$: StaticStructureSchema;
26
29
  export declare var UpdateNetworkConnectorRequest$: StaticStructureSchema;
27
30
  export declare var UpdateNetworkConnectorResponse$: StaticStructureSchema;
@@ -30,4 +33,5 @@ export declare var CreateNetworkConnector$: StaticOperationSchema;
30
33
  export declare var DeleteNetworkConnector$: StaticOperationSchema;
31
34
  export declare var GetNetworkConnector$: StaticOperationSchema;
32
35
  export declare var ListNetworkConnectors$: StaticOperationSchema;
36
+ export declare var ListNetworkConnectorVersions$: StaticOperationSchema;
33
37
  export declare var UpdateNetworkConnector$: StaticOperationSchema;
@@ -20,6 +20,10 @@ import {
20
20
  ListNetworkConnectorsCommandInput,
21
21
  ListNetworkConnectorsCommandOutput,
22
22
  } from "./commands/ListNetworkConnectorsCommand";
23
+ import {
24
+ ListNetworkConnectorVersionsCommandInput,
25
+ ListNetworkConnectorVersionsCommandOutput,
26
+ } from "./commands/ListNetworkConnectorVersionsCommand";
23
27
  import {
24
28
  UpdateNetworkConnectorCommandInput,
25
29
  UpdateNetworkConnectorCommandOutput,
@@ -82,6 +86,19 @@ export interface LambdaCore {
82
86
  options: LambdaCoreRequestOptions,
83
87
  cb: (err: any, data?: ListNetworkConnectorsCommandOutput) => void,
84
88
  ): void;
89
+ listNetworkConnectorVersions(
90
+ args: ListNetworkConnectorVersionsCommandInput,
91
+ options?: LambdaCoreRequestOptions,
92
+ ): Promise<ListNetworkConnectorVersionsCommandOutput>;
93
+ listNetworkConnectorVersions(
94
+ args: ListNetworkConnectorVersionsCommandInput,
95
+ cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void,
96
+ ): void;
97
+ listNetworkConnectorVersions(
98
+ args: ListNetworkConnectorVersionsCommandInput,
99
+ options: LambdaCoreRequestOptions,
100
+ cb: (err: any, data?: ListNetworkConnectorVersionsCommandOutput) => void,
101
+ ): void;
85
102
  updateNetworkConnector(
86
103
  args: UpdateNetworkConnectorCommandInput,
87
104
  options?: LambdaCoreRequestOptions,
@@ -102,5 +119,12 @@ export interface LambdaCore {
102
119
  Exclude<keyof PaginationConfiguration, "client">
103
120
  >,
104
121
  ): Paginator<ListNetworkConnectorsCommandOutput>;
122
+ paginateListNetworkConnectorVersions(
123
+ args: ListNetworkConnectorVersionsCommandInput,
124
+ paginationConfig?: Pick<
125
+ PaginationConfiguration,
126
+ Exclude<keyof PaginationConfiguration, "client">
127
+ >,
128
+ ): Paginator<ListNetworkConnectorVersionsCommandOutput>;
105
129
  }
106
130
  export declare class LambdaCore extends LambdaCoreClient implements LambdaCore {}
@@ -49,6 +49,10 @@ import {
49
49
  ListNetworkConnectorsCommandInput,
50
50
  ListNetworkConnectorsCommandOutput,
51
51
  } from "./commands/ListNetworkConnectorsCommand";
52
+ import {
53
+ ListNetworkConnectorVersionsCommandInput,
54
+ ListNetworkConnectorVersionsCommandOutput,
55
+ } from "./commands/ListNetworkConnectorVersionsCommand";
52
56
  import {
53
57
  UpdateNetworkConnectorCommandInput,
54
58
  UpdateNetworkConnectorCommandOutput,
@@ -64,12 +68,14 @@ export type ServiceInputTypes =
64
68
  | CreateNetworkConnectorCommandInput
65
69
  | DeleteNetworkConnectorCommandInput
66
70
  | GetNetworkConnectorCommandInput
71
+ | ListNetworkConnectorVersionsCommandInput
67
72
  | ListNetworkConnectorsCommandInput
68
73
  | UpdateNetworkConnectorCommandInput;
69
74
  export type ServiceOutputTypes =
70
75
  | CreateNetworkConnectorCommandOutput
71
76
  | DeleteNetworkConnectorCommandOutput
72
77
  | GetNetworkConnectorCommandOutput
78
+ | ListNetworkConnectorVersionsCommandOutput
73
79
  | ListNetworkConnectorsCommandOutput
74
80
  | UpdateNetworkConnectorCommandOutput;
75
81
  export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListNetworkConnectorVersionsRequest,
4
+ ListNetworkConnectorVersionsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListNetworkConnectorVersionsCommandInput extends ListNetworkConnectorVersionsRequest {}
8
+ export interface ListNetworkConnectorVersionsCommandOutput
9
+ extends ListNetworkConnectorVersionsResponse, __MetadataBearer {}
10
+ declare const ListNetworkConnectorVersionsCommand_base: {
11
+ new (
12
+ input: ListNetworkConnectorVersionsCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListNetworkConnectorVersionsCommandInput,
15
+ ListNetworkConnectorVersionsCommandOutput,
16
+ import("..").LambdaCoreClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: ListNetworkConnectorVersionsCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListNetworkConnectorVersionsCommandInput,
24
+ ListNetworkConnectorVersionsCommandOutput,
25
+ import("..").LambdaCoreClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListNetworkConnectorVersionsCommand extends ListNetworkConnectorVersionsCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListNetworkConnectorVersionsRequest;
35
+ output: ListNetworkConnectorVersionsResponse;
36
+ };
37
+ sdk: {
38
+ input: ListNetworkConnectorVersionsCommandInput;
39
+ output: ListNetworkConnectorVersionsCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -1,5 +1,6 @@
1
1
  export * from "./CreateNetworkConnectorCommand";
2
2
  export * from "./DeleteNetworkConnectorCommand";
3
3
  export * from "./GetNetworkConnectorCommand";
4
+ export * from "./ListNetworkConnectorVersionsCommand";
4
5
  export * from "./ListNetworkConnectorsCommand";
5
6
  export * from "./UpdateNetworkConnectorCommand";
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class LambdaCoreServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -1,5 +1,6 @@
1
1
  export declare const ComputeResourceType: {
2
2
  readonly MicroVm: "MicroVm";
3
+ readonly WebFunction: "WebFunction";
3
4
  };
4
5
  export type ComputeResourceType = (typeof ComputeResourceType)[keyof typeof ComputeResourceType];
5
6
  export declare const NetworkProtocol: {
@@ -40,6 +41,7 @@ export declare const NetworkConnectorLastUpdateStatusReasonCode: {
40
41
  readonly InternalError: "InternalError";
41
42
  readonly InvalidSecurityGroup: "InvalidSecurityGroup";
42
43
  readonly InvalidSubnet: "InvalidSubnet";
44
+ readonly SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded";
43
45
  readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
44
46
  };
45
47
  export type NetworkConnectorLastUpdateStatusReasonCode =
@@ -51,6 +53,7 @@ export declare const NetworkConnectorStateReasonCode: {
51
53
  readonly InternalError: "InternalError";
52
54
  readonly InvalidSecurityGroup: "InvalidSecurityGroup";
53
55
  readonly InvalidSubnet: "InvalidSubnet";
56
+ readonly SecurityGroupsPerInterfaceLimitExceeded: "SecurityGroupsPerInterfaceLimitExceeded";
54
57
  readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses";
55
58
  };
56
59
  export type NetworkConnectorStateReasonCode =
@@ -2,24 +2,28 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
2
2
  import { ThrottleReason } from "./enums";
3
3
  import { LambdaCoreServiceException as __BaseException } from "./LambdaCoreServiceException";
4
4
  export declare class InvalidParameterValueException extends __BaseException {
5
+ static readonly shapeId: string;
5
6
  readonly name: "InvalidParameterValueException";
6
7
  readonly $fault: "client";
7
8
  Type?: string | undefined;
8
9
  constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
9
10
  }
10
11
  export declare class NetworkConnectorLimitExceededException extends __BaseException {
12
+ static readonly shapeId: string;
11
13
  readonly name: "NetworkConnectorLimitExceededException";
12
14
  readonly $fault: "client";
13
15
  Type?: string | undefined;
14
16
  constructor(opts: __ExceptionOptionType<NetworkConnectorLimitExceededException, __BaseException>);
15
17
  }
16
18
  export declare class ResourceConflictException extends __BaseException {
19
+ static readonly shapeId: string;
17
20
  readonly name: "ResourceConflictException";
18
21
  readonly $fault: "client";
19
22
  Type?: string | undefined;
20
23
  constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
21
24
  }
22
25
  export declare class ServiceException extends __BaseException {
26
+ static readonly shapeId: string;
23
27
  readonly name: "ServiceException";
24
28
  readonly $fault: "server";
25
29
  Type?: string | undefined;
@@ -27,6 +31,7 @@ export declare class ServiceException extends __BaseException {
27
31
  constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
28
32
  }
29
33
  export declare class TooManyRequestsException extends __BaseException {
34
+ static readonly shapeId: string;
30
35
  readonly name: "TooManyRequestsException";
31
36
  readonly $fault: "client";
32
37
  retryAfterSeconds?: string | undefined;
@@ -35,6 +40,7 @@ export declare class TooManyRequestsException extends __BaseException {
35
40
  constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
36
41
  }
37
42
  export declare class ResourceNotFoundException extends __BaseException {
43
+ static readonly shapeId: string;
38
44
  readonly name: "ResourceNotFoundException";
39
45
  readonly $fault: "client";
40
46
  Type?: string | undefined;
@@ -41,6 +41,8 @@ export interface CreateNetworkConnectorResponse {
41
41
  Arn: string | undefined;
42
42
  Name: string | undefined;
43
43
  Id: string | undefined;
44
+ VersionArn?: string | undefined;
45
+ Version?: number | undefined;
44
46
  Configuration?: NetworkConnectorConfiguration | undefined;
45
47
  OperatorRole?: string | undefined;
46
48
  State?: NetworkConnectorState | undefined;
@@ -52,6 +54,8 @@ export interface DeleteNetworkConnectorResponse {
52
54
  Arn: string | undefined;
53
55
  Name: string | undefined;
54
56
  Id: string | undefined;
57
+ VersionArn?: string | undefined;
58
+ Version?: number | undefined;
55
59
  Configuration?: NetworkConnectorConfiguration | undefined;
56
60
  OperatorRole?: string | undefined;
57
61
  State?: NetworkConnectorState | undefined;
@@ -63,7 +67,10 @@ export interface GetNetworkConnectorResponse {
63
67
  Arn: string | undefined;
64
68
  Name: string | undefined;
65
69
  Id: string | undefined;
70
+ VersionArn?: string | undefined;
66
71
  Version?: number | undefined;
72
+ LatestVersionArn?: string | undefined;
73
+ LatestVersion?: number | undefined;
67
74
  Configuration?: NetworkConnectorConfiguration | undefined;
68
75
  OperatorRole?: string | undefined;
69
76
  State?: NetworkConnectorState | undefined;
@@ -86,11 +93,34 @@ export interface NetworkConnectorSummary {
86
93
  Type: NetworkConnectorType | undefined;
87
94
  State?: NetworkConnectorState | undefined;
88
95
  LastModified?: Date | undefined;
96
+ LatestVersionArn?: string | undefined;
97
+ LatestVersion?: number | undefined;
89
98
  }
90
99
  export interface ListNetworkConnectorsResponse {
91
100
  NetworkConnectors: NetworkConnectorSummary[] | undefined;
92
101
  NextMarker?: string | undefined;
93
102
  }
103
+ export interface ListNetworkConnectorVersionsRequest {
104
+ Identifier: string | undefined;
105
+ State?: NetworkConnectorState | undefined;
106
+ Marker?: string | undefined;
107
+ MaxItems?: number | undefined;
108
+ }
109
+ export interface NetworkConnectorVersionSummary {
110
+ Arn: string | undefined;
111
+ VersionArn: string | undefined;
112
+ Name: string | undefined;
113
+ Id: string | undefined;
114
+ Version: number | undefined;
115
+ State: NetworkConnectorState | undefined;
116
+ StateReason?: string | undefined;
117
+ StateReasonCode?: NetworkConnectorStateReasonCode | undefined;
118
+ LastModified?: Date | undefined;
119
+ }
120
+ export interface ListNetworkConnectorVersionsResponse {
121
+ NetworkConnectorVersions: NetworkConnectorVersionSummary[] | undefined;
122
+ NextMarker?: string | undefined;
123
+ }
94
124
  export interface UpdateNetworkConnectorRequest {
95
125
  Identifier: string | undefined;
96
126
  Configuration?: NetworkConnectorConfiguration | undefined;
@@ -101,6 +131,8 @@ export interface UpdateNetworkConnectorResponse {
101
131
  Arn: string | undefined;
102
132
  Name: string | undefined;
103
133
  Id: string | undefined;
134
+ VersionArn?: string | undefined;
135
+ Version?: number | undefined;
104
136
  OperatorRole?: string | undefined;
105
137
  Configuration?: NetworkConnectorConfiguration | undefined;
106
138
  State?: NetworkConnectorState | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListNetworkConnectorVersionsCommandInput,
4
+ ListNetworkConnectorVersionsCommandOutput,
5
+ } from "../commands/ListNetworkConnectorVersionsCommand";
6
+ import { LambdaCorePaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListNetworkConnectorVersions: (
8
+ config: LambdaCorePaginationConfiguration,
9
+ input: ListNetworkConnectorVersionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListNetworkConnectorVersionsCommandOutput>;
@@ -1,2 +1,3 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListNetworkConnectorsPaginator";
3
+ export * from "./ListNetworkConnectorVersionsPaginator";
@@ -21,7 +21,10 @@ export declare var GetNetworkConnectorRequest$: StaticStructureSchema;
21
21
  export declare var GetNetworkConnectorResponse$: StaticStructureSchema;
22
22
  export declare var ListNetworkConnectorsRequest$: StaticStructureSchema;
23
23
  export declare var ListNetworkConnectorsResponse$: StaticStructureSchema;
24
+ export declare var ListNetworkConnectorVersionsRequest$: StaticStructureSchema;
25
+ export declare var ListNetworkConnectorVersionsResponse$: StaticStructureSchema;
24
26
  export declare var NetworkConnectorSummary$: StaticStructureSchema;
27
+ export declare var NetworkConnectorVersionSummary$: StaticStructureSchema;
25
28
  export declare var NetworkConnectorVpcEgressConfiguration$: StaticStructureSchema;
26
29
  export declare var UpdateNetworkConnectorRequest$: StaticStructureSchema;
27
30
  export declare var UpdateNetworkConnectorResponse$: StaticStructureSchema;
@@ -30,4 +33,5 @@ export declare var CreateNetworkConnector$: StaticOperationSchema;
30
33
  export declare var DeleteNetworkConnector$: StaticOperationSchema;
31
34
  export declare var GetNetworkConnector$: StaticOperationSchema;
32
35
  export declare var ListNetworkConnectors$: StaticOperationSchema;
36
+ export declare var ListNetworkConnectorVersions$: StaticOperationSchema;
33
37
  export declare var UpdateNetworkConnector$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda-core",
3
- "version": "3.1148.0",
3
+ "version": "3.1150.0",
4
4
  "description": "AWS SDK for JavaScript Lambda Core Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda-core",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.86",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",