@aws-sdk/client-transfer 3.1036.0 → 3.1038.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 CHANGED
@@ -1309,6 +1309,10 @@ const DirectoryListingOptimization = {
1309
1309
  DISABLED: "DISABLED",
1310
1310
  ENABLED: "ENABLED",
1311
1311
  };
1312
+ const WebAppVpcEndpointIpAddressType = {
1313
+ DUALSTACK: "DUALSTACK",
1314
+ IPV4: "IPV4",
1315
+ };
1312
1316
  const WebAppEndpointPolicy = {
1313
1317
  FIPS: "FIPS",
1314
1318
  STANDARD: "STANDARD",
@@ -1479,6 +1483,7 @@ exports.UpdateWebAppCommand = UpdateWebAppCommand;
1479
1483
  exports.UpdateWebAppCustomizationCommand = UpdateWebAppCustomizationCommand;
1480
1484
  exports.WebAppEndpointPolicy = WebAppEndpointPolicy;
1481
1485
  exports.WebAppEndpointType = WebAppEndpointType;
1486
+ exports.WebAppVpcEndpointIpAddressType = WebAppVpcEndpointIpAddressType;
1482
1487
  exports.WorkflowStepType = WorkflowStepType;
1483
1488
  exports.paginateListAccesses = paginateListAccesses;
1484
1489
  exports.paginateListAgreements = paginateListAgreements;
@@ -1549,8 +1549,8 @@ exports.UpdateWebAppResponse$ = [3, n0, _UWARp,
1549
1549
  ];
1550
1550
  exports.UpdateWebAppVpcConfig$ = [3, n0, _UWAVC,
1551
1551
  0,
1552
- [_SIu],
1553
- [64 | 0]
1552
+ [_SIu, _IAT],
1553
+ [64 | 0, 0]
1554
1554
  ];
1555
1555
  exports.UserDetails$ = [3, n0, _UD,
1556
1556
  0,
@@ -1559,8 +1559,8 @@ exports.UserDetails$ = [3, n0, _UD,
1559
1559
  ];
1560
1560
  exports.WebAppVpcConfig$ = [3, n0, _WAVC,
1561
1561
  0,
1562
- [_SIu, _VI, _SGI],
1563
- [64 | 0, 0, 64 | 0]
1562
+ [_SIu, _VI, _SGI, _IAT],
1563
+ [64 | 0, 0, 64 | 0, 0]
1564
1564
  ];
1565
1565
  exports.WorkflowDetail$ = [3, n0, _WDo,
1566
1566
  0,
@@ -141,6 +141,10 @@ export const DirectoryListingOptimization = {
141
141
  DISABLED: "DISABLED",
142
142
  ENABLED: "ENABLED",
143
143
  };
144
+ export const WebAppVpcEndpointIpAddressType = {
145
+ DUALSTACK: "DUALSTACK",
146
+ IPV4: "IPV4",
147
+ };
144
148
  export const WebAppEndpointPolicy = {
145
149
  FIPS: "FIPS",
146
150
  STANDARD: "STANDARD",
@@ -1541,8 +1541,8 @@ export var UpdateWebAppResponse$ = [3, n0, _UWARp,
1541
1541
  ];
1542
1542
  export var UpdateWebAppVpcConfig$ = [3, n0, _UWAVC,
1543
1543
  0,
1544
- [_SIu],
1545
- [64 | 0]
1544
+ [_SIu, _IAT],
1545
+ [64 | 0, 0]
1546
1546
  ];
1547
1547
  export var UserDetails$ = [3, n0, _UD,
1548
1548
  0,
@@ -1551,8 +1551,8 @@ export var UserDetails$ = [3, n0, _UD,
1551
1551
  ];
1552
1552
  export var WebAppVpcConfig$ = [3, n0, _WAVC,
1553
1553
  0,
1554
- [_SIu, _VI, _SGI],
1555
- [64 | 0, 0, 64 | 0]
1554
+ [_SIu, _VI, _SGI, _IAT],
1555
+ [64 | 0, 0, 64 | 0, 0]
1556
1556
  ];
1557
1557
  export var WorkflowDetail$ = [3, n0, _WDo,
1558
1558
  0,
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeServerCommand } from "../commands/DescribeServerCommand";
2
+ import { DescribeServerCommand, } from "../commands/DescribeServerCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeServerCommand } from "../commands/DescribeServerCommand";
2
+ import { DescribeServerCommand, } from "../commands/DescribeServerCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -603,13 +603,13 @@ export interface Transfer {
603
603
  * @param args - command input.
604
604
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
605
605
  */
606
- waitUntilServerOffline(args: DescribeServerCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transfer>, "client">): Promise<WaiterResult>;
606
+ waitUntilServerOffline(args: DescribeServerCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transfer>, "client">): Promise<WaiterResult<DescribeServerCommandOutput>>;
607
607
  /**
608
608
  * @see {@link DescribeServerCommand}
609
609
  * @param args - command input.
610
610
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
611
611
  */
612
- waitUntilServerOnline(args: DescribeServerCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transfer>, "client">): Promise<WaiterResult>;
612
+ waitUntilServerOnline(args: DescribeServerCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Transfer>, "client">): Promise<WaiterResult<DescribeServerCommandOutput>>;
613
613
  }
614
614
  /**
615
615
  * <p>Transfer Family is a fully managed service that enables the transfer of files over the File Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS. Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3. Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating with existing authentication systems, and providing DNS routing with Amazon Route 53 so nothing changes for your customers and partners, or their applications. With your data in Amazon S3, you can use it with Amazon Web Services services for processing, analytics, machine learning, and archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and set up.</p>
@@ -63,6 +63,7 @@ declare const CreateWebAppCommand_base: {
63
63
  * SecurityGroupIds: [ // SecurityGroupIds
64
64
  * "STRING_VALUE",
65
65
  * ],
66
+ * IpAddressType: "IPV4" || "DUALSTACK",
66
67
  * },
67
68
  * },
68
69
  * };
@@ -52,6 +52,7 @@ declare const UpdateWebAppCommand_base: {
52
52
  * SubnetIds: [ // SubnetIds
53
53
  * "STRING_VALUE",
54
54
  * ],
55
+ * IpAddressType: "IPV4" || "DUALSTACK",
55
56
  * },
56
57
  * },
57
58
  * };
@@ -381,6 +381,18 @@ export declare const DirectoryListingOptimization: {
381
381
  * @public
382
382
  */
383
383
  export type DirectoryListingOptimization = (typeof DirectoryListingOptimization)[keyof typeof DirectoryListingOptimization];
384
+ /**
385
+ * @public
386
+ * @enum
387
+ */
388
+ export declare const WebAppVpcEndpointIpAddressType: {
389
+ readonly DUALSTACK: "DUALSTACK";
390
+ readonly IPV4: "IPV4";
391
+ };
392
+ /**
393
+ * @public
394
+ */
395
+ export type WebAppVpcEndpointIpAddressType = (typeof WebAppVpcEndpointIpAddressType)[keyof typeof WebAppVpcEndpointIpAddressType];
384
396
  /**
385
397
  * @public
386
398
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CompressionEnum, ConnectorEgressType, ConnectorsIpAddressType, ConnectorStatus, CustomStepStatus, DirectoryListingOptimization, Domain, EncryptionAlg, EncryptionType, EndpointType, EnforceMessageSigningType, ExecutionErrorType, ExecutionStatus, HomeDirectoryType, IdentityProviderType, IpAddressType, MapType, MdnResponse, MdnSigningAlg, OverwriteExisting, PreserveContentType, PreserveFilenameType, ProfileType, Protocol, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WorkflowStepType } from "./enums";
1
+ import type { AgreementStatusType, As2Transport, CertificateStatusType, CertificateType, CertificateUsageType, CompressionEnum, ConnectorEgressType, ConnectorsIpAddressType, ConnectorStatus, CustomStepStatus, DirectoryListingOptimization, Domain, EncryptionAlg, EncryptionType, EndpointType, EnforceMessageSigningType, ExecutionErrorType, ExecutionStatus, HomeDirectoryType, IdentityProviderType, IpAddressType, MapType, MdnResponse, MdnSigningAlg, OverwriteExisting, PreserveContentType, PreserveFilenameType, ProfileType, Protocol, SecurityPolicyProtocol, SecurityPolicyResourceType, SetStatOption, SftpAuthenticationMethods, SigningAlg, State, TlsSessionResumptionMode, TransferTableStatus, WebAppEndpointPolicy, WebAppEndpointType, WebAppVpcEndpointIpAddressType, WorkflowStepType } from "./enums";
2
2
  /**
3
3
  * <p>Contains Amazon S3 locations for storing specific types of AS2 message files.</p>
4
4
  * @public
@@ -1735,6 +1735,11 @@ export interface WebAppVpcConfig {
1735
1735
  * @public
1736
1736
  */
1737
1737
  SecurityGroupIds?: string[] | undefined;
1738
+ /**
1739
+ * <p>The IP address type for the web app's VPC endpoint. This determines whether the endpoint is accessible over IPv4 only, or over both IPv4 and IPv6.</p>
1740
+ * @public
1741
+ */
1742
+ IpAddressType?: WebAppVpcEndpointIpAddressType | undefined;
1738
1743
  }
1739
1744
  /**
1740
1745
  * <p>Contains the endpoint configuration for a web app, including VPC settings when the endpoint is hosted within a VPC.</p>
@@ -4601,6 +4606,11 @@ export interface UpdateWebAppVpcConfig {
4601
4606
  * @public
4602
4607
  */
4603
4608
  SubnetIds?: string[] | undefined;
4609
+ /**
4610
+ * <p>The IP address type for the web app's VPC endpoint. This determines whether the endpoint is accessible over IPv4 only, or over both IPv4 and IPv6.</p>
4611
+ * @public
4612
+ */
4613
+ IpAddressType?: WebAppVpcEndpointIpAddressType | undefined;
4604
4614
  }
4605
4615
  /**
4606
4616
  * <p>Contains the endpoint configuration details for updating a web app, including VPC settings for endpoints hosted within a VPC.</p>
@@ -1321,7 +1321,7 @@ export interface Transfer {
1321
1321
  WaiterConfiguration<Transfer>,
1322
1322
  Exclude<keyof WaiterConfiguration<Transfer>, "client">
1323
1323
  >
1324
- ): Promise<WaiterResult>;
1324
+ ): Promise<WaiterResult<DescribeServerCommandOutput>>;
1325
1325
  waitUntilServerOnline(
1326
1326
  args: DescribeServerCommandInput,
1327
1327
  waiterConfig:
@@ -1330,6 +1330,6 @@ export interface Transfer {
1330
1330
  WaiterConfiguration<Transfer>,
1331
1331
  Exclude<keyof WaiterConfiguration<Transfer>, "client">
1332
1332
  >
1333
- ): Promise<WaiterResult>;
1333
+ ): Promise<WaiterResult<DescribeServerCommandOutput>>;
1334
1334
  }
1335
1335
  export declare class Transfer extends TransferClient implements Transfer {}
@@ -189,6 +189,12 @@ export declare const DirectoryListingOptimization: {
189
189
  };
190
190
  export type DirectoryListingOptimization =
191
191
  (typeof DirectoryListingOptimization)[keyof typeof DirectoryListingOptimization];
192
+ export declare const WebAppVpcEndpointIpAddressType: {
193
+ readonly DUALSTACK: "DUALSTACK";
194
+ readonly IPV4: "IPV4";
195
+ };
196
+ export type WebAppVpcEndpointIpAddressType =
197
+ (typeof WebAppVpcEndpointIpAddressType)[keyof typeof WebAppVpcEndpointIpAddressType];
192
198
  export declare const WebAppEndpointPolicy: {
193
199
  readonly FIPS: "FIPS";
194
200
  readonly STANDARD: "STANDARD";
@@ -38,6 +38,7 @@ import {
38
38
  TransferTableStatus,
39
39
  WebAppEndpointPolicy,
40
40
  WebAppEndpointType,
41
+ WebAppVpcEndpointIpAddressType,
41
42
  WorkflowStepType,
42
43
  } from "./enums";
43
44
  export interface CustomDirectoriesType {
@@ -475,6 +476,7 @@ export interface WebAppVpcConfig {
475
476
  SubnetIds?: string[] | undefined;
476
477
  VpcId?: string | undefined;
477
478
  SecurityGroupIds?: string[] | undefined;
479
+ IpAddressType?: WebAppVpcEndpointIpAddressType | undefined;
478
480
  }
479
481
  export type WebAppEndpointDetails =
480
482
  | WebAppEndpointDetails.VpcMember
@@ -1221,6 +1223,7 @@ export interface UpdateWebAppCustomizationResponse {
1221
1223
  }
1222
1224
  export interface UpdateWebAppVpcConfig {
1223
1225
  SubnetIds?: string[] | undefined;
1226
+ IpAddressType?: WebAppVpcEndpointIpAddressType | undefined;
1224
1227
  }
1225
1228
  export type UpdateWebAppEndpointDetails =
1226
1229
  | UpdateWebAppEndpointDetails.VpcMember
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeServerCommandInput } from "../commands/DescribeServerCommand";
2
+ import {
3
+ DescribeServerCommandInput,
4
+ DescribeServerCommandOutput,
5
+ } from "../commands/DescribeServerCommand";
6
+ import { TransferServiceException } from "../models/TransferServiceException";
3
7
  import { TransferClient } from "../TransferClient";
4
8
  export declare const waitForServerOffline: (
5
9
  params: WaiterConfiguration<TransferClient>,
6
10
  input: DescribeServerCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeServerCommandOutput | TransferServiceException>
13
+ >;
8
14
  export declare const waitUntilServerOffline: (
9
15
  params: WaiterConfiguration<TransferClient>,
10
16
  input: DescribeServerCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeServerCommandOutput>>;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeServerCommandInput } from "../commands/DescribeServerCommand";
2
+ import {
3
+ DescribeServerCommandInput,
4
+ DescribeServerCommandOutput,
5
+ } from "../commands/DescribeServerCommand";
6
+ import { TransferServiceException } from "../models/TransferServiceException";
3
7
  import { TransferClient } from "../TransferClient";
4
8
  export declare const waitForServerOnline: (
5
9
  params: WaiterConfiguration<TransferClient>,
6
10
  input: DescribeServerCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeServerCommandOutput | TransferServiceException>
13
+ >;
8
14
  export declare const waitUntilServerOnline: (
9
15
  params: WaiterConfiguration<TransferClient>,
10
16
  input: DescribeServerCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeServerCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeServerCommandInput } from "../commands/DescribeServerCommand";
2
+ import { type DescribeServerCommandInput, type DescribeServerCommandOutput } from "../commands/DescribeServerCommand";
3
+ import type { TransferServiceException } from "../models/TransferServiceException";
3
4
  import type { TransferClient } from "../TransferClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilServerOffline instead. waitForServerOffline does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServerOffline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServerOffline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult<DescribeServerCommandOutput | TransferServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeServerCommand for polling.
13
14
  */
14
- export declare const waitUntilServerOffline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServerOffline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult<DescribeServerCommandOutput>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeServerCommandInput } from "../commands/DescribeServerCommand";
2
+ import { type DescribeServerCommandInput, type DescribeServerCommandOutput } from "../commands/DescribeServerCommand";
3
+ import type { TransferServiceException } from "../models/TransferServiceException";
3
4
  import type { TransferClient } from "../TransferClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilServerOnline instead. waitForServerOnline does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForServerOnline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForServerOnline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult<DescribeServerCommandOutput | TransferServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeServerCommand for polling.
13
14
  */
14
- export declare const waitUntilServerOnline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilServerOnline: (params: WaiterConfiguration<TransferClient>, input: DescribeServerCommandInput) => Promise<WaiterResult<DescribeServerCommandOutput>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-transfer",
3
3
  "description": "AWS SDK for JavaScript Transfer Client for Node.js, Browser and React Native",
4
- "version": "3.1036.0",
4
+ "version": "3.1038.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-transfer",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.974.5",
25
- "@aws-sdk/credential-provider-node": "^3.972.36",
24
+ "@aws-sdk/core": "^3.974.6",
25
+ "@aws-sdk/credential-provider-node": "^3.972.37",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.10",
27
27
  "@aws-sdk/middleware-logger": "^3.972.10",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
29
- "@aws-sdk/middleware-user-agent": "^3.972.35",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.36",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.13",
31
31
  "@aws-sdk/types": "^3.973.8",
32
32
  "@aws-sdk/util-endpoints": "^3.996.8",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
34
- "@aws-sdk/util-user-agent-node": "^3.973.21",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.22",
35
35
  "@smithy/config-resolver": "^4.4.17",
36
36
  "@smithy/core": "^3.23.17",
37
37
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -39,7 +39,7 @@
39
39
  "@smithy/invalid-dependency": "^4.2.14",
40
40
  "@smithy/middleware-content-length": "^4.2.14",
41
41
  "@smithy/middleware-endpoint": "^4.4.32",
42
- "@smithy/middleware-retry": "^4.5.5",
42
+ "@smithy/middleware-retry": "^4.5.6",
43
43
  "@smithy/middleware-serde": "^4.2.20",
44
44
  "@smithy/middleware-stack": "^4.2.14",
45
45
  "@smithy/node-config-provider": "^4.3.14",
@@ -55,9 +55,9 @@
55
55
  "@smithy/util-defaults-mode-node": "^4.2.54",
56
56
  "@smithy/util-endpoints": "^3.4.2",
57
57
  "@smithy/util-middleware": "^4.2.14",
58
- "@smithy/util-retry": "^4.3.4",
58
+ "@smithy/util-retry": "^4.3.5",
59
59
  "@smithy/util-utf8": "^4.2.2",
60
- "@smithy/util-waiter": "^4.2.16",
60
+ "@smithy/util-waiter": "^4.3.0",
61
61
  "tslib": "^2.6.2"
62
62
  },
63
63
  "devDependencies": {