iam-floyd 0.796.0 → 0.797.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 +3 -3
- package/lib/generated/policy-statements/elasticache.d.ts +17 -0
- package/lib/generated/policy-statements/elasticache.js +20 -1
- package/lib/generated/policy-statements/sagemaker.d.ts +236 -46
- package/lib/generated/policy-statements/sagemaker.js +292 -52
- package/lib/generated/policy-statements/transform.d.ts +46 -0
- package/lib/generated/policy-statements/transform.js +52 -1
- package/package.json +1 -1
|
@@ -133,6 +133,25 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
133
133
|
* https://docs.aws.amazon.com/sagemaker/latest/dg/partner-apps-onboard.html
|
|
134
134
|
*/
|
|
135
135
|
toCallPartnerAppApi(): this;
|
|
136
|
+
/**
|
|
137
|
+
* Grants permission to use bearer token in SageMaker Job and Inference runtime endpoints APIs
|
|
138
|
+
*
|
|
139
|
+
* Access Level: Read
|
|
140
|
+
*
|
|
141
|
+
* Possible conditions:
|
|
142
|
+
* - .ifBearerTokenType()
|
|
143
|
+
*
|
|
144
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CallWithBearerToken.html
|
|
145
|
+
*/
|
|
146
|
+
toCallWithBearerToken(): this;
|
|
147
|
+
/**
|
|
148
|
+
* Grants permission to mark a rollout as complete for a job
|
|
149
|
+
*
|
|
150
|
+
* Access Level: Write
|
|
151
|
+
*
|
|
152
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CompleteRollout.html
|
|
153
|
+
*/
|
|
154
|
+
toCompleteRollout(): this;
|
|
136
155
|
/**
|
|
137
156
|
* Grants permission to create an AI benchmark job
|
|
138
157
|
*
|
|
@@ -259,8 +278,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
259
278
|
* - .ifAwsRequestTag()
|
|
260
279
|
* - .ifAwsTagKeys()
|
|
261
280
|
* - .ifInterContainerTrafficEncryption()
|
|
262
|
-
* - .
|
|
263
|
-
* - .
|
|
281
|
+
* - .ifOutputKmsKeyArn()
|
|
282
|
+
* - .ifVolumeKmsKeyArn()
|
|
264
283
|
* - .ifVpcSecurityGroupIds()
|
|
265
284
|
* - .ifVpcSubnets()
|
|
266
285
|
*
|
|
@@ -280,8 +299,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
280
299
|
* - .ifAwsRequestTag()
|
|
281
300
|
* - .ifAwsTagKeys()
|
|
282
301
|
* - .ifInterContainerTrafficEncryption()
|
|
283
|
-
* - .
|
|
284
|
-
* - .
|
|
302
|
+
* - .ifOutputKmsKeyArn()
|
|
303
|
+
* - .ifVolumeKmsKeyArn()
|
|
285
304
|
* - .ifVpcSecurityGroupIds()
|
|
286
305
|
* - .ifVpcSubnets()
|
|
287
306
|
*
|
|
@@ -417,8 +436,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
417
436
|
* - .ifInterContainerTrafficEncryption()
|
|
418
437
|
* - .ifMaxRuntimeInSeconds()
|
|
419
438
|
* - .ifNetworkIsolation()
|
|
420
|
-
* - .
|
|
421
|
-
* - .
|
|
439
|
+
* - .ifOutputKmsKeyArn()
|
|
440
|
+
* - .ifVolumeKmsKeyArn()
|
|
422
441
|
* - .ifVpcSecurityGroupIds()
|
|
423
442
|
* - .ifVpcSubnets()
|
|
424
443
|
*
|
|
@@ -457,8 +476,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
457
476
|
* - .ifInstanceTypes()
|
|
458
477
|
* - .ifVpcSecurityGroupIds()
|
|
459
478
|
* - .ifVpcSubnets()
|
|
460
|
-
* - .
|
|
461
|
-
* - .
|
|
479
|
+
* - .ifDomainSharingOutputKmsKeyArn()
|
|
480
|
+
* - .ifVolumeKmsKeyArn()
|
|
462
481
|
* - .ifImageArns()
|
|
463
482
|
* - .ifImageVersionArns()
|
|
464
483
|
* - .ifStudioLifecycleConfigArns()
|
|
@@ -545,7 +564,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
545
564
|
* - .ifAcceleratorTypes()
|
|
546
565
|
* - .ifInstanceTypes()
|
|
547
566
|
* - .ifModelArn()
|
|
548
|
-
* - .
|
|
567
|
+
* - .ifVolumeKmsKeyArn()
|
|
549
568
|
* - .ifServerlessMaxConcurrency()
|
|
550
569
|
* - .ifServerlessMemorySize()
|
|
551
570
|
* - .ifNetworkIsolation()
|
|
@@ -582,8 +601,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
582
601
|
* Possible conditions:
|
|
583
602
|
* - .ifAwsRequestTag()
|
|
584
603
|
* - .ifAwsTagKeys()
|
|
585
|
-
* - .
|
|
586
|
-
* - .
|
|
604
|
+
* - .ifFeatureGroupOnlineStoreKmsKeyArn()
|
|
605
|
+
* - .ifFeatureGroupOfflineStoreKmsKeyArn()
|
|
587
606
|
* - .ifFeatureGroupOfflineStoreS3Uri()
|
|
588
607
|
* - .ifFeatureGroupEnableOnlineStore()
|
|
589
608
|
* - .ifFeatureGroupOfflineStoreConfig()
|
|
@@ -683,8 +702,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
683
702
|
* - .ifInterContainerTrafficEncryption()
|
|
684
703
|
* - .ifMaxRuntimeInSeconds()
|
|
685
704
|
* - .ifNetworkIsolation()
|
|
686
|
-
* - .
|
|
687
|
-
* - .
|
|
705
|
+
* - .ifOutputKmsKeyArn()
|
|
706
|
+
* - .ifVolumeKmsKeyArn()
|
|
688
707
|
* - .ifVpcSecurityGroupIds()
|
|
689
708
|
* - .ifVpcSubnets()
|
|
690
709
|
*
|
|
@@ -767,6 +786,25 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
767
786
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateInferenceRecommendationsJob.html
|
|
768
787
|
*/
|
|
769
788
|
toCreateInferenceRecommendationsJob(): this;
|
|
789
|
+
/**
|
|
790
|
+
* Grants permission to create a SageMaker model customization job
|
|
791
|
+
*
|
|
792
|
+
* Access Level: Write
|
|
793
|
+
*
|
|
794
|
+
* Possible conditions:
|
|
795
|
+
* - .ifAwsRequestTag()
|
|
796
|
+
* - .ifAwsTagKeys()
|
|
797
|
+
* - .ifOutputKmsKeyArn()
|
|
798
|
+
* - .ifVpcSecurityGroupIds()
|
|
799
|
+
* - .ifVpcSubnets()
|
|
800
|
+
*
|
|
801
|
+
* Dependent actions:
|
|
802
|
+
* - iam:PassRole
|
|
803
|
+
* - sagemaker:AddTags
|
|
804
|
+
*
|
|
805
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateJob.html
|
|
806
|
+
*/
|
|
807
|
+
toCreateJob(): this;
|
|
770
808
|
/**
|
|
771
809
|
* Grants permission to start a labeling job. A labeling job takes unlabeled data in and produces labeled data as output, which can be used for training SageMaker models
|
|
772
810
|
*
|
|
@@ -775,8 +813,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
775
813
|
* Possible conditions:
|
|
776
814
|
* - .ifWorkteamArn()
|
|
777
815
|
* - .ifWorkteamType()
|
|
778
|
-
* - .
|
|
779
|
-
* - .
|
|
816
|
+
* - .ifVolumeKmsKeyArn()
|
|
817
|
+
* - .ifOutputKmsKeyArn()
|
|
780
818
|
* - .ifAwsRequestTag()
|
|
781
819
|
* - .ifAwsTagKeys()
|
|
782
820
|
*
|
|
@@ -859,8 +897,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
859
897
|
* - .ifInterContainerTrafficEncryption()
|
|
860
898
|
* - .ifMaxRuntimeInSeconds()
|
|
861
899
|
* - .ifNetworkIsolation()
|
|
862
|
-
* - .
|
|
863
|
-
* - .
|
|
900
|
+
* - .ifOutputKmsKeyArn()
|
|
901
|
+
* - .ifVolumeKmsKeyArn()
|
|
864
902
|
* - .ifVpcSecurityGroupIds()
|
|
865
903
|
* - .ifVpcSubnets()
|
|
866
904
|
*
|
|
@@ -906,8 +944,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
906
944
|
* - .ifInterContainerTrafficEncryption()
|
|
907
945
|
* - .ifMaxRuntimeInSeconds()
|
|
908
946
|
* - .ifNetworkIsolation()
|
|
909
|
-
* - .
|
|
910
|
-
* - .
|
|
947
|
+
* - .ifOutputKmsKeyArn()
|
|
948
|
+
* - .ifVolumeKmsKeyArn()
|
|
911
949
|
* - .ifVpcSecurityGroupIds()
|
|
912
950
|
* - .ifVpcSubnets()
|
|
913
951
|
*
|
|
@@ -964,8 +1002,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
964
1002
|
* - .ifInterContainerTrafficEncryption()
|
|
965
1003
|
* - .ifMaxRuntimeInSeconds()
|
|
966
1004
|
* - .ifNetworkIsolation()
|
|
967
|
-
* - .
|
|
968
|
-
* - .
|
|
1005
|
+
* - .ifOutputKmsKeyArn()
|
|
1006
|
+
* - .ifVolumeKmsKeyArn()
|
|
969
1007
|
* - .ifVpcSecurityGroupIds()
|
|
970
1008
|
* - .ifVpcSubnets()
|
|
971
1009
|
*
|
|
@@ -988,8 +1026,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
988
1026
|
* - .ifInterContainerTrafficEncryption()
|
|
989
1027
|
* - .ifMaxRuntimeInSeconds()
|
|
990
1028
|
* - .ifNetworkIsolation()
|
|
991
|
-
* - .
|
|
992
|
-
* - .
|
|
1029
|
+
* - .ifOutputKmsKeyArn()
|
|
1030
|
+
* - .ifVolumeKmsKeyArn()
|
|
993
1031
|
* - .ifVpcSecurityGroupIds()
|
|
994
1032
|
* - .ifVpcSubnets()
|
|
995
1033
|
*
|
|
@@ -1014,7 +1052,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
1014
1052
|
* - .ifMinimumInstanceMetadataServiceVersion()
|
|
1015
1053
|
* - .ifNotebookInstanceLifecycleConfigArns()
|
|
1016
1054
|
* - .ifRootAccess()
|
|
1017
|
-
* - .
|
|
1055
|
+
* - .ifVolumeKmsKeyArn()
|
|
1018
1056
|
* - .ifVpcSecurityGroupIds()
|
|
1019
1057
|
* - .ifVpcSubnets()
|
|
1020
1058
|
*
|
|
@@ -1138,8 +1176,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
1138
1176
|
* - .ifInstanceTypes()
|
|
1139
1177
|
* - .ifMaxRuntimeInSeconds()
|
|
1140
1178
|
* - .ifNetworkIsolation()
|
|
1141
|
-
* - .
|
|
1142
|
-
* - .
|
|
1179
|
+
* - .ifOutputKmsKeyArn()
|
|
1180
|
+
* - .ifVolumeKmsKeyArn()
|
|
1143
1181
|
* - .ifVpcSecurityGroupIds()
|
|
1144
1182
|
* - .ifVpcSubnets()
|
|
1145
1183
|
* - .ifInterContainerTrafficEncryption()
|
|
@@ -1242,8 +1280,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
1242
1280
|
* - .ifInterContainerTrafficEncryption()
|
|
1243
1281
|
* - .ifMaxRuntimeInSeconds()
|
|
1244
1282
|
* - .ifNetworkIsolation()
|
|
1245
|
-
* - .
|
|
1246
|
-
* - .
|
|
1283
|
+
* - .ifOutputKmsKeyArn()
|
|
1284
|
+
* - .ifVolumeKmsKeyArn()
|
|
1247
1285
|
* - .ifVpcSecurityGroupIds()
|
|
1248
1286
|
* - .ifVpcSubnets()
|
|
1249
1287
|
* - .ifKeepAlivePeriod()
|
|
@@ -1283,8 +1321,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
1283
1321
|
* - .ifAwsTagKeys()
|
|
1284
1322
|
* - .ifInstanceTypes()
|
|
1285
1323
|
* - .ifModelArn()
|
|
1286
|
-
* - .
|
|
1287
|
-
* - .
|
|
1324
|
+
* - .ifOutputKmsKeyArn()
|
|
1325
|
+
* - .ifVolumeKmsKeyArn()
|
|
1288
1326
|
*
|
|
1289
1327
|
* Dependent actions:
|
|
1290
1328
|
* - sagemaker:AddTags
|
|
@@ -1332,7 +1370,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
1332
1370
|
* - .ifAwsTagKeys()
|
|
1333
1371
|
* - .ifVpcSecurityGroupIds()
|
|
1334
1372
|
* - .ifInstanceTypes()
|
|
1335
|
-
* - .
|
|
1373
|
+
* - .ifDomainSharingOutputKmsKeyArn()
|
|
1336
1374
|
* - .ifImageArns()
|
|
1337
1375
|
* - .ifImageVersionArns()
|
|
1338
1376
|
* - .ifStudioLifecycleConfigArns()
|
|
@@ -1664,6 +1702,14 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
1664
1702
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteInferenceExperiment.html
|
|
1665
1703
|
*/
|
|
1666
1704
|
toDeleteInferenceExperiment(): this;
|
|
1705
|
+
/**
|
|
1706
|
+
* Grants permission to delete a SageMaker model customization job
|
|
1707
|
+
*
|
|
1708
|
+
* Access Level: Write
|
|
1709
|
+
*
|
|
1710
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteJob.html
|
|
1711
|
+
*/
|
|
1712
|
+
toDeleteJob(): this;
|
|
1667
1713
|
/**
|
|
1668
1714
|
* Grants permission to delete a lineage group policy
|
|
1669
1715
|
*
|
|
@@ -2255,6 +2301,22 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
2255
2301
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeInferenceRecommendationsJob.html
|
|
2256
2302
|
*/
|
|
2257
2303
|
toDescribeInferenceRecommendationsJob(): this;
|
|
2304
|
+
/**
|
|
2305
|
+
* Grants permission to return information about a SageMaker model customization job
|
|
2306
|
+
*
|
|
2307
|
+
* Access Level: Read
|
|
2308
|
+
*
|
|
2309
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeJob.html
|
|
2310
|
+
*/
|
|
2311
|
+
toDescribeJob(): this;
|
|
2312
|
+
/**
|
|
2313
|
+
* Grants permission to return information about a job schema version for a particular JobCategory for the CreateJob API
|
|
2314
|
+
*
|
|
2315
|
+
* Access Level: Read
|
|
2316
|
+
*
|
|
2317
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeJobSchemaVersion.html
|
|
2318
|
+
*/
|
|
2319
|
+
toDescribeJobSchemaVersion(): this;
|
|
2258
2320
|
/**
|
|
2259
2321
|
* Grants permission to return information about a labeling job
|
|
2260
2322
|
*
|
|
@@ -3041,6 +3103,22 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
3041
3103
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListInferenceRecommendationsJobs.html
|
|
3042
3104
|
*/
|
|
3043
3105
|
toListInferenceRecommendationsJobs(): this;
|
|
3106
|
+
/**
|
|
3107
|
+
* Grants permission to list job schema versions for a particular JobCategory for the CreateJob API
|
|
3108
|
+
*
|
|
3109
|
+
* Access Level: List
|
|
3110
|
+
*
|
|
3111
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListJobSchemaVersions.html
|
|
3112
|
+
*/
|
|
3113
|
+
toListJobSchemaVersions(): this;
|
|
3114
|
+
/**
|
|
3115
|
+
* Grants permission to list SageMaker model customization jobs
|
|
3116
|
+
*
|
|
3117
|
+
* Access Level: List
|
|
3118
|
+
*
|
|
3119
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListJobs.html
|
|
3120
|
+
*/
|
|
3121
|
+
toListJobs(): this;
|
|
3044
3122
|
/**
|
|
3045
3123
|
* Grants permission to list labeling jobs
|
|
3046
3124
|
*
|
|
@@ -3504,6 +3582,22 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
3504
3582
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_RetryPipelineExecution.html
|
|
3505
3583
|
*/
|
|
3506
3584
|
toRetryPipelineExecution(): this;
|
|
3585
|
+
/**
|
|
3586
|
+
* Grants permission to invoke a sample request against a job
|
|
3587
|
+
*
|
|
3588
|
+
* Access Level: Write
|
|
3589
|
+
*
|
|
3590
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_Sample.html
|
|
3591
|
+
*/
|
|
3592
|
+
toSample(): this;
|
|
3593
|
+
/**
|
|
3594
|
+
* Grants permission to invoke a streaming sample request against a job
|
|
3595
|
+
*
|
|
3596
|
+
* Access Level: Write
|
|
3597
|
+
*
|
|
3598
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_SampleWithResponseStream.html
|
|
3599
|
+
*/
|
|
3600
|
+
toSampleWithResponseStream(): this;
|
|
3507
3601
|
/**
|
|
3508
3602
|
* Grants permission to search for SageMaker objects
|
|
3509
3603
|
*
|
|
@@ -3710,6 +3804,14 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
3710
3804
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StopInferenceRecommendationsJob.html
|
|
3711
3805
|
*/
|
|
3712
3806
|
toStopInferenceRecommendationsJob(): this;
|
|
3807
|
+
/**
|
|
3808
|
+
* Grants permission to stop a SageMaker model customization job
|
|
3809
|
+
*
|
|
3810
|
+
* Access Level: Write
|
|
3811
|
+
*
|
|
3812
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_StopJob.html
|
|
3813
|
+
*/
|
|
3814
|
+
toStopJob(): this;
|
|
3713
3815
|
/**
|
|
3714
3816
|
* Grants permission to stop a labeling job. Any labels already generated will be exported before stopping
|
|
3715
3817
|
*
|
|
@@ -3927,7 +4029,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
3927
4029
|
* Possible conditions:
|
|
3928
4030
|
* - .ifVpcSecurityGroupIds()
|
|
3929
4031
|
* - .ifInstanceTypes()
|
|
3930
|
-
* - .
|
|
4032
|
+
* - .ifDomainSharingOutputKmsKeyArn()
|
|
3931
4033
|
* - .ifImageArns()
|
|
3932
4034
|
* - .ifImageVersionArns()
|
|
3933
4035
|
* - .ifAppNetworkAccessType()
|
|
@@ -4102,8 +4204,8 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
4102
4204
|
* - .ifInstanceTypes()
|
|
4103
4205
|
* - .ifMaxRuntimeInSeconds()
|
|
4104
4206
|
* - .ifNetworkIsolation()
|
|
4105
|
-
* - .
|
|
4106
|
-
* - .
|
|
4207
|
+
* - .ifOutputKmsKeyArn()
|
|
4208
|
+
* - .ifVolumeKmsKeyArn()
|
|
4107
4209
|
* - .ifVpcSecurityGroupIds()
|
|
4108
4210
|
* - .ifVpcSubnets()
|
|
4109
4211
|
* - .ifInterContainerTrafficEncryption()
|
|
@@ -4187,6 +4289,14 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
4187
4289
|
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateProject.html
|
|
4188
4290
|
*/
|
|
4189
4291
|
toUpdateProject(): this;
|
|
4292
|
+
/**
|
|
4293
|
+
* Grants permission to submit reward scores for a trajectory in a job
|
|
4294
|
+
*
|
|
4295
|
+
* Access Level: Write
|
|
4296
|
+
*
|
|
4297
|
+
* https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_UpdateReward.html
|
|
4298
|
+
*/
|
|
4299
|
+
toUpdateReward(): this;
|
|
4190
4300
|
/**
|
|
4191
4301
|
* Grants permission to update a shared model
|
|
4192
4302
|
*
|
|
@@ -4250,7 +4360,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
4250
4360
|
* - .ifInstanceTypes()
|
|
4251
4361
|
* - .ifVpcSecurityGroupIds()
|
|
4252
4362
|
* - .ifInstanceTypes()
|
|
4253
|
-
* - .
|
|
4363
|
+
* - .ifDomainSharingOutputKmsKeyArn()
|
|
4254
4364
|
* - .ifImageArns()
|
|
4255
4365
|
* - .ifImageVersionArns()
|
|
4256
4366
|
* - .ifStudioLifecycleConfigArns()
|
|
@@ -4715,6 +4825,22 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
4715
4825
|
* - .ifResourceTag()
|
|
4716
4826
|
*/
|
|
4717
4827
|
onProcessingJob(processingJobName: string, account?: string, region?: string, partition?: string): this;
|
|
4828
|
+
/**
|
|
4829
|
+
* Adds a resource of type job to the statement
|
|
4830
|
+
*
|
|
4831
|
+
* https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works-training.html
|
|
4832
|
+
*
|
|
4833
|
+
* @param jobCategory - Identifier for the jobCategory.
|
|
4834
|
+
* @param jobName - Identifier for the jobName.
|
|
4835
|
+
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
|
|
4836
|
+
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
|
|
4837
|
+
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
|
|
4838
|
+
*
|
|
4839
|
+
* Possible conditions:
|
|
4840
|
+
* - .ifAwsResourceTag()
|
|
4841
|
+
* - .ifResourceTag()
|
|
4842
|
+
*/
|
|
4843
|
+
onJob(jobCategory: string, jobName: string, account?: string, region?: string, partition?: string): this;
|
|
4718
4844
|
/**
|
|
4719
4845
|
* Adds a resource of type hyper-parameter-tuning-job to the statement
|
|
4720
4846
|
*
|
|
@@ -5388,6 +5514,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5388
5514
|
* - .toCreateInferenceComponent()
|
|
5389
5515
|
* - .toCreateInferenceExperiment()
|
|
5390
5516
|
* - .toCreateInferenceRecommendationsJob()
|
|
5517
|
+
* - .toCreateJob()
|
|
5391
5518
|
* - .toCreateLabelingJob()
|
|
5392
5519
|
* - .toCreateMlflowApp()
|
|
5393
5520
|
* - .toCreateMlflowTrackingServer()
|
|
@@ -5471,6 +5598,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5471
5598
|
* - cluster
|
|
5472
5599
|
* - training-job
|
|
5473
5600
|
* - processing-job
|
|
5601
|
+
* - job
|
|
5474
5602
|
* - hyper-parameter-tuning-job
|
|
5475
5603
|
* - training-plan
|
|
5476
5604
|
* - reserved-capacity
|
|
@@ -5557,6 +5685,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5557
5685
|
* - .toCreateInferenceComponent()
|
|
5558
5686
|
* - .toCreateInferenceExperiment()
|
|
5559
5687
|
* - .toCreateInferenceRecommendationsJob()
|
|
5688
|
+
* - .toCreateJob()
|
|
5560
5689
|
* - .toCreateLabelingJob()
|
|
5561
5690
|
* - .toCreateMlflowApp()
|
|
5562
5691
|
* - .toCreateMlflowTrackingServer()
|
|
@@ -5623,6 +5752,18 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5623
5752
|
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
5624
5753
|
*/
|
|
5625
5754
|
ifAppNetworkAccessType(value: string | string[], operator?: Operator | string): this;
|
|
5755
|
+
/**
|
|
5756
|
+
* Filters access by the type of bearer token used in the request
|
|
5757
|
+
*
|
|
5758
|
+
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5759
|
+
*
|
|
5760
|
+
* Applies to actions:
|
|
5761
|
+
* - .toCallWithBearerToken()
|
|
5762
|
+
*
|
|
5763
|
+
* @param value The value(s) to check
|
|
5764
|
+
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
5765
|
+
*/
|
|
5766
|
+
ifBearerTokenType(value: string | string[], operator?: Operator | string): this;
|
|
5626
5767
|
/**
|
|
5627
5768
|
* Filters access by a current metadata key and value pair associated with the model-package resource
|
|
5628
5769
|
*
|
|
@@ -5751,7 +5892,16 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5751
5892
|
*/
|
|
5752
5893
|
ifDomainId(value: string | string[], operator?: Operator | string): this;
|
|
5753
5894
|
/**
|
|
5754
|
-
* Filters access by the Domain sharing output KMS key associated with the resource in the request
|
|
5895
|
+
* Filters access by the Domain sharing output KMS key associated with the resource in the request. This key has been deprecated. It has been replaced by sagemaker:DomainSharingOutputKmsKeyArn
|
|
5896
|
+
*
|
|
5897
|
+
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5898
|
+
*
|
|
5899
|
+
* @param value The value(s) to check
|
|
5900
|
+
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
5901
|
+
*/
|
|
5902
|
+
ifDomainSharingOutputKmsKey(value: string | string[], operator?: Operator | string): this;
|
|
5903
|
+
/**
|
|
5904
|
+
* Filters access by the Domain sharing output KMS key associated with the resource in the request. The ARN of the key-id must be used
|
|
5755
5905
|
*
|
|
5756
5906
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5757
5907
|
*
|
|
@@ -5764,7 +5914,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5764
5914
|
* @param value The value(s) to check
|
|
5765
5915
|
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
5766
5916
|
*/
|
|
5767
|
-
|
|
5917
|
+
ifDomainSharingOutputKmsKeyArn(value: string | string[], operator?: Operator | string): this;
|
|
5768
5918
|
/**
|
|
5769
5919
|
* Filters access by the remote debug config in the request
|
|
5770
5920
|
*
|
|
@@ -5811,7 +5961,16 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5811
5961
|
*/
|
|
5812
5962
|
ifFeatureGroupOfflineStoreConfig(value?: boolean): this;
|
|
5813
5963
|
/**
|
|
5814
|
-
* Filters access by the offline store kms key associated with the feature group resource in the request
|
|
5964
|
+
* Filters access by the offline store kms key associated with the feature group resource in the request. This key has been deprecated. It has been replaced by sagemaker:FeatureGroupOfflineStoreKmsKeyArn
|
|
5965
|
+
*
|
|
5966
|
+
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5967
|
+
*
|
|
5968
|
+
* @param value The value(s) to check
|
|
5969
|
+
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
5970
|
+
*/
|
|
5971
|
+
ifFeatureGroupOfflineStoreKmsKey(value: string | string[], operator?: Operator | string): this;
|
|
5972
|
+
/**
|
|
5973
|
+
* Filters access by the offline store kms key associated with the feature group resource in the request. The ARN of the key-id must be used
|
|
5815
5974
|
*
|
|
5816
5975
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5817
5976
|
*
|
|
@@ -5821,7 +5980,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5821
5980
|
* @param value The value(s) to check
|
|
5822
5981
|
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
5823
5982
|
*/
|
|
5824
|
-
|
|
5983
|
+
ifFeatureGroupOfflineStoreKmsKeyArn(value: string | string[], operator?: Operator | string): this;
|
|
5825
5984
|
/**
|
|
5826
5985
|
* Filters access by the offline store s3 uri associated with the feature group resource in the request
|
|
5827
5986
|
*
|
|
@@ -5835,7 +5994,16 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5835
5994
|
*/
|
|
5836
5995
|
ifFeatureGroupOfflineStoreS3Uri(value: string | string[], operator?: Operator | string): this;
|
|
5837
5996
|
/**
|
|
5838
|
-
* Filters access by the online store kms key associated with the feature group resource in the request
|
|
5997
|
+
* Filters access by the online store kms key associated with the feature group resource in the request. This key has been deprecated. It has been replaced by sagemaker:FeatureGroupOnlineStoreKmsKeyArn
|
|
5998
|
+
*
|
|
5999
|
+
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
6000
|
+
*
|
|
6001
|
+
* @param value The value(s) to check
|
|
6002
|
+
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
6003
|
+
*/
|
|
6004
|
+
ifFeatureGroupOnlineStoreKmsKey(value: string | string[], operator?: Operator | string): this;
|
|
6005
|
+
/**
|
|
6006
|
+
* Filters access by the online store kms key associated with the feature group resource in the request. The ARN of the key-id must be used
|
|
5839
6007
|
*
|
|
5840
6008
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5841
6009
|
*
|
|
@@ -5845,7 +6013,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5845
6013
|
* @param value The value(s) to check
|
|
5846
6014
|
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
5847
6015
|
*/
|
|
5848
|
-
|
|
6016
|
+
ifFeatureGroupOnlineStoreKmsKeyArn(value: string | string[], operator?: Operator | string): this;
|
|
5849
6017
|
/**
|
|
5850
6018
|
* Filters access by a file system access mode associated with the resource in the request
|
|
5851
6019
|
*
|
|
@@ -5899,7 +6067,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
5899
6067
|
*/
|
|
5900
6068
|
ifFileSystemType(value: string | string[], operator?: Operator | string): this;
|
|
5901
6069
|
/**
|
|
5902
|
-
* Filters access by a key that is present in the request the user makes to the SageMaker service. This key
|
|
6070
|
+
* Filters access by a key that is present in the request the user makes to the SageMaker service. This key has been deprecated. It has been replaced by sagemaker:VolumeKmsKeyArn
|
|
5903
6071
|
*
|
|
5904
6072
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
5905
6073
|
*
|
|
@@ -6119,7 +6287,16 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6119
6287
|
*/
|
|
6120
6288
|
ifNotebookInstanceLifecycleConfigArns(value: string | string[], operator?: Operator | string): this;
|
|
6121
6289
|
/**
|
|
6122
|
-
* Filters access by the output kms key associated with the resource in the request
|
|
6290
|
+
* Filters access by the output kms key associated with the resource in the request. This key has been deprecated. It has been replaced by sagemaker:OutputKmsKeyArn
|
|
6291
|
+
*
|
|
6292
|
+
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
6293
|
+
*
|
|
6294
|
+
* @param value The value(s) to check
|
|
6295
|
+
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
6296
|
+
*/
|
|
6297
|
+
ifOutputKmsKey(value: string | string[], operator?: Operator | string): this;
|
|
6298
|
+
/**
|
|
6299
|
+
* Filters access by the output kms key associated with the resource in the request. The ARN of the key-id must be used
|
|
6123
6300
|
*
|
|
6124
6301
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
6125
6302
|
*
|
|
@@ -6128,6 +6305,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6128
6305
|
* - .toCreateAutoMLJobV2()
|
|
6129
6306
|
* - .toCreateDataQualityJobDefinition()
|
|
6130
6307
|
* - .toCreateHyperParameterTuningJob()
|
|
6308
|
+
* - .toCreateJob()
|
|
6131
6309
|
* - .toCreateLabelingJob()
|
|
6132
6310
|
* - .toCreateModelBiasJobDefinition()
|
|
6133
6311
|
* - .toCreateModelExplainabilityJobDefinition()
|
|
@@ -6141,7 +6319,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6141
6319
|
* @param value The value(s) to check
|
|
6142
6320
|
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
6143
6321
|
*/
|
|
6144
|
-
|
|
6322
|
+
ifOutputKmsKeyArn(value: string | string[], operator?: Operator | string): this;
|
|
6145
6323
|
/**
|
|
6146
6324
|
* Filters access by the OwnerUserProfile arn associated with the space in the request
|
|
6147
6325
|
*
|
|
@@ -6237,6 +6415,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6237
6415
|
* - cluster
|
|
6238
6416
|
* - training-job
|
|
6239
6417
|
* - processing-job
|
|
6418
|
+
* - job
|
|
6240
6419
|
* - hyper-parameter-tuning-job
|
|
6241
6420
|
* - training-plan
|
|
6242
6421
|
* - reserved-capacity
|
|
@@ -6399,7 +6578,16 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6399
6578
|
*/
|
|
6400
6579
|
ifUserProfileName(value: string | string[], operator?: Operator | string): this;
|
|
6401
6580
|
/**
|
|
6402
|
-
* Filters access by the volume kms key associated with the resource in the request
|
|
6581
|
+
* Filters access by the volume kms key associated with the resource in the request. This key has been deprecated. It has been replaced by sagemaker:VolumeKmsKeyArn
|
|
6582
|
+
*
|
|
6583
|
+
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
6584
|
+
*
|
|
6585
|
+
* @param value The value(s) to check
|
|
6586
|
+
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
6587
|
+
*/
|
|
6588
|
+
ifVolumeKmsKey(value: string | string[], operator?: Operator | string): this;
|
|
6589
|
+
/**
|
|
6590
|
+
* Filters access by the volume kms key associated with the resource in the request. The ARN of the key-id must be used
|
|
6403
6591
|
*
|
|
6404
6592
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsagemaker.html#amazonsagemaker-policy-keys
|
|
6405
6593
|
*
|
|
@@ -6424,7 +6612,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6424
6612
|
* @param value The value(s) to check
|
|
6425
6613
|
* @param operator Works with [arn operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_ARN). **Default:** `ArnLike`
|
|
6426
6614
|
*/
|
|
6427
|
-
|
|
6615
|
+
ifVolumeKmsKeyArn(value: string | string[], operator?: Operator | string): this;
|
|
6428
6616
|
/**
|
|
6429
6617
|
* Filters access by the list of all VPC security group ids associated with the resource in the request
|
|
6430
6618
|
*
|
|
@@ -6438,6 +6626,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6438
6626
|
* - .toCreateDomain()
|
|
6439
6627
|
* - .toCreateEndpointConfig()
|
|
6440
6628
|
* - .toCreateHyperParameterTuningJob()
|
|
6629
|
+
* - .toCreateJob()
|
|
6441
6630
|
* - .toCreateModel()
|
|
6442
6631
|
* - .toCreateModelBiasJobDefinition()
|
|
6443
6632
|
* - .toCreateModelExplainabilityJobDefinition()
|
|
@@ -6469,6 +6658,7 @@ export declare class Sagemaker extends PolicyStatement {
|
|
|
6469
6658
|
* - .toCreateDomain()
|
|
6470
6659
|
* - .toCreateEndpointConfig()
|
|
6471
6660
|
* - .toCreateHyperParameterTuningJob()
|
|
6661
|
+
* - .toCreateJob()
|
|
6472
6662
|
* - .toCreateModel()
|
|
6473
6663
|
* - .toCreateModelBiasJobDefinition()
|
|
6474
6664
|
* - .toCreateModelExplainabilityJobDefinition()
|