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/lambda.d.ts
CHANGED
|
@@ -22,11 +22,11 @@ declare class Lambda extends Service {
|
|
|
22
22
|
*/
|
|
23
23
|
addLayerVersionPermission(callback?: (err: AWSError, data: Lambda.Types.AddLayerVersionPermissionResponse) => void): Request<Lambda.Types.AddLayerVersionPermissionResponse, AWSError>;
|
|
24
24
|
/**
|
|
25
|
-
* Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.
|
|
25
|
+
* Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST. To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.
|
|
26
26
|
*/
|
|
27
27
|
addPermission(params: Lambda.Types.AddPermissionRequest, callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request<Lambda.Types.AddPermissionResponse, AWSError>;
|
|
28
28
|
/**
|
|
29
|
-
* Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.
|
|
29
|
+
* Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST. To grant permission to another account, specify the account ID as the Principal. For Amazon Web Services services, the principal is a domain-style identifier defined by the service, like s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services services, you can also specify the ARN of the associated resource as the SourceArn. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function. This action adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Lambda Function Policies.
|
|
30
30
|
*/
|
|
31
31
|
addPermission(callback?: (err: AWSError, data: Lambda.Types.AddPermissionResponse) => void): Request<Lambda.Types.AddPermissionResponse, AWSError>;
|
|
32
32
|
/**
|
|
@@ -46,19 +46,19 @@ declare class Lambda extends Service {
|
|
|
46
46
|
*/
|
|
47
47
|
createCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.CreateCodeSigningConfigResponse) => void): Request<Lambda.Types.CreateCodeSigningConfigResponse, AWSError>;
|
|
48
48
|
/**
|
|
49
|
-
* Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics.
|
|
49
|
+
* Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Configuring a Dynamo DB stream as an event source Configuring a Kinesis stream as an event source Configuring an Amazon SQS queue as an event source Configuring an MQ broker as an event source Configuring MSK as an event source Configuring Self-Managed Apache Kafka as an event source The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently.
|
|
50
50
|
*/
|
|
51
51
|
createEventSourceMapping(params: Lambda.Types.CreateEventSourceMappingRequest, callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
|
|
52
52
|
/**
|
|
53
|
-
* Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics.
|
|
53
|
+
* Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and triggers the function. For details about each event source type, see the following topics. Configuring a Dynamo DB stream as an event source Configuring a Kinesis stream as an event source Configuring an Amazon SQS queue as an event source Configuring an MQ broker as an event source Configuring MSK as an event source Configuring Self-Managed Apache Kafka as an event source The following error handling options are only available for stream sources (DynamoDB and Kinesis): BisectBatchOnFunctionError - If the function returns an error, split the batch in two and retry. DestinationConfig - Send discarded records to an Amazon SQS queue or Amazon SNS topic. MaximumRecordAgeInSeconds - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires MaximumRetryAttempts - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires. ParallelizationFactor - Process multiple batches from each shard concurrently.
|
|
54
54
|
*/
|
|
55
55
|
createEventSourceMapping(callback?: (err: AWSError, data: Lambda.Types.EventSourceMappingConfiguration) => void): Request<Lambda.Types.EventSourceMappingConfiguration, AWSError>;
|
|
56
56
|
/**
|
|
57
|
-
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
|
|
57
|
+
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, the default value is x86-64. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
|
|
58
58
|
*/
|
|
59
59
|
createFunction(params: Lambda.Types.CreateFunctionRequest, callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
60
60
|
/**
|
|
61
|
-
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
|
|
61
|
+
* Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. You set the package type to Image if the deployment package is a container image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. You set the package type to Zip if the deployment package is a .zip file archive. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, the default value is x86-64. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Function States. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set set of signing profiles, which define the trusted publishers for this function. If another account or an Amazon Web Services service invokes your function, use AddPermission to grant permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Functions.
|
|
62
62
|
*/
|
|
63
63
|
createFunction(callback?: (err: AWSError, data: Lambda.Types.FunctionConfiguration) => void): Request<Lambda.Types.FunctionConfiguration, AWSError>;
|
|
64
64
|
/**
|
|
@@ -310,19 +310,19 @@ declare class Lambda extends Service {
|
|
|
310
310
|
*/
|
|
311
311
|
listFunctionsByCodeSigningConfig(callback?: (err: AWSError, data: Lambda.Types.ListFunctionsByCodeSigningConfigResponse) => void): Request<Lambda.Types.ListFunctionsByCodeSigningConfigResponse, AWSError>;
|
|
312
312
|
/**
|
|
313
|
-
* Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime.
|
|
313
|
+
* Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.
|
|
314
314
|
*/
|
|
315
315
|
listLayerVersions(params: Lambda.Types.ListLayerVersionsRequest, callback?: (err: AWSError, data: Lambda.Types.ListLayerVersionsResponse) => void): Request<Lambda.Types.ListLayerVersionsResponse, AWSError>;
|
|
316
316
|
/**
|
|
317
|
-
* Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime.
|
|
317
|
+
* Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.
|
|
318
318
|
*/
|
|
319
319
|
listLayerVersions(callback?: (err: AWSError, data: Lambda.Types.ListLayerVersionsResponse) => void): Request<Lambda.Types.ListLayerVersionsResponse, AWSError>;
|
|
320
320
|
/**
|
|
321
|
-
* Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime.
|
|
321
|
+
* Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
|
|
322
322
|
*/
|
|
323
323
|
listLayers(params: Lambda.Types.ListLayersRequest, callback?: (err: AWSError, data: Lambda.Types.ListLayersResponse) => void): Request<Lambda.Types.ListLayersResponse, AWSError>;
|
|
324
324
|
/**
|
|
325
|
-
* Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime.
|
|
325
|
+
* Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
|
|
326
326
|
*/
|
|
327
327
|
listLayers(callback?: (err: AWSError, data: Lambda.Types.ListLayersResponse) => void): Request<Lambda.Types.ListLayersResponse, AWSError>;
|
|
328
328
|
/**
|
|
@@ -594,7 +594,7 @@ declare namespace Lambda {
|
|
|
594
594
|
*/
|
|
595
595
|
Principal: Principal;
|
|
596
596
|
/**
|
|
597
|
-
* For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic.
|
|
597
|
+
* For Amazon Web Services services, the ARN of the Amazon Web Services resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the StringLike operator.
|
|
598
598
|
*/
|
|
599
599
|
SourceArn?: Arn;
|
|
600
600
|
/**
|
|
@@ -662,6 +662,8 @@ declare namespace Lambda {
|
|
|
662
662
|
*/
|
|
663
663
|
SigningProfileVersionArns: SigningProfileVersionArns;
|
|
664
664
|
}
|
|
665
|
+
export type Architecture = "x86_64"|"arm64"|string;
|
|
666
|
+
export type ArchitecturesList = Architecture[];
|
|
665
667
|
export type Arn = string;
|
|
666
668
|
export type BatchSize = number;
|
|
667
669
|
export type BisectBatchOnFunctionError = boolean;
|
|
@@ -704,6 +706,7 @@ declare namespace Lambda {
|
|
|
704
706
|
UntrustedArtifactOnDeployment?: CodeSigningPolicy;
|
|
705
707
|
}
|
|
706
708
|
export type CodeSigningPolicy = "Warn"|"Enforce"|string;
|
|
709
|
+
export type CompatibleArchitectures = Architecture[];
|
|
707
710
|
export type CompatibleRuntimes = Runtime[];
|
|
708
711
|
export interface Concurrency {
|
|
709
712
|
/**
|
|
@@ -763,15 +766,15 @@ declare namespace Lambda {
|
|
|
763
766
|
*/
|
|
764
767
|
FunctionName: FunctionName;
|
|
765
768
|
/**
|
|
766
|
-
*
|
|
769
|
+
* When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
|
|
767
770
|
*/
|
|
768
771
|
Enabled?: Enabled;
|
|
769
772
|
/**
|
|
770
|
-
* The maximum number of
|
|
773
|
+
* The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). Amazon Kinesis - Default 100. Max 10,000. Amazon DynamoDB Streams - Default 100. Max 1,000. Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. Self-Managed Apache Kafka - Default 100. Max 10,000.
|
|
771
774
|
*/
|
|
772
775
|
BatchSize?: BatchSize;
|
|
773
776
|
/**
|
|
774
|
-
* (Streams and SQS standard queues) The maximum amount of time
|
|
777
|
+
* (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. Default: 0 Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
|
|
775
778
|
*/
|
|
776
779
|
MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
|
|
777
780
|
/**
|
|
@@ -908,6 +911,10 @@ declare namespace Lambda {
|
|
|
908
911
|
* To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function.
|
|
909
912
|
*/
|
|
910
913
|
CodeSigningConfigArn?: CodeSigningConfigArn;
|
|
914
|
+
/**
|
|
915
|
+
* The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.
|
|
916
|
+
*/
|
|
917
|
+
Architectures?: ArchitecturesList;
|
|
911
918
|
}
|
|
912
919
|
export type _Date = Date;
|
|
913
920
|
export interface DeadLetterConfig {
|
|
@@ -1052,11 +1059,11 @@ declare namespace Lambda {
|
|
|
1052
1059
|
*/
|
|
1053
1060
|
StartingPositionTimestamp?: _Date;
|
|
1054
1061
|
/**
|
|
1055
|
-
* The maximum number of
|
|
1062
|
+
* The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100. Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
|
|
1056
1063
|
*/
|
|
1057
1064
|
BatchSize?: BatchSize;
|
|
1058
1065
|
/**
|
|
1059
|
-
* (Streams and Amazon SQS standard queues) The maximum amount of time
|
|
1066
|
+
* (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. Default: 0 Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
|
|
1060
1067
|
*/
|
|
1061
1068
|
MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
|
|
1062
1069
|
/**
|
|
@@ -1310,6 +1317,10 @@ declare namespace Lambda {
|
|
|
1310
1317
|
* The ARN of the signing job.
|
|
1311
1318
|
*/
|
|
1312
1319
|
SigningJobArn?: Arn;
|
|
1320
|
+
/**
|
|
1321
|
+
* The instruction set architecture that the function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.
|
|
1322
|
+
*/
|
|
1323
|
+
Architectures?: ArchitecturesList;
|
|
1313
1324
|
}
|
|
1314
1325
|
export interface FunctionEventInvokeConfig {
|
|
1315
1326
|
/**
|
|
@@ -1524,6 +1535,10 @@ declare namespace Lambda {
|
|
|
1524
1535
|
* The layer's software license.
|
|
1525
1536
|
*/
|
|
1526
1537
|
LicenseInfo?: LicenseInfo;
|
|
1538
|
+
/**
|
|
1539
|
+
* A list of compatible instruction set architectures.
|
|
1540
|
+
*/
|
|
1541
|
+
CompatibleArchitectures?: CompatibleArchitectures;
|
|
1527
1542
|
}
|
|
1528
1543
|
export interface GetPolicyRequest {
|
|
1529
1544
|
/**
|
|
@@ -1628,7 +1643,7 @@ declare namespace Lambda {
|
|
|
1628
1643
|
*/
|
|
1629
1644
|
InvocationType?: InvocationType;
|
|
1630
1645
|
/**
|
|
1631
|
-
* Set to Tail to include the execution log in the response.
|
|
1646
|
+
* Set to Tail to include the execution log in the response. Applies to synchronously invoked functions only.
|
|
1632
1647
|
*/
|
|
1633
1648
|
LogType?: LogType;
|
|
1634
1649
|
/**
|
|
@@ -1778,6 +1793,10 @@ declare namespace Lambda {
|
|
|
1778
1793
|
* The layer's open-source license.
|
|
1779
1794
|
*/
|
|
1780
1795
|
LicenseInfo?: LicenseInfo;
|
|
1796
|
+
/**
|
|
1797
|
+
* A list of compatible instruction set architectures.
|
|
1798
|
+
*/
|
|
1799
|
+
CompatibleArchitectures?: CompatibleArchitectures;
|
|
1781
1800
|
}
|
|
1782
1801
|
export type LayersList = LayersListItem[];
|
|
1783
1802
|
export interface LayersListItem {
|
|
@@ -1965,6 +1984,10 @@ declare namespace Lambda {
|
|
|
1965
1984
|
* The maximum number of versions to return.
|
|
1966
1985
|
*/
|
|
1967
1986
|
MaxItems?: MaxLayerListItems;
|
|
1987
|
+
/**
|
|
1988
|
+
* The compatible instruction set architecture.
|
|
1989
|
+
*/
|
|
1990
|
+
CompatibleArchitecture?: Architecture;
|
|
1968
1991
|
}
|
|
1969
1992
|
export interface ListLayerVersionsResponse {
|
|
1970
1993
|
/**
|
|
@@ -1989,6 +2012,10 @@ declare namespace Lambda {
|
|
|
1989
2012
|
* The maximum number of layers to return.
|
|
1990
2013
|
*/
|
|
1991
2014
|
MaxItems?: MaxLayerListItems;
|
|
2015
|
+
/**
|
|
2016
|
+
* The compatible instruction set architecture.
|
|
2017
|
+
*/
|
|
2018
|
+
CompatibleArchitecture?: Architecture;
|
|
1992
2019
|
}
|
|
1993
2020
|
export interface ListLayersResponse {
|
|
1994
2021
|
/**
|
|
@@ -2026,7 +2053,7 @@ declare namespace Lambda {
|
|
|
2026
2053
|
}
|
|
2027
2054
|
export interface ListTagsRequest {
|
|
2028
2055
|
/**
|
|
2029
|
-
* The function's Amazon Resource Name (ARN).
|
|
2056
|
+
* The function's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to aliases or versions.
|
|
2030
2057
|
*/
|
|
2031
2058
|
Resource: FunctionArn;
|
|
2032
2059
|
}
|
|
@@ -2148,6 +2175,10 @@ declare namespace Lambda {
|
|
|
2148
2175
|
* The layer's software license. It can be any of the following: An SPDX license identifier. For example, MIT. The URL of a license hosted on the internet. For example, https://opensource.org/licenses/MIT. The full text of the license.
|
|
2149
2176
|
*/
|
|
2150
2177
|
LicenseInfo?: LicenseInfo;
|
|
2178
|
+
/**
|
|
2179
|
+
* A list of compatible instruction set architectures.
|
|
2180
|
+
*/
|
|
2181
|
+
CompatibleArchitectures?: CompatibleArchitectures;
|
|
2151
2182
|
}
|
|
2152
2183
|
export interface PublishLayerVersionResponse {
|
|
2153
2184
|
/**
|
|
@@ -2182,6 +2213,10 @@ declare namespace Lambda {
|
|
|
2182
2213
|
* The layer's software license.
|
|
2183
2214
|
*/
|
|
2184
2215
|
LicenseInfo?: LicenseInfo;
|
|
2216
|
+
/**
|
|
2217
|
+
* A list of compatible instruction set architectures.
|
|
2218
|
+
*/
|
|
2219
|
+
CompatibleArchitectures?: CompatibleArchitectures;
|
|
2185
2220
|
}
|
|
2186
2221
|
export interface PublishVersionRequest {
|
|
2187
2222
|
/**
|
|
@@ -2474,15 +2509,15 @@ declare namespace Lambda {
|
|
|
2474
2509
|
*/
|
|
2475
2510
|
FunctionName?: FunctionName;
|
|
2476
2511
|
/**
|
|
2477
|
-
*
|
|
2512
|
+
* When true, the event source mapping is active. When false, Lambda pauses polling and invocation. Default: True
|
|
2478
2513
|
*/
|
|
2479
2514
|
Enabled?: Enabled;
|
|
2480
2515
|
/**
|
|
2481
|
-
* The maximum number of
|
|
2516
|
+
* The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB). Amazon Kinesis - Default 100. Max 10,000. Amazon DynamoDB Streams - Default 100. Max 1,000. Amazon Simple Queue Service - Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10. Amazon Managed Streaming for Apache Kafka - Default 100. Max 10,000. Self-Managed Apache Kafka - Default 100. Max 10,000.
|
|
2482
2517
|
*/
|
|
2483
2518
|
BatchSize?: BatchSize;
|
|
2484
2519
|
/**
|
|
2485
|
-
* (Streams and SQS standard queues) The maximum amount of time
|
|
2520
|
+
* (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. Default: 0 Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.
|
|
2486
2521
|
*/
|
|
2487
2522
|
MaximumBatchingWindowInSeconds?: MaximumBatchingWindowInSeconds;
|
|
2488
2523
|
/**
|
|
@@ -2555,6 +2590,10 @@ declare namespace Lambda {
|
|
|
2555
2590
|
* Only update the function if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it.
|
|
2556
2591
|
*/
|
|
2557
2592
|
RevisionId?: String;
|
|
2593
|
+
/**
|
|
2594
|
+
* The instruction set architecture that the function supports. Enter a string array with one of the valid values. The default value is x86_64.
|
|
2595
|
+
*/
|
|
2596
|
+
Architectures?: ArchitecturesList;
|
|
2558
2597
|
}
|
|
2559
2598
|
export interface UpdateFunctionConfigurationRequest {
|
|
2560
2599
|
/**
|
|
@@ -2618,7 +2657,7 @@ declare namespace Lambda {
|
|
|
2618
2657
|
*/
|
|
2619
2658
|
FileSystemConfigs?: FileSystemConfigList;
|
|
2620
2659
|
/**
|
|
2621
|
-
* Container image configuration values that override the values in the container image
|
|
2660
|
+
* Container image configuration values that override the values in the container image Docker file.
|
|
2622
2661
|
*/
|
|
2623
2662
|
ImageConfig?: ImageConfig;
|
|
2624
2663
|
}
|
package/clients/macie2.d.ts
CHANGED
|
@@ -659,7 +659,7 @@ declare namespace Macie2 {
|
|
|
659
659
|
}
|
|
660
660
|
export interface BucketCountByEncryptionType {
|
|
661
661
|
/**
|
|
662
|
-
* The total number of buckets that use an
|
|
662
|
+
* The total number of buckets that use an KMS key to encrypt new objects by default, either an Amazon Web Services managed key or a customer managed key. These buckets use KMS encryption (SSE-KMS) by default.
|
|
663
663
|
*/
|
|
664
664
|
kmsManaged?: __long;
|
|
665
665
|
/**
|
|
@@ -710,7 +710,7 @@ declare namespace Macie2 {
|
|
|
710
710
|
export type BucketCriteria = {[key: string]: BucketCriteriaAdditionalProperties};
|
|
711
711
|
export interface BucketCriteriaAdditionalProperties {
|
|
712
712
|
/**
|
|
713
|
-
* The value for the property matches (equals) the specified value. If you specify multiple values, Macie uses OR logic to join the values.
|
|
713
|
+
* The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
|
|
714
714
|
*/
|
|
715
715
|
eq?: __listOf__string;
|
|
716
716
|
/**
|
|
@@ -781,6 +781,14 @@ declare namespace Macie2 {
|
|
|
781
781
|
* The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format. If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
|
|
782
782
|
*/
|
|
783
783
|
classifiableSizeInBytes?: __long;
|
|
784
|
+
/**
|
|
785
|
+
* Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
|
|
786
|
+
*/
|
|
787
|
+
errorCode?: BucketMetadataErrorCode;
|
|
788
|
+
/**
|
|
789
|
+
* A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
|
|
790
|
+
*/
|
|
791
|
+
errorMessage?: __string;
|
|
784
792
|
/**
|
|
785
793
|
* Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket, and, if so, the details of the job that ran most recently.
|
|
786
794
|
*/
|
|
@@ -822,7 +830,7 @@ declare namespace Macie2 {
|
|
|
822
830
|
*/
|
|
823
831
|
sizeInBytes?: __long;
|
|
824
832
|
/**
|
|
825
|
-
* The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket. If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
|
|
833
|
+
* The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket. If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
|
|
826
834
|
*/
|
|
827
835
|
sizeInBytesCompressed?: __long;
|
|
828
836
|
/**
|
|
@@ -842,6 +850,7 @@ declare namespace Macie2 {
|
|
|
842
850
|
*/
|
|
843
851
|
versioning?: __boolean;
|
|
844
852
|
}
|
|
853
|
+
export type BucketMetadataErrorCode = "ACCESS_DENIED"|string;
|
|
845
854
|
export interface BucketPermissionConfiguration {
|
|
846
855
|
/**
|
|
847
856
|
* The account-level permissions settings that apply to the bucket.
|
|
@@ -874,11 +883,11 @@ declare namespace Macie2 {
|
|
|
874
883
|
}
|
|
875
884
|
export interface BucketServerSideEncryption {
|
|
876
885
|
/**
|
|
877
|
-
* The Amazon Resource Name (ARN) or unique identifier (key ID) for the
|
|
886
|
+
* The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.
|
|
878
887
|
*/
|
|
879
888
|
kmsMasterKeyId?: __string;
|
|
880
889
|
/**
|
|
881
|
-
* The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are: AES256 - New objects are encrypted with an Amazon S3 managed key
|
|
890
|
+
* The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are: AES256 - New objects are encrypted with an Amazon S3 managed key. They use SSE-S3 encryption. aws:kms - New objects are encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key. They use SSE-KMS encryption. NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.
|
|
882
891
|
*/
|
|
883
892
|
type?: Type;
|
|
884
893
|
}
|
|
@@ -1729,11 +1738,11 @@ declare namespace Macie2 {
|
|
|
1729
1738
|
*/
|
|
1730
1739
|
objectCount?: __long;
|
|
1731
1740
|
/**
|
|
1732
|
-
* The total storage size, in bytes, of the buckets. If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
|
|
1741
|
+
* The total storage size, in bytes, of the buckets. If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
|
|
1733
1742
|
*/
|
|
1734
1743
|
sizeInBytes?: __long;
|
|
1735
1744
|
/**
|
|
1736
|
-
* The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets. If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
|
|
1745
|
+
* The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets. If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
|
|
1737
1746
|
*/
|
|
1738
1747
|
sizeInBytesCompressed?: __long;
|
|
1739
1748
|
/**
|
|
@@ -2504,6 +2513,14 @@ declare namespace Macie2 {
|
|
|
2504
2513
|
* The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format. If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
|
|
2505
2514
|
*/
|
|
2506
2515
|
classifiableSizeInBytes?: __long;
|
|
2516
|
+
/**
|
|
2517
|
+
* Specifies the error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.
|
|
2518
|
+
*/
|
|
2519
|
+
errorCode?: BucketMetadataErrorCode;
|
|
2520
|
+
/**
|
|
2521
|
+
* A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.
|
|
2522
|
+
*/
|
|
2523
|
+
errorMessage?: __string;
|
|
2507
2524
|
/**
|
|
2508
2525
|
* Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket, and, if so, the details of the job that ran most recently.
|
|
2509
2526
|
*/
|
|
@@ -2521,7 +2538,7 @@ declare namespace Macie2 {
|
|
|
2521
2538
|
*/
|
|
2522
2539
|
sizeInBytes?: __long;
|
|
2523
2540
|
/**
|
|
2524
|
-
* The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket. If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
|
|
2541
|
+
* The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket. If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.
|
|
2525
2542
|
*/
|
|
2526
2543
|
sizeInBytesCompressed?: __long;
|
|
2527
2544
|
/**
|
|
@@ -2586,11 +2603,11 @@ declare namespace Macie2 {
|
|
|
2586
2603
|
}
|
|
2587
2604
|
export interface ObjectCountByEncryptionType {
|
|
2588
2605
|
/**
|
|
2589
|
-
* The total number of objects that are encrypted with a customer-
|
|
2606
|
+
* The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).
|
|
2590
2607
|
*/
|
|
2591
2608
|
customerManaged?: __long;
|
|
2592
2609
|
/**
|
|
2593
|
-
* The total number of objects that are encrypted with an
|
|
2610
|
+
* The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).
|
|
2594
2611
|
*/
|
|
2595
2612
|
kmsManaged?: __long;
|
|
2596
2613
|
/**
|
|
@@ -2817,7 +2834,7 @@ declare namespace Macie2 {
|
|
|
2817
2834
|
*/
|
|
2818
2835
|
keyPrefix?: __string;
|
|
2819
2836
|
/**
|
|
2820
|
-
* The Amazon Resource Name (ARN) of the
|
|
2837
|
+
* The Amazon Resource Name (ARN) of the KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric, customer managed KMS key that's in the same Amazon Web Services Region as the bucket.
|
|
2821
2838
|
*/
|
|
2822
2839
|
kmsKeyArn: __string;
|
|
2823
2840
|
}
|
|
@@ -3029,7 +3046,7 @@ declare namespace Macie2 {
|
|
|
3029
3046
|
*/
|
|
3030
3047
|
encryptionType?: EncryptionType;
|
|
3031
3048
|
/**
|
|
3032
|
-
* The Amazon Resource Name (ARN) or unique identifier (key ID) for the
|
|
3049
|
+
* The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.
|
|
3033
3050
|
*/
|
|
3034
3051
|
kmsMasterKeyId?: __string;
|
|
3035
3052
|
}
|
|
@@ -773,9 +773,17 @@ declare namespace NetworkFirewall {
|
|
|
773
773
|
*/
|
|
774
774
|
StatelessCustomActions?: CustomActions;
|
|
775
775
|
/**
|
|
776
|
-
* References to the
|
|
776
|
+
* References to the stateful rule groups that are used in the policy. These define the inspection criteria in stateful rules.
|
|
777
777
|
*/
|
|
778
778
|
StatefulRuleGroupReferences?: StatefulRuleGroupReferences;
|
|
779
|
+
/**
|
|
780
|
+
* The default actions to take on a packet that doesn't match any stateful rules.
|
|
781
|
+
*/
|
|
782
|
+
StatefulDefaultActions?: StatefulActions;
|
|
783
|
+
/**
|
|
784
|
+
* Additional options governing how Network Firewall handles stateful rules. The stateful rule groups that you use in your policy must have stateful rule options settings that are compatible with these settings.
|
|
785
|
+
*/
|
|
786
|
+
StatefulEngineOptions?: StatefulEngineOptions;
|
|
779
787
|
}
|
|
780
788
|
export interface FirewallPolicyMetadata {
|
|
781
789
|
/**
|
|
@@ -812,6 +820,18 @@ declare namespace NetworkFirewall {
|
|
|
812
820
|
* The key:value pairs to associate with the resource.
|
|
813
821
|
*/
|
|
814
822
|
Tags?: TagList;
|
|
823
|
+
/**
|
|
824
|
+
* The number of capacity units currently consumed by the policy's stateless rules.
|
|
825
|
+
*/
|
|
826
|
+
ConsumedStatelessRuleCapacity?: RuleCapacity;
|
|
827
|
+
/**
|
|
828
|
+
* The number of capacity units currently consumed by the policy's stateful rules.
|
|
829
|
+
*/
|
|
830
|
+
ConsumedStatefulRuleCapacity?: RuleCapacity;
|
|
831
|
+
/**
|
|
832
|
+
* The number of firewalls that are associated with this firewall policy.
|
|
833
|
+
*/
|
|
834
|
+
NumberOfAssociations?: NumberOfAssociations;
|
|
815
835
|
}
|
|
816
836
|
export interface FirewallStatus {
|
|
817
837
|
/**
|
|
@@ -843,7 +863,7 @@ declare namespace NetworkFirewall {
|
|
|
843
863
|
*/
|
|
844
864
|
Source: Source;
|
|
845
865
|
/**
|
|
846
|
-
* The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990
|
|
866
|
+
* The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.
|
|
847
867
|
*/
|
|
848
868
|
SourcePort: Port;
|
|
849
869
|
/**
|
|
@@ -855,7 +875,7 @@ declare namespace NetworkFirewall {
|
|
|
855
875
|
*/
|
|
856
876
|
Destination: Destination;
|
|
857
877
|
/**
|
|
858
|
-
* The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990
|
|
878
|
+
* The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.
|
|
859
879
|
*/
|
|
860
880
|
DestinationPort: Port;
|
|
861
881
|
}
|
|
@@ -989,11 +1009,11 @@ declare namespace NetworkFirewall {
|
|
|
989
1009
|
*/
|
|
990
1010
|
Destinations?: Addresses;
|
|
991
1011
|
/**
|
|
992
|
-
* The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP). You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990
|
|
1012
|
+
* The source ports to inspect for. If not specified, this matches with any source port. This setting is only used for protocols 6 (TCP) and 17 (UDP). You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.
|
|
993
1013
|
*/
|
|
994
1014
|
SourcePorts?: PortRanges;
|
|
995
1015
|
/**
|
|
996
|
-
* The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990
|
|
1016
|
+
* The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.
|
|
997
1017
|
*/
|
|
998
1018
|
DestinationPorts?: PortRanges;
|
|
999
1019
|
/**
|
|
@@ -1005,6 +1025,7 @@ declare namespace NetworkFirewall {
|
|
|
1005
1025
|
*/
|
|
1006
1026
|
TCPFlags?: TCPFlags;
|
|
1007
1027
|
}
|
|
1028
|
+
export type NumberOfAssociations = number;
|
|
1008
1029
|
export type PaginationMaxResults = number;
|
|
1009
1030
|
export type PaginationToken = string;
|
|
1010
1031
|
export interface PerObjectStatus {
|
|
@@ -1084,6 +1105,10 @@ declare namespace NetworkFirewall {
|
|
|
1084
1105
|
* The stateful rules or stateless rules for the rule group.
|
|
1085
1106
|
*/
|
|
1086
1107
|
RulesSource: RulesSource;
|
|
1108
|
+
/**
|
|
1109
|
+
* Additional options governing how Network Firewall handles stateful rules. The policies where you use your stateful rule group must have stateful rule options settings that are compatible with these settings.
|
|
1110
|
+
*/
|
|
1111
|
+
StatefulRuleOptions?: StatefulRuleOptions;
|
|
1087
1112
|
}
|
|
1088
1113
|
export interface RuleGroupMetadata {
|
|
1089
1114
|
/**
|
|
@@ -1128,6 +1153,14 @@ declare namespace NetworkFirewall {
|
|
|
1128
1153
|
* The key:value pairs to associate with the resource.
|
|
1129
1154
|
*/
|
|
1130
1155
|
Tags?: TagList;
|
|
1156
|
+
/**
|
|
1157
|
+
* The number of capacity units currently consumed by the rule group rules.
|
|
1158
|
+
*/
|
|
1159
|
+
ConsumedCapacity?: RuleCapacity;
|
|
1160
|
+
/**
|
|
1161
|
+
* The number of firewall policies that use this rule group.
|
|
1162
|
+
*/
|
|
1163
|
+
NumberOfAssociations?: NumberOfAssociations;
|
|
1131
1164
|
}
|
|
1132
1165
|
export type RuleGroupType = "STATELESS"|"STATEFUL"|string;
|
|
1133
1166
|
export type RuleGroups = RuleGroupMetadata[];
|
|
@@ -1142,6 +1175,7 @@ declare namespace NetworkFirewall {
|
|
|
1142
1175
|
Settings?: Settings;
|
|
1143
1176
|
}
|
|
1144
1177
|
export type RuleOptions = RuleOption[];
|
|
1178
|
+
export type RuleOrder = "DEFAULT_ACTION_ORDER"|"STRICT_ORDER"|string;
|
|
1145
1179
|
export type RuleTargets = CollectionMember_String[];
|
|
1146
1180
|
export type RuleVariableName = string;
|
|
1147
1181
|
export interface RuleVariables {
|
|
@@ -1164,7 +1198,7 @@ declare namespace NetworkFirewall {
|
|
|
1164
1198
|
*/
|
|
1165
1199
|
RulesSourceList?: RulesSourceList;
|
|
1166
1200
|
/**
|
|
1167
|
-
*
|
|
1201
|
+
* An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.
|
|
1168
1202
|
*/
|
|
1169
1203
|
StatefulRules?: StatefulRules;
|
|
1170
1204
|
/**
|
|
@@ -1178,7 +1212,7 @@ declare namespace NetworkFirewall {
|
|
|
1178
1212
|
*/
|
|
1179
1213
|
Targets: RuleTargets;
|
|
1180
1214
|
/**
|
|
1181
|
-
* The protocols you want to inspect. Specify TLS_SNI for HTTPS.
|
|
1215
|
+
* The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both.
|
|
1182
1216
|
*/
|
|
1183
1217
|
TargetTypes: TargetTypes;
|
|
1184
1218
|
/**
|
|
@@ -1191,17 +1225,24 @@ declare namespace NetworkFirewall {
|
|
|
1191
1225
|
export type Settings = Setting[];
|
|
1192
1226
|
export type Source = string;
|
|
1193
1227
|
export type StatefulAction = "PASS"|"DROP"|"ALERT"|string;
|
|
1228
|
+
export type StatefulActions = CollectionMember_String[];
|
|
1229
|
+
export interface StatefulEngineOptions {
|
|
1230
|
+
/**
|
|
1231
|
+
* Indicates how to manage the order of stateful rule evaluation for the policy. By default, Network Firewall leaves the rule evaluation order up to the Suricata rule processing engine. If you set this to STRICT_ORDER, your rules are evaluated in the exact order that you provide them in the policy. With strict ordering, the rule groups are evaluated by order of priority, starting from the lowest number, and the rules in each rule group are processed in the order that they're defined.
|
|
1232
|
+
*/
|
|
1233
|
+
RuleOrder?: RuleOrder;
|
|
1234
|
+
}
|
|
1194
1235
|
export interface StatefulRule {
|
|
1195
1236
|
/**
|
|
1196
1237
|
* Defines what Network Firewall should do with the packets in a traffic flow when the flow matches the stateful rule criteria. For all actions, Network Firewall performs the specified action and discontinues stateful inspection of the traffic flow. The actions for a stateful rule are defined as follows: PASS - Permits the packets to go to the intended destination. DROP - Blocks the packets from going to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration. ALERT - Permits the packets to go to the intended destination and sends an alert log message, if alert logging is configured in the Firewall LoggingConfiguration. You can use this action to test a rule that you intend to use to drop traffic. You can enable the rule with ALERT action, verify in the logs that the rule is filtering as you want, then change the action to DROP.
|
|
1197
1238
|
*/
|
|
1198
1239
|
Action: StatefulAction;
|
|
1199
1240
|
/**
|
|
1200
|
-
* The stateful
|
|
1241
|
+
* The stateful inspection criteria for this rule, used to inspect traffic flows.
|
|
1201
1242
|
*/
|
|
1202
1243
|
Header: Header;
|
|
1203
1244
|
/**
|
|
1204
|
-
*
|
|
1245
|
+
* Additional options for the rule. These are the Suricata RuleOptions settings.
|
|
1205
1246
|
*/
|
|
1206
1247
|
RuleOptions: RuleOptions;
|
|
1207
1248
|
}
|
|
@@ -1211,8 +1252,18 @@ declare namespace NetworkFirewall {
|
|
|
1211
1252
|
* The Amazon Resource Name (ARN) of the stateful rule group.
|
|
1212
1253
|
*/
|
|
1213
1254
|
ResourceArn: ResourceArn;
|
|
1255
|
+
/**
|
|
1256
|
+
* An integer setting that indicates the order in which to run the stateful rule groups in a single FirewallPolicy. This setting only applies to firewall policies that specify the STRICT_ORDER rule order in the stateful engine options settings. Network Firewall evalutes each stateful rule group against a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy. You can change the priority settings of your rule groups at any time. To make it easier to insert rule groups later, number them so there's a wide range in between, for example use 100, 200, and so on.
|
|
1257
|
+
*/
|
|
1258
|
+
Priority?: Priority;
|
|
1214
1259
|
}
|
|
1215
1260
|
export type StatefulRuleGroupReferences = StatefulRuleGroupReference[];
|
|
1261
|
+
export interface StatefulRuleOptions {
|
|
1262
|
+
/**
|
|
1263
|
+
* Indicates how to manage the order of the rule evaluation for the rule group. By default, Network Firewall leaves the rule evaluation order up to the Suricata rule processing engine. If you set this to STRICT_ORDER, your rules are evaluated in the exact order that they're listed in your Suricata rules string.
|
|
1264
|
+
*/
|
|
1265
|
+
RuleOrder?: RuleOrder;
|
|
1266
|
+
}
|
|
1216
1267
|
export type StatefulRuleProtocol = "IP"|"TCP"|"UDP"|"ICMP"|"HTTP"|"FTP"|"TLS"|"SMB"|"DNS"|"DCERPC"|"SSH"|"SMTP"|"IMAP"|"MSN"|"KRB5"|"IKEV2"|"TFTP"|"NTP"|"DHCP"|string;
|
|
1217
1268
|
export type StatefulRules = StatefulRule[];
|
|
1218
1269
|
export type StatelessActions = CollectionMember_String[];
|
|
@@ -1222,7 +1273,7 @@ declare namespace NetworkFirewall {
|
|
|
1222
1273
|
*/
|
|
1223
1274
|
RuleDefinition: RuleDefinition;
|
|
1224
1275
|
/**
|
|
1225
|
-
*
|
|
1276
|
+
* Indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a rule group starting with the lowest priority setting. You must ensure that the priority settings are unique for the rule group. Each stateless rule group uses exactly one StatelessRulesAndCustomActions object, and each StatelessRulesAndCustomActions contains exactly one StatelessRules object. To ensure unique priority settings for your rule groups, set unique priorities for the stateless rules that you define inside any single StatelessRules object. You can change the priority settings of your rules at any time. To make it easier to insert rules later, number them so there's a wide range in between, for example use 100, 200, and so on.
|
|
1226
1277
|
*/
|
|
1227
1278
|
Priority: Priority;
|
|
1228
1279
|
}
|