aws-sdk 2.1544.0 → 2.1546.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/README.md +1 -1
- package/apis/autoscaling-2011-01-01.min.json +3 -0
- package/apis/ec2-2016-11-15.min.json +7 -0
- package/apis/inspector2-2020-06-08.min.json +91 -80
- package/apis/sagemaker-2017-07-24.min.json +271 -260
- package/clients/autoscaling.d.ts +10 -6
- package/clients/comprehend.d.ts +4 -4
- package/clients/ec2.d.ts +12 -4
- package/clients/inspector2.d.ts +68 -51
- package/clients/mwaa.d.ts +4 -4
- package/clients/sagemaker.d.ts +23 -9
- package/clients/snowball.d.ts +2 -2
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +5 -5
- package/dist/aws-sdk.js +13 -3
- package/dist/aws-sdk.min.js +102 -102
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/autoscaling.d.ts
CHANGED
@@ -192,11 +192,11 @@ declare class AutoScaling extends Service {
|
|
192
192
|
*/
|
193
193
|
describeAutoScalingNotificationTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer) => void): Request<AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer, AWSError>;
|
194
194
|
/**
|
195
|
-
* Gets information about the instance refreshes for the specified Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
|
195
|
+
* Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
|
196
196
|
*/
|
197
197
|
describeInstanceRefreshes(params: AutoScaling.Types.DescribeInstanceRefreshesType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeInstanceRefreshesAnswer) => void): Request<AutoScaling.Types.DescribeInstanceRefreshesAnswer, AWSError>;
|
198
198
|
/**
|
199
|
-
* Gets information about the instance refreshes for the specified Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
|
199
|
+
* Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
|
200
200
|
*/
|
201
201
|
describeInstanceRefreshes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeInstanceRefreshesAnswer) => void): Request<AutoScaling.Types.DescribeInstanceRefreshesAnswer, AWSError>;
|
202
202
|
/**
|
@@ -1949,11 +1949,11 @@ declare namespace AutoScaling {
|
|
1949
1949
|
export type InstanceIds = XmlStringMaxLen19[];
|
1950
1950
|
export interface InstanceMaintenancePolicy {
|
1951
1951
|
/**
|
1952
|
-
* Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100.
|
1952
|
+
* Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of -1.
|
1953
1953
|
*/
|
1954
1954
|
MinHealthyPercentage?: IntPercentResettable;
|
1955
1955
|
/**
|
1956
|
-
* Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200.
|
1956
|
+
* Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of -1. Both MinHealthyPercentage and MaxHealthyPercentage must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time.
|
1957
1957
|
*/
|
1958
1958
|
MaxHealthyPercentage?: IntPercent100To200Resettable;
|
1959
1959
|
}
|
@@ -2090,11 +2090,15 @@ declare namespace AutoScaling {
|
|
2090
2090
|
*/
|
2091
2091
|
InstanceGenerations?: InstanceGenerations;
|
2092
2092
|
/**
|
2093
|
-
* The price protection threshold for Spot Instances.
|
2093
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. Default: 100
|
2094
2094
|
*/
|
2095
2095
|
SpotMaxPricePercentageOverLowestPrice?: NullablePositiveInteger;
|
2096
2096
|
/**
|
2097
|
-
* The price protection threshold for On-Demand
|
2097
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To indicate no price protection threshold, specify a high value, such as 999999. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, then SpotMaxPricePercentageOverLowestPrice is used and the value for that parameter defaults to 100.
|
2098
|
+
*/
|
2099
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: NullablePositiveInteger;
|
2100
|
+
/**
|
2101
|
+
* [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price. Default: 20
|
2098
2102
|
*/
|
2099
2103
|
OnDemandMaxPricePercentageOverLowestPrice?: NullablePositiveInteger;
|
2100
2104
|
/**
|
package/clients/comprehend.d.ts
CHANGED
@@ -1105,7 +1105,7 @@ declare namespace Comprehend {
|
|
1105
1105
|
*/
|
1106
1106
|
Text: String;
|
1107
1107
|
/**
|
1108
|
-
* The language of the input documents.
|
1108
|
+
* The language of the input documents.
|
1109
1109
|
*/
|
1110
1110
|
LanguageCode: LanguageCode;
|
1111
1111
|
}
|
@@ -1847,7 +1847,7 @@ declare namespace Comprehend {
|
|
1847
1847
|
*/
|
1848
1848
|
Text: String;
|
1849
1849
|
/**
|
1850
|
-
* The language of the input
|
1850
|
+
* The language of the input text. Enter the language code for English (en) or Spanish (es).
|
1851
1851
|
*/
|
1852
1852
|
LanguageCode: LanguageCode;
|
1853
1853
|
}
|
@@ -3767,7 +3767,7 @@ declare namespace Comprehend {
|
|
3767
3767
|
*/
|
3768
3768
|
RedactionConfig?: RedactionConfig;
|
3769
3769
|
/**
|
3770
|
-
* The language code of the input documents
|
3770
|
+
* The language code of the input documents.
|
3771
3771
|
*/
|
3772
3772
|
LanguageCode?: LanguageCode;
|
3773
3773
|
/**
|
@@ -4284,7 +4284,7 @@ declare namespace Comprehend {
|
|
4284
4284
|
*/
|
4285
4285
|
JobName?: JobName;
|
4286
4286
|
/**
|
4287
|
-
* The language of the input documents.
|
4287
|
+
* The language of the input documents. Enter the language code for English (en) or Spanish (es).
|
4288
4288
|
*/
|
4289
4289
|
LanguageCode: LanguageCode;
|
4290
4290
|
/**
|
package/clients/ec2.d.ts
CHANGED
@@ -24766,11 +24766,11 @@ declare namespace EC2 {
|
|
24766
24766
|
*/
|
24767
24767
|
InstanceGenerations?: InstanceGenerationSet;
|
24768
24768
|
/**
|
24769
|
-
* The price protection threshold for Spot Instances
|
24769
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To indicate no price protection threshold, specify a high value, such as 999999. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, then SpotMaxPricePercentageOverLowestPrice is used and the value for that parameter defaults to 100. Default: 100
|
24770
24770
|
*/
|
24771
24771
|
SpotMaxPricePercentageOverLowestPrice?: Integer;
|
24772
24772
|
/**
|
24773
|
-
* The price protection threshold for On-Demand Instances
|
24773
|
+
* [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To turn off price protection, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default: 20
|
24774
24774
|
*/
|
24775
24775
|
OnDemandMaxPricePercentageOverLowestPrice?: Integer;
|
24776
24776
|
/**
|
@@ -24833,6 +24833,10 @@ declare namespace EC2 {
|
|
24833
24833
|
* The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes. Default: All instance types
|
24834
24834
|
*/
|
24835
24835
|
AllowedInstanceTypes?: AllowedInstanceTypeSet;
|
24836
|
+
/**
|
24837
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To indicate no price protection threshold, specify a high value, such as 999999. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, then SpotMaxPricePercentageOverLowestPrice is used and the value for that parameter defaults to 100.
|
24838
|
+
*/
|
24839
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: Integer;
|
24836
24840
|
}
|
24837
24841
|
export interface InstanceRequirementsRequest {
|
24838
24842
|
/**
|
@@ -24860,11 +24864,11 @@ declare namespace EC2 {
|
|
24860
24864
|
*/
|
24861
24865
|
InstanceGenerations?: InstanceGenerationSet;
|
24862
24866
|
/**
|
24863
|
-
* The price protection threshold for Spot
|
24867
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the Spot price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified Spot price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose Spot price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To indicate no price protection threshold, specify a high value, such as 999999. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, then SpotMaxPricePercentageOverLowestPrice is used and the value for that parameter defaults to 100. Default: 100
|
24864
24868
|
*/
|
24865
24869
|
SpotMaxPricePercentageOverLowestPrice?: Integer;
|
24866
24870
|
/**
|
24867
|
-
* The price protection threshold for On-Demand Instances
|
24871
|
+
* [Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To indicate no price protection threshold, specify a high value, such as 999999. This parameter is not supported for GetSpotPlacementScores and GetInstanceTypesFromInstanceRequirements. If you set TargetCapacityUnitType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per-instance price. Default: 20
|
24868
24872
|
*/
|
24869
24873
|
OnDemandMaxPricePercentageOverLowestPrice?: Integer;
|
24870
24874
|
/**
|
@@ -24927,6 +24931,10 @@ declare namespace EC2 {
|
|
24927
24931
|
* The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes. You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*. For example, if you specify c5*,Amazon EC2 will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 will allow all the M5a instance types, but not the M5n instance types. If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes. Default: All instance types
|
24928
24932
|
*/
|
24929
24933
|
AllowedInstanceTypes?: AllowedInstanceTypeSet;
|
24934
|
+
/**
|
24935
|
+
* [Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from the lowest priced current generation instance types, and failing that, from the lowest priced previous generation instance types that match your attributes. When Amazon EC2 selects instance types with your attributes, it will exclude instance types whose price exceeds your specified threshold. The parameter accepts an integer, which Amazon EC2 interprets as a percentage. To indicate no price protection threshold, specify a high value, such as 999999. If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per vCPU or per memory price instead of the per instance price. Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, then SpotMaxPricePercentageOverLowestPrice is used and the value for that parameter defaults to 100.
|
24936
|
+
*/
|
24937
|
+
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: Integer;
|
24930
24938
|
}
|
24931
24939
|
export interface InstanceRequirementsWithMetadataRequest {
|
24932
24940
|
/**
|
package/clients/inspector2.d.ts
CHANGED
@@ -452,11 +452,11 @@ declare class Inspector2 extends Service {
|
|
452
452
|
*/
|
453
453
|
updateEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse, AWSError>;
|
454
454
|
/**
|
455
|
-
* Updates an encryption key. A ResourceNotFoundException means that an
|
455
|
+
* Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.
|
456
456
|
*/
|
457
457
|
updateEncryptionKey(params: Inspector2.Types.UpdateEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateEncryptionKeyResponse) => void): Request<Inspector2.Types.UpdateEncryptionKeyResponse, AWSError>;
|
458
458
|
/**
|
459
|
-
* Updates an encryption key. A ResourceNotFoundException means that an
|
459
|
+
* Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.
|
460
460
|
*/
|
461
461
|
updateEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.UpdateEncryptionKeyResponse) => void): Request<Inspector2.Types.UpdateEncryptionKeyResponse, AWSError>;
|
462
462
|
/**
|
@@ -575,11 +575,11 @@ declare namespace Inspector2 {
|
|
575
575
|
*/
|
576
576
|
imageLayerAggregation?: ImageLayerAggregation;
|
577
577
|
/**
|
578
|
-
* Returns an object with findings aggregated by
|
578
|
+
* Returns an object with findings aggregated by Amazon Web Services Lambda function.
|
579
579
|
*/
|
580
580
|
lambdaFunctionAggregation?: LambdaFunctionAggregation;
|
581
581
|
/**
|
582
|
-
* Returns an object with findings aggregated by
|
582
|
+
* Returns an object with findings aggregated by Amazon Web Services Lambda layer.
|
583
583
|
*/
|
584
584
|
lambdaLayerAggregation?: LambdaLayerAggregation;
|
585
585
|
/**
|
@@ -622,11 +622,11 @@ declare namespace Inspector2 {
|
|
622
622
|
*/
|
623
623
|
imageLayerAggregation?: ImageLayerAggregationResponse;
|
624
624
|
/**
|
625
|
-
* An aggregation of findings by
|
625
|
+
* An aggregation of findings by Amazon Web Services Lambda function.
|
626
626
|
*/
|
627
627
|
lambdaFunctionAggregation?: LambdaFunctionAggregationResponse;
|
628
628
|
/**
|
629
|
-
* An aggregation of findings by
|
629
|
+
* An aggregation of findings by Amazon Web Services Lambda layer.
|
630
630
|
*/
|
631
631
|
lambdaLayerAggregation?: LambdaLayerAggregationResponse;
|
632
632
|
/**
|
@@ -721,11 +721,11 @@ declare namespace Inspector2 {
|
|
721
721
|
*/
|
722
722
|
ecr: Boolean;
|
723
723
|
/**
|
724
|
-
* Represents whether
|
724
|
+
* Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.
|
725
725
|
*/
|
726
726
|
lambda?: Boolean;
|
727
727
|
/**
|
728
|
-
* Represents whether
|
728
|
+
* Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. </p>
|
729
729
|
*/
|
730
730
|
lambdaCode?: Boolean;
|
731
731
|
}
|
@@ -868,19 +868,19 @@ declare namespace Inspector2 {
|
|
868
868
|
export type AwsEcrContainerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
|
869
869
|
export interface AwsLambdaFunctionDetails {
|
870
870
|
/**
|
871
|
-
* The instruction set architecture that the
|
871
|
+
* The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the valid values. The default architecture value is x86_64.
|
872
872
|
*/
|
873
873
|
architectures?: ArchitectureList;
|
874
874
|
/**
|
875
|
-
* The SHA256 hash of the
|
875
|
+
* The SHA256 hash of the Amazon Web Services Lambda function's deployment package.
|
876
876
|
*/
|
877
877
|
codeSha256: NonEmptyString;
|
878
878
|
/**
|
879
|
-
* The
|
879
|
+
* The Amazon Web Services Lambda function's execution role.
|
880
880
|
*/
|
881
881
|
executionRoleArn: ExecutionRoleArn;
|
882
882
|
/**
|
883
|
-
* The name of the
|
883
|
+
* The name of the Amazon Web Services Lambda function.
|
884
884
|
*/
|
885
885
|
functionName: FunctionName;
|
886
886
|
/**
|
@@ -888,7 +888,7 @@ declare namespace Inspector2 {
|
|
888
888
|
*/
|
889
889
|
lastModifiedAt?: Timestamp;
|
890
890
|
/**
|
891
|
-
* The
|
891
|
+
* The Amazon Web Services Lambda function's layers. A Lambda function can have up to five layers.
|
892
892
|
*/
|
893
893
|
layers?: LayerList;
|
894
894
|
/**
|
@@ -896,15 +896,15 @@ declare namespace Inspector2 {
|
|
896
896
|
*/
|
897
897
|
packageType?: PackageType;
|
898
898
|
/**
|
899
|
-
* The runtime environment for the
|
899
|
+
* The runtime environment for the Amazon Web Services Lambda function.
|
900
900
|
*/
|
901
901
|
runtime: Runtime;
|
902
902
|
/**
|
903
|
-
* The version of the
|
903
|
+
* The version of the Amazon Web Services Lambda function.
|
904
904
|
*/
|
905
905
|
version: Version;
|
906
906
|
/**
|
907
|
-
* The
|
907
|
+
* The Amazon Web Services Lambda function's networking configuration.
|
908
908
|
*/
|
909
909
|
vpcConfig?: LambdaVpcConfig;
|
910
910
|
}
|
@@ -1647,15 +1647,19 @@ declare namespace Inspector2 {
|
|
1647
1647
|
*/
|
1648
1648
|
ecrRepositoryName?: CoverageStringFilterList;
|
1649
1649
|
/**
|
1650
|
-
*
|
1650
|
+
* The date an image was last pulled at.
|
1651
|
+
*/
|
1652
|
+
imagePulledAt?: CoverageDateFilterList;
|
1653
|
+
/**
|
1654
|
+
* Returns coverage statistics for Amazon Web Services Lambda functions filtered by function names.
|
1651
1655
|
*/
|
1652
1656
|
lambdaFunctionName?: CoverageStringFilterList;
|
1653
1657
|
/**
|
1654
|
-
* Returns coverage statistics for
|
1658
|
+
* Returns coverage statistics for Amazon Web Services Lambda functions filtered by runtime.
|
1655
1659
|
*/
|
1656
1660
|
lambdaFunctionRuntime?: CoverageStringFilterList;
|
1657
1661
|
/**
|
1658
|
-
* Returns coverage statistics for
|
1662
|
+
* Returns coverage statistics for Amazon Web Services Lambda functions filtered by tag.
|
1659
1663
|
*/
|
1660
1664
|
lambdaFunctionTags?: CoverageMapFilterList;
|
1661
1665
|
/**
|
@@ -2150,22 +2154,31 @@ declare namespace Inspector2 {
|
|
2150
2154
|
export type Ec2Platform = "WINDOWS"|"LINUX"|"UNKNOWN"|"MACOS"|string;
|
2151
2155
|
export interface EcrConfiguration {
|
2152
2156
|
/**
|
2153
|
-
* The
|
2157
|
+
* The rescan duration configured for image pull date.
|
2158
|
+
*/
|
2159
|
+
pullDateRescanDuration?: EcrPullDateRescanDuration;
|
2160
|
+
/**
|
2161
|
+
* The rescan duration configured for image push date.
|
2154
2162
|
*/
|
2155
2163
|
rescanDuration: EcrRescanDuration;
|
2156
2164
|
}
|
2157
2165
|
export interface EcrConfigurationState {
|
2158
2166
|
/**
|
2159
|
-
* An object that contains details about the state of the ECR
|
2167
|
+
* An object that contains details about the state of the ECR re-scan settings.
|
2160
2168
|
*/
|
2161
2169
|
rescanDurationState?: EcrRescanDurationState;
|
2162
2170
|
}
|
2163
2171
|
export interface EcrContainerImageMetadata {
|
2172
|
+
/**
|
2173
|
+
* The date an image was last pulled at.
|
2174
|
+
*/
|
2175
|
+
imagePulledAt?: DateTimeTimestamp;
|
2164
2176
|
/**
|
2165
2177
|
* Tags associated with the Amazon ECR image metadata.
|
2166
2178
|
*/
|
2167
2179
|
tags?: TagList;
|
2168
2180
|
}
|
2181
|
+
export type EcrPullDateRescanDuration = "DAYS_14"|"DAYS_30"|"DAYS_60"|"DAYS_90"|"DAYS_180"|string;
|
2169
2182
|
export interface EcrRepositoryMetadata {
|
2170
2183
|
/**
|
2171
2184
|
* The name of the Amazon ECR repository.
|
@@ -2176,10 +2189,14 @@ declare namespace Inspector2 {
|
|
2176
2189
|
*/
|
2177
2190
|
scanFrequency?: EcrScanFrequency;
|
2178
2191
|
}
|
2179
|
-
export type EcrRescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|string;
|
2192
|
+
export type EcrRescanDuration = "LIFETIME"|"DAYS_30"|"DAYS_180"|"DAYS_14"|"DAYS_60"|"DAYS_90"|string;
|
2180
2193
|
export interface EcrRescanDurationState {
|
2181
2194
|
/**
|
2182
|
-
* The
|
2195
|
+
* The rescan duration configured for image pull date.
|
2196
|
+
*/
|
2197
|
+
pullDateRescanDuration?: EcrPullDateRescanDuration;
|
2198
|
+
/**
|
2199
|
+
* The rescan duration configured for image push date. </p>
|
2183
2200
|
*/
|
2184
2201
|
rescanDuration?: EcrRescanDuration;
|
2185
2202
|
/**
|
@@ -2437,7 +2454,7 @@ declare namespace Inspector2 {
|
|
2437
2454
|
*/
|
2438
2455
|
epssScore?: NumberFilterList;
|
2439
2456
|
/**
|
2440
|
-
* Filters the list of
|
2457
|
+
* Filters the list of Amazon Web Services Lambda findings by the availability of exploits.
|
2441
2458
|
*/
|
2442
2459
|
exploitAvailable?: StringFilterList;
|
2443
2460
|
/**
|
@@ -2465,23 +2482,23 @@ declare namespace Inspector2 {
|
|
2465
2482
|
*/
|
2466
2483
|
inspectorScore?: NumberFilterList;
|
2467
2484
|
/**
|
2468
|
-
* Filters the list of
|
2485
|
+
* Filters the list of Amazon Web Services Lambda functions by execution role.
|
2469
2486
|
*/
|
2470
2487
|
lambdaFunctionExecutionRoleArn?: StringFilterList;
|
2471
2488
|
/**
|
2472
|
-
* Filters the list of
|
2489
|
+
* Filters the list of Amazon Web Services Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format
|
2473
2490
|
*/
|
2474
2491
|
lambdaFunctionLastModifiedAt?: DateFilterList;
|
2475
2492
|
/**
|
2476
|
-
* Filters the list of
|
2493
|
+
* Filters the list of Amazon Web Services Lambda functions by the function's layers. A Lambda function can have up to five layers.
|
2477
2494
|
*/
|
2478
2495
|
lambdaFunctionLayers?: StringFilterList;
|
2479
2496
|
/**
|
2480
|
-
* Filters the list of
|
2497
|
+
* Filters the list of Amazon Web Services Lambda functions by the name of the function.
|
2481
2498
|
*/
|
2482
2499
|
lambdaFunctionName?: StringFilterList;
|
2483
2500
|
/**
|
2484
|
-
* Filters the list of
|
2501
|
+
* Filters the list of Amazon Web Services Lambda functions by the runtime environment for the Lambda function.
|
2485
2502
|
*/
|
2486
2503
|
lambdaFunctionRuntime?: StringFilterList;
|
2487
2504
|
/**
|
@@ -3027,7 +3044,7 @@ declare namespace Inspector2 {
|
|
3027
3044
|
export type KmsKeyArn = string;
|
3028
3045
|
export interface LambdaFunctionAggregation {
|
3029
3046
|
/**
|
3030
|
-
* The
|
3047
|
+
* The Amazon Web Services Lambda function names to include in the aggregation results.
|
3031
3048
|
*/
|
3032
3049
|
functionNames?: StringFilterList;
|
3033
3050
|
/**
|
@@ -3039,7 +3056,7 @@ declare namespace Inspector2 {
|
|
3039
3056
|
*/
|
3040
3057
|
resourceIds?: StringFilterList;
|
3041
3058
|
/**
|
3042
|
-
* Returns findings aggregated by
|
3059
|
+
* Returns findings aggregated by Amazon Web Services Lambda function runtime environments.
|
3043
3060
|
*/
|
3044
3061
|
runtimes?: StringFilterList;
|
3045
3062
|
/**
|
@@ -3053,11 +3070,11 @@ declare namespace Inspector2 {
|
|
3053
3070
|
}
|
3054
3071
|
export interface LambdaFunctionAggregationResponse {
|
3055
3072
|
/**
|
3056
|
-
* The ID of the
|
3073
|
+
* The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.
|
3057
3074
|
*/
|
3058
3075
|
accountId?: AccountId;
|
3059
3076
|
/**
|
3060
|
-
* The
|
3077
|
+
* The Amazon Web Services Lambda function names included in the aggregation results.
|
3061
3078
|
*/
|
3062
3079
|
functionName?: String;
|
3063
3080
|
/**
|
@@ -3065,7 +3082,7 @@ declare namespace Inspector2 {
|
|
3065
3082
|
*/
|
3066
3083
|
lambdaTags?: TagMap;
|
3067
3084
|
/**
|
3068
|
-
* The date that the
|
3085
|
+
* The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.
|
3069
3086
|
*/
|
3070
3087
|
lastModifiedAt?: DateTimeTimestamp;
|
3071
3088
|
/**
|
@@ -3084,30 +3101,30 @@ declare namespace Inspector2 {
|
|
3084
3101
|
*/
|
3085
3102
|
functionName?: String;
|
3086
3103
|
/**
|
3087
|
-
* The resource tags on an
|
3104
|
+
* The resource tags on an Amazon Web Services Lambda function.
|
3088
3105
|
*/
|
3089
3106
|
functionTags?: TagMap;
|
3090
3107
|
/**
|
3091
|
-
* The layers for an
|
3108
|
+
* The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.
|
3092
3109
|
*/
|
3093
3110
|
layers?: LambdaLayerList;
|
3094
3111
|
/**
|
3095
|
-
* An
|
3112
|
+
* An Amazon Web Services Lambda function's runtime.
|
3096
3113
|
*/
|
3097
3114
|
runtime?: Runtime;
|
3098
3115
|
}
|
3099
3116
|
export type LambdaFunctionSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
|
3100
3117
|
export interface LambdaLayerAggregation {
|
3101
3118
|
/**
|
3102
|
-
* The names of the
|
3119
|
+
* The names of the Amazon Web Services Lambda functions associated with the layers.
|
3103
3120
|
*/
|
3104
3121
|
functionNames?: StringFilterList;
|
3105
3122
|
/**
|
3106
|
-
* The Amazon Resource Name (ARN) of the
|
3123
|
+
* The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.
|
3107
3124
|
*/
|
3108
3125
|
layerArns?: StringFilterList;
|
3109
3126
|
/**
|
3110
|
-
* The resource IDs for the
|
3127
|
+
* The resource IDs for the Amazon Web Services Lambda function layers.
|
3111
3128
|
*/
|
3112
3129
|
resourceIds?: StringFilterList;
|
3113
3130
|
/**
|
@@ -3121,19 +3138,19 @@ declare namespace Inspector2 {
|
|
3121
3138
|
}
|
3122
3139
|
export interface LambdaLayerAggregationResponse {
|
3123
3140
|
/**
|
3124
|
-
* The account ID of the
|
3141
|
+
* The account ID of the Amazon Web Services Lambda function layer.
|
3125
3142
|
*/
|
3126
3143
|
accountId: AccountId;
|
3127
3144
|
/**
|
3128
|
-
* The names of the
|
3145
|
+
* The names of the Amazon Web Services Lambda functions associated with the layers.
|
3129
3146
|
*/
|
3130
3147
|
functionName: NonEmptyString;
|
3131
3148
|
/**
|
3132
|
-
* The Amazon Resource Name (ARN) of the
|
3149
|
+
* The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.
|
3133
3150
|
*/
|
3134
3151
|
layerArn: NonEmptyString;
|
3135
3152
|
/**
|
3136
|
-
* The Resource ID of the
|
3153
|
+
* The Resource ID of the Amazon Web Services Lambda function layer.
|
3137
3154
|
*/
|
3138
3155
|
resourceId: NonEmptyString;
|
3139
3156
|
severityCounts?: SeverityCounts;
|
@@ -3143,7 +3160,7 @@ declare namespace Inspector2 {
|
|
3143
3160
|
export type LambdaLayerSortBy = "CRITICAL"|"HIGH"|"ALL"|string;
|
3144
3161
|
export interface LambdaVpcConfig {
|
3145
3162
|
/**
|
3146
|
-
* The VPC security groups and subnets that are attached to an
|
3163
|
+
* The VPC security groups and subnets that are attached to an Amazon Web Services Lambda function. For more information, see VPC Settings.
|
3147
3164
|
*/
|
3148
3165
|
securityGroupIds?: SecurityGroupIdList;
|
3149
3166
|
/**
|
@@ -3981,7 +3998,7 @@ declare namespace Inspector2 {
|
|
3981
3998
|
*/
|
3982
3999
|
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
3983
4000
|
/**
|
3984
|
-
* A summary of the information about an
|
4001
|
+
* A summary of the information about an Amazon Web Services Lambda function affected by a finding.
|
3985
4002
|
*/
|
3986
4003
|
awsLambdaFunction?: AwsLambdaFunctionDetails;
|
3987
4004
|
}
|
@@ -4003,11 +4020,11 @@ declare namespace Inspector2 {
|
|
4003
4020
|
*/
|
4004
4021
|
ecrRepositoryName?: ResourceStringFilterList;
|
4005
4022
|
/**
|
4006
|
-
* The
|
4023
|
+
* The Amazon Web Services Lambda function name used as resource filter criteria.
|
4007
4024
|
*/
|
4008
4025
|
lambdaFunctionName?: ResourceStringFilterList;
|
4009
4026
|
/**
|
4010
|
-
* The
|
4027
|
+
* The Amazon Web Services Lambda function tags used as resource filter criteria.
|
4011
4028
|
*/
|
4012
4029
|
lambdaFunctionTags?: ResourceMapFilterList;
|
4013
4030
|
/**
|
@@ -4052,7 +4069,7 @@ declare namespace Inspector2 {
|
|
4052
4069
|
*/
|
4053
4070
|
ecrRepository?: EcrRepositoryMetadata;
|
4054
4071
|
/**
|
4055
|
-
* An object that contains metadata details for an
|
4072
|
+
* An object that contains metadata details for an Amazon Web Services Lambda function.
|
4056
4073
|
*/
|
4057
4074
|
lambdaFunction?: LambdaFunctionMetadata;
|
4058
4075
|
}
|
@@ -4079,7 +4096,7 @@ declare namespace Inspector2 {
|
|
4079
4096
|
*/
|
4080
4097
|
ecr: Status;
|
4081
4098
|
/**
|
4082
|
-
* The status of Amazon Inspector scanning for
|
4099
|
+
* The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
|
4083
4100
|
*/
|
4084
4101
|
lambda?: Status;
|
4085
4102
|
/**
|
@@ -4802,7 +4819,7 @@ declare namespace Inspector2 {
|
|
4802
4819
|
*/
|
4803
4820
|
remediation?: VulnerablePackageRemediation;
|
4804
4821
|
/**
|
4805
|
-
* The Amazon Resource Number (ARN) of the
|
4822
|
+
* The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
|
4806
4823
|
*/
|
4807
4824
|
sourceLambdaLayerArn?: LambdaLayerArn;
|
4808
4825
|
/**
|
package/clients/mwaa.d.ts
CHANGED
@@ -312,7 +312,7 @@ declare namespace MWAA {
|
|
312
312
|
*/
|
313
313
|
ExecutionRoleArn?: IamRoleArn;
|
314
314
|
/**
|
315
|
-
* The
|
315
|
+
* The KMS encryption key used to encrypt the data in your environment.
|
316
316
|
*/
|
317
317
|
KmsKey?: KmsKey;
|
318
318
|
/**
|
@@ -376,7 +376,7 @@ declare namespace MWAA {
|
|
376
376
|
*/
|
377
377
|
StartupScriptS3Path?: String;
|
378
378
|
/**
|
379
|
-
* The status of the Amazon MWAA environment. Valid values: CREATING - Indicates the request to create the environment is in progress. CREATING_SNAPSHOT - Indicates the request to update environment details, or upgrade the environment version, is in progress and Amazon MWAA is creating a storage volume snapshot of the Amazon RDS database cluster associated with the environment. A database snapshot is a backup created at a specific point in time. Amazon MWAA uses snapshots to recover environment metadata if the process to update or upgrade an environment fails. CREATE_FAILED - Indicates the request to create the environment failed, and the environment could not be created. AVAILABLE - Indicates the request was successful and the environment is ready to use. PENDING - Indicates the request was successful, but the process to create the environment is paused until you create the required VPC endpoints in your VPC. After you create the VPC endpoints, the process resumes. UPDATING - Indicates the request to update the environment is in progress. ROLLING_BACK - Indicates the request to update environment details, or upgrade the environment version, failed and Amazon MWAA is restoring the environment using the latest storage volume snapshot. DELETING - Indicates the request to delete the environment is in progress. DELETED - Indicates the request to delete the environment is complete, and the environment has been deleted. UNAVAILABLE - Indicates the request failed, but the environment
|
379
|
+
* The status of the Amazon MWAA environment. Valid values: CREATING - Indicates the request to create the environment is in progress. CREATING_SNAPSHOT - Indicates the request to update environment details, or upgrade the environment version, is in progress and Amazon MWAA is creating a storage volume snapshot of the Amazon RDS database cluster associated with the environment. A database snapshot is a backup created at a specific point in time. Amazon MWAA uses snapshots to recover environment metadata if the process to update or upgrade an environment fails. CREATE_FAILED - Indicates the request to create the environment failed, and the environment could not be created. AVAILABLE - Indicates the request was successful and the environment is ready to use. PENDING - Indicates the request was successful, but the process to create the environment is paused until you create the required VPC endpoints in your VPC. After you create the VPC endpoints, the process resumes. UPDATING - Indicates the request to update the environment is in progress. ROLLING_BACK - Indicates the request to update environment details, or upgrade the environment version, failed and Amazon MWAA is restoring the environment using the latest storage volume snapshot. DELETING - Indicates the request to delete the environment is in progress. DELETED - Indicates the request to delete the environment is complete, and the environment has been deleted. UNAVAILABLE - Indicates the request failed, but the environment did not return to its previous state and is not stable. UPDATE_FAILED - Indicates the request to update the environment failed, and the environment was restored to its previous state successfully and is ready to use. MAINTENANCE - Indicates that the environment is undergoing maintenance. Depending on the type of work Amazon MWAA is performing, your environment might become unavailable during this process. After all operations are done, your environment will return to its status prior to mainteneace operations. We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.
|
380
380
|
*/
|
381
381
|
Status?: EnvironmentStatus;
|
382
382
|
/**
|
@@ -388,7 +388,7 @@ declare namespace MWAA {
|
|
388
388
|
*/
|
389
389
|
WebserverAccessMode?: WebserverAccessMode;
|
390
390
|
/**
|
391
|
-
* The Apache Airflow
|
391
|
+
* The Apache Airflow web server host name for the Amazon MWAA environment. For more information, see Accessing the Apache Airflow UI.
|
392
392
|
*/
|
393
393
|
WebserverUrl?: WebserverUrl;
|
394
394
|
/**
|
@@ -404,7 +404,7 @@ declare namespace MWAA {
|
|
404
404
|
export type EnvironmentClass = string;
|
405
405
|
export type EnvironmentList = EnvironmentName[];
|
406
406
|
export type EnvironmentName = string;
|
407
|
-
export type EnvironmentStatus = "CREATING"|"CREATE_FAILED"|"AVAILABLE"|"UPDATING"|"DELETING"|"DELETED"|"UNAVAILABLE"|"UPDATE_FAILED"|"ROLLING_BACK"|"CREATING_SNAPSHOT"|"PENDING"|string;
|
407
|
+
export type EnvironmentStatus = "CREATING"|"CREATE_FAILED"|"AVAILABLE"|"UPDATING"|"DELETING"|"DELETED"|"UNAVAILABLE"|"UPDATE_FAILED"|"ROLLING_BACK"|"CREATING_SNAPSHOT"|"PENDING"|"MAINTENANCE"|string;
|
408
408
|
export type ErrorCode = string;
|
409
409
|
export type ErrorMessage = string;
|
410
410
|
export interface GetEnvironmentInput {
|