cdk-lambda-subminute 2.0.226 → 2.0.228

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.
Files changed (190) hide show
  1. package/.jsii +15 -15
  2. package/README.md +12 -0
  3. package/lib/cdk-lambda-subminute.js +3 -3
  4. package/node_modules/aws-sdk/CHANGELOG.md +174 -1
  5. package/node_modules/aws-sdk/README.md +1 -1
  6. package/node_modules/aws-sdk/apis/amplifybackend-2020-08-11.min.json +4 -0
  7. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +40 -9
  8. package/node_modules/aws-sdk/apis/apigateway-2015-07-09.min.json +2 -1
  9. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +115 -87
  10. package/node_modules/aws-sdk/apis/application-insights-2018-11-25.min.json +228 -43
  11. package/node_modules/aws-sdk/apis/application-insights-2018-11-25.paginators.json +5 -0
  12. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +238 -63
  13. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +74 -11
  14. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +61 -52
  15. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +217 -104
  16. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +6 -0
  17. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +3 -1
  18. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +261 -21
  19. package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +198 -182
  20. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.min.json +657 -102
  21. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.paginators.json +12 -0
  22. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +95 -80
  23. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +4 -1
  24. package/node_modules/aws-sdk/apis/cloudhsm-2014-05-30.min.json +60 -20
  25. package/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json +44 -0
  26. package/node_modules/aws-sdk/apis/codecommit-2015-04-13.paginators.json +5 -0
  27. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.examples.json +849 -0
  28. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +110 -24
  29. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +200 -57
  30. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +903 -316
  31. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +18 -0
  32. package/node_modules/aws-sdk/apis/connectcampaigns-2021-01-30.min.json +103 -90
  33. package/node_modules/aws-sdk/apis/connectparticipant-2018-09-07.min.json +62 -0
  34. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +269 -118
  35. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +103 -14
  36. package/node_modules/aws-sdk/apis/detective-2018-10-26.min.json +14 -3
  37. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +1123 -217
  38. package/node_modules/aws-sdk/apis/dms-2016-01-01.paginators.json +50 -0
  39. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1254 -1191
  40. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +37 -10
  41. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +49 -46
  42. package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +74 -13
  43. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +190 -143
  44. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +235 -216
  45. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +2 -1
  46. package/node_modules/aws-sdk/apis/health-2016-08-04.min.json +116 -34
  47. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +291 -192
  48. package/node_modules/aws-sdk/apis/internetmonitor-2021-06-03.min.json +37 -19
  49. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +237 -52
  50. package/node_modules/aws-sdk/apis/kafka-2018-11-14.paginators.json +6 -0
  51. package/node_modules/aws-sdk/apis/kafkaconnect-2021-09-14.min.json +38 -36
  52. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.min.json +0 -1
  53. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +337 -23
  54. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
  55. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +134 -96
  56. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +249 -225
  57. package/node_modules/aws-sdk/apis/mediapackage-2017-10-12.min.json +93 -87
  58. package/node_modules/aws-sdk/apis/metadata.json +7 -0
  59. package/node_modules/aws-sdk/apis/neptunedata-2023-08-01.examples.json +5 -0
  60. package/node_modules/aws-sdk/apis/neptunedata-2023-08-01.min.json +1923 -0
  61. package/node_modules/aws-sdk/apis/neptunedata-2023-08-01.paginators.json +4 -0
  62. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +756 -204
  63. package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +12 -0
  64. package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +48 -0
  65. package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json +29 -16
  66. package/node_modules/aws-sdk/apis/pca-connector-ad-2018-05-10.examples.json +5 -0
  67. package/node_modules/aws-sdk/apis/pca-connector-ad-2018-05-10.min.json +1465 -0
  68. package/node_modules/aws-sdk/apis/pca-connector-ad-2018-05-10.paginators.json +34 -0
  69. package/node_modules/aws-sdk/apis/pi-2018-02-27.min.json +304 -11
  70. package/node_modules/aws-sdk/apis/pi-2018-02-27.paginators.json +5 -0
  71. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.examples.json +6 -12
  72. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +286 -243
  73. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +1194 -1134
  74. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +30 -0
  75. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +334 -180
  76. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +6 -0
  77. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.examples.json +501 -1
  78. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +354 -125
  79. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.paginators.json +5 -0
  80. package/node_modules/aws-sdk/apis/route53domains-2014-05-15.min.json +103 -44
  81. package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +104 -0
  82. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +131 -131
  83. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +868 -726
  84. package/node_modules/aws-sdk/apis/scheduler-2021-06-30.min.json +15 -12
  85. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +100 -61
  86. package/node_modules/aws-sdk/apis/service-quotas-2019-06-24.min.json +45 -23
  87. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.examples.json +244 -0
  88. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +491 -153
  89. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.paginators.json +5 -0
  90. package/node_modules/aws-sdk/apis/swf-2012-01-25.min.json +12 -3
  91. package/node_modules/aws-sdk/apis/verifiedpermissions-2021-12-01.min.json +127 -33
  92. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +136 -58
  93. package/node_modules/aws-sdk/clients/acmpca.d.ts +1 -1
  94. package/node_modules/aws-sdk/clients/all.d.ts +2 -0
  95. package/node_modules/aws-sdk/clients/all.js +3 -1
  96. package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +48 -4
  97. package/node_modules/aws-sdk/clients/apigateway.d.ts +34 -30
  98. package/node_modules/aws-sdk/clients/appflow.d.ts +30 -0
  99. package/node_modules/aws-sdk/clients/applicationinsights.d.ts +342 -2
  100. package/node_modules/aws-sdk/clients/apprunner.d.ts +5 -5
  101. package/node_modules/aws-sdk/clients/autoscaling.d.ts +13 -2
  102. package/node_modules/aws-sdk/clients/backup.d.ts +131 -8
  103. package/node_modules/aws-sdk/clients/batch.d.ts +9 -9
  104. package/node_modules/aws-sdk/clients/budgets.d.ts +1 -1
  105. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +228 -2
  106. package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +17 -0
  107. package/node_modules/aws-sdk/clients/cleanrooms.d.ts +557 -14
  108. package/node_modules/aws-sdk/clients/cloud9.d.ts +1 -1
  109. package/node_modules/aws-sdk/clients/cloudformation.d.ts +21 -0
  110. package/node_modules/aws-sdk/clients/cloudfront.d.ts +14 -10
  111. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +4 -4
  112. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +7 -7
  113. package/node_modules/aws-sdk/clients/cloudwatchevents.d.ts +2 -2
  114. package/node_modules/aws-sdk/clients/codecommit.d.ts +87 -30
  115. package/node_modules/aws-sdk/clients/codestarconnections.d.ts +10 -10
  116. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +292 -215
  117. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +214 -2
  118. package/node_modules/aws-sdk/clients/configservice.d.ts +1 -1
  119. package/node_modules/aws-sdk/clients/connect.d.ts +609 -17
  120. package/node_modules/aws-sdk/clients/connectcampaigns.d.ts +30 -23
  121. package/node_modules/aws-sdk/clients/connectparticipant.d.ts +71 -2
  122. package/node_modules/aws-sdk/clients/costexplorer.d.ts +10 -2
  123. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +56 -52
  124. package/node_modules/aws-sdk/clients/datasync.d.ts +170 -39
  125. package/node_modules/aws-sdk/clients/dms.d.ts +1289 -13
  126. package/node_modules/aws-sdk/clients/drs.d.ts +1 -1
  127. package/node_modules/aws-sdk/clients/ec2.d.ts +87 -20
  128. package/node_modules/aws-sdk/clients/ecs.d.ts +32 -32
  129. package/node_modules/aws-sdk/clients/elasticache.d.ts +22 -1
  130. package/node_modules/aws-sdk/clients/elbv2.d.ts +23 -9
  131. package/node_modules/aws-sdk/clients/finspace.d.ts +73 -5
  132. package/node_modules/aws-sdk/clients/fsx.d.ts +108 -33
  133. package/node_modules/aws-sdk/clients/gamelift.d.ts +91 -91
  134. package/node_modules/aws-sdk/clients/globalaccelerator.d.ts +12 -12
  135. package/node_modules/aws-sdk/clients/glue.d.ts +40 -2
  136. package/node_modules/aws-sdk/clients/guardduty.d.ts +4 -4
  137. package/node_modules/aws-sdk/clients/health.d.ts +86 -2
  138. package/node_modules/aws-sdk/clients/identitystore.d.ts +26 -26
  139. package/node_modules/aws-sdk/clients/inspector2.d.ts +101 -2
  140. package/node_modules/aws-sdk/clients/internetmonitor.d.ts +49 -26
  141. package/node_modules/aws-sdk/clients/ivs.d.ts +4 -4
  142. package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +2 -2
  143. package/node_modules/aws-sdk/clients/kafka.d.ts +204 -0
  144. package/node_modules/aws-sdk/clients/kafkaconnect.d.ts +6 -8
  145. package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +2 -2
  146. package/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts +16 -16
  147. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +522 -15
  148. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +52 -6
  149. package/node_modules/aws-sdk/clients/medialive.d.ts +35 -0
  150. package/node_modules/aws-sdk/clients/mediapackage.d.ts +3 -2
  151. package/node_modules/aws-sdk/clients/mediatailor.d.ts +2 -2
  152. package/node_modules/aws-sdk/clients/neptunedata.d.ts +1976 -0
  153. package/node_modules/aws-sdk/clients/neptunedata.js +18 -0
  154. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +9 -9
  155. package/node_modules/aws-sdk/clients/omics.d.ts +619 -21
  156. package/node_modules/aws-sdk/clients/organizations.d.ts +55 -55
  157. package/node_modules/aws-sdk/clients/paymentcryptographydata.d.ts +8 -6
  158. package/node_modules/aws-sdk/clients/pcaconnectorad.d.ts +1606 -0
  159. package/node_modules/aws-sdk/clients/pcaconnectorad.js +18 -0
  160. package/node_modules/aws-sdk/clients/pi.d.ts +382 -5
  161. package/node_modules/aws-sdk/clients/pinpoint.d.ts +69 -5
  162. package/node_modules/aws-sdk/clients/polly.d.ts +2 -2
  163. package/node_modules/aws-sdk/clients/quicksight.d.ts +148 -33
  164. package/node_modules/aws-sdk/clients/rds.d.ts +255 -23
  165. package/node_modules/aws-sdk/clients/rekognition.d.ts +19 -19
  166. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +588 -274
  167. package/node_modules/aws-sdk/clients/route53.d.ts +9 -9
  168. package/node_modules/aws-sdk/clients/route53domains.d.ts +9 -3
  169. package/node_modules/aws-sdk/clients/sagemaker.d.ts +227 -22
  170. package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +86 -8
  171. package/node_modules/aws-sdk/clients/scheduler.d.ts +16 -3
  172. package/node_modules/aws-sdk/clients/securityhub.d.ts +68 -4
  173. package/node_modules/aws-sdk/clients/servicecatalog.d.ts +16 -16
  174. package/node_modules/aws-sdk/clients/servicequotas.d.ts +138 -80
  175. package/node_modules/aws-sdk/clients/ses.d.ts +158 -158
  176. package/node_modules/aws-sdk/clients/sesv2.d.ts +374 -3
  177. package/node_modules/aws-sdk/clients/sqs.d.ts +9 -9
  178. package/node_modules/aws-sdk/clients/swf.d.ts +18 -1
  179. package/node_modules/aws-sdk/clients/transfer.d.ts +12 -12
  180. package/node_modules/aws-sdk/clients/verifiedpermissions.d.ts +27 -27
  181. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +69 -16
  182. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  183. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +152 -78
  184. package/node_modules/aws-sdk/dist/aws-sdk.js +3098 -1970
  185. package/node_modules/aws-sdk/dist/aws-sdk.min.js +101 -101
  186. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +4 -0
  187. package/node_modules/aws-sdk/lib/core.js +1 -1
  188. package/node_modules/aws-sdk/lib/token/sso_token_provider.js +3 -3
  189. package/node_modules/aws-sdk/package.json +1 -1
  190. package/package.json +13 -13
@@ -173,11 +173,11 @@ declare class SageMaker extends Service {
173
173
  */
174
174
  createEdgePackagingJob(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
175
175
  /**
176
- * Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using SageMaker hosting services. For an example that calls this method when deploying a model to SageMaker hosting services, see the Create Endpoint example notebook. You must not delete an EndpointConfig that is 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. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference.
176
+ * Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using SageMaker hosting services. You must not delete an EndpointConfig that is 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. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference.
177
177
  */
178
178
  createEndpoint(params: SageMaker.Types.CreateEndpointInput, callback?: (err: AWSError, data: SageMaker.Types.CreateEndpointOutput) => void): Request<SageMaker.Types.CreateEndpointOutput, AWSError>;
179
179
  /**
180
- * Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using SageMaker hosting services. For an example that calls this method when deploying a model to SageMaker hosting services, see the Create Endpoint example notebook. You must not delete an EndpointConfig that is 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. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference.
180
+ * Creates an endpoint using the endpoint configuration specified in the request. SageMaker uses the endpoint to provision resources and deploy models. You create the endpoint configuration with the CreateEndpointConfig API. Use this API to deploy models using SageMaker hosting services. You must not delete an EndpointConfig that is 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. The endpoint name must be unique within an Amazon Web Services Region in your Amazon Web Services account. When it receives the request, SageMaker creates the endpoint, launches the resources (ML compute instances), and deploys the model(s) on them. When you call CreateEndpoint, a load call is made to DynamoDB to verify that your endpoint configuration exists. When you read data from a DynamoDB table supporting Eventually Consistent Reads , the response might not reflect the results of a recently completed write operation. The response might include some stale data. If the dependent entities are not yet in DynamoDB, this causes a validation error. If you repeat your read request after a short time, the response should return the latest data. So retry logic is recommended to handle these possible issues. We also recommend that customers call DescribeEndpointConfig before calling CreateEndpoint to minimize the potential impact of a DynamoDB eventually consistent read. When SageMaker receives the request, it sets the endpoint status to Creating. After it creates the endpoint, it sets the status to InService. SageMaker can then process incoming requests for inferences. To check the status of an endpoint, use the DescribeEndpoint API. If any of the models hosted at this endpoint get model data from an Amazon S3 location, SageMaker uses Amazon Web Services Security Token Service to download model artifacts from the S3 path you provided. Amazon Web Services STS is activated in your Amazon Web Services account by default. If you previously deactivated Amazon Web Services STS for a region, you need to reactivate Amazon Web Services STS for that region. For more information, see Activating and Deactivating Amazon Web Services STS in an Amazon Web Services Region in the Amazon Web Services Identity and Access Management User Guide. To add the IAM role policies for using this API operation, go to the IAM console, and choose Roles in the left navigation pane. Search the IAM role that you want to grant access to use the CreateEndpoint and CreateEndpointConfig API operations, add the following policies to the role. Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess policy. Option 2: For granting a limited access to an IAM role, paste the following Action elements manually into the JSON file of the IAM role: "Action": ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" ] For more information, see SageMaker API Permissions: Actions, Permissions, and Resources Reference.
181
181
  */
182
182
  createEndpoint(callback?: (err: AWSError, data: SageMaker.Types.CreateEndpointOutput) => void): Request<SageMaker.Types.CreateEndpointOutput, AWSError>;
183
183
  /**
@@ -1364,6 +1364,14 @@ declare class SageMaker extends Service {
1364
1364
  * Gets the status of Service Catalog in SageMaker. Service Catalog is used to create SageMaker projects.
1365
1365
  */
1366
1366
  getSagemakerServicecatalogPortfolioStatus(callback?: (err: AWSError, data: SageMaker.Types.GetSagemakerServicecatalogPortfolioStatusOutput) => void): Request<SageMaker.Types.GetSagemakerServicecatalogPortfolioStatusOutput, AWSError>;
1367
+ /**
1368
+ * Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
1369
+ */
1370
+ getScalingConfigurationRecommendation(params: SageMaker.Types.GetScalingConfigurationRecommendationRequest, callback?: (err: AWSError, data: SageMaker.Types.GetScalingConfigurationRecommendationResponse) => void): Request<SageMaker.Types.GetScalingConfigurationRecommendationResponse, AWSError>;
1371
+ /**
1372
+ * Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
1373
+ */
1374
+ getScalingConfigurationRecommendation(callback?: (err: AWSError, data: SageMaker.Types.GetScalingConfigurationRecommendationResponse) => void): Request<SageMaker.Types.GetScalingConfigurationRecommendationResponse, AWSError>;
1367
1375
  /**
1368
1376
  * An auto-complete API for the search functionality in the SageMaker console. It returns suggestions of possible matches for the property name to use in Search queries. Provides suggestions for HyperParameters, Tags, and Metrics.
1369
1377
  */
@@ -3549,7 +3557,7 @@ declare namespace SageMaker {
3549
3557
  */
3550
3558
  StartTimeOffset?: MonitoringTimeOffsetString;
3551
3559
  /**
3552
- * If specified, monitoring jobs substract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.
3560
+ * If specified, monitoring jobs subtract this time from the end time. For information about using offsets for scheduling monitoring jobs, see Schedule Model Quality Monitoring Jobs.
3553
3561
  */
3554
3562
  EndTimeOffset?: MonitoringTimeOffsetString;
3555
3563
  }
@@ -3665,6 +3673,10 @@ declare namespace SageMaker {
3665
3673
  * The workspace settings for the SageMaker Canvas application.
3666
3674
  */
3667
3675
  WorkspaceSettings?: WorkspaceSettings;
3676
+ /**
3677
+ * The settings for connecting to an external data source with OAuth.
3678
+ */
3679
+ IdentityProviderOAuthSettings?: IdentityProviderOAuthSettings;
3668
3680
  }
3669
3681
  export interface CapacitySize {
3670
3682
  /**
@@ -5284,9 +5296,9 @@ declare namespace SageMaker {
5284
5296
  }
5285
5297
  export interface CreateModelCardExportJobRequest {
5286
5298
  /**
5287
- * The name of the model card to export.
5299
+ * The name or Amazon Resource Name (ARN) of the model card to export.
5288
5300
  */
5289
- ModelCardName: EntityName;
5301
+ ModelCardName: ModelCardNameOrArn;
5290
5302
  /**
5291
5303
  * The version of the model card to export. If a version is not provided, then the latest version of the model card is exported.
5292
5304
  */
@@ -5463,7 +5475,7 @@ declare namespace SageMaker {
5463
5475
  */
5464
5476
  CertifyForMarketplace?: CertifyForMarketplace;
5465
5477
  /**
5466
- * A list of key value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
5478
+ * A list of key value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide. If you supply ModelPackageGroupName, your model package belongs to the model group you specify and uses the tags associated with the model group. In this case, you cannot supply a tag argument.
5467
5479
  */
5468
5480
  Tags?: TagList;
5469
5481
  /**
@@ -6205,6 +6217,20 @@ declare namespace SageMaker {
6205
6217
  export type CustomerMetadataKeyList = CustomerMetadataKey[];
6206
6218
  export type CustomerMetadataMap = {[key: string]: CustomerMetadataValue};
6207
6219
  export type CustomerMetadataValue = string;
6220
+ export interface CustomizedMetricSpecification {
6221
+ /**
6222
+ * The name of the customized metric.
6223
+ */
6224
+ MetricName?: String;
6225
+ /**
6226
+ * The namespace of the customized metric.
6227
+ */
6228
+ Namespace?: String;
6229
+ /**
6230
+ * The statistic of the customized metric.
6231
+ */
6232
+ Statistic?: Statistic;
6233
+ }
6208
6234
  export interface DataCaptureConfig {
6209
6235
  /**
6210
6236
  * Whether data capture should be enabled or disabled (defaults to enabled).
@@ -6335,6 +6361,7 @@ declare namespace SageMaker {
6335
6361
  */
6336
6362
  FileSystemDataSource?: FileSystemDataSource;
6337
6363
  }
6364
+ export type DataSourceName = "SalesforceGenie"|"Snowflake"|string;
6338
6365
  export type Database = string;
6339
6366
  export interface DatasetDefinition {
6340
6367
  AthenaDatasetDefinition?: AthenaDatasetDefinition;
@@ -7948,7 +7975,7 @@ declare namespace SageMaker {
7948
7975
  ProductionVariants?: ProductionVariantSummaryList;
7949
7976
  DataCaptureConfig?: DataCaptureConfigSummary;
7950
7977
  /**
7951
- * The status of the endpoint. OutOfService: Endpoint is not available to take incoming requests. Creating: CreateEndpoint is executing. Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count. RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an InService status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. InService: Endpoint is available to process incoming requests. Deleting: DeleteEndpoint is executing. Failed: Endpoint could not be created, updated, or re-scaled. Use the FailureReason value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint.
7978
+ * The status of the endpoint. OutOfService: Endpoint is not available to take incoming requests. Creating: CreateEndpoint is executing. Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled until it has completed. This maintenance operation does not change any customer-specified values such as VPC config, KMS encryption, model, instance type, or instance count. RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an InService status. This transitional status only applies to an endpoint that has autoscaling enabled and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. InService: Endpoint is available to process incoming requests. Deleting: DeleteEndpoint is executing. Failed: Endpoint could not be created, updated, or re-scaled. Use the FailureReason value returned by DescribeEndpoint for information about the failure. DeleteEndpoint is the only operation that can be performed on a failed endpoint. UpdateRollbackFailed: Both the rolling deployment and auto-rollback failed. Your endpoint is in service with a mix of the old and new endpoint configurations. For information about how to remedy this issue and restore the endpoint's status to InService, see Rolling Deployments.
7952
7979
  */
7953
7980
  EndpointStatus: EndpointStatus;
7954
7981
  /**
@@ -8871,7 +8898,7 @@ declare namespace SageMaker {
8871
8898
  */
8872
8899
  Status: ModelCardExportJobStatus;
8873
8900
  /**
8874
- * The name of the model card that the model export job exports.
8901
+ * The name or Amazon Resource Name (ARN) of the model card that the model export job exports.
8875
8902
  */
8876
8903
  ModelCardName: EntityName;
8877
8904
  /**
@@ -8901,9 +8928,9 @@ declare namespace SageMaker {
8901
8928
  }
8902
8929
  export interface DescribeModelCardRequest {
8903
8930
  /**
8904
- * The name of the model card to describe.
8931
+ * The name or Amazon Resource Name (ARN) of the model card to describe.
8905
8932
  */
8906
- ModelCardName: EntityName;
8933
+ ModelCardName: ModelCardNameOrArn;
8907
8934
  /**
8908
8935
  * The version of the model card to describe. If a version is not provided, then the latest version of the model card is described.
8909
8936
  */
@@ -10460,6 +10487,7 @@ declare namespace SageMaker {
10460
10487
  SecurityGroupIds?: DomainSecurityGroupIds;
10461
10488
  }
10462
10489
  export type DomainStatus = "Deleting"|"Failed"|"InService"|"Pending"|"Updating"|"Update_Failed"|"Delete_Failed"|string;
10490
+ export type Double = number;
10463
10491
  export type DoubleParameterValue = number;
10464
10492
  export interface DriftCheckBaselines {
10465
10493
  /**
@@ -10523,6 +10551,28 @@ declare namespace SageMaker {
10523
10551
  */
10524
10552
  Constraints?: MetricsSource;
10525
10553
  }
10554
+ export interface DynamicScalingConfiguration {
10555
+ /**
10556
+ * The recommended minimum capacity to specify for your autoscaling policy.
10557
+ */
10558
+ MinCapacity?: Integer;
10559
+ /**
10560
+ * The recommended maximum capacity to specify for your autoscaling policy.
10561
+ */
10562
+ MaxCapacity?: Integer;
10563
+ /**
10564
+ * The recommended scale in cooldown time for your autoscaling policy.
10565
+ */
10566
+ ScaleInCooldown?: Integer;
10567
+ /**
10568
+ * The recommended scale out cooldown time for your autoscaling policy.
10569
+ */
10570
+ ScaleOutCooldown?: Integer;
10571
+ /**
10572
+ * An object of the scaling policies for each metric.
10573
+ */
10574
+ ScalingPolicies?: ScalingPolicies;
10575
+ }
10526
10576
  export interface EMRStepMetadata {
10527
10577
  /**
10528
10578
  * The identifier of the EMR cluster.
@@ -11379,6 +11429,7 @@ declare namespace SageMaker {
11379
11429
  Value: MetricValue;
11380
11430
  }
11381
11431
  export type FinalMetricDataList = MetricData[];
11432
+ export type FlatInvocations = "Continue"|"Stop"|string;
11382
11433
  export type Float = number;
11383
11434
  export type FlowDefinitionArn = string;
11384
11435
  export type FlowDefinitionName = string;
@@ -11506,6 +11557,58 @@ declare namespace SageMaker {
11506
11557
  */
11507
11558
  Status?: SagemakerServicecatalogStatus;
11508
11559
  }
11560
+ export interface GetScalingConfigurationRecommendationRequest {
11561
+ /**
11562
+ * The name of a previously completed Inference Recommender job.
11563
+ */
11564
+ InferenceRecommendationsJobName: RecommendationJobName;
11565
+ /**
11566
+ * The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName field. Specify either this field or the EndpointName field.
11567
+ */
11568
+ RecommendationId?: String;
11569
+ /**
11570
+ * The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName field. Specify either this field or the RecommendationId field.
11571
+ */
11572
+ EndpointName?: EndpointName;
11573
+ /**
11574
+ * The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
11575
+ */
11576
+ TargetCpuUtilizationPerCore?: UtilizationPercentagePerCore;
11577
+ /**
11578
+ * An object where you specify the anticipated traffic pattern for an endpoint.
11579
+ */
11580
+ ScalingPolicyObjective?: ScalingPolicyObjective;
11581
+ }
11582
+ export interface GetScalingConfigurationRecommendationResponse {
11583
+ /**
11584
+ * The name of a previously completed Inference Recommender job.
11585
+ */
11586
+ InferenceRecommendationsJobName?: RecommendationJobName;
11587
+ /**
11588
+ * The recommendation ID of a previously completed inference recommendation.
11589
+ */
11590
+ RecommendationId?: String;
11591
+ /**
11592
+ * The name of an endpoint benchmarked during a previously completed Inference Recommender job.
11593
+ */
11594
+ EndpointName?: EndpointName;
11595
+ /**
11596
+ * The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
11597
+ */
11598
+ TargetCpuUtilizationPerCore?: UtilizationPercentagePerCore;
11599
+ /**
11600
+ * An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
11601
+ */
11602
+ ScalingPolicyObjective?: ScalingPolicyObjective;
11603
+ /**
11604
+ * An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
11605
+ */
11606
+ Metric?: ScalingPolicyMetric;
11607
+ /**
11608
+ * An object with the recommended values for you to specify when creating an autoscaling policy.
11609
+ */
11610
+ DynamicScalingConfiguration?: DynamicScalingConfiguration;
11611
+ }
11509
11612
  export interface GetSearchSuggestionsRequest {
11510
11613
  /**
11511
11614
  * The name of the SageMaker resource to search for.
@@ -12206,6 +12309,21 @@ declare namespace SageMaker {
12206
12309
  SourceIdentity?: String;
12207
12310
  }
12208
12311
  export type IdempotencyToken = string;
12312
+ export interface IdentityProviderOAuthSetting {
12313
+ /**
12314
+ * The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud.
12315
+ */
12316
+ DataSourceName?: DataSourceName;
12317
+ /**
12318
+ * Describes whether OAuth for a data source is enabled or disabled in the Canvas application.
12319
+ */
12320
+ Status?: FeatureStatus;
12321
+ /**
12322
+ * The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
12323
+ */
12324
+ SecretArn?: SecretArn;
12325
+ }
12326
+ export type IdentityProviderOAuthSettings = IdentityProviderOAuthSetting[];
12209
12327
  export interface Image {
12210
12328
  /**
12211
12329
  * When the image was created.
@@ -14721,9 +14839,9 @@ declare namespace SageMaker {
14721
14839
  */
14722
14840
  MaxResults?: MaxResults;
14723
14841
  /**
14724
- * List model card versions for the model card with the specified name.
14842
+ * List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
14725
14843
  */
14726
- ModelCardName: EntityName;
14844
+ ModelCardName: ModelCardNameOrArn;
14727
14845
  /**
14728
14846
  * Only list model card versions with the specified approval status.
14729
14847
  */
@@ -16231,6 +16349,16 @@ declare namespace SageMaker {
16231
16349
  export type MetricName = string;
16232
16350
  export type MetricRegex = string;
16233
16351
  export type MetricSetSource = "Train"|"Validation"|"Test"|string;
16352
+ export interface MetricSpecification {
16353
+ /**
16354
+ * Information about a predefined metric.
16355
+ */
16356
+ Predefined?: PredefinedMetricSpecification;
16357
+ /**
16358
+ * Information about a customized metric.
16359
+ */
16360
+ Customized?: CustomizedMetricSpecification;
16361
+ }
16234
16362
  export type MetricValue = number;
16235
16363
  export interface MetricsSource {
16236
16364
  /**
@@ -16426,6 +16554,7 @@ declare namespace SageMaker {
16426
16554
  */
16427
16555
  S3OutputPath: S3Uri;
16428
16556
  }
16557
+ export type ModelCardNameOrArn = string;
16429
16558
  export type ModelCardProcessingStatus = "DeleteInProgress"|"DeletePending"|"ContentDeleted"|"ExportJobsDeleted"|"DeleteCompleted"|"DeleteFailed"|string;
16430
16559
  export interface ModelCardSecurityConfig {
16431
16560
  /**
@@ -16731,7 +16860,7 @@ declare namespace SageMaker {
16731
16860
  export type ModelInsightsLocation = string;
16732
16861
  export interface ModelLatencyThreshold {
16733
16862
  /**
16734
- * The model latency percentile threshold.
16863
+ * The model latency percentile threshold. For custom load tests, specify the value as P95.
16735
16864
  */
16736
16865
  Percentile?: String64;
16737
16866
  /**
@@ -17795,6 +17924,7 @@ declare namespace SageMaker {
17795
17924
  }
17796
17925
  export type NotificationTopicArn = string;
17797
17926
  export type NumberOfHumanWorkersPerDataObject = number;
17927
+ export type NumberOfSteps = number;
17798
17928
  export type ObjectiveStatus = "Succeeded"|"Pending"|"Failed"|string;
17799
17929
  export type ObjectiveStatusCounter = number;
17800
17930
  export interface ObjectiveStatusCounters {
@@ -17958,7 +18088,7 @@ declare namespace SageMaker {
17958
18088
  */
17959
18089
  TargetPlatform?: TargetPlatform;
17960
18090
  /**
17961
- * Specifies additional parameters for compiler options in JSON format. The compiler options are TargetPlatform specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify CompilerOptions. DTYPE: Specifies the data type for the input. When compiling for ml_* (except for ml_inf) instances using PyTorch framework, provide the data type (dtype) of the model's input. "float32" is used if "DTYPE" is not specified. Options for data type are: float32: Use either "float" or "float32". int64: Use either "int64" or "long". For example, {"dtype" : "float32"}. CPU: Compilation for CPU supports the following compiler options. mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']} ARM: Details of ARM CPU compilations. NEON: NEON is an implementation of the Advanced SIMD extension used in ARMv7 processors. For example, add {'mattr': ['+neon']} to the compiler options if compiling for ARM 32-bit platform with the NEON support. NVIDIA: Compilation for NVIDIA GPU supports the following compiler options. gpu_code: Specifies the targeted architecture. trt-ver: Specifies the TensorRT versions in x.y.z. format. cuda-ver: Specifies the CUDA version in x.y format. For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': '10.1'} ANDROID: Compilation for the Android OS supports the following compiler options: ANDROID_PLATFORM: Specifies the Android API levels. Available levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}. mattr: Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit platform with NEON support. INFERENTIA: Compilation for target ml_inf1 uses compiler options passed in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores 2 -O2\"". For information about supported compiler options, see Neuron Compiler CLI. CoreML: Compilation for the CoreML OutputConfig TargetDevice supports the following compiler options: class_labels: Specifies the classification labels file name inside input tar.gz file. For example, {"class_labels": "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated by newlines. EIA: Compilation for the Elastic Inference Accelerator supports the following compiler options: precision_mode: Specifies the precision of compiled artifacts. Supported values are "FP16" and "FP32". Default is "FP32". signature_def_key: Specifies the signature to use for models in SavedModel format. Defaults is TensorFlow's default signature def key. output_names: Specifies a list of output tensor names for models in FrozenGraph format. Set at most one API field, either: signature_def_key or output_names. For example: {"precision_mode": "FP32", "output_names": ["output:0"]}
18091
+ * Specifies additional parameters for compiler options in JSON format. The compiler options are TargetPlatform specific. It is required for NVIDIA accelerators and highly recommended for CPU compilations. For any other cases, it is optional to specify CompilerOptions. DTYPE: Specifies the data type for the input. When compiling for ml_* (except for ml_inf) instances using PyTorch framework, provide the data type (dtype) of the model's input. "float32" is used if "DTYPE" is not specified. Options for data type are: float32: Use either "float" or "float32". int64: Use either "int64" or "long". For example, {"dtype" : "float32"}. CPU: Compilation for CPU supports the following compiler options. mcpu: CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} mattr: CPU flags. For example, {'mattr': ['+neon', '+vfpv4']} ARM: Details of ARM CPU compilations. NEON: NEON is an implementation of the Advanced SIMD extension used in ARMv7 processors. For example, add {'mattr': ['+neon']} to the compiler options if compiling for ARM 32-bit platform with the NEON support. NVIDIA: Compilation for NVIDIA GPU supports the following compiler options. gpu_code: Specifies the targeted architecture. trt-ver: Specifies the TensorRT versions in x.y.z. format. cuda-ver: Specifies the CUDA version in x.y format. For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': '10.1'} ANDROID: Compilation for the Android OS supports the following compiler options: ANDROID_PLATFORM: Specifies the Android API levels. Available levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}. mattr: Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit platform with NEON support. INFERENTIA: Compilation for target ml_inf1 uses compiler options passed in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores 2 -O2\"". For information about supported compiler options, see Neuron Compiler CLI Reference Guide. CoreML: Compilation for the CoreML OutputConfig TargetDevice supports the following compiler options: class_labels: Specifies the classification labels file name inside input tar.gz file. For example, {"class_labels": "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated by newlines. EIA: Compilation for the Elastic Inference Accelerator supports the following compiler options: precision_mode: Specifies the precision of compiled artifacts. Supported values are "FP16" and "FP32". Default is "FP32". signature_def_key: Specifies the signature to use for models in SavedModel format. Defaults is TensorFlow's default signature def key. output_names: Specifies a list of output tensor names for models in FrozenGraph format. Set at most one API field, either: signature_def_key or output_names. For example: {"precision_mode": "FP32", "output_names": ["output:0"]}
17962
18092
  */
17963
18093
  CompilerOptions?: CompilerOptions;
17964
18094
  /**
@@ -18132,7 +18262,7 @@ declare namespace SageMaker {
18132
18262
  export type Percentage = number;
18133
18263
  export interface Phase {
18134
18264
  /**
18135
- * Specifies how many concurrent users to start with.
18265
+ * Specifies how many concurrent users to start with. The value should be between 1 and 3.
18136
18266
  */
18137
18267
  InitialNumberOfUsers?: InitialNumberOfUsers;
18138
18268
  /**
@@ -18140,7 +18270,7 @@ declare namespace SageMaker {
18140
18270
  */
18141
18271
  SpawnRate?: SpawnRate;
18142
18272
  /**
18143
- * Specifies how long traffic phase should be.
18273
+ * Specifies how long a traffic phase should be. For custom load tests, the value should be between 120 and 3600. This value should not exceed JobDurationInSeconds.
18144
18274
  */
18145
18275
  DurationInSeconds?: TrafficDurationInSeconds;
18146
18276
  }
@@ -18447,6 +18577,12 @@ declare namespace SageMaker {
18447
18577
  export type PipelineSummaryList = PipelineSummary[];
18448
18578
  export type PlatformIdentifier = string;
18449
18579
  export type PolicyString = string;
18580
+ export interface PredefinedMetricSpecification {
18581
+ /**
18582
+ * The metric type. You can only apply SageMaker metric types to SageMaker endpoints.
18583
+ */
18584
+ PredefinedMetricType?: String;
18585
+ }
18450
18586
  export type PresignedDomainUrl = string;
18451
18587
  export type ProbabilityThresholdAttribute = number;
18452
18588
  export type ProblemType = "BinaryClassification"|"MulticlassClassification"|"Regression"|string;
@@ -19313,6 +19449,10 @@ declare namespace SageMaker {
19313
19449
  * The endpoint type to receive recommendations for. By default this is null, and the results of the inference recommendation job return a combined list of both real-time and serverless benchmarks. By specifying a value for this field, you can receive a longer list of benchmarks for the desired endpoint type.
19314
19450
  */
19315
19451
  SupportedEndpointType?: RecommendationJobSupportedEndpointType;
19452
+ /**
19453
+ * The supported MIME types for the output data.
19454
+ */
19455
+ SupportedResponseMIMETypes?: RecommendationJobSupportedResponseMIMETypes;
19316
19456
  }
19317
19457
  export type RecommendationJobDataInputConfig = string;
19318
19458
  export type RecommendationJobDescription = string;
@@ -19340,7 +19480,7 @@ declare namespace SageMaker {
19340
19480
  */
19341
19481
  ModelPackageVersionArn?: ModelPackageArn;
19342
19482
  /**
19343
- * Specifies the maximum duration of the job, in seconds.&gt;
19483
+ * Specifies the maximum duration of the job, in seconds. The maximum value is 18,000 seconds.
19344
19484
  */
19345
19485
  JobDurationInSeconds?: JobDurationInSeconds;
19346
19486
  /**
@@ -19417,10 +19557,16 @@ declare namespace SageMaker {
19417
19557
  * The interval of time taken by a model to respond as viewed from SageMaker. The interval includes the local communication time taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
19418
19558
  */
19419
19559
  ModelLatencyThresholds?: ModelLatencyThresholds;
19560
+ /**
19561
+ * Stops a load test when the number of invocations (TPS) peaks and flattens, which means that the instance has reached capacity. The default value is Stop. If you want the load test to continue after invocations have flattened, set the value to Continue.
19562
+ */
19563
+ FlatInvocations?: FlatInvocations;
19420
19564
  }
19421
19565
  export type RecommendationJobSupportedContentTypes = String[];
19422
19566
  export type RecommendationJobSupportedEndpointType = "RealTime"|"Serverless"|string;
19423
19567
  export type RecommendationJobSupportedInstanceTypes = String[];
19568
+ export type RecommendationJobSupportedResponseMIMEType = string;
19569
+ export type RecommendationJobSupportedResponseMIMETypes = RecommendationJobSupportedResponseMIMEType[];
19424
19570
  export type RecommendationJobType = "Default"|"Advanced"|string;
19425
19571
  export interface RecommendationJobVpcConfig {
19426
19572
  /**
@@ -19791,6 +19937,33 @@ declare namespace SageMaker {
19791
19937
  export type SagemakerServicecatalogStatus = "Enabled"|"Disabled"|string;
19792
19938
  export type SampleWeightAttributeName = string;
19793
19939
  export type SamplingPercentage = number;
19940
+ export type ScalingPolicies = ScalingPolicy[];
19941
+ export interface ScalingPolicy {
19942
+ /**
19943
+ * A target tracking scaling policy. Includes support for predefined or customized metrics.
19944
+ */
19945
+ TargetTracking?: TargetTrackingScalingPolicyConfiguration;
19946
+ }
19947
+ export interface ScalingPolicyMetric {
19948
+ /**
19949
+ * The number of invocations sent to a model, normalized by InstanceCount in each ProductionVariant. 1/numberOfInstances is sent as the value on each request, where numberOfInstances is the number of active instances for the ProductionVariant behind the endpoint at the time of the request.
19950
+ */
19951
+ InvocationsPerInstance?: Integer;
19952
+ /**
19953
+ * The interval of time taken by a model to respond as viewed from SageMaker. This interval includes the local communication times taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
19954
+ */
19955
+ ModelLatency?: Integer;
19956
+ }
19957
+ export interface ScalingPolicyObjective {
19958
+ /**
19959
+ * The minimum number of expected requests to your endpoint per minute.
19960
+ */
19961
+ MinInvocationsPerMinute?: Integer;
19962
+ /**
19963
+ * The maximum number of expected requests to your endpoint per minute.
19964
+ */
19965
+ MaxInvocationsPerMinute?: Integer;
19966
+ }
19794
19967
  export interface ScheduleConfig {
19795
19968
  /**
19796
19969
  * A cron expression that describes details about the monitoring schedule. Currently the only supported cron expressions are: If you want to set the job to start every hour, please use the following: Hourly: cron(0 * ? * * *) If you want to start the job daily: cron(0 [00-23] ? * * *) For example, the following are valid cron expressions: Daily at noon UTC: cron(0 12 ? * * *) Daily at midnight UTC: cron(0 0 ? * * *) To support running every 6, 12 hours, the following are also supported: cron(0 [00-23]/[01-24] ? * * *) For example, the following are valid cron expressions: Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *) Every two hours starting at midnight: cron(0 0/2 ? * * *) Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution. We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.
@@ -20146,6 +20319,20 @@ declare namespace SageMaker {
20146
20319
  export type SpawnRate = number;
20147
20320
  export type SplitType = "None"|"Line"|"RecordIO"|"TFRecord"|string;
20148
20321
  export type StageStatus = "CREATING"|"READYTODEPLOY"|"STARTING"|"INPROGRESS"|"DEPLOYED"|"FAILED"|"STOPPING"|"STOPPED"|string;
20322
+ export interface Stairs {
20323
+ /**
20324
+ * Defines how long each traffic step should be.
20325
+ */
20326
+ DurationInSeconds?: TrafficDurationInSeconds;
20327
+ /**
20328
+ * Specifies how many steps to perform during traffic.
20329
+ */
20330
+ NumberOfSteps?: NumberOfSteps;
20331
+ /**
20332
+ * Specifies how many new users to spawn in each step.
20333
+ */
20334
+ UsersPerStep?: UsersPerStep;
20335
+ }
20149
20336
  export interface StartEdgeDeploymentStageRequest {
20150
20337
  /**
20151
20338
  * The name of the edge deployment plan to start.
@@ -20216,6 +20403,7 @@ declare namespace SageMaker {
20216
20403
  */
20217
20404
  PipelineExecutionArn?: PipelineExecutionArn;
20218
20405
  }
20406
+ export type Statistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum"|string;
20219
20407
  export type StatusDetails = string;
20220
20408
  export type StatusMessage = string;
20221
20409
  export type StepDescription = string;
@@ -20497,6 +20685,16 @@ declare namespace SageMaker {
20497
20685
  export type TargetPlatformAccelerator = "INTEL_GRAPHICS"|"MALI"|"NVIDIA"|"NNA"|string;
20498
20686
  export type TargetPlatformArch = "X86_64"|"X86"|"ARM64"|"ARM_EABI"|"ARM_EABIHF"|string;
20499
20687
  export type TargetPlatformOs = "ANDROID"|"LINUX"|string;
20688
+ export interface TargetTrackingScalingPolicyConfiguration {
20689
+ /**
20690
+ * An object containing information about a metric.
20691
+ */
20692
+ MetricSpecification?: MetricSpecification;
20693
+ /**
20694
+ * The recommended target value to specify for the metric when creating a scaling policy.
20695
+ */
20696
+ TargetValue?: Double;
20697
+ }
20500
20698
  export type TaskAvailabilityLifetimeInSeconds = number;
20501
20699
  export type TaskCount = number;
20502
20700
  export type TaskDescription = string;
@@ -20611,13 +20809,17 @@ declare namespace SageMaker {
20611
20809
  export type TrafficDurationInSeconds = number;
20612
20810
  export interface TrafficPattern {
20613
20811
  /**
20614
- * Defines the traffic patterns.
20812
+ * Defines the traffic patterns. Choose either PHASES or STAIRS.
20615
20813
  */
20616
20814
  TrafficType?: TrafficType;
20617
20815
  /**
20618
20816
  * Defines the phases traffic specification.
20619
20817
  */
20620
20818
  Phases?: Phases;
20819
+ /**
20820
+ * Defines the stairs traffic pattern.
20821
+ */
20822
+ Stairs?: Stairs;
20621
20823
  }
20622
20824
  export interface TrafficRoutingConfig {
20623
20825
  /**
@@ -20638,7 +20840,7 @@ declare namespace SageMaker {
20638
20840
  LinearStepSize?: CapacitySize;
20639
20841
  }
20640
20842
  export type TrafficRoutingConfigType = "ALL_AT_ONCE"|"CANARY"|"LINEAR"|string;
20641
- export type TrafficType = "PHASES"|string;
20843
+ export type TrafficType = "PHASES"|"STAIRS"|string;
20642
20844
  export type TrainingContainerArgument = string;
20643
20845
  export type TrainingContainerArguments = TrainingContainerArgument[];
20644
20846
  export type TrainingContainerEntrypoint = TrainingContainerEntrypointString[];
@@ -20658,7 +20860,7 @@ declare namespace SageMaker {
20658
20860
  }
20659
20861
  export type TrainingInputMode = "Pipe"|"File"|"FastFile"|string;
20660
20862
  export type TrainingInstanceCount = number;
20661
- export type TrainingInstanceType = "ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.p4d.24xlarge"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5n.xlarge"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.16xlarge"|"ml.g5.12xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.trn1.2xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge"|string;
20863
+ export type TrainingInstanceType = "ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.p4d.24xlarge"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5n.xlarge"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.16xlarge"|"ml.g5.12xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.trn1.2xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge"|"ml.p5.48xlarge"|string;
20662
20864
  export type TrainingInstanceTypes = TrainingInstanceType[];
20663
20865
  export interface TrainingJob {
20664
20866
  /**
@@ -21027,6 +21229,7 @@ declare namespace SageMaker {
21027
21229
  * A list of tags associated with the transform job.
21028
21230
  */
21029
21231
  Tags?: TagList;
21232
+ DataCaptureConfig?: BatchDataCaptureConfig;
21030
21233
  }
21031
21234
  export type TransformJobArn = string;
21032
21235
  export interface TransformJobDefinition {
@@ -21955,9 +22158,9 @@ declare namespace SageMaker {
21955
22158
  }
21956
22159
  export interface UpdateModelCardRequest {
21957
22160
  /**
21958
- * The name of the model card to update.
22161
+ * The name or Amazon Resource Name (ARN) of the model card to update.
21959
22162
  */
21960
- ModelCardName: EntityName;
22163
+ ModelCardName: ModelCardNameOrArn;
21961
22164
  /**
21962
22165
  * The updated model card content. Content must be in model card JSON schema and provided as a string. When updating model card content, be sure to include the full content and not just updated content.
21963
22166
  */
@@ -22473,7 +22676,9 @@ declare namespace SageMaker {
22473
22676
  */
22474
22677
  CanvasAppSettings?: CanvasAppSettings;
22475
22678
  }
22679
+ export type UsersPerStep = number;
22476
22680
  export type UtilizationMetric = number;
22681
+ export type UtilizationPercentagePerCore = number;
22477
22682
  export type ValidationFraction = number;
22478
22683
  export type VariantName = string;
22479
22684
  export interface VariantProperty {