cdk-lambda-subminute 2.0.362 → 2.0.364
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/.jsii +16 -29
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +91 -80
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +271 -260
- package/node_modules/aws-sdk/clients/inspector2.d.ts +68 -51
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +23 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +2 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
@@ -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
|
/**
|
@@ -149,11 +149,11 @@ declare class SageMaker extends Service {
|
|
149
149
|
*/
|
150
150
|
createDeviceFleet(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
151
151
|
/**
|
152
|
-
* Creates a Domain. A domain consists of an associated Amazon Elastic File System
|
152
|
+
* Creates a Domain. A domain consists of an associated Amazon Elastic File System volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. Users within a domain can share notebook files and other artifacts with each other. EFS storage When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files. SageMaker uses the Amazon Web Services Key Management Service (Amazon Web Services KMS) to encrypt the EFS volume attached to the domain with an Amazon Web Services managed key by default. For more control, you can specify a customer managed key. For more information, see Protect Data at Rest Using Encryption. VPC configuration All traffic between the domain and the Amazon EFS volume is through the specified VPC and subnets. For other traffic, you can specify the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the network access type that you choose when you onboard to the domain. The following options are available: PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon SageMaker, which allows internet access. This is the default value. VpcOnly - All traffic is through the specified VPC and subnets. Internet access is disabled by default. To allow internet access, you must specify a NAT gateway. When internet access is disabled, you won't be able to run a Amazon SageMaker Studio notebook or to train or host models unless your VPC has an interface endpoint to the SageMaker API and runtime or a NAT gateway and your security groups allow outbound connections. NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a Amazon SageMaker Studio app successfully. For more information, see Connect Amazon SageMaker Studio Notebooks to Resources in a VPC.
|
153
153
|
*/
|
154
154
|
createDomain(params: SageMaker.Types.CreateDomainRequest, callback?: (err: AWSError, data: SageMaker.Types.CreateDomainResponse) => void): Request<SageMaker.Types.CreateDomainResponse, AWSError>;
|
155
155
|
/**
|
156
|
-
* Creates a Domain. A domain consists of an associated Amazon Elastic File System
|
156
|
+
* Creates a Domain. A domain consists of an associated Amazon Elastic File System volume, a list of authorized users, and a variety of security, application, policy, and Amazon Virtual Private Cloud (VPC) configurations. Users within a domain can share notebook files and other artifacts with each other. EFS storage When a domain is created, an EFS volume is created for use by all of the users within the domain. Each user receives a private home directory within the EFS volume for notebooks, Git repositories, and data files. SageMaker uses the Amazon Web Services Key Management Service (Amazon Web Services KMS) to encrypt the EFS volume attached to the domain with an Amazon Web Services managed key by default. For more control, you can specify a customer managed key. For more information, see Protect Data at Rest Using Encryption. VPC configuration All traffic between the domain and the Amazon EFS volume is through the specified VPC and subnets. For other traffic, you can specify the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the network access type that you choose when you onboard to the domain. The following options are available: PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon SageMaker, which allows internet access. This is the default value. VpcOnly - All traffic is through the specified VPC and subnets. Internet access is disabled by default. To allow internet access, you must specify a NAT gateway. When internet access is disabled, you won't be able to run a Amazon SageMaker Studio notebook or to train or host models unless your VPC has an interface endpoint to the SageMaker API and runtime or a NAT gateway and your security groups allow outbound connections. NFS traffic over TCP on port 2049 needs to be allowed in both inbound and outbound rules in order to launch a Amazon SageMaker Studio app successfully. For more information, see Connect Amazon SageMaker Studio Notebooks to Resources in a VPC.
|
157
157
|
*/
|
158
158
|
createDomain(callback?: (err: AWSError, data: SageMaker.Types.CreateDomainResponse) => void): Request<SageMaker.Types.CreateDomainResponse, AWSError>;
|
159
159
|
/**
|
@@ -676,6 +676,14 @@ declare class SageMaker extends Service {
|
|
676
676
|
* Use this operation to delete a human task user interface (worker task template). To see a list of human task user interfaces (work task templates) in your account, use ListHumanTaskUis. When you delete a worker task template, it no longer appears when you call ListHumanTaskUis.
|
677
677
|
*/
|
678
678
|
deleteHumanTaskUi(callback?: (err: AWSError, data: SageMaker.Types.DeleteHumanTaskUiResponse) => void): Request<SageMaker.Types.DeleteHumanTaskUiResponse, AWSError>;
|
679
|
+
/**
|
680
|
+
* Deletes a hyperparameter tuning job. The DeleteHyperParameterTuningJob API deletes only the tuning job entry that was created in SageMaker when you called the CreateHyperParameterTuningJob API. It does not delete training jobs, artifacts, or the IAM role that you specified when creating the model.
|
681
|
+
*/
|
682
|
+
deleteHyperParameterTuningJob(params: SageMaker.Types.DeleteHyperParameterTuningJobRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
683
|
+
/**
|
684
|
+
* Deletes a hyperparameter tuning job. The DeleteHyperParameterTuningJob API deletes only the tuning job entry that was created in SageMaker when you called the CreateHyperParameterTuningJob API. It does not delete training jobs, artifacts, or the IAM role that you specified when creating the model.
|
685
|
+
*/
|
686
|
+
deleteHyperParameterTuningJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
679
687
|
/**
|
680
688
|
* Deletes a SageMaker image and all versions of the image. The container images aren't deleted.
|
681
689
|
*/
|
@@ -2341,11 +2349,11 @@ declare class SageMaker extends Service {
|
|
2341
2349
|
*/
|
2342
2350
|
updateDomain(callback?: (err: AWSError, data: SageMaker.Types.UpdateDomainResponse) => void): Request<SageMaker.Types.UpdateDomainResponse, AWSError>;
|
2343
2351
|
/**
|
2344
|
-
* Deploys the
|
2352
|
+
* Deploys the EndpointConfig specified in the request to a new fleet of instances. SageMaker shifts endpoint traffic to the new instances with the updated endpoint configuration and then deletes the old instances using the previous EndpointConfig (there is no availability loss). For more information about how to control the update and traffic shifting process, see Update models in production. When SageMaker receives the request, it sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API. You must not delete an EndpointConfig in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. If you delete the EndpointConfig of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.
|
2345
2353
|
*/
|
2346
2354
|
updateEndpoint(params: SageMaker.Types.UpdateEndpointInput, callback?: (err: AWSError, data: SageMaker.Types.UpdateEndpointOutput) => void): Request<SageMaker.Types.UpdateEndpointOutput, AWSError>;
|
2347
2355
|
/**
|
2348
|
-
* Deploys the
|
2356
|
+
* Deploys the EndpointConfig specified in the request to a new fleet of instances. SageMaker shifts endpoint traffic to the new instances with the updated endpoint configuration and then deletes the old instances using the previous EndpointConfig (there is no availability loss). For more information about how to control the update and traffic shifting process, see Update models in production. When SageMaker receives the request, it sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the DescribeEndpoint API. You must not delete an EndpointConfig in use by an endpoint that is live or while the UpdateEndpoint or CreateEndpoint operations are being performed on the endpoint. To update an endpoint, you must create a new EndpointConfig. If you delete the EndpointConfig of an endpoint that is active or being created or updated you may lose visibility into the instance type the endpoint is using. The endpoint must be deleted in order to stop incurring charges.
|
2349
2357
|
*/
|
2350
2358
|
updateEndpoint(callback?: (err: AWSError, data: SageMaker.Types.UpdateEndpointOutput) => void): Request<SageMaker.Types.UpdateEndpointOutput, AWSError>;
|
2351
2359
|
/**
|
@@ -7181,6 +7189,12 @@ declare namespace SageMaker {
|
|
7181
7189
|
}
|
7182
7190
|
export interface DeleteHumanTaskUiResponse {
|
7183
7191
|
}
|
7192
|
+
export interface DeleteHyperParameterTuningJobRequest {
|
7193
|
+
/**
|
7194
|
+
* The name of the hyperparameter tuning job that you want to delete.
|
7195
|
+
*/
|
7196
|
+
HyperParameterTuningJobName: HyperParameterTuningJobName;
|
7197
|
+
}
|
7184
7198
|
export interface DeleteImageRequest {
|
7185
7199
|
/**
|
7186
7200
|
* The name of the image to delete.
|
@@ -8286,7 +8300,7 @@ declare namespace SageMaker {
|
|
8286
8300
|
*/
|
8287
8301
|
DomainName?: DomainName;
|
8288
8302
|
/**
|
8289
|
-
* The ID of the Amazon Elastic File System
|
8303
|
+
* The ID of the Amazon Elastic File System managed by this Domain.
|
8290
8304
|
*/
|
8291
8305
|
HomeEfsFileSystemId?: ResourceId;
|
8292
8306
|
/**
|
@@ -9003,7 +9017,7 @@ declare namespace SageMaker {
|
|
9003
9017
|
*/
|
9004
9018
|
TrainingJobDefinitions?: HyperParameterTrainingJobDefinitions;
|
9005
9019
|
/**
|
9006
|
-
* The status of the tuning job
|
9020
|
+
* The status of the tuning job.
|
9007
9021
|
*/
|
9008
9022
|
HyperParameterTuningJobStatus: HyperParameterTuningJobStatus;
|
9009
9023
|
/**
|
@@ -9712,7 +9726,7 @@ declare namespace SageMaker {
|
|
9712
9726
|
}
|
9713
9727
|
export interface DescribeModelPackageGroupInput {
|
9714
9728
|
/**
|
9715
|
-
* The name of
|
9729
|
+
* The name of the model group to describe.
|
9716
9730
|
*/
|
9717
9731
|
ModelPackageGroupName: ArnOrName;
|
9718
9732
|
}
|
@@ -21050,7 +21064,7 @@ declare namespace SageMaker {
|
|
21050
21064
|
*/
|
21051
21065
|
S3DataType: S3DataType;
|
21052
21066
|
/**
|
21053
|
-
* Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix A manifest might look like this: s3://bucketname/example.manifest A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets. The following code example shows a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N" ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same Amazon Web Services region as your training job.
|
21067
|
+
* Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix/ A manifest might look like this: s3://bucketname/example.manifest A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets. The following code example shows a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N" ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same Amazon Web Services region as your training job.
|
21054
21068
|
*/
|
21055
21069
|
S3Uri: S3Uri;
|
21056
21070
|
/**
|
@@ -22680,7 +22694,7 @@ declare namespace SageMaker {
|
|
22680
22694
|
*/
|
22681
22695
|
S3DataType: S3DataType;
|
22682
22696
|
/**
|
22683
|
-
* Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix
|
22697
|
+
* Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix/. A manifest might look like this: s3://bucketname/example.manifest The manifest is an S3 object which is a JSON file with the following format: [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N" ] The preceding JSON matches the following S3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N The complete set of S3Uris in this manifest constitutes the input data for the channel for this datasource. The object that each S3Uris points to must be readable by the IAM role that Amazon SageMaker uses to perform tasks on your behalf.
|
22684
22698
|
*/
|
22685
22699
|
S3Uri: S3Uri;
|
22686
22700
|
}
|