cdk-docker-image-deployment 0.0.40 → 0.0.41
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/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +16 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +3 -0
- package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +74 -68
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +3 -1
- package/node_modules/aws-sdk/apis/ds-2015-04-16.min.json +84 -1
- package/node_modules/aws-sdk/apis/ds-2015-04-16.paginators.json +78 -2
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +137 -121
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +294 -250
- package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +44 -28
- package/node_modules/aws-sdk/apis/metadata.json +2 -1
- package/node_modules/aws-sdk/apis/panorama-2019-07-24.min.json +88 -17
- package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +46 -40
- package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +3 -59
- package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +4 -0
- package/node_modules/aws-sdk/clients/appflow.d.ts +15 -1
- package/node_modules/aws-sdk/clients/browser_default.d.ts +1 -0
- package/node_modules/aws-sdk/clients/browser_default.js +1 -0
- package/node_modules/aws-sdk/clients/connect.d.ts +8 -0
- package/node_modules/aws-sdk/clients/directoryservice.d.ts +121 -0
- package/node_modules/aws-sdk/clients/ecs.d.ts +3 -3
- package/node_modules/aws-sdk/clients/guardduty.d.ts +19 -8
- package/node_modules/aws-sdk/clients/iam.d.ts +14 -14
- package/node_modules/aws-sdk/clients/iotfleetwise.d.ts +1 -1
- package/node_modules/aws-sdk/clients/medialive.d.ts +42 -0
- package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +13 -0
- package/node_modules/aws-sdk/clients/panorama.d.ts +85 -7
- package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +1 -1
- package/node_modules/aws-sdk/clients/ssm.d.ts +7 -7
- package/node_modules/aws-sdk/clients/ssmincidents.d.ts +1 -1
- package/node_modules/aws-sdk/clients/transfer.d.ts +60 -55
- package/node_modules/aws-sdk/clients/translate.d.ts +49 -19
- package/node_modules/aws-sdk/clients/wisdom.d.ts +0 -56
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +14 -14
- package/node_modules/aws-sdk/dist/aws-sdk.js +660 -307
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +40 -40
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
|
@@ -29,19 +29,19 @@ declare class Transfer extends Service {
|
|
|
29
29
|
*/
|
|
30
30
|
createAgreement(callback?: (err: AWSError, data: Transfer.Types.CreateAgreementResponse) => void): Request<Transfer.Types.CreateAgreementResponse, AWSError>;
|
|
31
31
|
/**
|
|
32
|
-
* Creates the connector, which captures the parameters for an outbound connection for the AS2 protocol. The connector is required for sending files
|
|
32
|
+
* Creates the connector, which captures the parameters for an outbound connection for the AS2 protocol. The connector is required for sending files to an externally hosted AS2 server. For more details about connectors, see Create AS2 connectors.
|
|
33
33
|
*/
|
|
34
34
|
createConnector(params: Transfer.Types.CreateConnectorRequest, callback?: (err: AWSError, data: Transfer.Types.CreateConnectorResponse) => void): Request<Transfer.Types.CreateConnectorResponse, AWSError>;
|
|
35
35
|
/**
|
|
36
|
-
* Creates the connector, which captures the parameters for an outbound connection for the AS2 protocol. The connector is required for sending files
|
|
36
|
+
* Creates the connector, which captures the parameters for an outbound connection for the AS2 protocol. The connector is required for sending files to an externally hosted AS2 server. For more details about connectors, see Create AS2 connectors.
|
|
37
37
|
*/
|
|
38
38
|
createConnector(callback?: (err: AWSError, data: Transfer.Types.CreateConnectorResponse) => void): Request<Transfer.Types.CreateConnectorResponse, AWSError>;
|
|
39
39
|
/**
|
|
40
|
-
* Creates the
|
|
40
|
+
* Creates the local or partner profile to use for AS2 transfers.
|
|
41
41
|
*/
|
|
42
42
|
createProfile(params: Transfer.Types.CreateProfileRequest, callback?: (err: AWSError, data: Transfer.Types.CreateProfileResponse) => void): Request<Transfer.Types.CreateProfileResponse, AWSError>;
|
|
43
43
|
/**
|
|
44
|
-
* Creates the
|
|
44
|
+
* Creates the local or partner profile to use for AS2 transfers.
|
|
45
45
|
*/
|
|
46
46
|
createProfile(callback?: (err: AWSError, data: Transfer.Types.CreateProfileResponse) => void): Request<Transfer.Types.CreateProfileResponse, AWSError>;
|
|
47
47
|
/**
|
|
@@ -245,11 +245,11 @@ declare class Transfer extends Service {
|
|
|
245
245
|
*/
|
|
246
246
|
importCertificate(callback?: (err: AWSError, data: Transfer.Types.ImportCertificateResponse) => void): Request<Transfer.Types.ImportCertificateResponse, AWSError>;
|
|
247
247
|
/**
|
|
248
|
-
* Adds a host key to the server specified by the ServerId parameter.
|
|
248
|
+
* Adds a host key to the server that's specified by the ServerId parameter.
|
|
249
249
|
*/
|
|
250
250
|
importHostKey(params: Transfer.Types.ImportHostKeyRequest, callback?: (err: AWSError, data: Transfer.Types.ImportHostKeyResponse) => void): Request<Transfer.Types.ImportHostKeyResponse, AWSError>;
|
|
251
251
|
/**
|
|
252
|
-
* Adds a host key to the server specified by the ServerId parameter.
|
|
252
|
+
* Adds a host key to the server that's specified by the ServerId parameter.
|
|
253
253
|
*/
|
|
254
254
|
importHostKey(callback?: (err: AWSError, data: Transfer.Types.ImportHostKeyResponse) => void): Request<Transfer.Types.ImportHostKeyResponse, AWSError>;
|
|
255
255
|
/**
|
|
@@ -301,11 +301,11 @@ declare class Transfer extends Service {
|
|
|
301
301
|
*/
|
|
302
302
|
listExecutions(callback?: (err: AWSError, data: Transfer.Types.ListExecutionsResponse) => void): Request<Transfer.Types.ListExecutionsResponse, AWSError>;
|
|
303
303
|
/**
|
|
304
|
-
* Returns a list of host keys for the server specified by the ServerId
|
|
304
|
+
* Returns a list of host keys for the server that's specified by the ServerId parameter.
|
|
305
305
|
*/
|
|
306
306
|
listHostKeys(params: Transfer.Types.ListHostKeysRequest, callback?: (err: AWSError, data: Transfer.Types.ListHostKeysResponse) => void): Request<Transfer.Types.ListHostKeysResponse, AWSError>;
|
|
307
307
|
/**
|
|
308
|
-
* Returns a list of host keys for the server specified by the ServerId
|
|
308
|
+
* Returns a list of host keys for the server that's specified by the ServerId parameter.
|
|
309
309
|
*/
|
|
310
310
|
listHostKeys(callback?: (err: AWSError, data: Transfer.Types.ListHostKeysResponse) => void): Request<Transfer.Types.ListHostKeysResponse, AWSError>;
|
|
311
311
|
/**
|
|
@@ -365,11 +365,11 @@ declare class Transfer extends Service {
|
|
|
365
365
|
*/
|
|
366
366
|
sendWorkflowStepState(callback?: (err: AWSError, data: Transfer.Types.SendWorkflowStepStateResponse) => void): Request<Transfer.Types.SendWorkflowStepStateResponse, AWSError>;
|
|
367
367
|
/**
|
|
368
|
-
* Begins an outbound file transfer. You specify the ConnectorId and the file paths for where to send the files.
|
|
368
|
+
* Begins an outbound file transfer to a remote AS2 server. You specify the ConnectorId and the file paths for where to send the files.
|
|
369
369
|
*/
|
|
370
370
|
startFileTransfer(params: Transfer.Types.StartFileTransferRequest, callback?: (err: AWSError, data: Transfer.Types.StartFileTransferResponse) => void): Request<Transfer.Types.StartFileTransferResponse, AWSError>;
|
|
371
371
|
/**
|
|
372
|
-
* Begins an outbound file transfer. You specify the ConnectorId and the file paths for where to send the files.
|
|
372
|
+
* Begins an outbound file transfer to a remote AS2 server. You specify the ConnectorId and the file paths for where to send the files.
|
|
373
373
|
*/
|
|
374
374
|
startFileTransfer(callback?: (err: AWSError, data: Transfer.Types.StartFileTransferResponse) => void): Request<Transfer.Types.StartFileTransferResponse, AWSError>;
|
|
375
375
|
/**
|
|
@@ -445,11 +445,11 @@ declare class Transfer extends Service {
|
|
|
445
445
|
*/
|
|
446
446
|
updateConnector(callback?: (err: AWSError, data: Transfer.Types.UpdateConnectorResponse) => void): Request<Transfer.Types.UpdateConnectorResponse, AWSError>;
|
|
447
447
|
/**
|
|
448
|
-
* Updates the description for the host key
|
|
448
|
+
* Updates the description for the host key that's specified by the ServerId and HostKeyId parameters.
|
|
449
449
|
*/
|
|
450
450
|
updateHostKey(params: Transfer.Types.UpdateHostKeyRequest, callback?: (err: AWSError, data: Transfer.Types.UpdateHostKeyResponse) => void): Request<Transfer.Types.UpdateHostKeyResponse, AWSError>;
|
|
451
451
|
/**
|
|
452
|
-
* Updates the description for the host key
|
|
452
|
+
* Updates the description for the host key that's specified by the ServerId and HostKeyId parameters.
|
|
453
453
|
*/
|
|
454
454
|
updateHostKey(callback?: (err: AWSError, data: Transfer.Types.UpdateHostKeyResponse) => void): Request<Transfer.Types.UpdateHostKeyResponse, AWSError>;
|
|
455
455
|
/**
|
|
@@ -600,11 +600,11 @@ declare namespace Transfer {
|
|
|
600
600
|
}
|
|
601
601
|
export interface CreateAccessResponse {
|
|
602
602
|
/**
|
|
603
|
-
* The
|
|
603
|
+
* The identifier of the server that the user is attached to.
|
|
604
604
|
*/
|
|
605
605
|
ServerId: ServerId;
|
|
606
606
|
/**
|
|
607
|
-
* The external
|
|
607
|
+
* The external identifier of the group whose users have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Transfer Family.
|
|
608
608
|
*/
|
|
609
609
|
ExternalId: ExternalId;
|
|
610
610
|
}
|
|
@@ -626,7 +626,7 @@ declare namespace Transfer {
|
|
|
626
626
|
*/
|
|
627
627
|
PartnerProfileId: ProfileId;
|
|
628
628
|
/**
|
|
629
|
-
* The landing directory (folder) for files transferred by using the AS2 protocol. A BaseDirectory example is
|
|
629
|
+
* The landing directory (folder) for files transferred by using the AS2 protocol. A BaseDirectory example is DOC-EXAMPLE-BUCKET/home/mydirectory.
|
|
630
630
|
*/
|
|
631
631
|
BaseDirectory: HomeDirectory;
|
|
632
632
|
/**
|
|
@@ -682,7 +682,7 @@ declare namespace Transfer {
|
|
|
682
682
|
*/
|
|
683
683
|
As2Id: As2Id;
|
|
684
684
|
/**
|
|
685
|
-
*
|
|
685
|
+
* Determines the type of profile to create: Specify LOCAL to create a local profile. A local profile represents the AS2-enabled Transfer Family server organization or party. Specify PARTNER to create a partner profile. A partner profile represents a remote organization, external to Transfer Family.
|
|
686
686
|
*/
|
|
687
687
|
ProfileType: ProfileType;
|
|
688
688
|
/**
|
|
@@ -718,7 +718,7 @@ declare namespace Transfer {
|
|
|
718
718
|
*/
|
|
719
719
|
EndpointType?: EndpointType;
|
|
720
720
|
/**
|
|
721
|
-
* The RSA, ECDSA, or ED25519 private key to use for your server. Use the following command to generate an RSA 2048 bit key with no passphrase: ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key. Use a minimum value of 2048 for the -b option. You can create a stronger key by using 3072 or 4096. Use the following command to generate an ECDSA 256 bit key with no passphrase: ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key. Valid values for the -b option for ECDSA are 256, 384, and 521. Use the following command to generate an ED25519 key with no passphrase: ssh-keygen -t ed25519 -N "" -f my-new-server-key. For all of these commands, you can replace my-new-server-key with a string of your choice. If you aren't planning to migrate existing users from an existing SFTP-enabled server to a new server, don't update the host key. Accidentally changing a server's host key can be disruptive. For more information, see
|
|
721
|
+
* The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled server. You can add multiple host keys, in case you want to rotate keys, or have a set of active keys that use different algorithms. Use the following command to generate an RSA 2048 bit key with no passphrase: ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key. Use a minimum value of 2048 for the -b option. You can create a stronger key by using 3072 or 4096. Use the following command to generate an ECDSA 256 bit key with no passphrase: ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key. Valid values for the -b option for ECDSA are 256, 384, and 521. Use the following command to generate an ED25519 key with no passphrase: ssh-keygen -t ed25519 -N "" -f my-new-server-key. For all of these commands, you can replace my-new-server-key with a string of your choice. If you aren't planning to migrate existing users from an existing SFTP-enabled server to a new server, don't update the host key. Accidentally changing a server's host key can be disruptive. For more information, see Update host keys for your SFTP-enabled server in the Transfer Family User Guide.
|
|
722
722
|
*/
|
|
723
723
|
HostKey?: HostKey;
|
|
724
724
|
/**
|
|
@@ -758,13 +758,13 @@ declare namespace Transfer {
|
|
|
758
758
|
*/
|
|
759
759
|
Tags?: Tags;
|
|
760
760
|
/**
|
|
761
|
-
* Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
|
|
761
|
+
* Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.
|
|
762
762
|
*/
|
|
763
763
|
WorkflowDetails?: WorkflowDetails;
|
|
764
764
|
}
|
|
765
765
|
export interface CreateServerResponse {
|
|
766
766
|
/**
|
|
767
|
-
* The service-assigned
|
|
767
|
+
* The service-assigned identifier of the server that is created.
|
|
768
768
|
*/
|
|
769
769
|
ServerId: ServerId;
|
|
770
770
|
}
|
|
@@ -812,7 +812,7 @@ declare namespace Transfer {
|
|
|
812
812
|
}
|
|
813
813
|
export interface CreateUserResponse {
|
|
814
814
|
/**
|
|
815
|
-
* The
|
|
815
|
+
* The identifier of the server that the user is attached to.
|
|
816
816
|
*/
|
|
817
817
|
ServerId: ServerId;
|
|
818
818
|
/**
|
|
@@ -882,13 +882,13 @@ declare namespace Transfer {
|
|
|
882
882
|
*/
|
|
883
883
|
AgreementId: AgreementId;
|
|
884
884
|
/**
|
|
885
|
-
* The server
|
|
885
|
+
* The server identifier associated with the agreement that you are deleting.
|
|
886
886
|
*/
|
|
887
887
|
ServerId: ServerId;
|
|
888
888
|
}
|
|
889
889
|
export interface DeleteCertificateRequest {
|
|
890
890
|
/**
|
|
891
|
-
* The
|
|
891
|
+
* The identifier of the certificate object that you are deleting.
|
|
892
892
|
*/
|
|
893
893
|
CertificateId: CertificateId;
|
|
894
894
|
}
|
|
@@ -900,17 +900,17 @@ declare namespace Transfer {
|
|
|
900
900
|
}
|
|
901
901
|
export interface DeleteHostKeyRequest {
|
|
902
902
|
/**
|
|
903
|
-
*
|
|
903
|
+
* The identifier of the server that contains the host key that you are deleting.
|
|
904
904
|
*/
|
|
905
905
|
ServerId: ServerId;
|
|
906
906
|
/**
|
|
907
|
-
* The
|
|
907
|
+
* The identifier of the host key that you are deleting.
|
|
908
908
|
*/
|
|
909
909
|
HostKeyId: HostKeyId;
|
|
910
910
|
}
|
|
911
911
|
export interface DeleteProfileRequest {
|
|
912
912
|
/**
|
|
913
|
-
* The
|
|
913
|
+
* The identifier of the profile that you are deleting.
|
|
914
914
|
*/
|
|
915
915
|
ProfileId: ProfileId;
|
|
916
916
|
}
|
|
@@ -976,7 +976,7 @@ declare namespace Transfer {
|
|
|
976
976
|
*/
|
|
977
977
|
ServerId: ServerId;
|
|
978
978
|
/**
|
|
979
|
-
* The external
|
|
979
|
+
* The external identifier of the server that the access is attached to.
|
|
980
980
|
*/
|
|
981
981
|
Access: DescribedAccess;
|
|
982
982
|
}
|
|
@@ -986,7 +986,7 @@ declare namespace Transfer {
|
|
|
986
986
|
*/
|
|
987
987
|
AgreementId: AgreementId;
|
|
988
988
|
/**
|
|
989
|
-
* The server
|
|
989
|
+
* The server identifier that's associated with the agreement.
|
|
990
990
|
*/
|
|
991
991
|
ServerId: ServerId;
|
|
992
992
|
}
|
|
@@ -1042,11 +1042,11 @@ declare namespace Transfer {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
export interface DescribeHostKeyRequest {
|
|
1044
1044
|
/**
|
|
1045
|
-
*
|
|
1045
|
+
* The identifier of the server that contains the host key that you want described.
|
|
1046
1046
|
*/
|
|
1047
1047
|
ServerId: ServerId;
|
|
1048
1048
|
/**
|
|
1049
|
-
*
|
|
1049
|
+
* The identifier of the host key that you want described.
|
|
1050
1050
|
*/
|
|
1051
1051
|
HostKeyId: HostKeyId;
|
|
1052
1052
|
}
|
|
@@ -1330,7 +1330,7 @@ declare namespace Transfer {
|
|
|
1330
1330
|
*/
|
|
1331
1331
|
Description?: HostKeyDescription;
|
|
1332
1332
|
/**
|
|
1333
|
-
* The encryption algorithm used for the host key. The Type is one of the following values:
|
|
1333
|
+
* The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values: ssh-rsa ssh-ed25519 ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521
|
|
1334
1334
|
*/
|
|
1335
1335
|
Type?: HostKeyType;
|
|
1336
1336
|
/**
|
|
@@ -1468,7 +1468,7 @@ declare namespace Transfer {
|
|
|
1468
1468
|
*/
|
|
1469
1469
|
UserCount?: UserCount;
|
|
1470
1470
|
/**
|
|
1471
|
-
* Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow.
|
|
1471
|
+
* Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects.
|
|
1472
1472
|
*/
|
|
1473
1473
|
WorkflowDetails?: WorkflowDetails;
|
|
1474
1474
|
}
|
|
@@ -1545,7 +1545,7 @@ declare namespace Transfer {
|
|
|
1545
1545
|
export type Domain = "S3"|"EFS"|string;
|
|
1546
1546
|
export interface EfsFileLocation {
|
|
1547
1547
|
/**
|
|
1548
|
-
* The
|
|
1548
|
+
* The identifier of the file system, assigned by Amazon EFS.
|
|
1549
1549
|
*/
|
|
1550
1550
|
FileSystemId?: EfsFileSystemId;
|
|
1551
1551
|
/**
|
|
@@ -1566,11 +1566,11 @@ declare namespace Transfer {
|
|
|
1566
1566
|
*/
|
|
1567
1567
|
SubnetIds?: SubnetIds;
|
|
1568
1568
|
/**
|
|
1569
|
-
* The
|
|
1569
|
+
* The identifier of the VPC endpoint. This property can only be set when EndpointType is set to VPC_ENDPOINT. For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
|
|
1570
1570
|
*/
|
|
1571
1571
|
VpcEndpointId?: VpcEndpointId;
|
|
1572
1572
|
/**
|
|
1573
|
-
* The VPC
|
|
1573
|
+
* The VPC identifier of the VPC in which a server's endpoint will be hosted. This property can only be set when EndpointType is set to VPC.
|
|
1574
1574
|
*/
|
|
1575
1575
|
VpcId?: VpcId;
|
|
1576
1576
|
/**
|
|
@@ -1625,7 +1625,7 @@ declare namespace Transfer {
|
|
|
1625
1625
|
*/
|
|
1626
1626
|
S3FileLocation?: S3FileLocation;
|
|
1627
1627
|
/**
|
|
1628
|
-
* Specifies the Amazon EFS
|
|
1628
|
+
* Specifies the Amazon EFS identifier and the path for the file being used.
|
|
1629
1629
|
*/
|
|
1630
1630
|
EfsFileLocation?: EfsFileLocation;
|
|
1631
1631
|
}
|
|
@@ -1712,7 +1712,7 @@ declare namespace Transfer {
|
|
|
1712
1712
|
}
|
|
1713
1713
|
export interface ImportHostKeyRequest {
|
|
1714
1714
|
/**
|
|
1715
|
-
*
|
|
1715
|
+
* The identifier of the server that contains the host key that you are importing.
|
|
1716
1716
|
*/
|
|
1717
1717
|
ServerId: ServerId;
|
|
1718
1718
|
/**
|
|
@@ -1720,7 +1720,7 @@ declare namespace Transfer {
|
|
|
1720
1720
|
*/
|
|
1721
1721
|
HostKeyBody: HostKey;
|
|
1722
1722
|
/**
|
|
1723
|
-
*
|
|
1723
|
+
* The text description that identifies this host key.
|
|
1724
1724
|
*/
|
|
1725
1725
|
Description?: HostKeyDescription;
|
|
1726
1726
|
/**
|
|
@@ -1730,11 +1730,11 @@ declare namespace Transfer {
|
|
|
1730
1730
|
}
|
|
1731
1731
|
export interface ImportHostKeyResponse {
|
|
1732
1732
|
/**
|
|
1733
|
-
* Returns the server
|
|
1733
|
+
* Returns the server identifier that contains the imported key.
|
|
1734
1734
|
*/
|
|
1735
1735
|
ServerId: ServerId;
|
|
1736
1736
|
/**
|
|
1737
|
-
* Returns the host key
|
|
1737
|
+
* Returns the host key identifier for the imported key.
|
|
1738
1738
|
*/
|
|
1739
1739
|
HostKeyId: HostKeyId;
|
|
1740
1740
|
}
|
|
@@ -1906,7 +1906,7 @@ declare namespace Transfer {
|
|
|
1906
1906
|
*/
|
|
1907
1907
|
NextToken?: NextToken;
|
|
1908
1908
|
/**
|
|
1909
|
-
*
|
|
1909
|
+
* The identifier of the server that contains the host keys that you want to view.
|
|
1910
1910
|
*/
|
|
1911
1911
|
ServerId: ServerId;
|
|
1912
1912
|
}
|
|
@@ -1916,7 +1916,7 @@ declare namespace Transfer {
|
|
|
1916
1916
|
*/
|
|
1917
1917
|
NextToken?: NextToken;
|
|
1918
1918
|
/**
|
|
1919
|
-
* Returns the server
|
|
1919
|
+
* Returns the server identifier that contains the listed host keys.
|
|
1920
1920
|
*/
|
|
1921
1921
|
ServerId: ServerId;
|
|
1922
1922
|
/**
|
|
@@ -2185,11 +2185,11 @@ declare namespace Transfer {
|
|
|
2185
2185
|
export type ListedExecutions = ListedExecution[];
|
|
2186
2186
|
export interface ListedHostKey {
|
|
2187
2187
|
/**
|
|
2188
|
-
*
|
|
2188
|
+
* The unique Amazon Resource Name (ARN) of the host key.
|
|
2189
2189
|
*/
|
|
2190
2190
|
Arn: Arn;
|
|
2191
2191
|
/**
|
|
2192
|
-
*
|
|
2192
|
+
* A unique identifier for the host key.
|
|
2193
2193
|
*/
|
|
2194
2194
|
HostKeyId?: HostKeyId;
|
|
2195
2195
|
/**
|
|
@@ -2201,7 +2201,7 @@ declare namespace Transfer {
|
|
|
2201
2201
|
*/
|
|
2202
2202
|
Description?: HostKeyDescription;
|
|
2203
2203
|
/**
|
|
2204
|
-
* The encryption algorithm used for the host key. The Type is one of the following values:
|
|
2204
|
+
* The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values: ssh-rsa ssh-ed25519 ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521
|
|
2205
2205
|
*/
|
|
2206
2206
|
Type?: HostKeyType;
|
|
2207
2207
|
/**
|
|
@@ -2326,6 +2326,7 @@ declare namespace Transfer {
|
|
|
2326
2326
|
export type MessageSubject = string;
|
|
2327
2327
|
export type NextToken = string;
|
|
2328
2328
|
export type NullableRole = string;
|
|
2329
|
+
export type OnPartialUploadWorkflowDetails = WorkflowDetail[];
|
|
2329
2330
|
export type OnUploadWorkflowDetails = WorkflowDetail[];
|
|
2330
2331
|
export type OverwriteExisting = "TRUE"|"FALSE"|string;
|
|
2331
2332
|
export type PassiveIp = string;
|
|
@@ -2353,7 +2354,7 @@ declare namespace Transfer {
|
|
|
2353
2354
|
export type Protocol = "SFTP"|"FTP"|"FTPS"|"AS2"|string;
|
|
2354
2355
|
export interface ProtocolDetails {
|
|
2355
2356
|
/**
|
|
2356
|
-
* Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer. For example:
|
|
2357
|
+
* Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer. For example: aws transfer update-server --protocol-details PassiveIp=0.0.0.0 Replace 0.0.0.0 in the example above with the actual IP address you want to use. If you change the PassiveIp value, you must stop and then restart your Transfer Family server for the change to take effect. For details on using passive mode (PASV) in a NAT environment, see Configuring your FTPS server behind a firewall or NAT with Transfer Family. Special values The AUTO and 0.0.0.0 are special values for the PassiveIp parameter. The value PassiveIp=AUTO is assigned by default to FTP and FTPS type servers. In this case, the server automatically responds with one of the endpoint IPs within the PASV response. PassiveIp=0.0.0.0 has a more unique application for its usage. For example, if you have a High Availability (HA) Network Load Balancer (NLB) environment, where you have 3 subnets, you can only specify a single IP address using the PassiveIp parameter. This reduces the effectiveness of having High Availability. In this case, you can specify PassiveIp=0.0.0.0. This tells the client to use the same IP address as the Control connection and utilize all AZs for their connections. Note, however, that not all FTP clients support the PassiveIp=0.0.0.0 response. FileZilla and WinSCP do support it. If you are using other clients, check to see if your client supports the PassiveIp=0.0.0.0 response.
|
|
2357
2358
|
*/
|
|
2358
2359
|
PassiveIp?: PassiveIp;
|
|
2359
2360
|
/**
|
|
@@ -2630,11 +2631,11 @@ declare namespace Transfer {
|
|
|
2630
2631
|
}
|
|
2631
2632
|
export interface UpdateAccessResponse {
|
|
2632
2633
|
/**
|
|
2633
|
-
* The
|
|
2634
|
+
* The identifier of the server that the user is attached to.
|
|
2634
2635
|
*/
|
|
2635
2636
|
ServerId: ServerId;
|
|
2636
2637
|
/**
|
|
2637
|
-
* The external
|
|
2638
|
+
* The external identifier of the group whose users have access to your Amazon S3 or Amazon EFS resources over the enabled protocols using Amazon Web ServicesTransfer Family.
|
|
2638
2639
|
*/
|
|
2639
2640
|
ExternalId: ExternalId;
|
|
2640
2641
|
}
|
|
@@ -2732,25 +2733,25 @@ declare namespace Transfer {
|
|
|
2732
2733
|
}
|
|
2733
2734
|
export interface UpdateHostKeyRequest {
|
|
2734
2735
|
/**
|
|
2735
|
-
*
|
|
2736
|
+
* The identifier of the server that contains the host key that you are updating.
|
|
2736
2737
|
*/
|
|
2737
2738
|
ServerId: ServerId;
|
|
2738
2739
|
/**
|
|
2739
|
-
*
|
|
2740
|
+
* The identifier of the host key that you are updating.
|
|
2740
2741
|
*/
|
|
2741
2742
|
HostKeyId: HostKeyId;
|
|
2742
2743
|
/**
|
|
2743
|
-
*
|
|
2744
|
+
* An updated description for the host key.
|
|
2744
2745
|
*/
|
|
2745
2746
|
Description: HostKeyDescription;
|
|
2746
2747
|
}
|
|
2747
2748
|
export interface UpdateHostKeyResponse {
|
|
2748
2749
|
/**
|
|
2749
|
-
* Returns the server
|
|
2750
|
+
* Returns the server identifier for the server that contains the updated host key.
|
|
2750
2751
|
*/
|
|
2751
2752
|
ServerId: ServerId;
|
|
2752
2753
|
/**
|
|
2753
|
-
* Returns the host key
|
|
2754
|
+
* Returns the host key identifier for the updated host key.
|
|
2754
2755
|
*/
|
|
2755
2756
|
HostKeyId: HostKeyId;
|
|
2756
2757
|
}
|
|
@@ -2788,7 +2789,7 @@ declare namespace Transfer {
|
|
|
2788
2789
|
*/
|
|
2789
2790
|
EndpointType?: EndpointType;
|
|
2790
2791
|
/**
|
|
2791
|
-
* The RSA, ECDSA, or ED25519 private key to use for your server. Use the following command to generate an RSA 2048 bit key with no passphrase: ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key. Use a minimum value of 2048 for the -b option. You can create a stronger key by using 3072 or 4096. Use the following command to generate an ECDSA 256 bit key with no passphrase: ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key. Valid values for the -b option for ECDSA are 256, 384, and 521. Use the following command to generate an ED25519 key with no passphrase: ssh-keygen -t ed25519 -N "" -f my-new-server-key. For all of these commands, you can replace my-new-server-key with a string of your choice. If you aren't planning to migrate existing users from an existing SFTP-enabled server to a new server, don't update the host key. Accidentally changing a server's host key can be disruptive. For more information, see
|
|
2792
|
+
* The RSA, ECDSA, or ED25519 private key to use for your SFTP-enabled server. You can add multiple host keys, in case you want to rotate keys, or have a set of active keys that use different algorithms. Use the following command to generate an RSA 2048 bit key with no passphrase: ssh-keygen -t rsa -b 2048 -N "" -m PEM -f my-new-server-key. Use a minimum value of 2048 for the -b option. You can create a stronger key by using 3072 or 4096. Use the following command to generate an ECDSA 256 bit key with no passphrase: ssh-keygen -t ecdsa -b 256 -N "" -m PEM -f my-new-server-key. Valid values for the -b option for ECDSA are 256, 384, and 521. Use the following command to generate an ED25519 key with no passphrase: ssh-keygen -t ed25519 -N "" -f my-new-server-key. For all of these commands, you can replace my-new-server-key with a string of your choice. If you aren't planning to migrate existing users from an existing SFTP-enabled server to a new server, don't update the host key. Accidentally changing a server's host key can be disruptive. For more information, see Update host keys for your SFTP-enabled server in the Transfer Family User Guide.
|
|
2792
2793
|
*/
|
|
2793
2794
|
HostKey?: HostKey;
|
|
2794
2795
|
/**
|
|
@@ -2820,7 +2821,7 @@ declare namespace Transfer {
|
|
|
2820
2821
|
*/
|
|
2821
2822
|
ServerId: ServerId;
|
|
2822
2823
|
/**
|
|
2823
|
-
* Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example. aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
|
|
2824
|
+
* Specifies the workflow ID for the workflow to assign and the execution role that's used for executing the workflow. In additon to a workflow to execute when a file is uploaded completely, WorkflowDeatails can also contain a workflow ID (and execution role) for a workflow to execute on partial upload. A partial upload occurs when a file is open when the session disconnects. To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example. aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
|
|
2824
2825
|
*/
|
|
2825
2826
|
WorkflowDetails?: WorkflowDetails;
|
|
2826
2827
|
}
|
|
@@ -2909,7 +2910,11 @@ declare namespace Transfer {
|
|
|
2909
2910
|
/**
|
|
2910
2911
|
* A trigger that starts a workflow: the workflow begins to execute after a file is uploaded. To remove an associated workflow from a server, you can provide an empty OnUpload object, as in the following example. aws transfer update-server --server-id s-01234567890abcdef --workflow-details '{"OnUpload":[]}'
|
|
2911
2912
|
*/
|
|
2912
|
-
OnUpload
|
|
2913
|
+
OnUpload?: OnUploadWorkflowDetails;
|
|
2914
|
+
/**
|
|
2915
|
+
* A trigger that starts a workflow if a file is only partially uploaded. You can attach a workflow to a server that executes whenever there is a partial upload. A partial upload occurs when a file is open when the session disconnects.
|
|
2916
|
+
*/
|
|
2917
|
+
OnPartialUpload?: OnPartialUploadWorkflowDetails;
|
|
2913
2918
|
}
|
|
2914
2919
|
export type WorkflowId = string;
|
|
2915
2920
|
export interface WorkflowStep {
|
|
@@ -84,11 +84,11 @@ declare class Translate extends Service {
|
|
|
84
84
|
*/
|
|
85
85
|
listParallelData(callback?: (err: AWSError, data: Translate.Types.ListParallelDataResponse) => void): Request<Translate.Types.ListParallelDataResponse, AWSError>;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* Lists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources.
|
|
88
88
|
*/
|
|
89
89
|
listTagsForResource(params: Translate.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Translate.Types.ListTagsForResourceResponse) => void): Request<Translate.Types.ListTagsForResourceResponse, AWSError>;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* Lists all tags associated with a given Amazon Translate resource. For more information, see Tagging your resources.
|
|
92
92
|
*/
|
|
93
93
|
listTagsForResource(callback?: (err: AWSError, data: Translate.Types.ListTagsForResourceResponse) => void): Request<Translate.Types.ListTagsForResourceResponse, AWSError>;
|
|
94
94
|
/**
|
|
@@ -108,11 +108,11 @@ declare class Translate extends Service {
|
|
|
108
108
|
*/
|
|
109
109
|
listTextTranslationJobs(callback?: (err: AWSError, data: Translate.Types.ListTextTranslationJobsResponse) => void): Request<Translate.Types.ListTextTranslationJobsResponse, AWSError>;
|
|
110
110
|
/**
|
|
111
|
-
* Starts an asynchronous batch translation job.
|
|
111
|
+
* Starts an asynchronous batch translation job. Use batch translation jobs to translate large volumes of text across multiple documents at once. For batch translation, the input documents must share the same source language. You can specify one or more target languages. Batch translation translates each input document into each of the target languages. For more information, see Asynchronous batch processing Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation. Amazon Translate does not support batch translation of multiple source languages at once.
|
|
112
112
|
*/
|
|
113
113
|
startTextTranslationJob(params: Translate.Types.StartTextTranslationJobRequest, callback?: (err: AWSError, data: Translate.Types.StartTextTranslationJobResponse) => void): Request<Translate.Types.StartTextTranslationJobResponse, AWSError>;
|
|
114
114
|
/**
|
|
115
|
-
* Starts an asynchronous batch translation job.
|
|
115
|
+
* Starts an asynchronous batch translation job. Use batch translation jobs to translate large volumes of text across multiple documents at once. For batch translation, the input documents must share the same source language. You can specify one or more target languages. Batch translation translates each input document into each of the target languages. For more information, see Asynchronous batch processing Batch translation jobs can be described with the DescribeTextTranslationJob operation, listed with the ListTextTranslationJobs operation, and stopped with the StopTextTranslationJob operation. Amazon Translate does not support batch translation of multiple source languages at once.
|
|
116
116
|
*/
|
|
117
117
|
startTextTranslationJob(callback?: (err: AWSError, data: Translate.Types.StartTextTranslationJobResponse) => void): Request<Translate.Types.StartTextTranslationJobResponse, AWSError>;
|
|
118
118
|
/**
|
|
@@ -124,27 +124,27 @@ declare class Translate extends Service {
|
|
|
124
124
|
*/
|
|
125
125
|
stopTextTranslationJob(callback?: (err: AWSError, data: Translate.Types.StopTextTranslationJobResponse) => void): Request<Translate.Types.StopTextTranslationJobResponse, AWSError>;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources.
|
|
128
128
|
*/
|
|
129
129
|
tagResource(params: Translate.Types.TagResourceRequest, callback?: (err: AWSError, data: Translate.Types.TagResourceResponse) => void): Request<Translate.Types.TagResourceResponse, AWSError>;
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources.
|
|
132
132
|
*/
|
|
133
133
|
tagResource(callback?: (err: AWSError, data: Translate.Types.TagResourceResponse) => void): Request<Translate.Types.TagResourceResponse, AWSError>;
|
|
134
134
|
/**
|
|
135
|
-
* Translates input text from the source language to the target language. For a list of available languages and language codes, see
|
|
135
|
+
* Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.
|
|
136
136
|
*/
|
|
137
137
|
translateText(params: Translate.Types.TranslateTextRequest, callback?: (err: AWSError, data: Translate.Types.TranslateTextResponse) => void): Request<Translate.Types.TranslateTextResponse, AWSError>;
|
|
138
138
|
/**
|
|
139
|
-
* Translates input text from the source language to the target language. For a list of available languages and language codes, see
|
|
139
|
+
* Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.
|
|
140
140
|
*/
|
|
141
141
|
translateText(callback?: (err: AWSError, data: Translate.Types.TranslateTextResponse) => void): Request<Translate.Types.TranslateTextResponse, AWSError>;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources.
|
|
144
144
|
*/
|
|
145
145
|
untagResource(params: Translate.Types.UntagResourceRequest, callback?: (err: AWSError, data: Translate.Types.UntagResourceResponse) => void): Request<Translate.Types.UntagResourceResponse, AWSError>;
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* Removes a specific tag associated with an Amazon Translate resource. For more information, see Tagging your resources.
|
|
148
148
|
*/
|
|
149
149
|
untagResource(callback?: (err: AWSError, data: Translate.Types.UntagResourceResponse) => void): Request<Translate.Types.UntagResourceResponse, AWSError>;
|
|
150
150
|
/**
|
|
@@ -189,6 +189,9 @@ declare namespace Translate {
|
|
|
189
189
|
* A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.
|
|
190
190
|
*/
|
|
191
191
|
ClientToken: ClientTokenString;
|
|
192
|
+
/**
|
|
193
|
+
* Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
|
|
194
|
+
*/
|
|
192
195
|
Tags?: TagList;
|
|
193
196
|
}
|
|
194
197
|
export interface CreateParallelDataResponse {
|
|
@@ -321,6 +324,9 @@ declare namespace Translate {
|
|
|
321
324
|
* The encryption key for the custom terminology being imported.
|
|
322
325
|
*/
|
|
323
326
|
EncryptionKey?: EncryptionKey;
|
|
327
|
+
/**
|
|
328
|
+
* Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
|
|
329
|
+
*/
|
|
324
330
|
Tags?: TagList;
|
|
325
331
|
}
|
|
326
332
|
export interface ImportTerminologyResponse {
|
|
@@ -423,9 +429,15 @@ declare namespace Translate {
|
|
|
423
429
|
NextToken?: NextToken;
|
|
424
430
|
}
|
|
425
431
|
export interface ListTagsForResourceRequest {
|
|
432
|
+
/**
|
|
433
|
+
* The Amazon Resource Name (ARN) of the given Amazon Translate resource you are querying.
|
|
434
|
+
*/
|
|
426
435
|
ResourceArn: ResourceArn;
|
|
427
436
|
}
|
|
428
437
|
export interface ListTagsForResourceResponse {
|
|
438
|
+
/**
|
|
439
|
+
* Tags associated with the Amazon Translate resource being queried. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Translate. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
|
|
440
|
+
*/
|
|
429
441
|
Tags?: TagList;
|
|
430
442
|
}
|
|
431
443
|
export interface ListTerminologiesRequest {
|
|
@@ -594,23 +606,23 @@ declare namespace Translate {
|
|
|
594
606
|
*/
|
|
595
607
|
OutputDataConfig: OutputDataConfig;
|
|
596
608
|
/**
|
|
597
|
-
* The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see
|
|
609
|
+
* The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more information, see Identity and access management .
|
|
598
610
|
*/
|
|
599
611
|
DataAccessRoleArn: IamRoleArn;
|
|
600
612
|
/**
|
|
601
|
-
* The language code of the input language. For a list of language codes, see
|
|
613
|
+
* The language code of the input language. For a list of language codes, see Supported languages. Amazon Translate does not automatically detect a source language during batch translation jobs.
|
|
602
614
|
*/
|
|
603
615
|
SourceLanguageCode: LanguageCodeString;
|
|
604
616
|
/**
|
|
605
|
-
* The
|
|
617
|
+
* The target languages of the translation job. Enter up to 10 language codes. Each input file is translated into each target language. Each language code is two or five characters long. For a list of language codes, see Supported languages.
|
|
606
618
|
*/
|
|
607
619
|
TargetLanguageCodes: TargetLanguageCodeStringList;
|
|
608
620
|
/**
|
|
609
|
-
* The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term. This parameter accepts only one custom terminology resource. For a list of available custom terminology resources, use the ListTerminologies operation. For more information, see
|
|
621
|
+
* The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term. This parameter accepts only one custom terminology resource. If you specify multiple target languages for the job, translate uses the designated terminology for each requested target language that has an entry for the source term in the terminology file. For a list of available custom terminology resources, use the ListTerminologies operation. For more information, see Custom terminology.
|
|
610
622
|
*/
|
|
611
623
|
TerminologyNames?: ResourceNameList;
|
|
612
624
|
/**
|
|
613
|
-
* The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job. This parameter accepts only one parallel data resource. Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing. For a list of available parallel data resources, use the ListParallelData operation. For more information, see
|
|
625
|
+
* The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. If you specify multiple target languages for the job, the parallel data file must include translations for all the target languages. When you add parallel data to a translation job, you create an Active Custom Translation job. This parameter accepts only one parallel data resource. Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing. For a list of available parallel data resources, use the ListParallelData operation. For more information, see Customizing your translations with parallel data.
|
|
614
626
|
*/
|
|
615
627
|
ParallelDataNames?: ResourceNameList;
|
|
616
628
|
/**
|
|
@@ -618,7 +630,7 @@ declare namespace Translate {
|
|
|
618
630
|
*/
|
|
619
631
|
ClientToken: ClientTokenString;
|
|
620
632
|
/**
|
|
621
|
-
* Settings to configure your translation output, including the option to
|
|
633
|
+
* Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.
|
|
622
634
|
*/
|
|
623
635
|
Settings?: TranslationSettings;
|
|
624
636
|
}
|
|
@@ -650,14 +662,26 @@ declare namespace Translate {
|
|
|
650
662
|
}
|
|
651
663
|
export type String = string;
|
|
652
664
|
export interface Tag {
|
|
665
|
+
/**
|
|
666
|
+
* The initial part of a key-value pair that forms a tag associated with a given resource.
|
|
667
|
+
*/
|
|
653
668
|
Key: TagKey;
|
|
669
|
+
/**
|
|
670
|
+
* The second part of a key-value pair that forms a tag associated with a given resource.
|
|
671
|
+
*/
|
|
654
672
|
Value: TagValue;
|
|
655
673
|
}
|
|
656
674
|
export type TagKey = string;
|
|
657
675
|
export type TagKeyList = TagKey[];
|
|
658
676
|
export type TagList = Tag[];
|
|
659
677
|
export interface TagResourceRequest {
|
|
678
|
+
/**
|
|
679
|
+
* The Amazon Resource Name (ARN) of the given Amazon Translate resource to which you want to associate the tags.
|
|
680
|
+
*/
|
|
660
681
|
ResourceArn: ResourceArn;
|
|
682
|
+
/**
|
|
683
|
+
* Tags being associated with a specific Amazon Translate resource. There can be a maximum of 50 tags (both existing and pending) associated with a specific resource.
|
|
684
|
+
*/
|
|
661
685
|
Tags: TagList;
|
|
662
686
|
}
|
|
663
687
|
export interface TagResourceResponse {
|
|
@@ -853,7 +877,7 @@ declare namespace Translate {
|
|
|
853
877
|
*/
|
|
854
878
|
TerminologyNames?: ResourceNameList;
|
|
855
879
|
/**
|
|
856
|
-
* The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see
|
|
880
|
+
* The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see Supported languages. To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language. If you specify auto, you must send the TranslateText request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.
|
|
857
881
|
*/
|
|
858
882
|
SourceLanguageCode: LanguageCodeString;
|
|
859
883
|
/**
|
|
@@ -889,17 +913,23 @@ declare namespace Translate {
|
|
|
889
913
|
}
|
|
890
914
|
export interface TranslationSettings {
|
|
891
915
|
/**
|
|
892
|
-
* You can optionally specify the desired level of formality for
|
|
916
|
+
* You can optionally specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting. If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language. For a list of target languages that support formality, see Setting Formality in the Amazon Translate Developer Guide.
|
|
893
917
|
*/
|
|
894
918
|
Formality?: Formality;
|
|
895
919
|
/**
|
|
896
|
-
* Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output. To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words. Amazon Translate doesn't detect profanity in all of its supported languages. For languages that support profanity detection, see
|
|
920
|
+
* Enable the profanity setting if you want Amazon Translate to mask profane words and phrases in your translation output. To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words. Amazon Translate doesn't detect profanity in all of its supported languages. For languages that support profanity detection, see Masking profanity in the Amazon Translate Developer Guide. If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.
|
|
897
921
|
*/
|
|
898
922
|
Profanity?: Profanity;
|
|
899
923
|
}
|
|
900
924
|
export type UnboundedLengthString = string;
|
|
901
925
|
export interface UntagResourceRequest {
|
|
926
|
+
/**
|
|
927
|
+
* The Amazon Resource Name (ARN) of the given Amazon Translate resource from which you want to remove the tags.
|
|
928
|
+
*/
|
|
902
929
|
ResourceArn: ResourceArn;
|
|
930
|
+
/**
|
|
931
|
+
* The initial part of a key-value pair that forms a tag being removed from a given resource. Keys must be unique and cannot be duplicated for a particular resource.
|
|
932
|
+
*/
|
|
903
933
|
TagKeys: TagKeyList;
|
|
904
934
|
}
|
|
905
935
|
export interface UntagResourceResponse {
|