@aws-sdk/client-transfer 3.540.0 → 3.549.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
@@ -98,6 +98,8 @@ __export(src_exports, {
98
98
  Protocol: () => Protocol,
99
99
  ResourceExistsException: () => ResourceExistsException,
100
100
  ResourceNotFoundException: () => ResourceNotFoundException,
101
+ SecurityPolicyProtocol: () => SecurityPolicyProtocol,
102
+ SecurityPolicyResourceType: () => SecurityPolicyResourceType,
101
103
  SendWorkflowStepStateCommand: () => SendWorkflowStepStateCommand,
102
104
  ServiceUnavailableException: () => ServiceUnavailableException,
103
105
  SetStatOption: () => SetStatOption,
@@ -605,6 +607,14 @@ var ExecutionStatus = {
605
607
  HANDLING_EXCEPTION: "HANDLING_EXCEPTION",
606
608
  IN_PROGRESS: "IN_PROGRESS"
607
609
  };
610
+ var SecurityPolicyProtocol = {
611
+ FTPS: "FTPS",
612
+ SFTP: "SFTP"
613
+ };
614
+ var SecurityPolicyResourceType = {
615
+ CONNECTOR: "CONNECTOR",
616
+ SERVER: "SERVER"
617
+ };
608
618
  var State = {
609
619
  OFFLINE: "OFFLINE",
610
620
  ONLINE: "ONLINE",
@@ -3346,6 +3356,8 @@ var waitUntilServerOnline = /* @__PURE__ */ __name(async (params, input) => {
3346
3356
  CustomStepStatus,
3347
3357
  ExecutionErrorType,
3348
3358
  ExecutionStatus,
3359
+ SecurityPolicyProtocol,
3360
+ SecurityPolicyResourceType,
3349
3361
  State,
3350
3362
  InvalidNextTokenException,
3351
3363
  CreateServerRequestFilterSensitiveLog,
@@ -244,6 +244,14 @@ export const ExecutionStatus = {
244
244
  HANDLING_EXCEPTION: "HANDLING_EXCEPTION",
245
245
  IN_PROGRESS: "IN_PROGRESS",
246
246
  };
247
+ export const SecurityPolicyProtocol = {
248
+ FTPS: "FTPS",
249
+ SFTP: "SFTP",
250
+ };
251
+ export const SecurityPolicyResourceType = {
252
+ CONNECTOR: "CONNECTOR",
253
+ SERVER: "SERVER",
254
+ };
247
255
  export const State = {
248
256
  OFFLINE: "OFFLINE",
249
257
  ONLINE: "ONLINE",
@@ -65,6 +65,7 @@ declare const CreateConnectorCommand_base: {
65
65
  * "STRING_VALUE",
66
66
  * ],
67
67
  * },
68
+ * SecurityPolicyName: "STRING_VALUE",
68
69
  * };
69
70
  * const command = new CreateConnectorCommand(input);
70
71
  * const response = await client.send(command);
@@ -72,6 +72,7 @@ declare const DescribeConnectorCommand_base: {
72
72
  * // ServiceManagedEgressIpAddresses: [ // ServiceManagedEgressIpAddresses
73
73
  * // "STRING_VALUE",
74
74
  * // ],
75
+ * // SecurityPolicyName: "STRING_VALUE",
75
76
  * // },
76
77
  * // };
77
78
  *
@@ -26,10 +26,10 @@ declare const DescribeSecurityPolicyCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Describes the security policy that is attached to your file transfer protocol-enabled
30
- * server. The response contains a description of the security policy's properties. For more
29
+ * <p>Describes the security policy that is attached to your server or SFTP connector. The response contains a description of the security policy's properties. For more
31
30
  * information about security policies, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working with security
32
- * policies</a>.</p>
31
+ * policies for servers</a> or <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html">Working with security
32
+ * policies for SFTP connectors</a>.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -57,6 +57,13 @@ declare const DescribeSecurityPolicyCommand_base: {
57
57
  * // TlsCiphers: [
58
58
  * // "STRING_VALUE",
59
59
  * // ],
60
+ * // SshHostKeyAlgorithms: [
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // Type: "SERVER" || "CONNECTOR",
64
+ * // Protocols: [ // SecurityPolicyProtocols
65
+ * // "SFTP" || "FTPS",
66
+ * // ],
60
67
  * // },
61
68
  * // };
62
69
  *
@@ -26,8 +26,10 @@ declare const ListSecurityPoliciesCommand_base: {
26
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
27
  };
28
28
  /**
29
- * <p>Lists the security policies that are attached to your file transfer protocol-enabled
30
- * servers.</p>
29
+ * <p>Lists the security policies that are attached to your servers and SFTP connectors. For more information
30
+ * about security policies, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working with security
31
+ * policies for servers</a> or <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html">Working with security
32
+ * policies for SFTP connectors</a>.</p>
31
33
  * @example
32
34
  * Use a bare-bones client and the command you need to make an API call.
33
35
  * ```javascript
@@ -57,6 +57,7 @@ declare const UpdateConnectorCommand_base: {
57
57
  * "STRING_VALUE",
58
58
  * ],
59
59
  * },
60
+ * SecurityPolicyName: "STRING_VALUE",
60
61
  * };
61
62
  * const command = new UpdateConnectorCommand(input);
62
63
  * const response = await client.send(command);
@@ -899,6 +899,11 @@ export interface CreateConnectorRequest {
899
899
  * @public
900
900
  */
901
901
  SftpConfig?: SftpConnectorConfig;
902
+ /**
903
+ * <p>Specifies the name of the security policy for the connector.</p>
904
+ * @public
905
+ */
906
+ SecurityPolicyName?: string;
902
907
  }
903
908
  /**
904
909
  * @public
@@ -1612,7 +1617,7 @@ export interface CreateServerRequest {
1612
1617
  */
1613
1618
  ProtocolDetails?: ProtocolDetails;
1614
1619
  /**
1615
- * <p>Specifies the name of the security policy that is attached to the server.</p>
1620
+ * <p>Specifies the name of the security policy for the server.</p>
1616
1621
  * @public
1617
1622
  */
1618
1623
  SecurityPolicyName?: string;
@@ -2785,6 +2790,11 @@ export interface DescribedConnector {
2785
2790
  * @public
2786
2791
  */
2787
2792
  ServiceManagedEgressIpAddresses?: string[];
2793
+ /**
2794
+ * <p>The text name of the security policy for the specified connector.</p>
2795
+ * @public
2796
+ */
2797
+ SecurityPolicyName?: string;
2788
2798
  }
2789
2799
  /**
2790
2800
  * @public
@@ -3213,47 +3223,96 @@ export interface DescribedProfile {
3213
3223
  Tags?: Tag[];
3214
3224
  }
3215
3225
  /**
3216
- * <p>Describes the properties of a security policy that was specified. For more information
3226
+ * @public
3227
+ * @enum
3228
+ */
3229
+ export declare const SecurityPolicyProtocol: {
3230
+ readonly FTPS: "FTPS";
3231
+ readonly SFTP: "SFTP";
3232
+ };
3233
+ /**
3234
+ * @public
3235
+ */
3236
+ export type SecurityPolicyProtocol = (typeof SecurityPolicyProtocol)[keyof typeof SecurityPolicyProtocol];
3237
+ /**
3238
+ * @public
3239
+ * @enum
3240
+ */
3241
+ export declare const SecurityPolicyResourceType: {
3242
+ readonly CONNECTOR: "CONNECTOR";
3243
+ readonly SERVER: "SERVER";
3244
+ };
3245
+ /**
3246
+ * @public
3247
+ */
3248
+ export type SecurityPolicyResourceType = (typeof SecurityPolicyResourceType)[keyof typeof SecurityPolicyResourceType];
3249
+ /**
3250
+ * <p>Describes the properties of a security policy that you specify. For more information
3217
3251
  * about security policies, see <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html">Working with security
3218
- * policies</a>.</p>
3252
+ * policies for servers</a> or <a href="https://docs.aws.amazon.com/transfer/latest/userguide/security-policies-connectors.html">Working with security
3253
+ * policies for SFTP connectors</a>.</p>
3219
3254
  * @public
3220
3255
  */
3221
3256
  export interface DescribedSecurityPolicy {
3222
3257
  /**
3223
- * <p>Specifies whether this policy enables Federal Information Processing Standards
3224
- * (FIPS).</p>
3258
+ * <p>Specifies whether this policy enables Federal Information Processing Standards (FIPS).
3259
+ * This parameter applies to both server and connector security policies.</p>
3225
3260
  * @public
3226
3261
  */
3227
3262
  Fips?: boolean;
3228
3263
  /**
3229
- * <p>Specifies the name of the security policy that is attached to the server.</p>
3264
+ * <p>The text name of the specified security policy.</p>
3230
3265
  * @public
3231
3266
  */
3232
3267
  SecurityPolicyName: string | undefined;
3233
3268
  /**
3234
- * <p>Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security
3235
- * policy that is attached to the server.</p>
3269
+ * <p>Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy
3270
+ * that is attached to the server or connector. This parameter applies to both server and
3271
+ * connector security policies.</p>
3236
3272
  * @public
3237
3273
  */
3238
3274
  SshCiphers?: string[];
3239
3275
  /**
3240
- * <p>Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy
3241
- * that is attached to the server.</p>
3276
+ * <p>Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that
3277
+ * is attached to the server or connector. This parameter applies to both server and connector
3278
+ * security policies.</p>
3242
3279
  * @public
3243
3280
  */
3244
3281
  SshKexs?: string[];
3245
3282
  /**
3246
- * <p>Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the
3247
- * security policy that is attached to the server.</p>
3283
+ * <p>Lists the enabled SSH message authentication code (MAC) encryption algorithms in the
3284
+ * security policy that is attached to the server or connector. This parameter applies to both
3285
+ * server and connector security policies.</p>
3248
3286
  * @public
3249
3287
  */
3250
3288
  SshMacs?: string[];
3251
3289
  /**
3252
- * <p>Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the
3290
+ * <p>Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the
3253
3291
  * security policy that is attached to the server.</p>
3292
+ * <note>
3293
+ * <p>This parameter only applies to security policies for servers.</p>
3294
+ * </note>
3254
3295
  * @public
3255
3296
  */
3256
3297
  TlsCiphers?: string[];
3298
+ /**
3299
+ * <p>Lists the host key algorithms for the security policy.</p>
3300
+ * <note>
3301
+ * <p>This parameter only applies to security policies for connectors.</p>
3302
+ * </note>
3303
+ * @public
3304
+ */
3305
+ SshHostKeyAlgorithms?: string[];
3306
+ /**
3307
+ * <p>The resource type to which the security policy applies, either server or connector.</p>
3308
+ * @public
3309
+ */
3310
+ Type?: SecurityPolicyResourceType;
3311
+ /**
3312
+ * <p>Lists the file transfer protocols that the security policy applies to.</p>
3313
+ * @public
3314
+ */
3315
+ Protocols?: SecurityPolicyProtocol[];
3257
3316
  }
3258
3317
  /**
3259
3318
  * @public
@@ -3448,7 +3507,7 @@ export interface DescribedServer {
3448
3507
  */
3449
3508
  Protocols?: Protocol[];
3450
3509
  /**
3451
- * <p>Specifies the name of the security policy that is attached to the server.</p>
3510
+ * <p>Specifies the name of the security policy for the server.</p>
3452
3511
  * @public
3453
3512
  */
3454
3513
  SecurityPolicyName?: string;
@@ -3762,7 +3821,7 @@ export interface DescribeProfileResponse {
3762
3821
  */
3763
3822
  export interface DescribeSecurityPolicyRequest {
3764
3823
  /**
3765
- * <p>Specifies the name of the security policy that is attached to the server.</p>
3824
+ * <p>Specify the text name of the security policy for which you want the details.</p>
3766
3825
  * @public
3767
3826
  */
3768
3827
  SecurityPolicyName: string | undefined;
@@ -5533,6 +5592,11 @@ export interface UpdateConnectorRequest {
5533
5592
  * @public
5534
5593
  */
5535
5594
  SftpConfig?: SftpConnectorConfig;
5595
+ /**
5596
+ * <p>Specifies the name of the security policy for the connector.</p>
5597
+ * @public
5598
+ */
5599
+ SecurityPolicyName?: string;
5536
5600
  }
5537
5601
  /**
5538
5602
  * @public
@@ -5814,7 +5878,7 @@ export interface UpdateServerRequest {
5814
5878
  */
5815
5879
  Protocols?: Protocol[];
5816
5880
  /**
5817
- * <p>Specifies the name of the security policy that is attached to the server.</p>
5881
+ * <p>Specifies the name of the security policy for the server.</p>
5818
5882
  * @public
5819
5883
  */
5820
5884
  SecurityPolicyName?: string;
@@ -229,6 +229,7 @@ export interface CreateConnectorRequest {
229
229
  LoggingRole?: string;
230
230
  Tags?: Tag[];
231
231
  SftpConfig?: SftpConnectorConfig;
232
+ SecurityPolicyName?: string;
232
233
  }
233
234
  export interface CreateConnectorResponse {
234
235
  ConnectorId: string | undefined;
@@ -538,6 +539,7 @@ export interface DescribedConnector {
538
539
  Tags?: Tag[];
539
540
  SftpConfig?: SftpConnectorConfig;
540
541
  ServiceManagedEgressIpAddresses?: string[];
542
+ SecurityPolicyName?: string;
541
543
  }
542
544
  export interface DescribeConnectorResponse {
543
545
  Connector: DescribedConnector | undefined;
@@ -624,6 +626,18 @@ export interface DescribedProfile {
624
626
  CertificateIds?: string[];
625
627
  Tags?: Tag[];
626
628
  }
629
+ export declare const SecurityPolicyProtocol: {
630
+ readonly FTPS: "FTPS";
631
+ readonly SFTP: "SFTP";
632
+ };
633
+ export type SecurityPolicyProtocol =
634
+ (typeof SecurityPolicyProtocol)[keyof typeof SecurityPolicyProtocol];
635
+ export declare const SecurityPolicyResourceType: {
636
+ readonly CONNECTOR: "CONNECTOR";
637
+ readonly SERVER: "SERVER";
638
+ };
639
+ export type SecurityPolicyResourceType =
640
+ (typeof SecurityPolicyResourceType)[keyof typeof SecurityPolicyResourceType];
627
641
  export interface DescribedSecurityPolicy {
628
642
  Fips?: boolean;
629
643
  SecurityPolicyName: string | undefined;
@@ -631,6 +645,9 @@ export interface DescribedSecurityPolicy {
631
645
  SshKexs?: string[];
632
646
  SshMacs?: string[];
633
647
  TlsCiphers?: string[];
648
+ SshHostKeyAlgorithms?: string[];
649
+ Type?: SecurityPolicyResourceType;
650
+ Protocols?: SecurityPolicyProtocol[];
634
651
  }
635
652
  export declare const State: {
636
653
  readonly OFFLINE: "OFFLINE";
@@ -1054,6 +1071,7 @@ export interface UpdateConnectorRequest {
1054
1071
  AccessRole?: string;
1055
1072
  LoggingRole?: string;
1056
1073
  SftpConfig?: SftpConnectorConfig;
1074
+ SecurityPolicyName?: string;
1057
1075
  }
1058
1076
  export interface UpdateConnectorResponse {
1059
1077
  ConnectorId: string | undefined;
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.540.0",
4
+ "version": "3.549.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,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.540.0",
24
- "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.540.0",
23
+ "@aws-sdk/client-sts": "3.549.0",
24
+ "@aws-sdk/core": "3.549.0",
25
+ "@aws-sdk/credential-provider-node": "3.549.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
@@ -33,13 +33,13 @@
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
36
- "@smithy/core": "^1.4.0",
36
+ "@smithy/core": "^1.4.1",
37
37
  "@smithy/fetch-http-handler": "^2.5.0",
38
38
  "@smithy/hash-node": "^2.2.0",
39
39
  "@smithy/invalid-dependency": "^2.2.0",
40
40
  "@smithy/middleware-content-length": "^2.2.0",
41
41
  "@smithy/middleware-endpoint": "^2.5.0",
42
- "@smithy/middleware-retry": "^2.2.0",
42
+ "@smithy/middleware-retry": "^2.3.0",
43
43
  "@smithy/middleware-serde": "^2.3.0",
44
44
  "@smithy/middleware-stack": "^2.2.0",
45
45
  "@smithy/node-config-provider": "^2.3.0",