aws-sdk 2.995.0 → 2.999.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/CHANGELOG.md +28 -1
- package/README.md +1 -1
- package/apis/account-2021-02-01.examples.json +5 -0
- package/apis/account-2021-02-01.min.json +123 -0
- package/apis/account-2021-02-01.paginators.json +4 -0
- package/apis/amp-2020-08-01.min.json +442 -11
- package/apis/amp-2020-08-01.paginators.json +6 -0
- package/apis/amp-2020-08-01.waiters2.json +43 -0
- package/apis/appintegrations-2020-07-29.min.json +222 -8
- package/apis/apprunner-2020-05-15.min.json +10 -10
- package/apis/cloudcontrol-2021-09-30.examples.json +5 -0
- package/apis/cloudcontrol-2021-09-30.min.json +271 -0
- package/apis/cloudcontrol-2021-09-30.paginators.json +14 -0
- package/apis/cloudcontrol-2021-09-30.waiters2.json +31 -0
- package/apis/connect-2017-08-08.min.json +25 -11
- package/apis/dataexchange-2017-07-25.min.json +277 -38
- package/apis/dataexchange-2017-07-25.paginators.json +6 -0
- package/apis/lambda-2015-03-31.min.json +79 -42
- package/apis/macie2-2020-01-01.min.json +79 -67
- package/apis/metadata.json +13 -0
- package/apis/network-firewall-2020-11-12.min.json +65 -31
- package/apis/pinpoint-2016-12-01.min.json +226 -213
- package/apis/sesv2-2019-09-27.min.json +72 -70
- package/apis/ssm-2014-11-06.min.json +3 -0
- package/apis/synthetics-2017-10-11.min.json +39 -9
- package/apis/voice-id-2021-09-27.examples.json +5 -0
- package/apis/voice-id-2021-09-27.min.json +903 -0
- package/apis/voice-id-2021-09-27.paginators.json +24 -0
- package/apis/wisdom-2020-10-19.examples.json +5 -0
- package/apis/wisdom-2020-10-19.min.json +1525 -0
- package/apis/wisdom-2020-10-19.paginators.json +46 -0
- package/apis/workmail-2017-10-01.min.json +139 -27
- package/apis/workmail-2017-10-01.paginators.json +5 -0
- package/apis/workspaces-2015-04-08.min.json +83 -50
- package/clients/account.d.ts +136 -0
- package/clients/account.js +18 -0
- package/clients/all.d.ts +4 -0
- package/clients/all.js +5 -1
- package/clients/amp.d.ts +387 -0
- package/clients/amp.js +1 -0
- package/clients/appintegrations.d.ts +273 -2
- package/clients/apprunner.d.ts +55 -54
- package/clients/cloudcontrol.d.ts +385 -0
- package/clients/cloudcontrol.js +19 -0
- package/clients/connect.d.ts +60 -32
- package/clients/dataexchange.d.ts +226 -2
- package/clients/elbv2.d.ts +7 -7
- package/clients/imagebuilder.d.ts +27 -27
- package/clients/lambda.d.ts +61 -22
- package/clients/macie2.d.ts +29 -12
- package/clients/networkfirewall.d.ts +61 -10
- package/clients/pinpoint.d.ts +24 -0
- package/clients/sesv2.d.ts +128 -108
- package/clients/ssm.d.ts +7 -3
- package/clients/synthetics.d.ts +40 -0
- package/clients/transfer.d.ts +12 -12
- package/clients/voiceid.d.ts +1133 -0
- package/clients/voiceid.js +18 -0
- package/clients/wisdom.d.ts +1499 -0
- package/clients/wisdom.js +18 -0
- package/clients/workmail.d.ts +173 -0
- package/clients/workspaces.d.ts +87 -40
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +371 -209
- package/dist/aws-sdk.js +123 -56
- package/dist/aws-sdk.min.js +70 -70
- package/lib/config_service_placeholders.d.ts +8 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/ssm.d.ts
CHANGED
|
@@ -1230,7 +1230,7 @@ declare namespace SSM {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
DocumentVersion?: DocumentVersion;
|
|
1232
1232
|
/**
|
|
1233
|
-
* The instances targeted by the request to create an association.
|
|
1233
|
+
* The instances targeted by the request to create an association. You can target all instances in an Amazon Web Services account by specifying the InstanceIds key with a value of *.
|
|
1234
1234
|
*/
|
|
1235
1235
|
Targets?: Targets;
|
|
1236
1236
|
/**
|
|
@@ -2495,7 +2495,7 @@ declare namespace SSM {
|
|
|
2495
2495
|
*/
|
|
2496
2496
|
Parameters?: Parameters;
|
|
2497
2497
|
/**
|
|
2498
|
-
* The targets for the association. You can target instances by using tags, Amazon Web Services resource groups, all instances in an Amazon Web Services account, or individual instance IDs. For more information about choosing targets for an association, see Using targets and rate controls with State Manager associations in the Amazon Web Services Systems Manager User Guide.
|
|
2498
|
+
* The targets for the association. You can target instances by using tags, Amazon Web Services resource groups, all instances in an Amazon Web Services account, or individual instance IDs. You can target all instances in an Amazon Web Services account by specifying the InstanceIds key with a value of *. For more information about choosing targets for an association, see Using targets and rate controls with State Manager associations in the Amazon Web Services Systems Manager User Guide.
|
|
2499
2499
|
*/
|
|
2500
2500
|
Targets?: Targets;
|
|
2501
2501
|
/**
|
|
@@ -8380,7 +8380,7 @@ declare namespace SSM {
|
|
|
8380
8380
|
export type S3KeyPrefix = string;
|
|
8381
8381
|
export interface S3OutputLocation {
|
|
8382
8382
|
/**
|
|
8383
|
-
*
|
|
8383
|
+
* The Amazon Web Services Region of the S3 bucket.
|
|
8384
8384
|
*/
|
|
8385
8385
|
OutputS3Region?: S3Region;
|
|
8386
8386
|
/**
|
|
@@ -8732,6 +8732,10 @@ declare namespace SSM {
|
|
|
8732
8732
|
* The user-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.
|
|
8733
8733
|
*/
|
|
8734
8734
|
ClientToken?: IdempotencyToken;
|
|
8735
|
+
/**
|
|
8736
|
+
* Indicates whether the change request can be approved automatically without the need for manual approvals. If AutoApprovable is enabled in a change template, then setting AutoApprove to true in StartChangeRequestExecution creates a change request that bypasses approver review. Change Calendar restrictions are not bypassed in this scenario. If the state of an associated calendar is CLOSED, change freeze approvers must still grant permission for this change request to run. If they don't, the change won't be processed until the calendar state is again OPEN.
|
|
8737
|
+
*/
|
|
8738
|
+
AutoApprove?: Boolean;
|
|
8735
8739
|
/**
|
|
8736
8740
|
* Information about the Automation runbooks that are run during the runbook workflow. The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
|
|
8737
8741
|
*/
|
package/clients/synthetics.d.ts
CHANGED
|
@@ -117,6 +117,18 @@ declare class Synthetics extends Service {
|
|
|
117
117
|
updateCanary(callback?: (err: AWSError, data: Synthetics.Types.UpdateCanaryResponse) => void): Request<Synthetics.Types.UpdateCanaryResponse, AWSError>;
|
|
118
118
|
}
|
|
119
119
|
declare namespace Synthetics {
|
|
120
|
+
export interface ArtifactConfigInput {
|
|
121
|
+
/**
|
|
122
|
+
* A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3. Artifact encryption functionality is available only for canaries that use Synthetics runtime version syn-nodejs-puppeteer-3.3 or later. For more information, see Encrypting canary artifacts
|
|
123
|
+
*/
|
|
124
|
+
S3Encryption?: S3EncryptionConfig;
|
|
125
|
+
}
|
|
126
|
+
export interface ArtifactConfigOutput {
|
|
127
|
+
/**
|
|
128
|
+
* A structure that contains the configuration of encryption settings for canary artifacts that are stored in Amazon S3.
|
|
129
|
+
*/
|
|
130
|
+
S3Encryption?: S3EncryptionConfig;
|
|
131
|
+
}
|
|
120
132
|
export interface BaseScreenshot {
|
|
121
133
|
/**
|
|
122
134
|
* The name of the screenshot. This is generated the first time the canary is run after the UpdateCanary operation that specified for this canary to perform visual monitoring.
|
|
@@ -189,6 +201,10 @@ declare namespace Synthetics {
|
|
|
189
201
|
* The list of key-value pairs that are associated with the canary.
|
|
190
202
|
*/
|
|
191
203
|
Tags?: TagMap;
|
|
204
|
+
/**
|
|
205
|
+
* A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
|
|
206
|
+
*/
|
|
207
|
+
ArtifactConfig?: ArtifactConfigOutput;
|
|
192
208
|
}
|
|
193
209
|
export type CanaryArn = string;
|
|
194
210
|
export interface CanaryCodeInput {
|
|
@@ -414,6 +430,10 @@ declare namespace Synthetics {
|
|
|
414
430
|
* A list of key-value pairs to associate with the canary. You can associate as many as 50 tags with a canary. Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
|
|
415
431
|
*/
|
|
416
432
|
Tags?: TagMap;
|
|
433
|
+
/**
|
|
434
|
+
* A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
|
|
435
|
+
*/
|
|
436
|
+
ArtifactConfig?: ArtifactConfigInput;
|
|
417
437
|
}
|
|
418
438
|
export interface CreateCanaryResponse {
|
|
419
439
|
/**
|
|
@@ -489,6 +509,7 @@ declare namespace Synthetics {
|
|
|
489
509
|
*/
|
|
490
510
|
NextToken?: Token;
|
|
491
511
|
}
|
|
512
|
+
export type EncryptionMode = "SSE_S3"|"SSE_KMS"|string;
|
|
492
513
|
export type EnvironmentVariableName = string;
|
|
493
514
|
export type EnvironmentVariableValue = string;
|
|
494
515
|
export type EnvironmentVariablesMap = {[key: string]: EnvironmentVariableValue};
|
|
@@ -529,6 +550,7 @@ declare namespace Synthetics {
|
|
|
529
550
|
*/
|
|
530
551
|
NextToken?: Token;
|
|
531
552
|
}
|
|
553
|
+
export type KmsKeyArn = string;
|
|
532
554
|
export interface ListTagsForResourceRequest {
|
|
533
555
|
/**
|
|
534
556
|
* The ARN of the canary that you want to view tags for. The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name .
|
|
@@ -568,6 +590,16 @@ declare namespace Synthetics {
|
|
|
568
590
|
DeprecationDate?: Timestamp;
|
|
569
591
|
}
|
|
570
592
|
export type RuntimeVersionList = RuntimeVersion[];
|
|
593
|
+
export interface S3EncryptionConfig {
|
|
594
|
+
/**
|
|
595
|
+
* The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed KMS key. If you omit this parameter, an Amazon Web Services-managed KMS key is used.
|
|
596
|
+
*/
|
|
597
|
+
EncryptionMode?: EncryptionMode;
|
|
598
|
+
/**
|
|
599
|
+
* The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for EncryptionMode
|
|
600
|
+
*/
|
|
601
|
+
KmsKeyArn?: KmsKeyArn;
|
|
602
|
+
}
|
|
571
603
|
export type SecurityGroupId = string;
|
|
572
604
|
export type SecurityGroupIds = SecurityGroupId[];
|
|
573
605
|
export interface StartCanaryRequest {
|
|
@@ -661,6 +693,14 @@ declare namespace Synthetics {
|
|
|
661
693
|
* Defines the screenshots to use as the baseline for comparisons during visual monitoring comparisons during future runs of this canary. If you omit this parameter, no changes are made to any baseline screenshots that the canary might be using already. Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later. For more information, see Visual monitoring and Visual monitoring blueprint
|
|
662
694
|
*/
|
|
663
695
|
VisualReference?: VisualReferenceInput;
|
|
696
|
+
/**
|
|
697
|
+
* The location in Amazon S3 where Synthetics stores artifacts from the test runs of this canary. Artifacts include the log file, screenshots, and HAR files. The name of the S3 bucket can't include a period (.).
|
|
698
|
+
*/
|
|
699
|
+
ArtifactS3Location?: String;
|
|
700
|
+
/**
|
|
701
|
+
* A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.
|
|
702
|
+
*/
|
|
703
|
+
ArtifactConfig?: ArtifactConfigInput;
|
|
664
704
|
}
|
|
665
705
|
export interface UpdateCanaryResponse {
|
|
666
706
|
}
|
package/clients/transfer.d.ts
CHANGED
|
@@ -295,7 +295,7 @@ declare namespace Transfer {
|
|
|
295
295
|
*/
|
|
296
296
|
HomeDirectoryType?: HomeDirectoryType;
|
|
297
297
|
/**
|
|
298
|
-
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "
|
|
298
|
+
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ] In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("chroot"). To do this, you can set Entry to / and set Target to the HomeDirectory parameter value. The following is an Entry and Target pair example for chroot. [ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ] If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object --bucket bucketname --key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.
|
|
299
299
|
*/
|
|
300
300
|
HomeDirectoryMappings?: HomeDirectoryMappings;
|
|
301
301
|
/**
|
|
@@ -392,7 +392,7 @@ declare namespace Transfer {
|
|
|
392
392
|
*/
|
|
393
393
|
HomeDirectoryType?: HomeDirectoryType;
|
|
394
394
|
/**
|
|
395
|
-
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "
|
|
395
|
+
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ] In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("chroot"). To do this, you can set Entry to / and set Target to the HomeDirectory parameter value. The following is an Entry and Target pair example for chroot. [ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ] If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object --bucket bucketname --key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.
|
|
396
396
|
*/
|
|
397
397
|
HomeDirectoryMappings?: HomeDirectoryMappings;
|
|
398
398
|
/**
|
|
@@ -440,11 +440,11 @@ declare namespace Transfer {
|
|
|
440
440
|
*/
|
|
441
441
|
Description?: WorkflowDescription;
|
|
442
442
|
/**
|
|
443
|
-
* Specifies the details for the steps that are in the specified workflow. The TYPE specifies which of the following actions is being taken for this step. Copy: copy the file to another location Custom: custom step with a lambda target Delete: delete the file Tag: add a tag to the file For file location, you specify either the S3 bucket and key, or the EFS filesystem ID and path.
|
|
443
|
+
* Specifies the details for the steps that are in the specified workflow. The TYPE specifies which of the following actions is being taken for this step. Copy: copy the file to another location Custom: custom step with a lambda target Delete: delete the file Tag: add a tag to the file Currently, copying and tagging are supported only on S3. For file location, you specify either the S3 bucket and key, or the EFS filesystem ID and path.
|
|
444
444
|
*/
|
|
445
445
|
Steps: WorkflowSteps;
|
|
446
446
|
/**
|
|
447
|
-
* Specifies the steps (actions) to take if
|
|
447
|
+
* Specifies the steps (actions) to take if errors are encountered during execution of the workflow. For custom steps, the lambda function needs to send FAILURE to the call back API to kick off the exception steps. Additionally, if the lambda does not send SUCCESS before it times out, the exception steps are executed.
|
|
448
448
|
*/
|
|
449
449
|
OnExceptionSteps?: WorkflowSteps;
|
|
450
450
|
/**
|
|
@@ -834,7 +834,7 @@ declare namespace Transfer {
|
|
|
834
834
|
*/
|
|
835
835
|
Steps?: WorkflowSteps;
|
|
836
836
|
/**
|
|
837
|
-
* Specifies the steps (actions) to take if
|
|
837
|
+
* Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
|
838
838
|
*/
|
|
839
839
|
OnExceptionSteps?: WorkflowSteps;
|
|
840
840
|
/**
|
|
@@ -902,7 +902,7 @@ declare namespace Transfer {
|
|
|
902
902
|
*/
|
|
903
903
|
Steps?: ExecutionStepResults;
|
|
904
904
|
/**
|
|
905
|
-
* Specifies the steps (actions) to take if
|
|
905
|
+
* Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
|
|
906
906
|
*/
|
|
907
907
|
OnExceptionSteps?: ExecutionStepResults;
|
|
908
908
|
}
|
|
@@ -998,7 +998,7 @@ declare namespace Transfer {
|
|
|
998
998
|
*/
|
|
999
999
|
S3FileLocation?: S3InputFileLocation;
|
|
1000
1000
|
/**
|
|
1001
|
-
*
|
|
1001
|
+
* Reserved for future use.
|
|
1002
1002
|
*/
|
|
1003
1003
|
EfsFileLocation?: EfsFileLocation;
|
|
1004
1004
|
}
|
|
@@ -1357,7 +1357,7 @@ declare namespace Transfer {
|
|
|
1357
1357
|
}
|
|
1358
1358
|
export interface S3InputFileLocation {
|
|
1359
1359
|
/**
|
|
1360
|
-
* Specifies the S3 bucket
|
|
1360
|
+
* Specifies the S3 bucket for the customer input file.
|
|
1361
1361
|
*/
|
|
1362
1362
|
Bucket?: S3Bucket;
|
|
1363
1363
|
/**
|
|
@@ -1545,7 +1545,7 @@ declare namespace Transfer {
|
|
|
1545
1545
|
*/
|
|
1546
1546
|
HomeDirectoryType?: HomeDirectoryType;
|
|
1547
1547
|
/**
|
|
1548
|
-
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "
|
|
1548
|
+
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ] In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("chroot"). To do this, you can set Entry to / and set Target to the HomeDirectory parameter value. The following is an Entry and Target pair example for chroot. [ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ] If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object --bucket bucketname --key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.
|
|
1549
1549
|
*/
|
|
1550
1550
|
HomeDirectoryMappings?: HomeDirectoryMappings;
|
|
1551
1551
|
/**
|
|
@@ -1638,7 +1638,7 @@ declare namespace Transfer {
|
|
|
1638
1638
|
*/
|
|
1639
1639
|
HomeDirectoryType?: HomeDirectoryType;
|
|
1640
1640
|
/**
|
|
1641
|
-
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "
|
|
1641
|
+
* Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL. The following is an Entry and Target pair example. [ { "Entry": "/directory1", "Target": "/bucket_name/home/mydirectory" } ] In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("chroot"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value. The following is an Entry and Target pair example for chroot. [ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ] If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object --bucket bucketname --key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.
|
|
1642
1642
|
*/
|
|
1643
1643
|
HomeDirectoryMappings?: HomeDirectoryMappings;
|
|
1644
1644
|
/**
|
|
@@ -1716,7 +1716,7 @@ declare namespace Transfer {
|
|
|
1716
1716
|
*/
|
|
1717
1717
|
Type?: WorkflowStepType;
|
|
1718
1718
|
/**
|
|
1719
|
-
* Details for a step that performs a file copy. Consists of the following values: A description An S3
|
|
1719
|
+
* Details for a step that performs a file copy. Consists of the following values: A description An S3 location for the destination of the file copy. A flag that indicates whether or not to overwrite an existing file of the same name. The default is FALSE.
|
|
1720
1720
|
*/
|
|
1721
1721
|
CopyStepDetails?: CopyStepDetails;
|
|
1722
1722
|
/**
|
|
@@ -1724,7 +1724,7 @@ declare namespace Transfer {
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
CustomStepDetails?: CustomStepDetails;
|
|
1726
1726
|
/**
|
|
1727
|
-
*
|
|
1727
|
+
* Details for a step that deletes the file.
|
|
1728
1728
|
*/
|
|
1729
1729
|
DeleteStepDetails?: DeleteStepDetails;
|
|
1730
1730
|
/**
|