aws-sdk 2.1012.0 → 2.1016.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/README.md +1 -1
  3. package/apis/auditmanager-2017-07-25.min.json +168 -12
  4. package/apis/auditmanager-2017-07-25.paginators.json +5 -0
  5. package/apis/autoscaling-2011-01-01.min.json +240 -94
  6. package/apis/chime-2018-05-01.min.json +4 -2
  7. package/apis/chime-sdk-identity-2021-04-20.min.json +362 -13
  8. package/apis/chime-sdk-identity-2021-04-20.paginators.json +5 -0
  9. package/apis/chime-sdk-messaging-2021-05-15.min.json +180 -29
  10. package/apis/ec2-2016-11-15.min.json +1331 -800
  11. package/apis/ec2-2016-11-15.paginators.json +12 -0
  12. package/apis/emr-containers-2020-10-01.min.json +18 -6
  13. package/apis/quicksight-2018-04-01.min.json +27 -21
  14. package/apis/rds-2014-10-31.min.json +412 -317
  15. package/apis/route53resolver-2018-04-01.min.json +85 -13
  16. package/apis/route53resolver-2018-04-01.paginators.json +6 -0
  17. package/apis/sagemaker-2017-07-24.min.json +924 -792
  18. package/apis/textract-2018-06-27.min.json +107 -43
  19. package/clients/auditmanager.d.ts +486 -305
  20. package/clients/autoscaling.d.ts +217 -15
  21. package/clients/chime.d.ts +8 -0
  22. package/clients/chimesdkidentity.d.ts +314 -2
  23. package/clients/chimesdkmessaging.d.ts +146 -15
  24. package/clients/connect.d.ts +11 -11
  25. package/clients/ec2.d.ts +548 -4
  26. package/clients/eks.d.ts +1 -1
  27. package/clients/emrcontainers.d.ts +18 -3
  28. package/clients/finspace.js +0 -1
  29. package/clients/finspacedata.js +0 -1
  30. package/clients/lexmodelsv2.js +0 -1
  31. package/clients/lookoutmetrics.js +0 -1
  32. package/clients/quicksight.d.ts +12 -2
  33. package/clients/rds.d.ts +361 -200
  34. package/clients/route53resolver.d.ts +94 -0
  35. package/clients/sagemaker.d.ts +152 -8
  36. package/clients/textract.d.ts +98 -6
  37. package/dist/aws-sdk-core-react-native.js +57 -22
  38. package/dist/aws-sdk-react-native.js +299 -340
  39. package/dist/aws-sdk.js +2134 -1234
  40. package/dist/aws-sdk.min.js +87 -87
  41. package/lib/core.js +1 -1
  42. package/lib/protocol/rest_json.js +6 -12
  43. package/lib/region_config.js +44 -1
  44. package/lib/region_config_data.json +81 -0
  45. package/lib/request.js +4 -6
  46. package/lib/service.js +1 -1
  47. package/package.json +2 -2
  48. package/scripts/region-checker/allowlist.js +4 -0
  49. package/lib/services/finspace.js +0 -23
  50. package/lib/services/finspacedata.js +0 -23
  51. package/lib/services/lexmodelsv2.js +0 -23
  52. package/lib/services/lookoutmetrics.js +0 -22
@@ -211,6 +211,14 @@ declare class Route53Resolver extends Service {
211
211
  * Returns the Identity and Access Management (Amazon Web Services IAM) policy for sharing the specified rule group. You can use the policy to share the rule group using Resource Access Manager (RAM).
212
212
  */
213
213
  getFirewallRuleGroupPolicy(callback?: (err: AWSError, data: Route53Resolver.Types.GetFirewallRuleGroupPolicyResponse) => void): Request<Route53Resolver.Types.GetFirewallRuleGroupPolicyResponse, AWSError>;
214
+ /**
215
+ * Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
216
+ */
217
+ getResolverConfig(params: Route53Resolver.Types.GetResolverConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverConfigResponse) => void): Request<Route53Resolver.Types.GetResolverConfigResponse, AWSError>;
218
+ /**
219
+ * Retrieves the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
220
+ */
221
+ getResolverConfig(callback?: (err: AWSError, data: Route53Resolver.Types.GetResolverConfigResponse) => void): Request<Route53Resolver.Types.GetResolverConfigResponse, AWSError>;
214
222
  /**
215
223
  * Gets DNSSEC validation information for a specified resource.
216
224
  */
@@ -331,6 +339,14 @@ declare class Route53Resolver extends Service {
331
339
  * Retrieves the firewall rules that you have defined for the specified firewall rule group. DNS Firewall uses the rules in a rule group to filter DNS network traffic for a VPC. A single call might return only a partial list of the rules. For information, see MaxResults.
332
340
  */
333
341
  listFirewallRules(callback?: (err: AWSError, data: Route53Resolver.Types.ListFirewallRulesResponse) => void): Request<Route53Resolver.Types.ListFirewallRulesResponse, AWSError>;
342
+ /**
343
+ * Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
344
+ */
345
+ listResolverConfigs(params: Route53Resolver.Types.ListResolverConfigsRequest, callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverConfigsResponse, AWSError>;
346
+ /**
347
+ * Retrieves the Resolver configurations that you have defined. Route 53 Resolver uses the configurations to manage DNS resolution behavior for your VPCs.
348
+ */
349
+ listResolverConfigs(callback?: (err: AWSError, data: Route53Resolver.Types.ListResolverConfigsResponse) => void): Request<Route53Resolver.Types.ListResolverConfigsResponse, AWSError>;
334
350
  /**
335
351
  * Lists the configurations for DNSSEC validation that are associated with the current Amazon Web Services account.
336
352
  */
@@ -467,6 +483,14 @@ declare class Route53Resolver extends Service {
467
483
  * Changes the association of a FirewallRuleGroup with a VPC. The association enables DNS filtering for the VPC.
468
484
  */
469
485
  updateFirewallRuleGroupAssociation(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateFirewallRuleGroupAssociationResponse) => void): Request<Route53Resolver.Types.UpdateFirewallRuleGroupAssociationResponse, AWSError>;
486
+ /**
487
+ * Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
488
+ */
489
+ updateResolverConfig(params: Route53Resolver.Types.UpdateResolverConfigRequest, callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverConfigResponse) => void): Request<Route53Resolver.Types.UpdateResolverConfigResponse, AWSError>;
490
+ /**
491
+ * Updates the behavior configuration of Route 53 Resolver behavior for a single VPC from Amazon Virtual Private Cloud.
492
+ */
493
+ updateResolverConfig(callback?: (err: AWSError, data: Route53Resolver.Types.UpdateResolverConfigResponse) => void): Request<Route53Resolver.Types.UpdateResolverConfigResponse, AWSError>;
470
494
  /**
471
495
  * Updates an existing DNSSEC validation configuration. If there is no existing DNSSEC validation configuration, one is created.
472
496
  */
@@ -584,6 +608,7 @@ declare namespace Route53Resolver {
584
608
  */
585
609
  ResolverRuleAssociation?: ResolverRuleAssociation;
586
610
  }
611
+ export type AutodefinedReverseFlag = "ENABLE"|"DISABLE"|string;
587
612
  export type BlockOverrideDnsType = "CNAME"|string;
588
613
  export type BlockOverrideDomain = string;
589
614
  export type BlockOverrideTtl = number;
@@ -1256,6 +1281,18 @@ declare namespace Route53Resolver {
1256
1281
  */
1257
1282
  FirewallRuleGroup?: FirewallRuleGroup;
1258
1283
  }
1284
+ export interface GetResolverConfigRequest {
1285
+ /**
1286
+ * Resource ID of the Amazon VPC that you want to get information about.
1287
+ */
1288
+ ResourceId: ResourceId;
1289
+ }
1290
+ export interface GetResolverConfigResponse {
1291
+ /**
1292
+ * Information about the behavior configuration of Route 53 Resolver behavior for the VPC you specified in the GetResolverConfig request.
1293
+ */
1294
+ ResolverConfig?: ResolverConfig;
1295
+ }
1259
1296
  export interface GetResolverDnssecConfigRequest {
1260
1297
  /**
1261
1298
  * The ID of the virtual private cloud (VPC) for the DNSSEC validation status.
@@ -1597,6 +1634,27 @@ declare namespace Route53Resolver {
1597
1634
  */
1598
1635
  FirewallRules?: FirewallRules;
1599
1636
  }
1637
+ export type ListResolverConfigsMaxResult = number;
1638
+ export interface ListResolverConfigsRequest {
1639
+ /**
1640
+ * The maximum number of Resolver configurations that you want to return in the response to a ListResolverConfigs request. If you don't specify a value for MaxResults, up to 100 Resolver configurations are returned.
1641
+ */
1642
+ MaxResults?: ListResolverConfigsMaxResult;
1643
+ /**
1644
+ * (Optional) If the current Amazon Web Services account has more than MaxResults Resolver configurations, use NextToken to get the second and subsequent pages of results. For the first ListResolverConfigs request, omit this value. For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.
1645
+ */
1646
+ NextToken?: NextToken;
1647
+ }
1648
+ export interface ListResolverConfigsResponse {
1649
+ /**
1650
+ * If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response. If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListResolverConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.
1651
+ */
1652
+ NextToken?: NextToken;
1653
+ /**
1654
+ * An array that contains one ResolverConfigs element for each Resolver configuration that is associated with the current Amazon Web Services account.
1655
+ */
1656
+ ResolverConfigs?: ResolverConfigList;
1657
+ }
1600
1658
  export interface ListResolverDnssecConfigsRequest {
1601
1659
  /**
1602
1660
  * Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Route 53 returns up to 100 configuration per page.
@@ -1891,6 +1949,26 @@ declare namespace Route53Resolver {
1891
1949
  */
1892
1950
  ReturnValue?: Boolean;
1893
1951
  }
1952
+ export type ResolverAutodefinedReverseStatus = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|string;
1953
+ export interface ResolverConfig {
1954
+ /**
1955
+ * ID for the Resolver configuration.
1956
+ */
1957
+ Id?: ResourceId;
1958
+ /**
1959
+ * The ID of the Amazon Virtual Private Cloud VPC that you're configuring Resolver for.
1960
+ */
1961
+ ResourceId?: ResourceId;
1962
+ /**
1963
+ * The owner account ID of the Amazon Virtual Private Cloud VPC.
1964
+ */
1965
+ OwnerId?: AccountId;
1966
+ /**
1967
+ * The status of whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. The status can be one of following: Status of the rules generated by VPCs based on CIDR/Region for reverse DNS resolution. The status can be one of following: ENABLING: Autodefined rules for reverse DNS lookups are being enabled but are not complete. ENABLED: Autodefined rules for reverse DNS lookups are enabled. DISABLING: Autodefined rules for reverse DNS lookups are being disabled but are not complete. DISABLED: Autodefined rules for reverse DNS lookups are disabled.
1968
+ */
1969
+ AutodefinedReverse?: ResolverAutodefinedReverseStatus;
1970
+ }
1971
+ export type ResolverConfigList = ResolverConfig[];
1894
1972
  export type ResolverDNSSECValidationStatus = "ENABLING"|"ENABLED"|"DISABLING"|"DISABLED"|string;
1895
1973
  export interface ResolverDnssecConfig {
1896
1974
  /**
@@ -2323,6 +2401,22 @@ declare namespace Route53Resolver {
2323
2401
  */
2324
2402
  FirewallRule?: FirewallRule;
2325
2403
  }
2404
+ export interface UpdateResolverConfigRequest {
2405
+ /**
2406
+ * Resource ID of the Amazon VPC that you want to update the Resolver configuration for.
2407
+ */
2408
+ ResourceId: ResourceId;
2409
+ /**
2410
+ * Indicates whether or not the Resolver will create autodefined rules for reverse DNS lookups. This is enabled by default. Disabling this option will also affect EC2-Classic instances using ClassicLink. For more information, see ClassicLink in the Amazon EC2 guide. It can take some time for the status change to be completed.
2411
+ */
2412
+ AutodefinedReverseFlag: AutodefinedReverseFlag;
2413
+ }
2414
+ export interface UpdateResolverConfigResponse {
2415
+ /**
2416
+ * An array that contains settings for the specified Resolver configuration.
2417
+ */
2418
+ ResolverConfig?: ResolverConfig;
2419
+ }
2326
2420
  export interface UpdateResolverDnssecConfigRequest {
2327
2421
  /**
2328
2422
  * The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.
@@ -36,6 +36,14 @@ declare class SageMaker extends Service {
36
36
  * Associates a trial component with a trial. A trial component can be associated with multiple trials. To disassociate a trial component from a trial, call the DisassociateTrialComponent API.
37
37
  */
38
38
  associateTrialComponent(callback?: (err: AWSError, data: SageMaker.Types.AssociateTrialComponentResponse) => void): Request<SageMaker.Types.AssociateTrialComponentResponse, AWSError>;
39
+ /**
40
+ * This action batch describes a list of versioned model packages
41
+ */
42
+ batchDescribeModelPackage(params: SageMaker.Types.BatchDescribeModelPackageInput, callback?: (err: AWSError, data: SageMaker.Types.BatchDescribeModelPackageOutput) => void): Request<SageMaker.Types.BatchDescribeModelPackageOutput, AWSError>;
43
+ /**
44
+ * This action batch describes a list of versioned model packages
45
+ */
46
+ batchDescribeModelPackage(callback?: (err: AWSError, data: SageMaker.Types.BatchDescribeModelPackageOutput) => void): Request<SageMaker.Types.BatchDescribeModelPackageOutput, AWSError>;
39
47
  /**
40
48
  * Creates an action. An action is a lineage tracking entity that represents an action or activity. For example, a model deployment or an HPO job. Generally, an action involves at least one input or output artifact. For more information, see Amazon SageMaker ML Lineage Tracking.
41
49
  */
@@ -925,11 +933,11 @@ declare class SageMaker extends Service {
925
933
  */
926
934
  describeModelExplainabilityJobDefinition(callback?: (err: AWSError, data: SageMaker.Types.DescribeModelExplainabilityJobDefinitionResponse) => void): Request<SageMaker.Types.DescribeModelExplainabilityJobDefinitionResponse, AWSError>;
927
935
  /**
928
- * Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on Amazon Web Services Marketplace. To create models in Amazon SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
936
+ * Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace. To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
929
937
  */
930
938
  describeModelPackage(params: SageMaker.Types.DescribeModelPackageInput, callback?: (err: AWSError, data: SageMaker.Types.DescribeModelPackageOutput) => void): Request<SageMaker.Types.DescribeModelPackageOutput, AWSError>;
931
939
  /**
932
- * Returns a description of the specified model package, which is used to create Amazon SageMaker models or list them on Amazon Web Services Marketplace. To create models in Amazon SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
940
+ * Returns a description of the specified model package, which is used to create SageMaker models or list them on Amazon Web Services Marketplace. To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.
933
941
  */
934
942
  describeModelPackage(callback?: (err: AWSError, data: SageMaker.Types.DescribeModelPackageOutput) => void): Request<SageMaker.Types.DescribeModelPackageOutput, AWSError>;
935
943
  /**
@@ -1884,6 +1892,14 @@ declare class SageMaker extends Service {
1884
1892
  * Updates a pipeline execution.
1885
1893
  */
1886
1894
  updatePipelineExecution(callback?: (err: AWSError, data: SageMaker.Types.UpdatePipelineExecutionResponse) => void): Request<SageMaker.Types.UpdatePipelineExecutionResponse, AWSError>;
1895
+ /**
1896
+ * Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model. You must not update a project that is in use. If you update the ServiceCatalogProvisioningUpdateDetails of a project that is active or being created, or updated, you may lose resources already created by the project.
1897
+ */
1898
+ updateProject(params: SageMaker.Types.UpdateProjectInput, callback?: (err: AWSError, data: SageMaker.Types.UpdateProjectOutput) => void): Request<SageMaker.Types.UpdateProjectOutput, AWSError>;
1899
+ /**
1900
+ * Updates a machine learning (ML) project that is created from a template that sets up an ML pipeline from training to deploying an approved model. You must not update a project that is in use. If you update the ServiceCatalogProvisioningUpdateDetails of a project that is active or being created, or updated, you may lose resources already created by the project.
1901
+ */
1902
+ updateProject(callback?: (err: AWSError, data: SageMaker.Types.UpdateProjectOutput) => void): Request<SageMaker.Types.UpdateProjectOutput, AWSError>;
1887
1903
  /**
1888
1904
  * Update a model training job to request a new Debugger profiling configuration.
1889
1905
  */
@@ -2735,6 +2751,64 @@ declare namespace SageMaker {
2735
2751
  Alarms?: AlarmList;
2736
2752
  }
2737
2753
  export type AwsManagedHumanLoopRequestSource = "AWS/Rekognition/DetectModerationLabels/Image/V3"|"AWS/Textract/AnalyzeDocument/Forms/V1"|string;
2754
+ export interface BatchDescribeModelPackageError {
2755
+ /**
2756
+ *
2757
+ */
2758
+ ErrorCode: String;
2759
+ /**
2760
+ *
2761
+ */
2762
+ ErrorResponse: String;
2763
+ }
2764
+ export type BatchDescribeModelPackageErrorMap = {[key: string]: BatchDescribeModelPackageError};
2765
+ export interface BatchDescribeModelPackageInput {
2766
+ /**
2767
+ * The list of Amazon Resource Name (ARN) of the model package groups.
2768
+ */
2769
+ ModelPackageArnList: ModelPackageArnList;
2770
+ }
2771
+ export interface BatchDescribeModelPackageOutput {
2772
+ /**
2773
+ * The summaries for the model package versions
2774
+ */
2775
+ ModelPackageSummaries?: ModelPackageSummaries;
2776
+ /**
2777
+ * A map of the resource and BatchDescribeModelPackageError objects reporting the error associated with describing the model package.
2778
+ */
2779
+ BatchDescribeModelPackageErrorMap?: BatchDescribeModelPackageErrorMap;
2780
+ }
2781
+ export interface BatchDescribeModelPackageSummary {
2782
+ /**
2783
+ * The group name for the model package
2784
+ */
2785
+ ModelPackageGroupName: EntityName;
2786
+ /**
2787
+ * The version number of a versioned model.
2788
+ */
2789
+ ModelPackageVersion?: ModelPackageVersion;
2790
+ /**
2791
+ * The Amazon Resource Name (ARN) of the model package.
2792
+ */
2793
+ ModelPackageArn: ModelPackageArn;
2794
+ /**
2795
+ * The description of the model package.
2796
+ */
2797
+ ModelPackageDescription?: EntityDescription;
2798
+ /**
2799
+ * The creation time of the mortgage package summary.
2800
+ */
2801
+ CreationTime: CreationTime;
2802
+ InferenceSpecification: InferenceSpecification;
2803
+ /**
2804
+ * The status of the mortgage package.
2805
+ */
2806
+ ModelPackageStatus: ModelPackageStatus;
2807
+ /**
2808
+ * The approval status of the model.
2809
+ */
2810
+ ModelApprovalStatus?: ModelApprovalStatus;
2811
+ }
2738
2812
  export type BatchStrategy = "MultiRecord"|"SingleRecord"|string;
2739
2813
  export interface Bias {
2740
2814
  /**
@@ -4056,9 +4130,9 @@ declare namespace SageMaker {
4056
4130
  */
4057
4131
  ModelPackageName?: EntityName;
4058
4132
  /**
4059
- * The name of the model group that this model version belongs to. This parameter is required for versioned models, and does not apply to unversioned models.
4133
+ * The name or Amazon Resource Name (ARN) of the model package group that this model version belongs to. This parameter is required for versioned models, and does not apply to unversioned models.
4060
4134
  */
4061
- ModelPackageGroupName?: EntityName;
4135
+ ModelPackageGroupName?: ArnOrName;
4062
4136
  /**
4063
4137
  * A description of the model package.
4064
4138
  */
@@ -4096,6 +4170,10 @@ declare namespace SageMaker {
4096
4170
  * A unique token that guarantees that the call to this API is idempotent.
4097
4171
  */
4098
4172
  ClientToken?: ClientToken;
4173
+ /**
4174
+ * The metadata properties associated with the model package versions.
4175
+ */
4176
+ CustomerMetadataProperties?: CustomerMetadataMap;
4099
4177
  }
4100
4178
  export interface CreateModelPackageOutput {
4101
4179
  /**
@@ -4745,6 +4823,10 @@ declare namespace SageMaker {
4745
4823
  AppImageConfigName: AppImageConfigName;
4746
4824
  }
4747
4825
  export type CustomImages = CustomImage[];
4826
+ export type CustomerMetadataKey = string;
4827
+ export type CustomerMetadataKeyList = CustomerMetadataKey[];
4828
+ export type CustomerMetadataMap = {[key: string]: CustomerMetadataValue};
4829
+ export type CustomerMetadataValue = string;
4748
4830
  export interface DataCaptureConfig {
4749
4831
  /**
4750
4832
  *
@@ -6788,7 +6870,7 @@ declare namespace SageMaker {
6788
6870
  */
6789
6871
  SourceAlgorithmSpecification?: SourceAlgorithmSpecification;
6790
6872
  /**
6791
- * Configurations for one or more transform jobs that Amazon SageMaker runs to test the model package.
6873
+ * Configurations for one or more transform jobs that SageMaker runs to test the model package.
6792
6874
  */
6793
6875
  ValidationSpecification?: ModelPackageValidationSpecification;
6794
6876
  /**
@@ -6822,6 +6904,10 @@ declare namespace SageMaker {
6822
6904
  * A description provided for the model approval.
6823
6905
  */
6824
6906
  ApprovalDescription?: ApprovalDescription;
6907
+ /**
6908
+ * The metadata properties associated with the model package versions.
6909
+ */
6910
+ CustomerMetadataProperties?: CustomerMetadataMap;
6825
6911
  }
6826
6912
  export interface DescribeModelQualityJobDefinitionRequest {
6827
6913
  /**
@@ -7279,6 +7365,11 @@ declare namespace SageMaker {
7279
7365
  * The time when the project was created.
7280
7366
  */
7281
7367
  CreationTime: Timestamp;
7368
+ /**
7369
+ * The timestamp when project was last modified.
7370
+ */
7371
+ LastModifiedTime?: Timestamp;
7372
+ LastModifiedBy?: UserContext;
7282
7373
  }
7283
7374
  export interface DescribeStudioLifecycleConfigRequest {
7284
7375
  /**
@@ -12117,8 +12208,13 @@ declare namespace SageMaker {
12117
12208
  * A list of the tags associated with the model package. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
12118
12209
  */
12119
12210
  Tags?: TagList;
12211
+ /**
12212
+ * The metadata properties for the model package.
12213
+ */
12214
+ CustomerMetadataProperties?: CustomerMetadataMap;
12120
12215
  }
12121
12216
  export type ModelPackageArn = string;
12217
+ export type ModelPackageArnList = ModelPackageArn[];
12122
12218
  export interface ModelPackageContainerDefinition {
12123
12219
  /**
12124
12220
  * The DNS host name for the Docker container.
@@ -12226,6 +12322,7 @@ declare namespace SageMaker {
12226
12322
  FailureReason?: String;
12227
12323
  }
12228
12324
  export type ModelPackageStatusItemList = ModelPackageStatusItem[];
12325
+ export type ModelPackageSummaries = {[key: string]: BatchDescribeModelPackageSummary};
12229
12326
  export interface ModelPackageSummary {
12230
12327
  /**
12231
12328
  * The name of the model package.
@@ -13767,13 +13864,18 @@ declare namespace SageMaker {
13767
13864
  * An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
13768
13865
  */
13769
13866
  Tags?: TagList;
13867
+ /**
13868
+ * A timestamp container for when the project was last modified.
13869
+ */
13870
+ LastModifiedTime?: Timestamp;
13871
+ LastModifiedBy?: UserContext;
13770
13872
  }
13771
13873
  export type ProjectArn = string;
13772
13874
  export type ProjectEntityName = string;
13773
13875
  export type ProjectId = string;
13774
13876
  export type ProjectSortBy = "Name"|"CreationTime"|string;
13775
13877
  export type ProjectSortOrder = "Ascending"|"Descending"|string;
13776
- export type ProjectStatus = "Pending"|"CreateInProgress"|"CreateCompleted"|"CreateFailed"|"DeleteInProgress"|"DeleteFailed"|"DeleteCompleted"|string;
13878
+ export type ProjectStatus = "Pending"|"CreateInProgress"|"CreateCompleted"|"CreateFailed"|"DeleteInProgress"|"DeleteFailed"|"DeleteCompleted"|"UpdateInProgress"|"UpdateCompleted"|"UpdateFailed"|string;
13777
13879
  export interface ProjectSummary {
13778
13880
  /**
13779
13881
  * The name of the project.
@@ -14269,6 +14371,16 @@ declare namespace SageMaker {
14269
14371
  */
14270
14372
  ProvisioningParameters?: ProvisioningParameters;
14271
14373
  }
14374
+ export interface ServiceCatalogProvisioningUpdateDetails {
14375
+ /**
14376
+ * The ID of the provisioning artifact.
14377
+ */
14378
+ ProvisioningArtifactId?: ServiceCatalogEntityId;
14379
+ /**
14380
+ * A list of key value pairs that you specify when you provision a product.
14381
+ */
14382
+ ProvisioningParameters?: ProvisioningParameters;
14383
+ }
14272
14384
  export type SessionExpirationDurationInSeconds = number;
14273
14385
  export interface SharingSettings {
14274
14386
  /**
@@ -15696,17 +15808,25 @@ declare namespace SageMaker {
15696
15808
  }
15697
15809
  export interface UpdateModelPackageInput {
15698
15810
  /**
15699
- * The Amazon Resource Name (ARN) of the model.
15811
+ * The Amazon Resource Name (ARN) of the model package.
15700
15812
  */
15701
15813
  ModelPackageArn: ModelPackageArn;
15702
15814
  /**
15703
15815
  * The approval status of the model.
15704
15816
  */
15705
- ModelApprovalStatus: ModelApprovalStatus;
15817
+ ModelApprovalStatus?: ModelApprovalStatus;
15706
15818
  /**
15707
15819
  * A description for the approval status of the model.
15708
15820
  */
15709
15821
  ApprovalDescription?: ApprovalDescription;
15822
+ /**
15823
+ * The metadata properties associated with the model package versions.
15824
+ */
15825
+ CustomerMetadataProperties?: CustomerMetadataMap;
15826
+ /**
15827
+ * The metadata properties associated with the model package versions to remove.
15828
+ */
15829
+ CustomerMetadataPropertiesToRemove?: CustomerMetadataKeyList;
15710
15830
  }
15711
15831
  export interface UpdateModelPackageOutput {
15712
15832
  /**
@@ -15850,6 +15970,30 @@ declare namespace SageMaker {
15850
15970
  */
15851
15971
  PipelineArn?: PipelineArn;
15852
15972
  }
15973
+ export interface UpdateProjectInput {
15974
+ /**
15975
+ * The name of the project.
15976
+ */
15977
+ ProjectName: ProjectEntityName;
15978
+ /**
15979
+ * The description for the project.
15980
+ */
15981
+ ProjectDescription?: EntityDescription;
15982
+ /**
15983
+ * The product ID and provisioning artifact ID to provision a service catalog. The provisioning artifact ID will default to the latest provisioning artifact ID of the product, if you don't provide the provisioning artifact ID. For more information, see What is AWS Service Catalog.
15984
+ */
15985
+ ServiceCatalogProvisioningUpdateDetails?: ServiceCatalogProvisioningUpdateDetails;
15986
+ /**
15987
+ * An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging AWS Resources.
15988
+ */
15989
+ Tags?: TagList;
15990
+ }
15991
+ export interface UpdateProjectOutput {
15992
+ /**
15993
+ * The Amazon Resource Name (ARN) of the project.
15994
+ */
15995
+ ProjectArn: ProjectArn;
15996
+ }
15853
15997
  export interface UpdateTrainingJobRequest {
15854
15998
  /**
15855
15999
  * The name of a training job to update the Debugger profiling configuration.
@@ -52,21 +52,37 @@ declare class Textract extends Service {
52
52
  */
53
53
  getDocumentTextDetection(callback?: (err: AWSError, data: Textract.Types.GetDocumentTextDetectionResponse) => void): Request<Textract.Types.GetDocumentTextDetectionResponse, AWSError>;
54
54
  /**
55
- * Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements. StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. For more information, see Document Text Analysis.
55
+ * Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and receipts. Amazon Textract finds contact information, items purchased, and vendor name, from input invoices and receipts. You start asynchronous invoice/receipt analysis by calling StartExpenseAnalysis, which returns a job identifier (JobId). Upon completion of the invoice/receipt analysis, Amazon Textract publishes the completion status to the Amazon Simple Notification Service (Amazon SNS) topic. This topic must be registered in the initial call to StartExpenseAnalysis. To get the results of the invoice/receipt analysis operation, first ensure that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetExpenseAnalysis, and pass the job identifier (JobId) from the initial call to StartExpenseAnalysis. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetExpenseAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetExpenseAnalysis. For more information, see Analyzing Invoices and Receipts.
56
+ */
57
+ getExpenseAnalysis(params: Textract.Types.GetExpenseAnalysisRequest, callback?: (err: AWSError, data: Textract.Types.GetExpenseAnalysisResponse) => void): Request<Textract.Types.GetExpenseAnalysisResponse, AWSError>;
58
+ /**
59
+ * Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and receipts. Amazon Textract finds contact information, items purchased, and vendor name, from input invoices and receipts. You start asynchronous invoice/receipt analysis by calling StartExpenseAnalysis, which returns a job identifier (JobId). Upon completion of the invoice/receipt analysis, Amazon Textract publishes the completion status to the Amazon Simple Notification Service (Amazon SNS) topic. This topic must be registered in the initial call to StartExpenseAnalysis. To get the results of the invoice/receipt analysis operation, first ensure that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetExpenseAnalysis, and pass the job identifier (JobId) from the initial call to StartExpenseAnalysis. Use the MaxResults parameter to limit the number of blocks that are returned. If there are more results than specified in MaxResults, the value of NextToken in the operation response contains a pagination token for getting the next set of results. To get the next page of results, call GetExpenseAnalysis, and populate the NextToken request parameter with the token value that's returned from the previous call to GetExpenseAnalysis. For more information, see Analyzing Invoices and Receipts.
60
+ */
61
+ getExpenseAnalysis(callback?: (err: AWSError, data: Textract.Types.GetExpenseAnalysisResponse) => void): Request<Textract.Types.GetExpenseAnalysisResponse, AWSError>;
62
+ /**
63
+ * Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements. StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. For more information, see Document Text Analysis.
56
64
  */
57
65
  startDocumentAnalysis(params: Textract.Types.StartDocumentAnalysisRequest, callback?: (err: AWSError, data: Textract.Types.StartDocumentAnalysisResponse) => void): Request<Textract.Types.StartDocumentAnalysisResponse, AWSError>;
58
66
  /**
59
- * Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements. StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. For more information, see Document Text Analysis.
67
+ * Starts the asynchronous analysis of an input document for relationships between detected items such as key-value pairs, tables, and selection elements. StartDocumentAnalysis can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartDocumentAnalysis returns a job identifier (JobId) that you use to get the results of the operation. When text analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text analysis operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentAnalysis, and pass the job identifier (JobId) from the initial call to StartDocumentAnalysis. For more information, see Document Text Analysis.
60
68
  */
61
69
  startDocumentAnalysis(callback?: (err: AWSError, data: Textract.Types.StartDocumentAnalysisResponse) => void): Request<Textract.Types.StartDocumentAnalysisResponse, AWSError>;
62
70
  /**
63
- * Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text. StartDocumentTextDetection can analyze text in documents that are in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartTextDetection returns a job identifier (JobId) that you use to get the results of the operation. When text detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection. For more information, see Document Text Detection.
71
+ * Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text. StartDocumentTextDetection can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartTextDetection returns a job identifier (JobId) that you use to get the results of the operation. When text detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection. For more information, see Document Text Detection.
64
72
  */
65
73
  startDocumentTextDetection(params: Textract.Types.StartDocumentTextDetectionRequest, callback?: (err: AWSError, data: Textract.Types.StartDocumentTextDetectionResponse) => void): Request<Textract.Types.StartDocumentTextDetectionResponse, AWSError>;
66
74
  /**
67
- * Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text. StartDocumentTextDetection can analyze text in documents that are in JPEG, PNG, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartTextDetection returns a job identifier (JobId) that you use to get the results of the operation. When text detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection. For more information, see Document Text Detection.
75
+ * Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of text and the words that make up a line of text. StartDocumentTextDetection can analyze text in documents that are in JPEG, PNG, TIFF, and PDF format. The documents are stored in an Amazon S3 bucket. Use DocumentLocation to specify the bucket name and file name of the document. StartTextDetection returns a job identifier (JobId) that you use to get the results of the operation. When text detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you specify in NotificationChannel. To get the results of the text detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetDocumentTextDetection, and pass the job identifier (JobId) from the initial call to StartDocumentTextDetection. For more information, see Document Text Detection.
68
76
  */
69
77
  startDocumentTextDetection(callback?: (err: AWSError, data: Textract.Types.StartDocumentTextDetectionResponse) => void): Request<Textract.Types.StartDocumentTextDetectionResponse, AWSError>;
78
+ /**
79
+ * Starts the asynchronous analysis of invoices or receipts for data like contact information, items purchased, and vendor names. StartExpenseAnalysis can analyze text in documents that are in JPEG, PNG, and PDF format. The documents must be stored in an Amazon S3 bucket. Use the DocumentLocation parameter to specify the name of your S3 bucket and the name of the document in that bucket. StartExpenseAnalysis returns a job identifier (JobId) that you will provide to GetExpenseAnalysis to retrieve the results of the operation. When the analysis of the input invoices/receipts is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you provide to the NotificationChannel. To obtain the results of the invoice and receipt analysis operation, ensure that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetExpenseAnalysis, and pass the job identifier (JobId) that was returned by your call to StartExpenseAnalysis. For more information, see Analyzing Invoices and Receipts.
80
+ */
81
+ startExpenseAnalysis(params: Textract.Types.StartExpenseAnalysisRequest, callback?: (err: AWSError, data: Textract.Types.StartExpenseAnalysisResponse) => void): Request<Textract.Types.StartExpenseAnalysisResponse, AWSError>;
82
+ /**
83
+ * Starts the asynchronous analysis of invoices or receipts for data like contact information, items purchased, and vendor names. StartExpenseAnalysis can analyze text in documents that are in JPEG, PNG, and PDF format. The documents must be stored in an Amazon S3 bucket. Use the DocumentLocation parameter to specify the name of your S3 bucket and the name of the document in that bucket. StartExpenseAnalysis returns a job identifier (JobId) that you will provide to GetExpenseAnalysis to retrieve the results of the operation. When the analysis of the input invoices/receipts is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that you provide to the NotificationChannel. To obtain the results of the invoice and receipt analysis operation, ensure that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call GetExpenseAnalysis, and pass the job identifier (JobId) that was returned by your call to StartExpenseAnalysis. For more information, see Analyzing Invoices and Receipts.
84
+ */
85
+ startExpenseAnalysis(callback?: (err: AWSError, data: Textract.Types.StartExpenseAnalysisResponse) => void): Request<Textract.Types.StartExpenseAnalysisResponse, AWSError>;
70
86
  }
71
87
  declare namespace Textract {
72
88
  export interface AnalyzeDocumentRequest {
@@ -165,7 +181,7 @@ declare namespace Textract {
165
181
  */
166
182
  SelectionStatus?: SelectionStatus;
167
183
  /**
168
- * The page on which a block was detected. Page is returned by asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF format. A scanned image (JPEG/PNG), even if it contains multiple document pages, is considered to be a single-page document. The value of Page is always 1. Synchronous operations don't return Page because every input document is considered to be a single-page document.
184
+ * The page on which a block was detected. Page is returned by asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG), even if it contains multiple document pages, is considered to be a single-page document. The value of Page is always 1. Synchronous operations don't return Page because every input document is considered to be a single-page document.
169
185
  */
170
186
  Page?: UInteger;
171
187
  }
@@ -394,6 +410,50 @@ declare namespace Textract {
394
410
  */
395
411
  DetectDocumentTextModelVersion?: String;
396
412
  }
413
+ export interface GetExpenseAnalysisRequest {
414
+ /**
415
+ * A unique identifier for the text detection job. The JobId is returned from StartExpenseAnalysis. A JobId value is only valid for 7 days.
416
+ */
417
+ JobId: JobId;
418
+ /**
419
+ * The maximum number of results to return per paginated call. The largest value you can specify is 20. If you specify a value greater than 20, a maximum of 20 results is returned. The default value is 20.
420
+ */
421
+ MaxResults?: MaxResults;
422
+ /**
423
+ * If the previous response was incomplete (because there are more blocks to retrieve), Amazon Textract returns a pagination token in the response. You can use this pagination token to retrieve the next set of blocks.
424
+ */
425
+ NextToken?: PaginationToken;
426
+ }
427
+ export interface GetExpenseAnalysisResponse {
428
+ /**
429
+ * Information about a document that Amazon Textract processed. DocumentMetadata is returned in every page of paginated responses from an Amazon Textract operation.
430
+ */
431
+ DocumentMetadata?: DocumentMetadata;
432
+ /**
433
+ * The current status of the text detection job.
434
+ */
435
+ JobStatus?: JobStatus;
436
+ /**
437
+ * If the response is truncated, Amazon Textract returns this token. You can use this token in the subsequent request to retrieve the next set of text-detection results.
438
+ */
439
+ NextToken?: PaginationToken;
440
+ /**
441
+ * The expenses detected by Amazon Textract.
442
+ */
443
+ ExpenseDocuments?: ExpenseDocumentList;
444
+ /**
445
+ * A list of warnings that occurred during the text-detection operation for the document.
446
+ */
447
+ Warnings?: Warnings;
448
+ /**
449
+ * Returns if the detection job could not be completed. Contains explanation for what error occured.
450
+ */
451
+ StatusMessage?: StatusMessage;
452
+ /**
453
+ * The current model version of AnalyzeExpense.
454
+ */
455
+ AnalyzeExpenseModelVersion?: String;
456
+ }
397
457
  export type HumanLoopActivationConditionsEvaluationResults = string;
398
458
  export interface HumanLoopActivationOutput {
399
459
  /**
@@ -513,7 +573,7 @@ declare namespace Textract {
513
573
  */
514
574
  Bucket?: S3Bucket;
515
575
  /**
516
- * The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF format files.
576
+ * The file name of the input document. Synchronous operations can use image files that are in JPEG or PNG format. Asynchronous operations also support PDF and TIFF format files.
517
577
  */
518
578
  Name?: S3ObjectName;
519
579
  /**
@@ -593,6 +653,38 @@ declare namespace Textract {
593
653
  */
594
654
  JobId?: JobId;
595
655
  }
656
+ export interface StartExpenseAnalysisRequest {
657
+ /**
658
+ * The location of the document to be processed.
659
+ */
660
+ DocumentLocation: DocumentLocation;
661
+ /**
662
+ * The idempotent token that's used to identify the start request. If you use the same token with multiple StartDocumentTextDetection requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidentally started more than once. For more information, see Calling Amazon Textract Asynchronous Operations
663
+ */
664
+ ClientRequestToken?: ClientRequestToken;
665
+ /**
666
+ * An identifier you specify that's included in the completion notification published to the Amazon SNS topic. For example, you can use JobTag to identify the type of document that the completion notification corresponds to (such as a tax form or a receipt).
667
+ */
668
+ JobTag?: JobTag;
669
+ /**
670
+ * The Amazon SNS topic ARN that you want Amazon Textract to publish the completion status of the operation to.
671
+ */
672
+ NotificationChannel?: NotificationChannel;
673
+ /**
674
+ * Sets if the output will go to a customer defined bucket. By default, Amazon Textract will save the results internally to be accessed by the GetExpenseAnalysis operation.
675
+ */
676
+ OutputConfig?: OutputConfig;
677
+ /**
678
+ * The KMS key used to encrypt the inference results. This can be in either Key ID or Key Alias format. When a KMS key is provided, the KMS key will be used for server-side encryption of the objects in the customer bucket. When this parameter is not enabled, the result will be encrypted server side,using SSE-S3.
679
+ */
680
+ KMSKeyId?: KMSKeyId;
681
+ }
682
+ export interface StartExpenseAnalysisResponse {
683
+ /**
684
+ * A unique identifier for the text detection job. The JobId is returned from StartExpenseAnalysis. A JobId value is only valid for 7 days.
685
+ */
686
+ JobId?: JobId;
687
+ }
596
688
  export type StatusMessage = string;
597
689
  export type String = string;
598
690
  export type TextType = "HANDWRITING"|"PRINTED"|string;