aws-sdk 2.995.0 → 2.999.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -1
- package/README.md +1 -1
- package/apis/account-2021-02-01.examples.json +5 -0
- package/apis/account-2021-02-01.min.json +123 -0
- package/apis/account-2021-02-01.paginators.json +4 -0
- package/apis/amp-2020-08-01.min.json +442 -11
- package/apis/amp-2020-08-01.paginators.json +6 -0
- package/apis/amp-2020-08-01.waiters2.json +43 -0
- package/apis/appintegrations-2020-07-29.min.json +222 -8
- package/apis/apprunner-2020-05-15.min.json +10 -10
- package/apis/cloudcontrol-2021-09-30.examples.json +5 -0
- package/apis/cloudcontrol-2021-09-30.min.json +271 -0
- package/apis/cloudcontrol-2021-09-30.paginators.json +14 -0
- package/apis/cloudcontrol-2021-09-30.waiters2.json +31 -0
- package/apis/connect-2017-08-08.min.json +25 -11
- package/apis/dataexchange-2017-07-25.min.json +277 -38
- package/apis/dataexchange-2017-07-25.paginators.json +6 -0
- package/apis/lambda-2015-03-31.min.json +79 -42
- package/apis/macie2-2020-01-01.min.json +79 -67
- package/apis/metadata.json +13 -0
- package/apis/network-firewall-2020-11-12.min.json +65 -31
- package/apis/pinpoint-2016-12-01.min.json +226 -213
- package/apis/sesv2-2019-09-27.min.json +72 -70
- package/apis/ssm-2014-11-06.min.json +3 -0
- package/apis/synthetics-2017-10-11.min.json +39 -9
- package/apis/voice-id-2021-09-27.examples.json +5 -0
- package/apis/voice-id-2021-09-27.min.json +903 -0
- package/apis/voice-id-2021-09-27.paginators.json +24 -0
- package/apis/wisdom-2020-10-19.examples.json +5 -0
- package/apis/wisdom-2020-10-19.min.json +1525 -0
- package/apis/wisdom-2020-10-19.paginators.json +46 -0
- package/apis/workmail-2017-10-01.min.json +139 -27
- package/apis/workmail-2017-10-01.paginators.json +5 -0
- package/apis/workspaces-2015-04-08.min.json +83 -50
- package/clients/account.d.ts +136 -0
- package/clients/account.js +18 -0
- package/clients/all.d.ts +4 -0
- package/clients/all.js +5 -1
- package/clients/amp.d.ts +387 -0
- package/clients/amp.js +1 -0
- package/clients/appintegrations.d.ts +273 -2
- package/clients/apprunner.d.ts +55 -54
- package/clients/cloudcontrol.d.ts +385 -0
- package/clients/cloudcontrol.js +19 -0
- package/clients/connect.d.ts +60 -32
- package/clients/dataexchange.d.ts +226 -2
- package/clients/elbv2.d.ts +7 -7
- package/clients/imagebuilder.d.ts +27 -27
- package/clients/lambda.d.ts +61 -22
- package/clients/macie2.d.ts +29 -12
- package/clients/networkfirewall.d.ts +61 -10
- package/clients/pinpoint.d.ts +24 -0
- package/clients/sesv2.d.ts +128 -108
- package/clients/ssm.d.ts +7 -3
- package/clients/synthetics.d.ts +40 -0
- package/clients/transfer.d.ts +12 -12
- package/clients/voiceid.d.ts +1133 -0
- package/clients/voiceid.js +18 -0
- package/clients/wisdom.d.ts +1499 -0
- package/clients/wisdom.js +18 -0
- package/clients/workmail.d.ts +173 -0
- package/clients/workspaces.d.ts +87 -40
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +371 -209
- package/dist/aws-sdk.js +123 -56
- package/dist/aws-sdk.min.js +70 -70
- package/lib/config_service_placeholders.d.ts +8 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/elbv2.d.ts
CHANGED
|
@@ -690,7 +690,7 @@ declare namespace ELBv2 {
|
|
|
690
690
|
*/
|
|
691
691
|
HealthCheckPort?: HealthCheckPort;
|
|
692
692
|
/**
|
|
693
|
-
* Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance or
|
|
693
|
+
* Indicates whether health checks are enabled. If the target type is lambda, health checks are disabled by default but can be enabled. If the target type is instance, ip, or alb, health checks are always enabled and cannot be disabled.
|
|
694
694
|
*/
|
|
695
695
|
HealthCheckEnabled?: HealthCheckEnabled;
|
|
696
696
|
/**
|
|
@@ -718,7 +718,7 @@ declare namespace ELBv2 {
|
|
|
718
718
|
*/
|
|
719
719
|
Matcher?: Matcher;
|
|
720
720
|
/**
|
|
721
|
-
* The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type. instance - Register targets by instance ID. This is the default value. ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses. lambda - Register a single Lambda function as a target.
|
|
721
|
+
* The type of target that you must specify when registering targets with this target group. You can't specify targets for a target group using more than one target type. instance - Register targets by instance ID. This is the default value. ip - Register targets by IP address. You can specify IP addresses from the subnets of the virtual private cloud (VPC) for the target group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't specify publicly routable IP addresses. lambda - Register a single Lambda function as a target. alb - Register a single Application Load Balancer as a target.
|
|
722
722
|
*/
|
|
723
723
|
TargetType?: TargetTypeEnum;
|
|
724
724
|
/**
|
|
@@ -1702,15 +1702,15 @@ declare namespace ELBv2 {
|
|
|
1702
1702
|
export type TagValue = string;
|
|
1703
1703
|
export interface TargetDescription {
|
|
1704
1704
|
/**
|
|
1705
|
-
* The ID of the target. If the target type of the target group is instance, specify an instance ID. If the target type is ip, specify an IP address. If the target type is lambda, specify the ARN of the Lambda function.
|
|
1705
|
+
* The ID of the target. If the target type of the target group is instance, specify an instance ID. If the target type is ip, specify an IP address. If the target type is lambda, specify the ARN of the Lambda function. If the target type is alb, specify the ARN of the Application Load Balancer target.
|
|
1706
1706
|
*/
|
|
1707
1707
|
Id: TargetId;
|
|
1708
1708
|
/**
|
|
1709
|
-
* The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. Not used if the target is a Lambda function.
|
|
1709
|
+
* The port on which the target is listening. If the target group protocol is GENEVE, the supported port is 6081. If the target type is alb, the targeted Application Load Balancer must have at least one listener whose port matches the target group port. Not used if the target is a Lambda function.
|
|
1710
1710
|
*/
|
|
1711
1711
|
Port?: Port;
|
|
1712
1712
|
/**
|
|
1713
|
-
* An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. This parameter is not supported if the target type of the target group is instance. If the target type is ip and the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required. With an Application Load Balancer, if the target type is ip and the IP address is outside the VPC for the target group, the only supported value is all. If the target type is lambda, this parameter is optional and the only supported value is all.
|
|
1713
|
+
* An Availability Zone or all. This determines whether the target receives traffic from the load balancer nodes in the specified Availability Zone or from all enabled Availability Zones for the load balancer. This parameter is not supported if the target type of the target group is instance or alb. If the target type is ip and the IP address is in a subnet of the VPC for the target group, the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside the VPC, this parameter is required. With an Application Load Balancer, if the target type is ip and the IP address is outside the VPC for the target group, the only supported value is all. If the target type is lambda, this parameter is optional and the only supported value is all.
|
|
1714
1714
|
*/
|
|
1715
1715
|
AvailabilityZone?: ZoneName;
|
|
1716
1716
|
}
|
|
@@ -1777,7 +1777,7 @@ declare namespace ELBv2 {
|
|
|
1777
1777
|
*/
|
|
1778
1778
|
LoadBalancerArns?: LoadBalancerArns;
|
|
1779
1779
|
/**
|
|
1780
|
-
* The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address),
|
|
1780
|
+
* The type of target that you must specify when registering targets with this target group. The possible values are instance (register targets by instance ID), ip (register targets by IP address), lambda (register a single Lambda function as a target), or alb (register a single Application Load Balancer as a target).
|
|
1781
1781
|
*/
|
|
1782
1782
|
TargetType?: TargetTypeEnum;
|
|
1783
1783
|
/**
|
|
@@ -1859,7 +1859,7 @@ declare namespace ELBv2 {
|
|
|
1859
1859
|
export type TargetHealthReasonEnum = "Elb.RegistrationInProgress"|"Elb.InitialHealthChecking"|"Target.ResponseCodeMismatch"|"Target.Timeout"|"Target.FailedHealthChecks"|"Target.NotRegistered"|"Target.NotInUse"|"Target.DeregistrationInProgress"|"Target.InvalidState"|"Target.IpUnusable"|"Target.HealthCheckDisabled"|"Elb.InternalError"|string;
|
|
1860
1860
|
export type TargetHealthStateEnum = "initial"|"healthy"|"unhealthy"|"unused"|"draining"|"unavailable"|string;
|
|
1861
1861
|
export type TargetId = string;
|
|
1862
|
-
export type TargetTypeEnum = "instance"|"ip"|"lambda"|string;
|
|
1862
|
+
export type TargetTypeEnum = "instance"|"ip"|"lambda"|"alb"|string;
|
|
1863
1863
|
export type VpcId = string;
|
|
1864
1864
|
export type ZoneName = string;
|
|
1865
1865
|
/**
|
|
@@ -228,19 +228,19 @@ declare class Imagebuilder extends Service {
|
|
|
228
228
|
*/
|
|
229
229
|
importComponent(callback?: (err: AWSError, data: Imagebuilder.Types.ImportComponentResponse) => void): Request<Imagebuilder.Types.ImportComponentResponse, AWSError>;
|
|
230
230
|
/**
|
|
231
|
-
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
231
|
+
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
232
232
|
*/
|
|
233
233
|
listComponentBuildVersions(params: Imagebuilder.Types.ListComponentBuildVersionsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListComponentBuildVersionsResponse, AWSError>;
|
|
234
234
|
/**
|
|
235
|
-
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
235
|
+
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
236
236
|
*/
|
|
237
237
|
listComponentBuildVersions(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentBuildVersionsResponse) => void): Request<Imagebuilder.Types.ListComponentBuildVersionsResponse, AWSError>;
|
|
238
238
|
/**
|
|
239
|
-
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
239
|
+
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
240
240
|
*/
|
|
241
241
|
listComponents(params: Imagebuilder.Types.ListComponentsRequest, callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request<Imagebuilder.Types.ListComponentsResponse, AWSError>;
|
|
242
242
|
/**
|
|
243
|
-
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
243
|
+
* Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
244
244
|
*/
|
|
245
245
|
listComponents(callback?: (err: AWSError, data: Imagebuilder.Types.ListComponentsResponse) => void): Request<Imagebuilder.Types.ListComponentsResponse, AWSError>;
|
|
246
246
|
/**
|
|
@@ -413,7 +413,7 @@ declare namespace Imagebuilder {
|
|
|
413
413
|
*/
|
|
414
414
|
systemsManagerAgent?: SystemsManagerAgent;
|
|
415
415
|
/**
|
|
416
|
-
* Use this property to provide commands or a command script to run when you launch your build instance. The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your
|
|
416
|
+
* Use this property to provide commands or a command script to run when you launch your build instance. The userDataOverride property replaces any commands that Image Builder might have added to ensure that Systems Manager is installed on your Linux build instance. If you override the user data, make sure that you add commands to install Systems Manager, if it is not pre-installed on your base image.
|
|
417
417
|
*/
|
|
418
418
|
userDataOverride?: UserDataOverride;
|
|
419
419
|
}
|
|
@@ -442,7 +442,7 @@ declare namespace Imagebuilder {
|
|
|
442
442
|
}
|
|
443
443
|
export interface AmiDistributionConfiguration {
|
|
444
444
|
/**
|
|
445
|
-
* The name of the
|
|
445
|
+
* The name of the output AMI.
|
|
446
446
|
*/
|
|
447
447
|
name?: AmiNameString;
|
|
448
448
|
/**
|
|
@@ -525,7 +525,7 @@ declare namespace Imagebuilder {
|
|
|
525
525
|
*/
|
|
526
526
|
platform?: Platform;
|
|
527
527
|
/**
|
|
528
|
-
* The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the
|
|
528
|
+
* The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
|
|
529
529
|
*/
|
|
530
530
|
supportedOsVersions?: OsVersionList;
|
|
531
531
|
/**
|
|
@@ -639,7 +639,7 @@ declare namespace Imagebuilder {
|
|
|
639
639
|
*/
|
|
640
640
|
platform?: Platform;
|
|
641
641
|
/**
|
|
642
|
-
* The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the
|
|
642
|
+
* The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
|
|
643
643
|
*/
|
|
644
644
|
supportedOsVersions?: OsVersionList;
|
|
645
645
|
/**
|
|
@@ -683,7 +683,7 @@ declare namespace Imagebuilder {
|
|
|
683
683
|
*/
|
|
684
684
|
name?: ResourceName;
|
|
685
685
|
/**
|
|
686
|
-
* The semantic version of the component. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
686
|
+
* The semantic version of the component. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
687
687
|
*/
|
|
688
688
|
version?: VersionNumber;
|
|
689
689
|
/**
|
|
@@ -695,7 +695,7 @@ declare namespace Imagebuilder {
|
|
|
695
695
|
*/
|
|
696
696
|
platform?: Platform;
|
|
697
697
|
/**
|
|
698
|
-
* he operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the
|
|
698
|
+
* he operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
|
|
699
699
|
*/
|
|
700
700
|
supportedOsVersions?: OsVersionList;
|
|
701
701
|
/**
|
|
@@ -765,7 +765,7 @@ declare namespace Imagebuilder {
|
|
|
765
765
|
*/
|
|
766
766
|
owner?: NonEmptyString;
|
|
767
767
|
/**
|
|
768
|
-
* The semantic version of the container recipe. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
768
|
+
* The semantic version of the container recipe. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
769
769
|
*/
|
|
770
770
|
version?: VersionNumber;
|
|
771
771
|
/**
|
|
@@ -789,7 +789,7 @@ declare namespace Imagebuilder {
|
|
|
789
789
|
*/
|
|
790
790
|
encrypted?: NullableBoolean;
|
|
791
791
|
/**
|
|
792
|
-
* The
|
|
792
|
+
* The base image for the container recipe.
|
|
793
793
|
*/
|
|
794
794
|
parentImage?: NonEmptyString;
|
|
795
795
|
/**
|
|
@@ -832,7 +832,7 @@ declare namespace Imagebuilder {
|
|
|
832
832
|
*/
|
|
833
833
|
owner?: NonEmptyString;
|
|
834
834
|
/**
|
|
835
|
-
* The
|
|
835
|
+
* The base image for the container recipe.
|
|
836
836
|
*/
|
|
837
837
|
parentImage?: NonEmptyString;
|
|
838
838
|
/**
|
|
@@ -869,7 +869,7 @@ declare namespace Imagebuilder {
|
|
|
869
869
|
*/
|
|
870
870
|
platform: Platform;
|
|
871
871
|
/**
|
|
872
|
-
* The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the
|
|
872
|
+
* The operating system (OS) version supported by the component. If the OS information is available, a prefix match is performed against the base image OS version during image recipe creation.
|
|
873
873
|
*/
|
|
874
874
|
supportedOsVersions?: OsVersionList;
|
|
875
875
|
/**
|
|
@@ -941,15 +941,15 @@ declare namespace Imagebuilder {
|
|
|
941
941
|
*/
|
|
942
942
|
dockerfileTemplateUri?: Uri;
|
|
943
943
|
/**
|
|
944
|
-
* Specifies the operating system platform when you use a custom
|
|
944
|
+
* Specifies the operating system platform when you use a custom base image.
|
|
945
945
|
*/
|
|
946
946
|
platformOverride?: Platform;
|
|
947
947
|
/**
|
|
948
|
-
* Specifies the operating system version for the
|
|
948
|
+
* Specifies the operating system version for the base image.
|
|
949
949
|
*/
|
|
950
950
|
imageOsVersionOverride?: NonEmptyString;
|
|
951
951
|
/**
|
|
952
|
-
* The
|
|
952
|
+
* The base image for the container recipe.
|
|
953
953
|
*/
|
|
954
954
|
parentImage: NonEmptyString;
|
|
955
955
|
/**
|
|
@@ -1105,7 +1105,7 @@ declare namespace Imagebuilder {
|
|
|
1105
1105
|
*/
|
|
1106
1106
|
components: ComponentConfigurationList;
|
|
1107
1107
|
/**
|
|
1108
|
-
* The
|
|
1108
|
+
* The base image of the image recipe. The value of the string can be the ARN of the base image or an AMI ID. The format for the ARN follows this example: arn:aws:imagebuilder:us-west-2:aws:image/windows-server-2016-english-full-base-x86/x.x.x. You can provide the specific version that you want to use, or you can use a wildcard in all of the fields. If you enter an AMI ID for the string value, you must have access to the AMI, and the AMI must be in the same Region in which you are using Image Builder.
|
|
1109
1109
|
*/
|
|
1110
1110
|
parentImage: NonEmptyString;
|
|
1111
1111
|
/**
|
|
@@ -1201,7 +1201,7 @@ declare namespace Imagebuilder {
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
description?: NonEmptyString;
|
|
1203
1203
|
/**
|
|
1204
|
-
* The instance
|
|
1204
|
+
* The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
|
|
1205
1205
|
*/
|
|
1206
1206
|
instanceTypes?: InstanceTypeList;
|
|
1207
1207
|
/**
|
|
@@ -1712,7 +1712,7 @@ declare namespace Imagebuilder {
|
|
|
1712
1712
|
*/
|
|
1713
1713
|
name?: ResourceName;
|
|
1714
1714
|
/**
|
|
1715
|
-
* The semantic version of the image. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
1715
|
+
* The semantic version of the image. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
1716
1716
|
*/
|
|
1717
1717
|
version?: VersionNumber;
|
|
1718
1718
|
/**
|
|
@@ -1891,7 +1891,7 @@ declare namespace Imagebuilder {
|
|
|
1891
1891
|
*/
|
|
1892
1892
|
components?: ComponentConfigurationList;
|
|
1893
1893
|
/**
|
|
1894
|
-
* The
|
|
1894
|
+
* The base image of the image recipe.
|
|
1895
1895
|
*/
|
|
1896
1896
|
parentImage?: NonEmptyString;
|
|
1897
1897
|
/**
|
|
@@ -1934,7 +1934,7 @@ declare namespace Imagebuilder {
|
|
|
1934
1934
|
*/
|
|
1935
1935
|
owner?: NonEmptyString;
|
|
1936
1936
|
/**
|
|
1937
|
-
* The
|
|
1937
|
+
* The base image of the image recipe.
|
|
1938
1938
|
*/
|
|
1939
1939
|
parentImage?: NonEmptyString;
|
|
1940
1940
|
/**
|
|
@@ -2031,7 +2031,7 @@ declare namespace Imagebuilder {
|
|
|
2031
2031
|
*/
|
|
2032
2032
|
type?: ImageType;
|
|
2033
2033
|
/**
|
|
2034
|
-
* Details for a specific version of an Image Builder image. This version follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
2034
|
+
* Details for a specific version of an Image Builder image. This version follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Assignment: For the first three nodes you can assign any positive integer value, including zero, with an upper limit of 2^30-1, or 1073741823 for each node. Image Builder automatically assigns the build number to the fourth node. Patterns: You can use any numeric pattern that adheres to the assignment requirements for the nodes that you can assign. For example, you might choose a software version pattern, such as 1.0.0, or a date, such as 2021.01.01. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
2035
2035
|
*/
|
|
2036
2036
|
version?: VersionNumber;
|
|
2037
2037
|
/**
|
|
@@ -2060,7 +2060,7 @@ declare namespace Imagebuilder {
|
|
|
2060
2060
|
*/
|
|
2061
2061
|
name: ResourceName;
|
|
2062
2062
|
/**
|
|
2063
|
-
* The semantic version of the component. This version follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
2063
|
+
* The semantic version of the component. This version follows the semantic version syntax. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
2064
2064
|
*/
|
|
2065
2065
|
semanticVersion: VersionNumber;
|
|
2066
2066
|
/**
|
|
@@ -2240,7 +2240,7 @@ declare namespace Imagebuilder {
|
|
|
2240
2240
|
*/
|
|
2241
2241
|
virtualName?: NonEmptyString;
|
|
2242
2242
|
/**
|
|
2243
|
-
* Use to remove a mapping from the
|
|
2243
|
+
* Use to remove a mapping from the base image.
|
|
2244
2244
|
*/
|
|
2245
2245
|
noDevice?: EmptyString;
|
|
2246
2246
|
}
|
|
@@ -2604,7 +2604,7 @@ declare namespace Imagebuilder {
|
|
|
2604
2604
|
*/
|
|
2605
2605
|
requestId?: NonEmptyString;
|
|
2606
2606
|
/**
|
|
2607
|
-
* The list of image semantic versions. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the
|
|
2607
|
+
* The list of image semantic versions. The semantic version has four nodes: <major>.<minor>.<patch>/<build>. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
|
|
2608
2608
|
*/
|
|
2609
2609
|
imageVersionList?: ImageVersionList;
|
|
2610
2610
|
/**
|
|
@@ -2782,7 +2782,7 @@ declare namespace Imagebuilder {
|
|
|
2782
2782
|
*/
|
|
2783
2783
|
timezone?: Timezone;
|
|
2784
2784
|
/**
|
|
2785
|
-
* The condition configures when the pipeline should trigger a new image build. When the pipelineExecutionStartCondition is set to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you use semantic version filters on the
|
|
2785
|
+
* The condition configures when the pipeline should trigger a new image build. When the pipelineExecutionStartCondition is set to EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE, and you use semantic version filters on the base image or components in your image recipe, EC2 Image Builder will build a new image only when there are new versions of the image or components in your recipe that match the semantic version filter. When it is set to EXPRESSION_MATCH_ONLY, it will build a new image every time the CRON expression matches the current time. For semantic version syntax, see CreateComponent in the EC2 Image Builder API Reference.
|
|
2786
2786
|
*/
|
|
2787
2787
|
pipelineExecutionStartCondition?: PipelineExecutionStartCondition;
|
|
2788
2788
|
}
|
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
|
}
|