cdk-comprehend-s3olap 2.0.142 → 2.0.144

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 (36) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +17 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +178 -149
  8. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +42 -34
  9. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  10. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +305 -133
  11. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +10 -3
  12. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +137 -65
  13. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +79 -68
  14. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +102 -27
  15. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +71 -70
  16. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +893 -892
  17. package/node_modules/aws-sdk/apis/wellarchitected-2020-03-31.min.json +44 -39
  18. package/node_modules/aws-sdk/clients/appflow.d.ts +26 -1
  19. package/node_modules/aws-sdk/clients/appsync.d.ts +15 -2
  20. package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
  21. package/node_modules/aws-sdk/clients/ecs.d.ts +2 -2
  22. package/node_modules/aws-sdk/clients/inspector2.d.ts +181 -9
  23. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +15 -0
  24. package/node_modules/aws-sdk/clients/kendra.d.ts +92 -5
  25. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +14 -4
  26. package/node_modules/aws-sdk/clients/opensearch.d.ts +139 -11
  27. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +12 -3
  28. package/node_modules/aws-sdk/clients/sagemaker.d.ts +6 -1
  29. package/node_modules/aws-sdk/clients/wellarchitected.d.ts +13 -2
  30. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  31. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +12 -12
  32. package/node_modules/aws-sdk/dist/aws-sdk.js +9 -3
  33. package/node_modules/aws-sdk/dist/aws-sdk.min.js +60 -60
  34. package/node_modules/aws-sdk/lib/core.js +1 -1
  35. package/node_modules/aws-sdk/package.json +1 -1
  36. package/package.json +3 -3
@@ -155,6 +155,14 @@ declare class OpenSearch extends Service {
155
155
  * Returns the configuration of an Amazon OpenSearch Service domain.
156
156
  */
157
157
  describeDomainConfig(callback?: (err: AWSError, data: OpenSearch.Types.DescribeDomainConfigResponse) => void): Request<OpenSearch.Types.DescribeDomainConfigResponse, AWSError>;
158
+ /**
159
+ * Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.
160
+ */
161
+ describeDomainHealth(params: OpenSearch.Types.DescribeDomainHealthRequest, callback?: (err: AWSError, data: OpenSearch.Types.DescribeDomainHealthResponse) => void): Request<OpenSearch.Types.DescribeDomainHealthResponse, AWSError>;
162
+ /**
163
+ * Returns information about domain and node health, the standby Availability Zone, number of nodes per Availability Zone, and shard count per node.
164
+ */
165
+ describeDomainHealth(callback?: (err: AWSError, data: OpenSearch.Types.DescribeDomainHealthResponse) => void): Request<OpenSearch.Types.DescribeDomainHealthResponse, AWSError>;
158
166
  /**
159
167
  * Returns domain configuration information about the specified Amazon OpenSearch Service domains.
160
168
  */
@@ -244,11 +252,11 @@ declare class OpenSearch extends Service {
244
252
  */
245
253
  getCompatibleVersions(callback?: (err: AWSError, data: OpenSearch.Types.GetCompatibleVersionsResponse) => void): Request<OpenSearch.Types.GetCompatibleVersionsResponse, AWSError>;
246
254
  /**
247
- * Returns a list of Amazon OpenSearch Service package versions, along with their creation time and commit message. For more information, see Custom packages for Amazon OpenSearch Service.
255
+ * Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.
248
256
  */
249
257
  getPackageVersionHistory(params: OpenSearch.Types.GetPackageVersionHistoryRequest, callback?: (err: AWSError, data: OpenSearch.Types.GetPackageVersionHistoryResponse) => void): Request<OpenSearch.Types.GetPackageVersionHistoryResponse, AWSError>;
250
258
  /**
251
- * Returns a list of Amazon OpenSearch Service package versions, along with their creation time and commit message. For more information, see Custom packages for Amazon OpenSearch Service.
259
+ * Returns a list of Amazon OpenSearch Service package versions, along with their creation time, commit message, and plugin properties (if the package is a zip plugin package). For more information, see Custom packages for Amazon OpenSearch Service.
252
260
  */
253
261
  getPackageVersionHistory(callback?: (err: AWSError, data: OpenSearch.Types.GetPackageVersionHistoryResponse) => void): Request<OpenSearch.Types.GetPackageVersionHistoryResponse, AWSError>;
254
262
  /**
@@ -717,6 +725,35 @@ declare namespace OpenSearch {
717
725
  PendingDeletion?: Boolean;
718
726
  }
719
727
  export type AutoTuneType = "SCHEDULED_ACTION"|string;
728
+ export type AvailabilityZone = string;
729
+ export interface AvailabilityZoneInfo {
730
+ /**
731
+ * The name of the Availability Zone.
732
+ */
733
+ AvailabilityZoneName?: AvailabilityZone;
734
+ /**
735
+ * The current state of the Availability Zone. Current options are Active and StandBy. Active - Data nodes in the Availability Zone are in use. StandBy - Data nodes in the Availability Zone are in a standby state. NotAvailable - Unable to retrieve information.
736
+ */
737
+ ZoneStatus?: ZoneStatus;
738
+ /**
739
+ * The total number of data nodes configured in the Availability Zone.
740
+ */
741
+ ConfiguredDataNodeCount?: NumberOfNodes;
742
+ /**
743
+ * The number of data nodes active in the Availability Zone.
744
+ */
745
+ AvailableDataNodeCount?: NumberOfNodes;
746
+ /**
747
+ * The total number of primary and replica shards in the Availability Zone.
748
+ */
749
+ TotalShards?: NumberOfShards;
750
+ /**
751
+ * The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
752
+ */
753
+ TotalUnAssignedShards?: NumberOfShards;
754
+ }
755
+ export type AvailabilityZoneInfoList = AvailabilityZoneInfo[];
756
+ export type AvailabilityZoneList = AvailabilityZone[];
720
757
  export type BackendRole = string;
721
758
  export type Boolean = boolean;
722
759
  export interface CancelServiceSoftwareUpdateRequest {
@@ -820,7 +857,7 @@ declare namespace OpenSearch {
820
857
  */
821
858
  DedicatedMasterType?: OpenSearchPartitionInstanceType;
822
859
  /**
823
- * Number of dedicated master nodes in the cluster. This number must be greater than 1, otherwise you receive a validation exception.
860
+ * Number of dedicated master nodes in the cluster. This number must be greater than 2 and not 4, otherwise you receive a validation exception.
824
861
  */
825
862
  DedicatedMasterCount?: IntegerClass;
826
863
  /**
@@ -839,6 +876,10 @@ declare namespace OpenSearch {
839
876
  * Container for cold storage configuration options.
840
877
  */
841
878
  ColdStorageOptions?: ColdStorageOptions;
879
+ /**
880
+ * A boolean that indicates whether a multi-AZ domain is turned on with a standby AZ. For more information, see Configuring a multi-AZ domain in Amazon OpenSearch Service.
881
+ */
882
+ MultiAZWithStandbyEnabled?: Boolean;
842
883
  }
843
884
  export interface ClusterConfigStatus {
844
885
  /**
@@ -1040,7 +1081,7 @@ declare namespace OpenSearch {
1040
1081
  */
1041
1082
  PackageName: PackageName;
1042
1083
  /**
1043
- * Type of package.
1084
+ * The type of package.
1044
1085
  */
1045
1086
  PackageType: PackageType;
1046
1087
  /**
@@ -1194,6 +1235,66 @@ declare namespace OpenSearch {
1194
1235
  */
1195
1236
  DomainConfig: DomainConfig;
1196
1237
  }
1238
+ export interface DescribeDomainHealthRequest {
1239
+ /**
1240
+ * The name of the domain.
1241
+ */
1242
+ DomainName: DomainName;
1243
+ }
1244
+ export interface DescribeDomainHealthResponse {
1245
+ /**
1246
+ * The current state of the domain. Processing - The domain has updates in progress. Active - Requested changes have been processed and deployed to the domain.
1247
+ */
1248
+ DomainState?: DomainState;
1249
+ /**
1250
+ * The number of Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
1251
+ */
1252
+ AvailabilityZoneCount?: NumberOfAZs;
1253
+ /**
1254
+ * The number of active Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
1255
+ */
1256
+ ActiveAvailabilityZoneCount?: NumberOfAZs;
1257
+ /**
1258
+ * The number of standby Availability Zones configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
1259
+ */
1260
+ StandByAvailabilityZoneCount?: NumberOfAZs;
1261
+ /**
1262
+ * The number of data nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
1263
+ */
1264
+ DataNodeCount?: NumberOfNodes;
1265
+ /**
1266
+ * A boolean that indicates if dedicated master nodes are activated for the domain.
1267
+ */
1268
+ DedicatedMaster?: Boolean;
1269
+ /**
1270
+ * The number of nodes that can be elected as a master node. If dedicated master nodes is turned on, this value is the number of dedicated master nodes configured for the domain. If the service is unable to fetch this information, it will return NotAvailable.
1271
+ */
1272
+ MasterEligibleNodeCount?: NumberOfNodes;
1273
+ /**
1274
+ * The number of warm nodes configured for the domain.
1275
+ */
1276
+ WarmNodeCount?: NumberOfNodes;
1277
+ /**
1278
+ * Indicates whether the domain has an elected master node. Available - The domain has an elected master node. UnAvailable - The master node hasn't yet been elected, and a quorum to elect a new master node hasn't been reached.
1279
+ */
1280
+ MasterNode?: MasterNodeStatus;
1281
+ /**
1282
+ * The current health status of your cluster. Red - At least one primary shard is not allocated to any node. Yellow - All primary shards are allocated to nodes, but some replicas aren’t. Green - All primary shards and their replicas are allocated to nodes. NotAvailable - Unable to retrieve cluster health.
1283
+ */
1284
+ ClusterHealth?: DomainHealth;
1285
+ /**
1286
+ * The total number of primary and replica shards for the domain.
1287
+ */
1288
+ TotalShards?: NumberOfShards;
1289
+ /**
1290
+ * The total number of primary and replica shards not allocated to any of the nodes for the cluster.
1291
+ */
1292
+ TotalUnAssignedShards?: NumberOfShards;
1293
+ /**
1294
+ * A list of EnvironmentInfo for the domain.
1295
+ */
1296
+ EnvironmentInformation?: EnvironmentInfoList;
1297
+ }
1197
1298
  export interface DescribeDomainRequest {
1198
1299
  /**
1199
1300
  * The name of the domain that you want information about.
@@ -1537,6 +1638,7 @@ declare namespace OpenSearch {
1537
1638
  */
1538
1639
  Status: OptionStatus;
1539
1640
  }
1641
+ export type DomainHealth = "Red"|"Yellow"|"Green"|"NotAvailable"|string;
1540
1642
  export type DomainId = string;
1541
1643
  export interface DomainInfo {
1542
1644
  /**
@@ -1588,7 +1690,7 @@ declare namespace OpenSearch {
1588
1690
  */
1589
1691
  PackageVersion?: PackageVersion;
1590
1692
  /**
1591
- * Denotes the location of the package on the OpenSearch Service cluster nodes. It's the same as synonym_path for dictionary files.
1693
+ * The relative path of the package on the OpenSearch Service cluster nodes. This is synonym_path when the package is for synonym files.
1592
1694
  */
1593
1695
  ReferencePath?: ReferencePath;
1594
1696
  /**
@@ -1598,6 +1700,7 @@ declare namespace OpenSearch {
1598
1700
  }
1599
1701
  export type DomainPackageDetailsList = DomainPackageDetails[];
1600
1702
  export type DomainPackageStatus = "ASSOCIATING"|"ASSOCIATION_FAILED"|"ACTIVE"|"DISSOCIATING"|"DISSOCIATION_FAILED"|string;
1703
+ export type DomainState = "Active"|"Processing"|"NotAvailable"|string;
1601
1704
  export interface DomainStatus {
1602
1705
  /**
1603
1706
  * Unique identifier for the domain.
@@ -1810,6 +1913,13 @@ declare namespace OpenSearch {
1810
1913
  export type Endpoint = string;
1811
1914
  export type EndpointsMap = {[key: string]: ServiceUrl};
1812
1915
  export type EngineType = "OpenSearch"|"Elasticsearch"|string;
1916
+ export interface EnvironmentInfo {
1917
+ /**
1918
+ * A list of AvailabilityZoneInfo for the domain.
1919
+ */
1920
+ AvailabilityZoneInformation?: AvailabilityZoneInfoList;
1921
+ }
1922
+ export type EnvironmentInfoList = EnvironmentInfo[];
1813
1923
  export interface ErrorDetails {
1814
1924
  /**
1815
1925
  * The type of error that occurred.
@@ -2001,8 +2111,13 @@ declare namespace OpenSearch {
2001
2111
  * Whether the instance acts as a data node, a dedicated master node, or an UltraWarm node.
2002
2112
  */
2003
2113
  InstanceRole?: InstanceRoleList;
2114
+ /**
2115
+ * The supported Availability Zones for the instance type.
2116
+ */
2117
+ AvailabilityZones?: AvailabilityZoneList;
2004
2118
  }
2005
2119
  export type InstanceTypeDetailsList = InstanceTypeDetails[];
2120
+ export type InstanceTypeString = string;
2006
2121
  export type Integer = number;
2007
2122
  export type IntegerClass = number;
2008
2123
  export type Issue = string;
@@ -2065,11 +2180,11 @@ declare namespace OpenSearch {
2065
2180
  }
2066
2181
  export interface ListInstanceTypeDetailsRequest {
2067
2182
  /**
2068
- * Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
2183
+ * The version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
2069
2184
  */
2070
2185
  EngineVersion: VersionString;
2071
2186
  /**
2072
- * Name of the domain to list instance type details for.
2187
+ * The name of the domain.
2073
2188
  */
2074
2189
  DomainName?: DomainName;
2075
2190
  /**
@@ -2080,6 +2195,14 @@ declare namespace OpenSearch {
2080
2195
  * If your initial ListInstanceTypeDetails operation returns a nextToken, you can include the returned nextToken in subsequent ListInstanceTypeDetails operations, which returns results in the next page.
2081
2196
  */
2082
2197
  NextToken?: NextToken;
2198
+ /**
2199
+ * An optional parameter that specifies the Availability Zones for the domain.
2200
+ */
2201
+ RetrieveAZs?: Boolean;
2202
+ /**
2203
+ * An optional parameter that lists information for a given instance type.
2204
+ */
2205
+ InstanceType?: InstanceTypeString;
2083
2206
  }
2084
2207
  export interface ListInstanceTypeDetailsResponse {
2085
2208
  /**
@@ -2250,6 +2373,7 @@ declare namespace OpenSearch {
2250
2373
  }
2251
2374
  export type LogType = "INDEX_SLOW_LOGS"|"SEARCH_SLOW_LOGS"|"ES_APPLICATION_LOGS"|"AUDIT_LOGS"|string;
2252
2375
  export type Long = number;
2376
+ export type MasterNodeStatus = "Available"|"UnAvailable"|string;
2253
2377
  export interface MasterUserOptions {
2254
2378
  /**
2255
2379
  * Amazon Resource Name (ARN) for the master user. Only specify if InternalUserDatabaseEnabled is false.
@@ -2286,6 +2410,9 @@ declare namespace OpenSearch {
2286
2410
  Status: OptionStatus;
2287
2411
  }
2288
2412
  export type NonEmptyString = string;
2413
+ export type NumberOfAZs = string;
2414
+ export type NumberOfNodes = string;
2415
+ export type NumberOfShards = string;
2289
2416
  export interface OffPeakWindow {
2290
2417
  /**
2291
2418
  * A custom start time for the off-peak window, in Coordinated Universal Time (UTC). The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.
@@ -2294,7 +2421,7 @@ declare namespace OpenSearch {
2294
2421
  }
2295
2422
  export interface OffPeakWindowOptions {
2296
2423
  /**
2297
- * Whether to enable an off-peak window. This option is only available when modifying a domain created prior to February 13, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
2424
+ * Whether to enable an off-peak window. This option is only available when modifying a domain created prior to February 16, 2023, not when creating a new domain. All domains created after this date have the off-peak window enabled by default. You can't disable the off-peak window after it's enabled for a domain.
2298
2425
  */
2299
2426
  Enabled?: Boolean;
2300
2427
  /**
@@ -2388,7 +2515,7 @@ declare namespace OpenSearch {
2388
2515
  */
2389
2516
  PackageID?: PackageID;
2390
2517
  /**
2391
- * User-specified name of the package.
2518
+ * The user-specified name of the package.
2392
2519
  */
2393
2520
  PackageName?: PackageName;
2394
2521
  /**
@@ -2400,7 +2527,7 @@ declare namespace OpenSearch {
2400
2527
  */
2401
2528
  PackageDescription?: PackageDescription;
2402
2529
  /**
2403
- * Current status of the package.
2530
+ * The current status of the package. The available options are AVAILABLE, COPYING, COPY_FAILED, VALIDATNG, VALIDATION_FAILED, DELETING, and DELETE_FAILED.
2404
2531
  */
2405
2532
  PackageStatus?: PackageStatus;
2406
2533
  /**
@@ -2915,7 +3042,7 @@ declare namespace OpenSearch {
2915
3042
  */
2916
3043
  CognitoOptions?: CognitoOptions;
2917
3044
  /**
2918
- * Key-value pairs to specify advanced configuration options. The following key-value pairs are supported: "rest.action.multi.allow_explicit_index": "true" | "false" - Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true. "indices.fielddata.cache.size": "80" - Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded. "indices.query.bool.max_clause_count": "1024" - Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in a TooManyClauses error. "override_main_response_version": "true" | "false" - Note the use of a string rather than a boolean. Specifies whether the domain reports its version as 7.10 to allow Elasticsearch OSS clients and plugins to continue working with it. Default is false when creating a domain and true when upgrading a domain. For more information, see Advanced cluster parameters.
3045
+ * Key-value pairs to specify advanced configuration options. The following key-value pairs are supported: "rest.action.multi.allow_explicit_index": "true" | "false" - Note the use of a string rather than a boolean. Specifies whether explicit references to indexes are allowed inside the body of HTTP requests. If you want to configure access policies for domain sub-resources, such as specific indexes and domain APIs, you must disable this property. Default is true. "indices.fielddata.cache.size": "80" - Note the use of a string rather than a boolean. Specifies the percentage of heap space allocated to field data. Default is unbounded. "indices.query.bool.max_clause_count": "1024" - Note the use of a string rather than a boolean. Specifies the maximum number of clauses allowed in a Lucene boolean query. Default is 1,024. Queries with more than the permitted number of clauses result in a TooManyClauses error. For more information, see Advanced cluster parameters.
2919
3046
  */
2920
3047
  AdvancedOptions?: AdvancedOptions;
2921
3048
  /**
@@ -3277,6 +3404,7 @@ declare namespace OpenSearch {
3277
3404
  */
3278
3405
  AvailabilityZoneCount?: IntegerClass;
3279
3406
  }
3407
+ export type ZoneStatus = "Active"|"StandBy"|"NotAvailable"|string;
3280
3408
  /**
3281
3409
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
3282
3410
  */
@@ -20,11 +20,11 @@ declare class Resiliencehub extends Service {
20
20
  */
21
21
  addDraftAppVersionResourceMappings(callback?: (err: AWSError, data: Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse) => void): Request<Resiliencehub.Types.AddDraftAppVersionResourceMappingsResponse, AWSError>;
22
22
  /**
23
- * Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to 20–CloudFormation stacks, and an appropriate resiliency policy. After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
23
+ * Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe an Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. For more information about the number of resources supported per application, see Service Quotas. After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
24
24
  */
25
25
  createApp(params: Resiliencehub.Types.CreateAppRequest, callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppResponse) => void): Request<Resiliencehub.Types.CreateAppResponse, AWSError>;
26
26
  /**
27
- * Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to 20–CloudFormation stacks, and an appropriate resiliency policy. After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
27
+ * Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe an Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. For more information about the number of resources supported per application, see Service Quotas. After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
28
28
  */
29
29
  createApp(callback?: (err: AWSError, data: Resiliencehub.Types.CreateAppResponse) => void): Request<Resiliencehub.Types.CreateAppResponse, AWSError>;
30
30
  /**
@@ -971,7 +971,7 @@ declare namespace Resiliencehub {
971
971
  /**
972
972
  * The name of the resource.
973
973
  */
974
- resourceName: EntityName;
974
+ resourceName?: EntityName;
975
975
  /**
976
976
  * The type of resource.
977
977
  */
@@ -2125,6 +2125,10 @@ declare namespace Resiliencehub {
2125
2125
  * The logical identifier of the resource.
2126
2126
  */
2127
2127
  logicalResourceId: LogicalResourceId;
2128
+ /**
2129
+ * The name of the parent resource.
2130
+ */
2131
+ parentResourceName?: EntityName;
2128
2132
  /**
2129
2133
  * The physical identifier of the resource.
2130
2134
  */
@@ -2137,6 +2141,10 @@ declare namespace Resiliencehub {
2137
2141
  * The type of resource.
2138
2142
  */
2139
2143
  resourceType: String255;
2144
+ /**
2145
+ * The type of input source.
2146
+ */
2147
+ sourceType?: ResourceSourceType;
2140
2148
  }
2141
2149
  export interface PhysicalResourceId {
2142
2150
  /**
@@ -2482,6 +2490,7 @@ declare namespace Resiliencehub {
2482
2490
  export type ResourceMappingList = ResourceMapping[];
2483
2491
  export type ResourceMappingType = "CfnStack"|"Resource"|"AppRegistryApp"|"ResourceGroup"|"Terraform"|"EKS"|string;
2484
2492
  export type ResourceResolutionStatusType = "Pending"|"InProgress"|"Failed"|"Success"|string;
2493
+ export type ResourceSourceType = "AppTemplate"|"Discovered"|string;
2485
2494
  export interface S3Location {
2486
2495
  /**
2487
2496
  * The name of the Amazon S3 bucket.
@@ -3158,6 +3158,10 @@ declare namespace SageMaker {
3158
3158
  * The channel type (optional) is an enum string. The default value is training. Channels for training and validation must share the same ContentType and TargetAttributeName. For information on specifying training and validation channel types, see How to specify training and validation datasets.
3159
3159
  */
3160
3160
  ChannelType?: AutoMLChannelType;
3161
+ /**
3162
+ * If specified, this column name indicates which column of the dataset should be treated as sample weights for use by the objective metric during the training, evaluation, and the selection of the best model. This column is not considered as a predictive feature. For more information on Autopilot metrics, see Metrics and validation. Sample weights should be numeric, non-negative, with larger values indicating which rows are more important than others. Data points that have invalid or no weight value are excluded. Support for sample weights is available in Ensembling mode only.
3163
+ */
3164
+ SampleWeightAttributeName?: SampleWeightAttributeName;
3161
3165
  }
3162
3166
  export type AutoMLChannelType = "training"|"validation"|string;
3163
3167
  export interface AutoMLContainerDefinition {
@@ -3259,7 +3263,7 @@ declare namespace SageMaker {
3259
3263
  export type AutoMLJobName = string;
3260
3264
  export interface AutoMLJobObjective {
3261
3265
  /**
3262
- * The name of the objective metric used to measure the predictive quality of a machine learning system. This metric is optimized during training to provide the best estimate for model parameter values from data. Here are the options: Accuracy The ratio of the number of correctly classified items to the total number of (correctly and incorrectly) classified items. It is used for both binary and multiclass classification. Accuracy measures how close the predicted class values are to the actual values. Values for accuracy metrics vary between zero (0) and one (1). A value of 1 indicates perfect accuracy, and 0 indicates perfect inaccuracy. AUC The area under the curve (AUC) metric is used to compare and evaluate binary classification by algorithms that return probabilities, such as logistic regression. To map the probabilities into classifications, these are compared against a threshold value. The relevant curve is the receiver operating characteristic curve (ROC curve). The ROC curve plots the true positive rate (TPR) of predictions (or recall) against the false positive rate (FPR) as a function of the threshold value, above which a prediction is considered positive. Increasing the threshold results in fewer false positives, but more false negatives. AUC is the area under this ROC curve. Therefore, AUC provides an aggregated measure of the model performance across all possible classification thresholds. AUC scores vary between 0 and 1. A score of 1 indicates perfect accuracy, and a score of one half (0.5) indicates that the prediction is not better than a random classifier. BalancedAccuracy BalancedAccuracy is a metric that measures the ratio of accurate predictions to all predictions. This ratio is calculated after normalizing true positives (TP) and true negatives (TN) by the total number of positive (P) and negative (N) values. It is used in both binary and multiclass classification and is defined as follows: 0.5*((TP/P)+(TN/N)), with values ranging from 0 to 1. BalancedAccuracy gives a better measure of accuracy when the number of positives or negatives differ greatly from each other in an imbalanced dataset. For example, when only 1% of email is spam. F1 The F1 score is the harmonic mean of the precision and recall, defined as follows: F1 = 2 * (precision * recall) / (precision + recall). It is used for binary classification into classes traditionally referred to as positive and negative. Predictions are said to be true when they match their actual (correct) class, and false when they do not. Precision is the ratio of the true positive predictions to all positive predictions, and it includes the false positives in a dataset. Precision measures the quality of the prediction when it predicts the positive class. Recall (or sensitivity) is the ratio of the true positive predictions to all actual positive instances. Recall measures how completely a model predicts the actual class members in a dataset. F1 scores vary between 0 and 1. A score of 1 indicates the best possible performance, and 0 indicates the worst. F1macro The F1macro score applies F1 scoring to multiclass classification problems. It does this by calculating the precision and recall, and then taking their harmonic mean to calculate the F1 score for each class. Lastly, the F1macro averages the individual scores to obtain the F1macro score. F1macro scores vary between 0 and 1. A score of 1 indicates the best possible performance, and 0 indicates the worst. MAE The mean absolute error (MAE) is a measure of how different the predicted and actual values are, when they're averaged over all values. MAE is commonly used in regression analysis to understand model prediction error. If there is linear regression, MAE represents the average distance from a predicted line to the actual value. MAE is defined as the sum of absolute errors divided by the number of observations. Values range from 0 to infinity, with smaller numbers indicating a better model fit to the data. MSE The mean squared error (MSE) is the average of the squared differences between the predicted and actual values. It is used for regression. MSE values are always positive. The better a model is at predicting the actual values, the smaller the MSE value is Precision Precision measures how well an algorithm predicts the true positives (TP) out of all of the positives that it identifies. It is defined as follows: Precision = TP/(TP+FP), with values ranging from zero (0) to one (1), and is used in binary classification. Precision is an important metric when the cost of a false positive is high. For example, the cost of a false positive is very high if an airplane safety system is falsely deemed safe to fly. A false positive (FP) reflects a positive prediction that is actually negative in the data. PrecisionMacro The precision macro computes precision for multiclass classification problems. It does this by calculating precision for each class and averaging scores to obtain precision for several classes. PrecisionMacro scores range from zero (0) to one (1). Higher scores reflect the model's ability to predict true positives (TP) out of all of the positives that it identifies, averaged across multiple classes. R2 R2, also known as the coefficient of determination, is used in regression to quantify how much a model can explain the variance of a dependent variable. Values range from one (1) to negative one (-1). Higher numbers indicate a higher fraction of explained variability. R2 values close to zero (0) indicate that very little of the dependent variable can be explained by the model. Negative values indicate a poor fit and that the model is outperformed by a constant function. For linear regression, this is a horizontal line. Recall Recall measures how well an algorithm correctly predicts all of the true positives (TP) in a dataset. A true positive is a positive prediction that is also an actual positive value in the data. Recall is defined as follows: Recall = TP/(TP+FN), with values ranging from 0 to 1. Higher scores reflect a better ability of the model to predict true positives (TP) in the data, and is used in binary classification. Recall is important when testing for cancer because it's used to find all of the true positives. A false positive (FP) reflects a positive prediction that is actually negative in the data. It is often insufficient to measure only recall, because predicting every output as a true positive yield a perfect recall score. RecallMacro The RecallMacro computes recall for multiclass classification problems by calculating recall for each class and averaging scores to obtain recall for several classes. RecallMacro scores range from 0 to 1. Higher scores reflect the model's ability to predict true positives (TP) in a dataset. Whereas, a true positive reflects a positive prediction that is also an actual positive value in the data. It is often insufficient to measure only recall, because predicting every output as a true positive yields a perfect recall score. RMSE Root mean squared error (RMSE) measures the square root of the squared difference between predicted and actual values, and it's averaged over all values. It is used in regression analysis to understand model prediction error. It's an important metric to indicate the presence of large model errors and outliers. Values range from zero (0) to infinity, with smaller numbers indicating a better model fit to the data. RMSE is dependent on scale, and should not be used to compare datasets of different sizes. If you do not specify a metric explicitly, the default behavior is to automatically use: MSE: for regression. F1: for binary classification Accuracy: for multiclass classification.
3266
+ * The name of the objective metric used to measure the predictive quality of a machine learning system. During training, the model's parameters are updated iteratively to optimize its performance based on the feedback provided by the objective metric when evaluating the model on the validation dataset. For the list of all available metrics supported by Autopilot, see Autopilot metrics. If you do not specify a metric explicitly, the default behavior is to automatically use: MSE: for regression. F1: for binary classification Accuracy: for multiclass classification.
3263
3267
  */
3264
3268
  MetricName: AutoMLMetricEnum;
3265
3269
  }
@@ -19438,6 +19442,7 @@ declare namespace SageMaker {
19438
19442
  export type SageMakerImageVersionAlias = string;
19439
19443
  export type SageMakerImageVersionAliases = SageMakerImageVersionAlias[];
19440
19444
  export type SagemakerServicecatalogStatus = "Enabled"|"Disabled"|string;
19445
+ export type SampleWeightAttributeName = string;
19441
19446
  export type SamplingPercentage = number;
19442
19447
  export interface ScheduleConfig {
19443
19448
  /**
@@ -308,11 +308,11 @@ declare class WellArchitected extends Service {
308
308
  */
309
309
  updateAnswer(callback?: (err: AWSError, data: WellArchitected.Types.UpdateAnswerOutput) => void): Request<WellArchitected.Types.UpdateAnswerOutput, AWSError>;
310
310
  /**
311
- * Updates whether the Amazon Web Services account is opted into organization sharing features.
311
+ * Updates whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
312
312
  */
313
313
  updateGlobalSettings(params: WellArchitected.Types.UpdateGlobalSettingsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
314
314
  /**
315
- * Updates whether the Amazon Web Services account is opted into organization sharing features.
315
+ * Updates whether the Amazon Web Services account is opted into organization sharing and discovery integration features.
316
316
  */
317
317
  updateGlobalSettings(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
318
318
  /**
@@ -700,6 +700,7 @@ declare namespace WellArchitected {
700
700
  WorkloadId?: WorkloadId;
701
701
  ShareId?: ShareId;
702
702
  }
703
+ export type DefinitionType = "WORKLOAD_METADATA"|"APP_REGISTRY"|string;
703
704
  export interface DeleteLensInput {
704
705
  LensAlias: LensAlias;
705
706
  ClientRequestToken: ClientRequestToken;
@@ -727,6 +728,7 @@ declare namespace WellArchitected {
727
728
  WorkloadId: WorkloadId;
728
729
  LensAliases: LensAliases;
729
730
  }
731
+ export type DiscoveryIntegrationStatus = "ENABLED"|"DISABLED"|string;
730
732
  export type DisplayText = string;
731
733
  export interface ExportLensInput {
732
734
  LensAlias: LensAlias;
@@ -1463,6 +1465,10 @@ declare namespace WellArchitected {
1463
1465
  * The status of organization sharing settings.
1464
1466
  */
1465
1467
  OrganizationSharingStatus?: OrganizationSharingStatus;
1468
+ /**
1469
+ * The status of discovery support settings.
1470
+ */
1471
+ DiscoveryIntegrationStatus?: DiscoveryIntegrationStatus;
1466
1472
  }
1467
1473
  export interface UpdateLensReviewInput {
1468
1474
  WorkloadId: WorkloadId;
@@ -1593,6 +1599,10 @@ declare namespace WellArchitected {
1593
1599
  * Discovery integration status in respect to Trusted Advisor for the workload.
1594
1600
  */
1595
1601
  TrustedAdvisorIntegrationStatus?: TrustedAdvisorIntegrationStatus;
1602
+ /**
1603
+ * The mode to use for identifying resources associated with the workload. You can specify WORKLOAD_METADATA, APP_REGISTRY, or both.
1604
+ */
1605
+ WorkloadResourceDefinition?: WorkloadResourceDefinition;
1596
1606
  }
1597
1607
  export type WorkloadEnvironment = "PRODUCTION"|"PREPRODUCTION"|string;
1598
1608
  export type WorkloadId = string;
@@ -1605,6 +1615,7 @@ declare namespace WellArchitected {
1605
1615
  export type WorkloadNonAwsRegion = string;
1606
1616
  export type WorkloadNonAwsRegions = WorkloadNonAwsRegion[];
1607
1617
  export type WorkloadPillarPriorities = PillarId[];
1618
+ export type WorkloadResourceDefinition = DefinitionType[];
1608
1619
  export type WorkloadReviewOwner = string;
1609
1620
  export interface WorkloadShare {
1610
1621
  ShareId?: ShareId;
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1369.0',
86
+ VERSION: '2.1371.0',
87
87
 
88
88
  /**
89
89
  * @api private