@aws-sdk/client-transfer 3.713.0 → 3.715.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
@@ -74,6 +74,7 @@ __export(src_exports, {
74
74
  EncryptionAlg: () => EncryptionAlg,
75
75
  EncryptionType: () => EncryptionType,
76
76
  EndpointType: () => EndpointType,
77
+ EnforceMessageSigningType: () => EnforceMessageSigningType,
77
78
  ExecutionErrorType: () => ExecutionErrorType,
78
79
  ExecutionStatus: () => ExecutionStatus,
79
80
  HomeDirectoryType: () => HomeDirectoryType,
@@ -104,6 +105,8 @@ __export(src_exports, {
104
105
  MdnResponse: () => MdnResponse,
105
106
  MdnSigningAlg: () => MdnSigningAlg,
106
107
  OverwriteExisting: () => OverwriteExisting,
108
+ PreserveContentType: () => PreserveContentType,
109
+ PreserveFilenameType: () => PreserveFilenameType,
107
110
  ProfileType: () => ProfileType,
108
111
  Protocol: () => Protocol,
109
112
  ResourceExistsException: () => ResourceExistsException,
@@ -354,6 +357,14 @@ var _AccessDeniedException = class _AccessDeniedException extends TransferServic
354
357
  };
355
358
  __name(_AccessDeniedException, "AccessDeniedException");
356
359
  var AccessDeniedException = _AccessDeniedException;
360
+ var EnforceMessageSigningType = {
361
+ DISABLED: "DISABLED",
362
+ ENABLED: "ENABLED"
363
+ };
364
+ var PreserveFilenameType = {
365
+ DISABLED: "DISABLED",
366
+ ENABLED: "ENABLED"
367
+ };
357
368
  var AgreementStatusType = {
358
369
  ACTIVE: "ACTIVE",
359
370
  INACTIVE: "INACTIVE"
@@ -511,6 +522,10 @@ var MdnSigningAlg = {
511
522
  SHA384: "SHA384",
512
523
  SHA512: "SHA512"
513
524
  };
525
+ var PreserveContentType = {
526
+ DISABLED: "DISABLED",
527
+ ENABLED: "ENABLED"
528
+ };
514
529
  var SigningAlg = {
515
530
  NONE: "NONE",
516
531
  SHA1: "SHA1",
@@ -3590,6 +3605,8 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3590
3605
  waitForServerOnline,
3591
3606
  waitUntilServerOnline,
3592
3607
  AccessDeniedException,
3608
+ EnforceMessageSigningType,
3609
+ PreserveFilenameType,
3593
3610
  AgreementStatusType,
3594
3611
  InternalServiceError,
3595
3612
  InvalidRequestException,
@@ -3602,6 +3619,7 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3602
3619
  EncryptionAlg,
3603
3620
  MdnResponse,
3604
3621
  MdnSigningAlg,
3622
+ PreserveContentType,
3605
3623
  SigningAlg,
3606
3624
  As2Transport,
3607
3625
  CertificateStatusType,
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
23
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
25
  (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ const profileConfig = { profile: config?.profile };
26
27
  return {
27
28
  ...clientSharedValues,
28
29
  ...config,
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
32
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
35
  (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
36
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
37
+ region: config?.region ??
38
+ (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
37
39
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
40
  retryMode: config?.retryMode ??
39
41
  (0, node_config_provider_1.loadConfig)({
40
42
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
43
  default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
- }),
44
+ }, config),
43
45
  sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
46
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
47
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
48
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
49
+ userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
48
50
  };
49
51
  };
50
52
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -13,6 +13,14 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Message = opts.Message;
14
14
  }
15
15
  }
16
+ export const EnforceMessageSigningType = {
17
+ DISABLED: "DISABLED",
18
+ ENABLED: "ENABLED",
19
+ };
20
+ export const PreserveFilenameType = {
21
+ DISABLED: "DISABLED",
22
+ ENABLED: "ENABLED",
23
+ };
16
24
  export const AgreementStatusType = {
17
25
  ACTIVE: "ACTIVE",
18
26
  INACTIVE: "INACTIVE",
@@ -135,6 +143,10 @@ export const MdnSigningAlg = {
135
143
  SHA384: "SHA384",
136
144
  SHA512: "SHA512",
137
145
  };
146
+ export const PreserveContentType = {
147
+ DISABLED: "DISABLED",
148
+ ENABLED: "ENABLED",
149
+ };
138
150
  export const SigningAlg = {
139
151
  NONE: "NONE",
140
152
  SHA1: "SHA1",
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
19
19
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
20
20
  const clientSharedValues = getSharedRuntimeConfig(config);
21
21
  awsCheckVersion(process.version);
22
+ const profileConfig = { profile: config?.profile };
22
23
  return {
23
24
  ...clientSharedValues,
24
25
  ...config,
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
28
29
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
29
30
  defaultUserAgentProvider: config?.defaultUserAgentProvider ??
30
31
  createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
- maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
- region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
32
+ maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
33
+ region: config?.region ??
34
+ loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
33
35
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
36
  retryMode: config?.retryMode ??
35
37
  loadNodeConfig({
36
38
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
37
39
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
38
- }),
40
+ }, config),
39
41
  sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
40
42
  streamCollector: config?.streamCollector ?? streamCollector,
41
- useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
42
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
43
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
43
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
44
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
45
+ userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
44
46
  };
45
47
  };
@@ -163,6 +163,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
163
163
  * The AWS region to which this client will send requests
164
164
  */
165
165
  region?: string | __Provider<string>;
166
+ /**
167
+ * Setting a client profile is similar to setting a value for the
168
+ * AWS_PROFILE environment variable. Setting a profile on a client
169
+ * in code only affects the single client instance, unlike AWS_PROFILE.
170
+ *
171
+ * When set, and only for environments where an AWS configuration
172
+ * file exists, fields configurable by this file will be retrieved
173
+ * from the specified profile within that file.
174
+ * Conflicting code configuration and environment variables will
175
+ * still have higher priority.
176
+ *
177
+ * For client credential resolution that involves checking the AWS
178
+ * configuration file, the client's profile (this value) will be
179
+ * used unless a different profile is set in the credential
180
+ * provider options.
181
+ *
182
+ */
183
+ profile?: string;
166
184
  /**
167
185
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
168
186
  * @internal
@@ -53,6 +53,8 @@ declare const CreateAgreementCommand_base: {
53
53
  * Value: "STRING_VALUE", // required
54
54
  * },
55
55
  * ],
56
+ * PreserveFilename: "ENABLED" || "DISABLED",
57
+ * EnforceMessageSigning: "ENABLED" || "DISABLED",
56
58
  * };
57
59
  * const command = new CreateAgreementCommand(input);
58
60
  * const response = await client.send(command);
@@ -51,6 +51,7 @@ declare const CreateConnectorCommand_base: {
51
51
  * MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
52
52
  * MdnResponse: "SYNC" || "NONE",
53
53
  * BasicAuthSecretId: "STRING_VALUE",
54
+ * PreserveContentType: "ENABLED" || "DISABLED",
54
55
  * },
55
56
  * AccessRole: "STRING_VALUE", // required
56
57
  * LoggingRole: "STRING_VALUE",
@@ -57,6 +57,8 @@ declare const DescribeAgreementCommand_base: {
57
57
  * // Value: "STRING_VALUE", // required
58
58
  * // },
59
59
  * // ],
60
+ * // PreserveFilename: "ENABLED" || "DISABLED",
61
+ * // EnforceMessageSigning: "ENABLED" || "DISABLED",
60
62
  * // },
61
63
  * // };
62
64
  *
@@ -55,6 +55,7 @@ declare const DescribeConnectorCommand_base: {
55
55
  * // MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
56
56
  * // MdnResponse: "SYNC" || "NONE",
57
57
  * // BasicAuthSecretId: "STRING_VALUE",
58
+ * // PreserveContentType: "ENABLED" || "DISABLED",
58
59
  * // },
59
60
  * // AccessRole: "STRING_VALUE",
60
61
  * // LoggingRole: "STRING_VALUE",
@@ -45,6 +45,8 @@ declare const UpdateAgreementCommand_base: {
45
45
  * PartnerProfileId: "STRING_VALUE",
46
46
  * BaseDirectory: "STRING_VALUE",
47
47
  * AccessRole: "STRING_VALUE",
48
+ * PreserveFilename: "ENABLED" || "DISABLED",
49
+ * EnforceMessageSigning: "ENABLED" || "DISABLED",
48
50
  * };
49
51
  * const command = new UpdateAgreementCommand(input);
50
52
  * const response = await client.send(command);
@@ -49,6 +49,7 @@ declare const UpdateConnectorCommand_base: {
49
49
  * MdnSigningAlgorithm: "SHA256" || "SHA384" || "SHA512" || "SHA1" || "NONE" || "DEFAULT",
50
50
  * MdnResponse: "SYNC" || "NONE",
51
51
  * BasicAuthSecretId: "STRING_VALUE",
52
+ * PreserveContentType: "ENABLED" || "DISABLED",
52
53
  * },
53
54
  * AccessRole: "STRING_VALUE",
54
55
  * LoggingRole: "STRING_VALUE",
@@ -13,6 +13,30 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  */
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
+ /**
17
+ * @public
18
+ * @enum
19
+ */
20
+ export declare const EnforceMessageSigningType: {
21
+ readonly DISABLED: "DISABLED";
22
+ readonly ENABLED: "ENABLED";
23
+ };
24
+ /**
25
+ * @public
26
+ */
27
+ export type EnforceMessageSigningType = (typeof EnforceMessageSigningType)[keyof typeof EnforceMessageSigningType];
28
+ /**
29
+ * @public
30
+ * @enum
31
+ */
32
+ export declare const PreserveFilenameType: {
33
+ readonly DISABLED: "DISABLED";
34
+ readonly ENABLED: "ENABLED";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type PreserveFilenameType = (typeof PreserveFilenameType)[keyof typeof PreserveFilenameType];
16
40
  /**
17
41
  * @public
18
42
  * @enum
@@ -119,6 +143,42 @@ export interface CreateAgreementRequest {
119
143
  * @public
120
144
  */
121
145
  Tags?: Tag[] | undefined;
146
+ /**
147
+ * <p>
148
+ * Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload
149
+ * filename when saving it.
150
+ * </p>
151
+ * <ul>
152
+ * <li>
153
+ * <p>
154
+ * <code>ENABLED</code>: the filename provided by your trading parter is preserved when the file is saved.</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>
158
+ * <code>DISABLED</code> (default value): when Transfer Family saves the file, the filename is adjusted, as
159
+ * described in <a href="https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2">File names and locations</a>.</p>
160
+ * </li>
161
+ * </ul>
162
+ * @public
163
+ */
164
+ PreserveFilename?: PreserveFilenameType | undefined;
165
+ /**
166
+ * <p>
167
+ * Determines whether or not unsigned messages from your trading partners will be accepted.
168
+ * </p>
169
+ * <ul>
170
+ * <li>
171
+ * <p>
172
+ * <code>ENABLED</code>: Transfer Family rejects unsigned messages from your trading partner.</p>
173
+ * </li>
174
+ * <li>
175
+ * <p>
176
+ * <code>DISABLED</code> (default value): Transfer Family accepts unsigned messages from your trading partner.</p>
177
+ * </li>
178
+ * </ul>
179
+ * @public
180
+ */
181
+ EnforceMessageSigning?: EnforceMessageSigningType | undefined;
122
182
  }
123
183
  /**
124
184
  * @public
@@ -329,6 +389,42 @@ export interface DescribedAgreement {
329
389
  * @public
330
390
  */
331
391
  Tags?: Tag[] | undefined;
392
+ /**
393
+ * <p>
394
+ * Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload
395
+ * filename when saving it.
396
+ * </p>
397
+ * <ul>
398
+ * <li>
399
+ * <p>
400
+ * <code>ENABLED</code>: the filename provided by your trading parter is preserved when the file is saved.</p>
401
+ * </li>
402
+ * <li>
403
+ * <p>
404
+ * <code>DISABLED</code> (default value): when Transfer Family saves the file, the filename is adjusted, as
405
+ * described in <a href="https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2">File names and locations</a>.</p>
406
+ * </li>
407
+ * </ul>
408
+ * @public
409
+ */
410
+ PreserveFilename?: PreserveFilenameType | undefined;
411
+ /**
412
+ * <p>
413
+ * Determines whether or not unsigned messages from your trading partners will be accepted.
414
+ * </p>
415
+ * <ul>
416
+ * <li>
417
+ * <p>
418
+ * <code>ENABLED</code>: Transfer Family rejects unsigned messages from your trading partner.</p>
419
+ * </li>
420
+ * <li>
421
+ * <p>
422
+ * <code>DISABLED</code> (default value): Transfer Family accepts unsigned messages from your trading partner.</p>
423
+ * </li>
424
+ * </ul>
425
+ * @public
426
+ */
427
+ EnforceMessageSigning?: EnforceMessageSigningType | undefined;
332
428
  }
333
429
  /**
334
430
  * @public
@@ -512,6 +608,42 @@ export interface UpdateAgreementRequest {
512
608
  * @public
513
609
  */
514
610
  AccessRole?: string | undefined;
611
+ /**
612
+ * <p>
613
+ * Determines whether or not Transfer Family appends a unique string of characters to the end of the AS2 message payload
614
+ * filename when saving it.
615
+ * </p>
616
+ * <ul>
617
+ * <li>
618
+ * <p>
619
+ * <code>ENABLED</code>: the filename provided by your trading parter is preserved when the file is saved.</p>
620
+ * </li>
621
+ * <li>
622
+ * <p>
623
+ * <code>DISABLED</code> (default value): when Transfer Family saves the file, the filename is adjusted, as
624
+ * described in <a href="https://docs.aws.amazon.com/transfer/latest/userguide/send-as2-messages.html#file-names-as2">File names and locations</a>.</p>
625
+ * </li>
626
+ * </ul>
627
+ * @public
628
+ */
629
+ PreserveFilename?: PreserveFilenameType | undefined;
630
+ /**
631
+ * <p>
632
+ * Determines whether or not unsigned messages from your trading partners will be accepted.
633
+ * </p>
634
+ * <ul>
635
+ * <li>
636
+ * <p>
637
+ * <code>ENABLED</code>: Transfer Family rejects unsigned messages from your trading partner.</p>
638
+ * </li>
639
+ * <li>
640
+ * <p>
641
+ * <code>DISABLED</code> (default value): Transfer Family accepts unsigned messages from your trading partner.</p>
642
+ * </li>
643
+ * </ul>
644
+ * @public
645
+ */
646
+ EnforceMessageSigning?: EnforceMessageSigningType | undefined;
515
647
  }
516
648
  /**
517
649
  * @public
@@ -578,6 +710,18 @@ export declare const MdnSigningAlg: {
578
710
  * @public
579
711
  */
580
712
  export type MdnSigningAlg = (typeof MdnSigningAlg)[keyof typeof MdnSigningAlg];
713
+ /**
714
+ * @public
715
+ * @enum
716
+ */
717
+ export declare const PreserveContentType: {
718
+ readonly DISABLED: "DISABLED";
719
+ readonly ENABLED: "ENABLED";
720
+ };
721
+ /**
722
+ * @public
723
+ */
724
+ export type PreserveContentType = (typeof PreserveContentType)[keyof typeof PreserveContentType];
581
725
  /**
582
726
  * @public
583
727
  * @enum
@@ -692,6 +836,13 @@ export interface As2ConnectorConfig {
692
836
  * @public
693
837
  */
694
838
  BasicAuthSecretId?: string | undefined;
839
+ /**
840
+ * <p>Allows you to use the Amazon S3 <code>Content-Type</code> that is associated with objects in S3 instead of
841
+ * having the content type mapped based on the file extension. This parameter is enabled by default when you create an AS2 connector
842
+ * from the console, but disabled by default when you create an AS2 connector by calling the API directly.</p>
843
+ * @public
844
+ */
845
+ PreserveContentType?: PreserveContentType | undefined;
695
846
  }
696
847
  /**
697
848
  * @public
@@ -797,9 +948,7 @@ export interface DescribedCertificate {
797
948
  */
798
949
  Usage?: CertificateUsageType | undefined;
799
950
  /**
800
- * <p>The certificate can be either <code>ACTIVE</code>, <code>PENDING_ROTATION</code>, or
801
- * <code>INACTIVE</code>. <code>PENDING_ROTATION</code> means that this certificate will
802
- * replace the current certificate when it expires.</p>
951
+ * <p>Currently, the only available status is <code>ACTIVE</code>: all other values are reserved for future use.</p>
803
952
  * @public
804
953
  */
805
954
  Status?: CertificateStatusType | undefined;
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
26
26
  utf8Encoder: (input: string | Uint8Array) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
+ profile?: string | undefined;
29
30
  logger: import("@smithy/types").Logger;
30
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
27
27
  utf8Encoder: (input: string | Uint8Array) => string;
28
28
  disableHostPrefix: boolean;
29
29
  serviceId: string;
30
+ profile?: string | undefined;
30
31
  logger: import("@smithy/types").Logger;
31
32
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
20
20
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
22
  region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string | undefined;
23
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
25
  credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
@@ -485,6 +485,7 @@ export interface ClientDefaults
485
485
  useDualstackEndpoint?: boolean | __Provider<boolean>;
486
486
  useFipsEndpoint?: boolean | __Provider<boolean>;
487
487
  region?: string | __Provider<string>;
488
+ profile?: string;
488
489
  defaultUserAgentProvider?: Provider<__UserAgent>;
489
490
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
490
491
  maxAttempts?: number | __Provider<number>;
@@ -8,6 +8,18 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export declare const EnforceMessageSigningType: {
12
+ readonly DISABLED: "DISABLED";
13
+ readonly ENABLED: "ENABLED";
14
+ };
15
+ export type EnforceMessageSigningType =
16
+ (typeof EnforceMessageSigningType)[keyof typeof EnforceMessageSigningType];
17
+ export declare const PreserveFilenameType: {
18
+ readonly DISABLED: "DISABLED";
19
+ readonly ENABLED: "ENABLED";
20
+ };
21
+ export type PreserveFilenameType =
22
+ (typeof PreserveFilenameType)[keyof typeof PreserveFilenameType];
11
23
  export declare const AgreementStatusType: {
12
24
  readonly ACTIVE: "ACTIVE";
13
25
  readonly INACTIVE: "INACTIVE";
@@ -27,6 +39,8 @@ export interface CreateAgreementRequest {
27
39
  AccessRole: string | undefined;
28
40
  Status?: AgreementStatusType | undefined;
29
41
  Tags?: Tag[] | undefined;
42
+ PreserveFilename?: PreserveFilenameType | undefined;
43
+ EnforceMessageSigning?: EnforceMessageSigningType | undefined;
30
44
  }
31
45
  export interface CreateAgreementResponse {
32
46
  AgreementId: string | undefined;
@@ -102,6 +116,8 @@ export interface DescribedAgreement {
102
116
  BaseDirectory?: string | undefined;
103
117
  AccessRole?: string | undefined;
104
118
  Tags?: Tag[] | undefined;
119
+ PreserveFilename?: PreserveFilenameType | undefined;
120
+ EnforceMessageSigning?: EnforceMessageSigningType | undefined;
105
121
  }
106
122
  export interface DescribeAgreementResponse {
107
123
  Agreement: DescribedAgreement | undefined;
@@ -141,6 +157,8 @@ export interface UpdateAgreementRequest {
141
157
  PartnerProfileId?: string | undefined;
142
158
  BaseDirectory?: string | undefined;
143
159
  AccessRole?: string | undefined;
160
+ PreserveFilename?: PreserveFilenameType | undefined;
161
+ EnforceMessageSigning?: EnforceMessageSigningType | undefined;
144
162
  }
145
163
  export interface UpdateAgreementResponse {
146
164
  AgreementId: string | undefined;
@@ -173,6 +191,12 @@ export declare const MdnSigningAlg: {
173
191
  readonly SHA512: "SHA512";
174
192
  };
175
193
  export type MdnSigningAlg = (typeof MdnSigningAlg)[keyof typeof MdnSigningAlg];
194
+ export declare const PreserveContentType: {
195
+ readonly DISABLED: "DISABLED";
196
+ readonly ENABLED: "ENABLED";
197
+ };
198
+ export type PreserveContentType =
199
+ (typeof PreserveContentType)[keyof typeof PreserveContentType];
176
200
  export declare const SigningAlg: {
177
201
  readonly NONE: "NONE";
178
202
  readonly SHA1: "SHA1";
@@ -191,6 +215,7 @@ export interface As2ConnectorConfig {
191
215
  MdnSigningAlgorithm?: MdnSigningAlg | undefined;
192
216
  MdnResponse?: MdnResponse | undefined;
193
217
  BasicAuthSecretId?: string | undefined;
218
+ PreserveContentType?: PreserveContentType | undefined;
194
219
  }
195
220
  export declare const As2Transport: {
196
221
  readonly HTTP: "HTTP";
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
33
33
  utf8Encoder: (input: string | Uint8Array) => string;
34
34
  disableHostPrefix: boolean;
35
35
  serviceId: string;
36
+ profile?: string | undefined;
36
37
  logger: import("@smithy/types").Logger;
37
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
38
39
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
38
38
  utf8Encoder: (input: string | Uint8Array) => string;
39
39
  disableHostPrefix: boolean;
40
40
  serviceId: string;
41
+ profile?: string | undefined;
41
42
  logger: import("@smithy/types").Logger;
42
43
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
44
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: TransferClientConfig) => {
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
+ profile?: string | undefined;
25
26
  defaultUserAgentProvider: (
26
27
  config?:
27
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
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.713.0",
4
+ "version": "3.715.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-transfer",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.713.0",
24
- "@aws-sdk/client-sts": "3.713.0",
25
- "@aws-sdk/core": "3.713.0",
26
- "@aws-sdk/credential-provider-node": "3.713.0",
27
- "@aws-sdk/middleware-host-header": "3.713.0",
28
- "@aws-sdk/middleware-logger": "3.713.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.713.0",
30
- "@aws-sdk/middleware-user-agent": "3.713.0",
31
- "@aws-sdk/region-config-resolver": "3.713.0",
32
- "@aws-sdk/types": "3.713.0",
33
- "@aws-sdk/util-endpoints": "3.713.0",
34
- "@aws-sdk/util-user-agent-browser": "3.713.0",
35
- "@aws-sdk/util-user-agent-node": "3.713.0",
23
+ "@aws-sdk/client-sso-oidc": "3.714.0",
24
+ "@aws-sdk/client-sts": "3.714.0",
25
+ "@aws-sdk/core": "3.714.0",
26
+ "@aws-sdk/credential-provider-node": "3.714.0",
27
+ "@aws-sdk/middleware-host-header": "3.714.0",
28
+ "@aws-sdk/middleware-logger": "3.714.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
+ "@aws-sdk/middleware-user-agent": "3.714.0",
31
+ "@aws-sdk/region-config-resolver": "3.714.0",
32
+ "@aws-sdk/types": "3.714.0",
33
+ "@aws-sdk/util-endpoints": "3.714.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.714.0",
35
+ "@aws-sdk/util-user-agent-node": "3.714.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",