aws-sdk 2.996.0 → 2.1000.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 +24 -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/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/codebuild-2016-10-06.min.json +74 -73
- package/apis/dataexchange-2017-07-25.min.json +277 -38
- package/apis/dataexchange-2017-07-25.paginators.json +6 -0
- package/apis/kms-2014-11-01.examples.json +608 -8
- package/apis/lambda-2015-03-31.min.json +79 -42
- package/apis/macie2-2020-01-01.min.json +79 -67
- package/apis/metadata.json +6 -0
- package/apis/network-firewall-2020-11-12.min.json +65 -31
- 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/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 +2 -0
- package/clients/all.js +3 -1
- package/clients/amp.d.ts +387 -0
- package/clients/amp.js +1 -0
- package/clients/apprunner.d.ts +55 -54
- package/clients/cloudcontrol.d.ts +385 -0
- package/clients/cloudcontrol.js +19 -0
- package/clients/codebuild.d.ts +8 -3
- package/clients/dataexchange.d.ts +226 -2
- package/clients/imagebuilder.d.ts +27 -27
- package/clients/kms.d.ts +2 -2
- package/clients/lambda.d.ts +61 -22
- package/clients/macie2.d.ts +29 -12
- package/clients/networkfirewall.d.ts +61 -10
- 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/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 +307 -219
- package/dist/aws-sdk.js +165 -118
- package/dist/aws-sdk.min.js +53 -53
- package/lib/config_service_placeholders.d.ts +4 -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
|
/**
|
package/clients/workmail.d.ts
CHANGED
|
@@ -115,6 +115,14 @@ declare class WorkMail extends Service {
|
|
|
115
115
|
* Deletes permissions granted to a member (user or group).
|
|
116
116
|
*/
|
|
117
117
|
deleteMailboxPermissions(callback?: (err: AWSError, data: WorkMail.Types.DeleteMailboxPermissionsResponse) => void): Request<WorkMail.Types.DeleteMailboxPermissionsResponse, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Deletes the mobile device access override for the given WorkMail organization, user, and device.
|
|
120
|
+
*/
|
|
121
|
+
deleteMobileDeviceAccessOverride(params: WorkMail.Types.DeleteMobileDeviceAccessOverrideRequest, callback?: (err: AWSError, data: WorkMail.Types.DeleteMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.DeleteMobileDeviceAccessOverrideResponse, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Deletes the mobile device access override for the given WorkMail organization, user, and device.
|
|
124
|
+
*/
|
|
125
|
+
deleteMobileDeviceAccessOverride(callback?: (err: AWSError, data: WorkMail.Types.DeleteMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.DeleteMobileDeviceAccessOverrideResponse, AWSError>;
|
|
118
126
|
/**
|
|
119
127
|
* Deletes a mobile device access rule for the specified Amazon WorkMail organization.
|
|
120
128
|
*/
|
|
@@ -251,6 +259,14 @@ declare class WorkMail extends Service {
|
|
|
251
259
|
* Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.
|
|
252
260
|
*/
|
|
253
261
|
getMobileDeviceAccessEffect(callback?: (err: AWSError, data: WorkMail.Types.GetMobileDeviceAccessEffectResponse) => void): Request<WorkMail.Types.GetMobileDeviceAccessEffectResponse, AWSError>;
|
|
262
|
+
/**
|
|
263
|
+
* Gets the mobile device access override for the given WorkMail organization, user, and device.
|
|
264
|
+
*/
|
|
265
|
+
getMobileDeviceAccessOverride(params: WorkMail.Types.GetMobileDeviceAccessOverrideRequest, callback?: (err: AWSError, data: WorkMail.Types.GetMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.GetMobileDeviceAccessOverrideResponse, AWSError>;
|
|
266
|
+
/**
|
|
267
|
+
* Gets the mobile device access override for the given WorkMail organization, user, and device.
|
|
268
|
+
*/
|
|
269
|
+
getMobileDeviceAccessOverride(callback?: (err: AWSError, data: WorkMail.Types.GetMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.GetMobileDeviceAccessOverrideResponse, AWSError>;
|
|
254
270
|
/**
|
|
255
271
|
* Lists the access control rules for the specified organization.
|
|
256
272
|
*/
|
|
@@ -299,6 +315,14 @@ declare class WorkMail extends Service {
|
|
|
299
315
|
* Lists the mailbox permissions associated with a user, group, or resource mailbox.
|
|
300
316
|
*/
|
|
301
317
|
listMailboxPermissions(callback?: (err: AWSError, data: WorkMail.Types.ListMailboxPermissionsResponse) => void): Request<WorkMail.Types.ListMailboxPermissionsResponse, AWSError>;
|
|
318
|
+
/**
|
|
319
|
+
* Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
|
|
320
|
+
*/
|
|
321
|
+
listMobileDeviceAccessOverrides(params: WorkMail.Types.ListMobileDeviceAccessOverridesRequest, callback?: (err: AWSError, data: WorkMail.Types.ListMobileDeviceAccessOverridesResponse) => void): Request<WorkMail.Types.ListMobileDeviceAccessOverridesResponse, AWSError>;
|
|
322
|
+
/**
|
|
323
|
+
* Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
|
|
324
|
+
*/
|
|
325
|
+
listMobileDeviceAccessOverrides(callback?: (err: AWSError, data: WorkMail.Types.ListMobileDeviceAccessOverridesResponse) => void): Request<WorkMail.Types.ListMobileDeviceAccessOverridesResponse, AWSError>;
|
|
302
326
|
/**
|
|
303
327
|
* Lists the mobile device access rules for the specified Amazon WorkMail organization.
|
|
304
328
|
*/
|
|
@@ -363,6 +387,14 @@ declare class WorkMail extends Service {
|
|
|
363
387
|
* Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
|
|
364
388
|
*/
|
|
365
389
|
putMailboxPermissions(callback?: (err: AWSError, data: WorkMail.Types.PutMailboxPermissionsResponse) => void): Request<WorkMail.Types.PutMailboxPermissionsResponse, AWSError>;
|
|
390
|
+
/**
|
|
391
|
+
* Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
|
|
392
|
+
*/
|
|
393
|
+
putMobileDeviceAccessOverride(params: WorkMail.Types.PutMobileDeviceAccessOverrideRequest, callback?: (err: AWSError, data: WorkMail.Types.PutMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.PutMobileDeviceAccessOverrideResponse, AWSError>;
|
|
394
|
+
/**
|
|
395
|
+
* Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
|
|
396
|
+
*/
|
|
397
|
+
putMobileDeviceAccessOverride(callback?: (err: AWSError, data: WorkMail.Types.PutMobileDeviceAccessOverrideResponse) => void): Request<WorkMail.Types.PutMobileDeviceAccessOverrideResponse, AWSError>;
|
|
366
398
|
/**
|
|
367
399
|
* Puts a retention policy to the specified organization.
|
|
368
400
|
*/
|
|
@@ -797,6 +829,22 @@ declare namespace WorkMail {
|
|
|
797
829
|
}
|
|
798
830
|
export interface DeleteMailboxPermissionsResponse {
|
|
799
831
|
}
|
|
832
|
+
export interface DeleteMobileDeviceAccessOverrideRequest {
|
|
833
|
+
/**
|
|
834
|
+
* The Amazon WorkMail organization for which the access override will be deleted.
|
|
835
|
+
*/
|
|
836
|
+
OrganizationId: OrganizationId;
|
|
837
|
+
/**
|
|
838
|
+
* The WorkMail user for which you want to delete the override. Accepts the following types of user identities: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
|
839
|
+
*/
|
|
840
|
+
UserId: EntityIdentifier;
|
|
841
|
+
/**
|
|
842
|
+
* The mobile device for which you delete the override. DeviceId is case insensitive.
|
|
843
|
+
*/
|
|
844
|
+
DeviceId: DeviceId;
|
|
845
|
+
}
|
|
846
|
+
export interface DeleteMobileDeviceAccessOverrideResponse {
|
|
847
|
+
}
|
|
800
848
|
export interface DeleteMobileDeviceAccessRuleRequest {
|
|
801
849
|
/**
|
|
802
850
|
* The Amazon WorkMail organization under which the rule will be deleted.
|
|
@@ -1110,6 +1158,7 @@ declare namespace WorkMail {
|
|
|
1110
1158
|
DisabledDate?: Timestamp;
|
|
1111
1159
|
}
|
|
1112
1160
|
export type Description = string;
|
|
1161
|
+
export type DeviceId = string;
|
|
1113
1162
|
export type DeviceModel = string;
|
|
1114
1163
|
export type DeviceModelList = DeviceModel[];
|
|
1115
1164
|
export type DeviceOperatingSystem = string;
|
|
@@ -1164,6 +1213,7 @@ declare namespace WorkMail {
|
|
|
1164
1213
|
export type DomainName = string;
|
|
1165
1214
|
export type Domains = Domain[];
|
|
1166
1215
|
export type EmailAddress = string;
|
|
1216
|
+
export type EntityIdentifier = string;
|
|
1167
1217
|
export type EntityState = "ENABLED"|"DISABLED"|"DELETED"|string;
|
|
1168
1218
|
export interface FolderConfiguration {
|
|
1169
1219
|
/**
|
|
@@ -1285,6 +1335,46 @@ declare namespace WorkMail {
|
|
|
1285
1335
|
*/
|
|
1286
1336
|
MatchedRules?: MobileDeviceAccessMatchedRuleList;
|
|
1287
1337
|
}
|
|
1338
|
+
export interface GetMobileDeviceAccessOverrideRequest {
|
|
1339
|
+
/**
|
|
1340
|
+
* The Amazon WorkMail organization to which you want to apply the override.
|
|
1341
|
+
*/
|
|
1342
|
+
OrganizationId: OrganizationId;
|
|
1343
|
+
/**
|
|
1344
|
+
* Identifies the WorkMail user for the override. Accepts the following types of user identities: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
|
1345
|
+
*/
|
|
1346
|
+
UserId: EntityIdentifier;
|
|
1347
|
+
/**
|
|
1348
|
+
* The mobile device to which the override applies. DeviceId is case insensitive.
|
|
1349
|
+
*/
|
|
1350
|
+
DeviceId: DeviceId;
|
|
1351
|
+
}
|
|
1352
|
+
export interface GetMobileDeviceAccessOverrideResponse {
|
|
1353
|
+
/**
|
|
1354
|
+
* The WorkMail user to which the access override applies.
|
|
1355
|
+
*/
|
|
1356
|
+
UserId?: WorkMailIdentifier;
|
|
1357
|
+
/**
|
|
1358
|
+
* The device to which the access override applies.
|
|
1359
|
+
*/
|
|
1360
|
+
DeviceId?: DeviceId;
|
|
1361
|
+
/**
|
|
1362
|
+
* The effect of the override, ALLOW or DENY.
|
|
1363
|
+
*/
|
|
1364
|
+
Effect?: MobileDeviceAccessRuleEffect;
|
|
1365
|
+
/**
|
|
1366
|
+
* A description of the override.
|
|
1367
|
+
*/
|
|
1368
|
+
Description?: MobileDeviceAccessRuleDescription;
|
|
1369
|
+
/**
|
|
1370
|
+
* The date the override was first created.
|
|
1371
|
+
*/
|
|
1372
|
+
DateCreated?: Timestamp;
|
|
1373
|
+
/**
|
|
1374
|
+
* The date the description was last modified.
|
|
1375
|
+
*/
|
|
1376
|
+
DateModified?: Timestamp;
|
|
1377
|
+
}
|
|
1288
1378
|
export interface Group {
|
|
1289
1379
|
/**
|
|
1290
1380
|
* The identifier of the group.
|
|
@@ -1464,6 +1554,38 @@ declare namespace WorkMail {
|
|
|
1464
1554
|
*/
|
|
1465
1555
|
NextToken?: NextToken;
|
|
1466
1556
|
}
|
|
1557
|
+
export interface ListMobileDeviceAccessOverridesRequest {
|
|
1558
|
+
/**
|
|
1559
|
+
* The Amazon WorkMail organization under which to list mobile device access overrides.
|
|
1560
|
+
*/
|
|
1561
|
+
OrganizationId: OrganizationId;
|
|
1562
|
+
/**
|
|
1563
|
+
* The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
|
1564
|
+
*/
|
|
1565
|
+
UserId?: EntityIdentifier;
|
|
1566
|
+
/**
|
|
1567
|
+
* The mobile device to which the access override applies.
|
|
1568
|
+
*/
|
|
1569
|
+
DeviceId?: DeviceId;
|
|
1570
|
+
/**
|
|
1571
|
+
* The token to use to retrieve the next page of results. The first call does not require a token.
|
|
1572
|
+
*/
|
|
1573
|
+
NextToken?: NextToken;
|
|
1574
|
+
/**
|
|
1575
|
+
* The maximum number of results to return in a single call.
|
|
1576
|
+
*/
|
|
1577
|
+
MaxResults?: MaxResults;
|
|
1578
|
+
}
|
|
1579
|
+
export interface ListMobileDeviceAccessOverridesResponse {
|
|
1580
|
+
/**
|
|
1581
|
+
* The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.
|
|
1582
|
+
*/
|
|
1583
|
+
Overrides?: MobileDeviceAccessOverridesList;
|
|
1584
|
+
/**
|
|
1585
|
+
* The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.
|
|
1586
|
+
*/
|
|
1587
|
+
NextToken?: NextToken;
|
|
1588
|
+
}
|
|
1467
1589
|
export interface ListMobileDeviceAccessRulesRequest {
|
|
1468
1590
|
/**
|
|
1469
1591
|
* The Amazon WorkMail organization for which to list the rules.
|
|
@@ -1667,6 +1789,33 @@ declare namespace WorkMail {
|
|
|
1667
1789
|
Name?: MobileDeviceAccessRuleName;
|
|
1668
1790
|
}
|
|
1669
1791
|
export type MobileDeviceAccessMatchedRuleList = MobileDeviceAccessMatchedRule[];
|
|
1792
|
+
export interface MobileDeviceAccessOverride {
|
|
1793
|
+
/**
|
|
1794
|
+
* The WorkMail user to which the access override applies.
|
|
1795
|
+
*/
|
|
1796
|
+
UserId?: WorkMailIdentifier;
|
|
1797
|
+
/**
|
|
1798
|
+
* The device to which the override applies.
|
|
1799
|
+
*/
|
|
1800
|
+
DeviceId?: DeviceId;
|
|
1801
|
+
/**
|
|
1802
|
+
* The effect of the override, ALLOW or DENY.
|
|
1803
|
+
*/
|
|
1804
|
+
Effect?: MobileDeviceAccessRuleEffect;
|
|
1805
|
+
/**
|
|
1806
|
+
* A description of the override.
|
|
1807
|
+
*/
|
|
1808
|
+
Description?: MobileDeviceAccessRuleDescription;
|
|
1809
|
+
/**
|
|
1810
|
+
* The date the override was first created.
|
|
1811
|
+
*/
|
|
1812
|
+
DateCreated?: Timestamp;
|
|
1813
|
+
/**
|
|
1814
|
+
* The date the override was last modified.
|
|
1815
|
+
*/
|
|
1816
|
+
DateModified?: Timestamp;
|
|
1817
|
+
}
|
|
1818
|
+
export type MobileDeviceAccessOverridesList = MobileDeviceAccessOverride[];
|
|
1670
1819
|
export interface MobileDeviceAccessRule {
|
|
1671
1820
|
/**
|
|
1672
1821
|
* The ID assigned to a mobile access rule.
|
|
@@ -1840,6 +1989,30 @@ declare namespace WorkMail {
|
|
|
1840
1989
|
}
|
|
1841
1990
|
export interface PutMailboxPermissionsResponse {
|
|
1842
1991
|
}
|
|
1992
|
+
export interface PutMobileDeviceAccessOverrideRequest {
|
|
1993
|
+
/**
|
|
1994
|
+
* Identifies the Amazon WorkMail organization for which you create the override.
|
|
1995
|
+
*/
|
|
1996
|
+
OrganizationId: OrganizationId;
|
|
1997
|
+
/**
|
|
1998
|
+
* The WorkMail user for which you create the override. Accepts the following types of user identities: User ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234 Email address: user@domain.tld User name: user
|
|
1999
|
+
*/
|
|
2000
|
+
UserId: EntityIdentifier;
|
|
2001
|
+
/**
|
|
2002
|
+
* The mobile device for which you create the override. DeviceId is case insensitive.
|
|
2003
|
+
*/
|
|
2004
|
+
DeviceId: DeviceId;
|
|
2005
|
+
/**
|
|
2006
|
+
* The effect of the override, ALLOW or DENY.
|
|
2007
|
+
*/
|
|
2008
|
+
Effect: MobileDeviceAccessRuleEffect;
|
|
2009
|
+
/**
|
|
2010
|
+
* A description of the override.
|
|
2011
|
+
*/
|
|
2012
|
+
Description?: MobileDeviceAccessRuleDescription;
|
|
2013
|
+
}
|
|
2014
|
+
export interface PutMobileDeviceAccessOverrideResponse {
|
|
2015
|
+
}
|
|
1843
2016
|
export interface PutRetentionPolicyRequest {
|
|
1844
2017
|
/**
|
|
1845
2018
|
* The organization ID.
|