aws-sdk 2.774.0 → 2.778.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -1
- package/README.md +1 -1
- package/apis/appflow-2020-08-23.min.json +63 -40
- package/apis/batch-2016-08-10.min.json +64 -49
- package/apis/cloudfront-2020-05-31.min.json +495 -147
- package/apis/ec2-2016-11-15.min.json +150 -147
- package/apis/globalaccelerator-2018-08-08.min.json +40 -17
- package/apis/glue-2017-03-31.min.json +299 -284
- package/apis/kendra-2019-02-03.min.json +14 -7
- package/apis/mediatailor-2018-04-23.min.json +32 -7
- package/apis/quicksight-2018-04-01.min.json +112 -105
- package/apis/sns-2010-03-31.min.json +5 -2
- package/clients/accessanalyzer.d.ts +4 -4
- package/clients/appflow.d.ts +48 -9
- package/clients/appsync.d.ts +7 -7
- package/clients/batch.d.ts +25 -1
- package/clients/cloudfront.d.ts +329 -51
- package/clients/ec2.d.ts +19 -14
- package/clients/elasticbeanstalk.d.ts +1 -1
- package/clients/globalaccelerator.d.ts +40 -17
- package/clients/glue.d.ts +19 -0
- package/clients/kendra.d.ts +21 -9
- package/clients/macie2.d.ts +15 -15
- package/clients/mediatailor.d.ts +26 -0
- package/clients/organizations.d.ts +100 -100
- package/clients/quicksight.d.ts +19 -4
- package/clients/servicecatalog.d.ts +1 -1
- package/clients/sns.d.ts +18 -6
- package/dist/aws-sdk-core-react-native.js +11 -5
- package/dist/aws-sdk-react-native.js +31 -19
- package/dist/aws-sdk.js +663 -303
- package/dist/aws-sdk.min.js +72 -71
- package/lib/core.js +1 -1
- package/lib/util.js +10 -4
- package/package.json +1 -1
|
@@ -490,14 +490,17 @@
|
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
}
|
|
493
|
+
},
|
|
494
|
+
"MessageDeduplicationId": {},
|
|
495
|
+
"MessageGroupId": {}
|
|
494
496
|
}
|
|
495
497
|
},
|
|
496
498
|
"output": {
|
|
497
499
|
"resultWrapper": "PublishResult",
|
|
498
500
|
"type": "structure",
|
|
499
501
|
"members": {
|
|
500
|
-
"MessageId": {}
|
|
502
|
+
"MessageId": {},
|
|
503
|
+
"SequenceNumber": {}
|
|
501
504
|
}
|
|
502
505
|
}
|
|
503
506
|
},
|
|
@@ -68,11 +68,11 @@ declare class AccessAnalyzer extends Service {
|
|
|
68
68
|
*/
|
|
69
69
|
getAnalyzer(callback?: (err: AWSError, data: AccessAnalyzer.Types.GetAnalyzerResponse) => void): Request<AccessAnalyzer.Types.GetAnalyzerResponse, AWSError>;
|
|
70
70
|
/**
|
|
71
|
-
* Retrieves information about an archive rule.
|
|
71
|
+
* Retrieves information about an archive rule. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide.
|
|
72
72
|
*/
|
|
73
73
|
getArchiveRule(params: AccessAnalyzer.Types.GetArchiveRuleRequest, callback?: (err: AWSError, data: AccessAnalyzer.Types.GetArchiveRuleResponse) => void): Request<AccessAnalyzer.Types.GetArchiveRuleResponse, AWSError>;
|
|
74
74
|
/**
|
|
75
|
-
* Retrieves information about an archive rule.
|
|
75
|
+
* Retrieves information about an archive rule. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide.
|
|
76
76
|
*/
|
|
77
77
|
getArchiveRule(callback?: (err: AWSError, data: AccessAnalyzer.Types.GetArchiveRuleResponse) => void): Request<AccessAnalyzer.Types.GetArchiveRuleResponse, AWSError>;
|
|
78
78
|
/**
|
|
@@ -108,11 +108,11 @@ declare class AccessAnalyzer extends Service {
|
|
|
108
108
|
*/
|
|
109
109
|
listArchiveRules(callback?: (err: AWSError, data: AccessAnalyzer.Types.ListArchiveRulesResponse) => void): Request<AccessAnalyzer.Types.ListArchiveRulesResponse, AWSError>;
|
|
110
110
|
/**
|
|
111
|
-
* Retrieves a list of findings generated by the specified analyzer.
|
|
111
|
+
* Retrieves a list of findings generated by the specified analyzer. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide.
|
|
112
112
|
*/
|
|
113
113
|
listFindings(params: AccessAnalyzer.Types.ListFindingsRequest, callback?: (err: AWSError, data: AccessAnalyzer.Types.ListFindingsResponse) => void): Request<AccessAnalyzer.Types.ListFindingsResponse, AWSError>;
|
|
114
114
|
/**
|
|
115
|
-
* Retrieves a list of findings generated by the specified analyzer.
|
|
115
|
+
* Retrieves a list of findings generated by the specified analyzer. To learn about filter keys that you can use to create an archive rule, see Access Analyzer filter keys in the IAM User Guide.
|
|
116
116
|
*/
|
|
117
117
|
listFindings(callback?: (err: AWSError, data: AccessAnalyzer.Types.ListFindingsResponse) => void): Request<AccessAnalyzer.Types.ListFindingsResponse, AWSError>;
|
|
118
118
|
/**
|
package/clients/appflow.d.ts
CHANGED
|
@@ -197,6 +197,7 @@ declare namespace Appflow {
|
|
|
197
197
|
export type Boolean = boolean;
|
|
198
198
|
export type BucketName = string;
|
|
199
199
|
export type BucketPrefix = string;
|
|
200
|
+
export type ClientCredentialsArn = string;
|
|
200
201
|
export type ClientId = string;
|
|
201
202
|
export type ClientSecret = string;
|
|
202
203
|
export type ConnectionMode = "Public"|"Private"|string;
|
|
@@ -691,6 +692,7 @@ declare namespace Appflow {
|
|
|
691
692
|
object: Object;
|
|
692
693
|
}
|
|
693
694
|
export type _Date = Date;
|
|
695
|
+
export type DatetimeTypeFieldName = string;
|
|
694
696
|
export interface DeleteConnectorProfileRequest {
|
|
695
697
|
/**
|
|
696
698
|
* The name of the connector profile. The name is unique for each ConnectorProfile in your account.
|
|
@@ -916,6 +918,14 @@ declare namespace Appflow {
|
|
|
916
918
|
* Specifies if the flow run can either insert new rows in the destination field if they do not already exist, or update them if they do.
|
|
917
919
|
*/
|
|
918
920
|
isUpsertable?: Boolean;
|
|
921
|
+
/**
|
|
922
|
+
* Specifies whether the field can be updated during an UPDATE or UPSERT write operation.
|
|
923
|
+
*/
|
|
924
|
+
isUpdatable?: Boolean;
|
|
925
|
+
/**
|
|
926
|
+
* A list of supported write operations. For each write operation listed, this field can be used in idFieldNames when that write operation is present as a destination option.
|
|
927
|
+
*/
|
|
928
|
+
supportedWriteOperations?: SupportedWriteOperationList;
|
|
919
929
|
}
|
|
920
930
|
export interface DestinationFlowConfig {
|
|
921
931
|
/**
|
|
@@ -1129,7 +1139,7 @@ declare namespace Appflow {
|
|
|
1129
1139
|
*/
|
|
1130
1140
|
clientId: ClientId;
|
|
1131
1141
|
/**
|
|
1132
|
-
* The client secret used by the
|
|
1142
|
+
* The client secret used by the OAuth client to authenticate to the authorization server.
|
|
1133
1143
|
*/
|
|
1134
1144
|
clientSecret: ClientSecret;
|
|
1135
1145
|
/**
|
|
@@ -1141,7 +1151,7 @@ declare namespace Appflow {
|
|
|
1141
1151
|
*/
|
|
1142
1152
|
refreshToken?: RefreshToken;
|
|
1143
1153
|
/**
|
|
1144
|
-
* The
|
|
1154
|
+
* The OAuth requirement needed to request security tokens from the connector endpoint.
|
|
1145
1155
|
*/
|
|
1146
1156
|
oAuthRequest?: ConnectorOAuthRequest;
|
|
1147
1157
|
}
|
|
@@ -1160,7 +1170,14 @@ declare namespace Appflow {
|
|
|
1160
1170
|
object: Object;
|
|
1161
1171
|
}
|
|
1162
1172
|
export type Group = string;
|
|
1173
|
+
export type IdFieldNameList = Name[];
|
|
1163
1174
|
export type Identifier = string;
|
|
1175
|
+
export interface IncrementalPullConfig {
|
|
1176
|
+
/**
|
|
1177
|
+
* A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.
|
|
1178
|
+
*/
|
|
1179
|
+
datetimeTypeFieldName?: DatetimeTypeFieldName;
|
|
1180
|
+
}
|
|
1164
1181
|
export type InforNexusConnectorOperator = "PROJECTION"|"BETWEEN"|"EQUAL_TO"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string;
|
|
1165
1182
|
export interface InforNexusConnectorProfileCredentials {
|
|
1166
1183
|
/**
|
|
@@ -1258,7 +1275,7 @@ declare namespace Appflow {
|
|
|
1258
1275
|
*/
|
|
1259
1276
|
clientId: ClientId;
|
|
1260
1277
|
/**
|
|
1261
|
-
* The client secret used by the
|
|
1278
|
+
* The client secret used by the OAuth client to authenticate to the authorization server.
|
|
1262
1279
|
*/
|
|
1263
1280
|
clientSecret: ClientSecret;
|
|
1264
1281
|
/**
|
|
@@ -1266,7 +1283,7 @@ declare namespace Appflow {
|
|
|
1266
1283
|
*/
|
|
1267
1284
|
accessToken?: AccessToken;
|
|
1268
1285
|
/**
|
|
1269
|
-
* The
|
|
1286
|
+
* The OAuth requirement needed to request security tokens from the connector endpoint.
|
|
1270
1287
|
*/
|
|
1271
1288
|
oAuthRequest?: ConnectorOAuthRequest;
|
|
1272
1289
|
}
|
|
@@ -1407,9 +1424,13 @@ declare namespace Appflow {
|
|
|
1407
1424
|
*/
|
|
1408
1425
|
refreshToken?: RefreshToken;
|
|
1409
1426
|
/**
|
|
1410
|
-
* The
|
|
1427
|
+
* The OAuth requirement needed to request security tokens from the connector endpoint.
|
|
1411
1428
|
*/
|
|
1412
1429
|
oAuthRequest?: ConnectorOAuthRequest;
|
|
1430
|
+
/**
|
|
1431
|
+
* The secret manager ARN, which contains the client ID and client secret of the connected app.
|
|
1432
|
+
*/
|
|
1433
|
+
clientCredentialsArn?: ClientCredentialsArn;
|
|
1413
1434
|
}
|
|
1414
1435
|
export interface SalesforceConnectorProfileProperties {
|
|
1415
1436
|
/**
|
|
@@ -1426,10 +1447,18 @@ declare namespace Appflow {
|
|
|
1426
1447
|
* The object specified in the Salesforce flow destination.
|
|
1427
1448
|
*/
|
|
1428
1449
|
object: Object;
|
|
1450
|
+
/**
|
|
1451
|
+
* The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
|
|
1452
|
+
*/
|
|
1453
|
+
idFieldNames?: IdFieldNameList;
|
|
1429
1454
|
/**
|
|
1430
1455
|
* The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.
|
|
1431
1456
|
*/
|
|
1432
1457
|
errorHandlingConfig?: ErrorHandlingConfig;
|
|
1458
|
+
/**
|
|
1459
|
+
* This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.
|
|
1460
|
+
*/
|
|
1461
|
+
writeOperationType?: WriteOperationType;
|
|
1433
1462
|
}
|
|
1434
1463
|
export interface SalesforceMetadata {
|
|
1435
1464
|
/**
|
|
@@ -1526,7 +1555,7 @@ declare namespace Appflow {
|
|
|
1526
1555
|
*/
|
|
1527
1556
|
clientId: ClientId;
|
|
1528
1557
|
/**
|
|
1529
|
-
* The client secret used by the
|
|
1558
|
+
* The client secret used by the OAuth client to authenticate to the authorization server.
|
|
1530
1559
|
*/
|
|
1531
1560
|
clientSecret: ClientSecret;
|
|
1532
1561
|
/**
|
|
@@ -1534,7 +1563,7 @@ declare namespace Appflow {
|
|
|
1534
1563
|
*/
|
|
1535
1564
|
accessToken?: AccessToken;
|
|
1536
1565
|
/**
|
|
1537
|
-
* The
|
|
1566
|
+
* The OAuth requirement needed to request security tokens from the connector endpoint.
|
|
1538
1567
|
*/
|
|
1539
1568
|
oAuthRequest?: ConnectorOAuthRequest;
|
|
1540
1569
|
}
|
|
@@ -1702,6 +1731,10 @@ declare namespace Appflow {
|
|
|
1702
1731
|
* Specifies the information that is required to query a particular source connector.
|
|
1703
1732
|
*/
|
|
1704
1733
|
sourceConnectorProperties: SourceConnectorProperties;
|
|
1734
|
+
/**
|
|
1735
|
+
* Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
|
|
1736
|
+
*/
|
|
1737
|
+
incrementalPullConfig?: IncrementalPullConfig;
|
|
1705
1738
|
}
|
|
1706
1739
|
export type Stage = string;
|
|
1707
1740
|
export interface StartFlowRequest {
|
|
@@ -1719,6 +1752,10 @@ declare namespace Appflow {
|
|
|
1719
1752
|
* Indicates the current status of the flow.
|
|
1720
1753
|
*/
|
|
1721
1754
|
flowStatus?: FlowStatus;
|
|
1755
|
+
/**
|
|
1756
|
+
* Returns the internal execution ID of an on-demand flow when the flow is started. For scheduled or event-triggered flows, this value is null.
|
|
1757
|
+
*/
|
|
1758
|
+
executionId?: ExecutionId;
|
|
1722
1759
|
}
|
|
1723
1760
|
export interface StopFlowRequest {
|
|
1724
1761
|
/**
|
|
@@ -1744,6 +1781,7 @@ declare namespace Appflow {
|
|
|
1744
1781
|
v1: FieldTypeDetails;
|
|
1745
1782
|
}
|
|
1746
1783
|
export type SupportedValueList = Value[];
|
|
1784
|
+
export type SupportedWriteOperationList = WriteOperationType[];
|
|
1747
1785
|
export type TagKey = string;
|
|
1748
1786
|
export type TagKeyList = TagKey[];
|
|
1749
1787
|
export type TagMap = {[key: string]: TagValue};
|
|
@@ -1911,6 +1949,7 @@ declare namespace Appflow {
|
|
|
1911
1949
|
object: Object;
|
|
1912
1950
|
}
|
|
1913
1951
|
export type Warehouse = string;
|
|
1952
|
+
export type WriteOperationType = "INSERT"|"UPSERT"|"UPDATE"|string;
|
|
1914
1953
|
export type ZendeskConnectorOperator = "PROJECTION"|"GREATER_THAN"|"ADDITION"|"MULTIPLICATION"|"DIVISION"|"SUBTRACTION"|"MASK_ALL"|"MASK_FIRST_N"|"MASK_LAST_N"|"VALIDATE_NON_NULL"|"VALIDATE_NON_ZERO"|"VALIDATE_NON_NEGATIVE"|"VALIDATE_NUMERIC"|"NO_OP"|string;
|
|
1915
1954
|
export interface ZendeskConnectorProfileCredentials {
|
|
1916
1955
|
/**
|
|
@@ -1918,7 +1957,7 @@ declare namespace Appflow {
|
|
|
1918
1957
|
*/
|
|
1919
1958
|
clientId: ClientId;
|
|
1920
1959
|
/**
|
|
1921
|
-
* The client secret used by the
|
|
1960
|
+
* The client secret used by the OAuth client to authenticate to the authorization server.
|
|
1922
1961
|
*/
|
|
1923
1962
|
clientSecret: ClientSecret;
|
|
1924
1963
|
/**
|
|
@@ -1926,7 +1965,7 @@ declare namespace Appflow {
|
|
|
1926
1965
|
*/
|
|
1927
1966
|
accessToken?: AccessToken;
|
|
1928
1967
|
/**
|
|
1929
|
-
* The
|
|
1968
|
+
* The OAuth requirement needed to request security tokens from the connector endpoint.
|
|
1930
1969
|
*/
|
|
1931
1970
|
oAuthRequest?: ConnectorOAuthRequest;
|
|
1932
1971
|
}
|
package/clients/appsync.d.ts
CHANGED
|
@@ -362,7 +362,7 @@ declare namespace AppSync {
|
|
|
362
362
|
*/
|
|
363
363
|
ttl?: Long;
|
|
364
364
|
/**
|
|
365
|
-
* Caching behavior. FULL_REQUEST_CACHING: All requests are fully cached. PER_RESOLVER_CACHING: Individual
|
|
365
|
+
* Caching behavior. FULL_REQUEST_CACHING: All requests are fully cached. PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
|
|
366
366
|
*/
|
|
367
367
|
apiCachingBehavior?: ApiCachingBehavior;
|
|
368
368
|
/**
|
|
@@ -374,7 +374,7 @@ declare namespace AppSync {
|
|
|
374
374
|
*/
|
|
375
375
|
atRestEncryptionEnabled?: Boolean;
|
|
376
376
|
/**
|
|
377
|
-
* The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are
|
|
377
|
+
* The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged: T2_SMALL: A t2.small instance type. T2_MEDIUM: A t2.medium instance type. R4_LARGE: A r4.large instance type. R4_XLARGE: A r4.xlarge instance type. R4_2XLARGE: A r4.2xlarge instance type. R4_4XLARGE: A r4.4xlarge instance type. R4_8XLARGE: A r4.8xlarge instance type.
|
|
378
378
|
*/
|
|
379
379
|
type?: ApiCacheType;
|
|
380
380
|
/**
|
|
@@ -474,11 +474,11 @@ declare namespace AppSync {
|
|
|
474
474
|
*/
|
|
475
475
|
atRestEncryptionEnabled?: Boolean;
|
|
476
476
|
/**
|
|
477
|
-
* Caching behavior. FULL_REQUEST_CACHING: All requests are fully cached. PER_RESOLVER_CACHING: Individual
|
|
477
|
+
* Caching behavior. FULL_REQUEST_CACHING: All requests are fully cached. PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
|
|
478
478
|
*/
|
|
479
479
|
apiCachingBehavior: ApiCachingBehavior;
|
|
480
480
|
/**
|
|
481
|
-
* The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are
|
|
481
|
+
* The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged: T2_SMALL: A t2.small instance type. T2_MEDIUM: A t2.medium instance type. R4_LARGE: A r4.large instance type. R4_XLARGE: A r4.xlarge instance type. R4_2XLARGE: A r4.2xlarge instance type. R4_4XLARGE: A r4.4xlarge instance type. R4_8XLARGE: A r4.8xlarge instance type.
|
|
482
482
|
*/
|
|
483
483
|
type: ApiCacheType;
|
|
484
484
|
}
|
|
@@ -1094,7 +1094,7 @@ declare namespace AppSync {
|
|
|
1094
1094
|
*/
|
|
1095
1095
|
xrayEnabled?: Boolean;
|
|
1096
1096
|
/**
|
|
1097
|
-
* The ARN of the AWS WAF ACL associated with this GraphqlApi if one exists.
|
|
1097
|
+
* The ARN of the AWS Web Application Firewall (WAF) ACL associated with this GraphqlApi, if one exists.
|
|
1098
1098
|
*/
|
|
1099
1099
|
wafWebAclArn?: String;
|
|
1100
1100
|
}
|
|
@@ -1526,11 +1526,11 @@ declare namespace AppSync {
|
|
|
1526
1526
|
*/
|
|
1527
1527
|
ttl: Long;
|
|
1528
1528
|
/**
|
|
1529
|
-
* Caching behavior. FULL_REQUEST_CACHING: All requests are fully cached. PER_RESOLVER_CACHING: Individual
|
|
1529
|
+
* Caching behavior. FULL_REQUEST_CACHING: All requests are fully cached. PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
|
|
1530
1530
|
*/
|
|
1531
1531
|
apiCachingBehavior: ApiCachingBehavior;
|
|
1532
1532
|
/**
|
|
1533
|
-
* The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are
|
|
1533
|
+
* The cache instance type. Valid values are SMALL MEDIUM LARGE XLARGE LARGE_2X LARGE_4X LARGE_8X (not available in all regions) LARGE_12X Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used. The following legacy instance types are available, but their use is discouraged: T2_SMALL: A t2.small instance type. T2_MEDIUM: A t2.medium instance type. R4_LARGE: A r4.large instance type. R4_XLARGE: A r4.xlarge instance type. R4_2XLARGE: A r4.2xlarge instance type. R4_4XLARGE: A r4.4xlarge instance type. R4_8XLARGE: A r4.8xlarge instance type.
|
|
1534
1534
|
*/
|
|
1535
1535
|
type: ApiCacheType;
|
|
1536
1536
|
}
|
package/clients/batch.d.ts
CHANGED
|
@@ -804,6 +804,25 @@ declare namespace Batch {
|
|
|
804
804
|
export type DeviceCgroupPermissions = DeviceCgroupPermission[];
|
|
805
805
|
export type DevicesList = Device[];
|
|
806
806
|
export type EnvironmentVariables = KeyValuePair[];
|
|
807
|
+
export interface EvaluateOnExit {
|
|
808
|
+
/**
|
|
809
|
+
* Contains a glob pattern to match against the StatusReason returned for a job. The patten can be up to 512 characters long, can contain letters, numbers, periods (.), colons (:), and whitespace (spaces, tabs). and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
|
|
810
|
+
*/
|
|
811
|
+
onStatusReason?: String;
|
|
812
|
+
/**
|
|
813
|
+
* Contains a glob pattern to match against the Reason returned for a job. The patten can be up to 512 characters long, can contain letters, numbers, periods (.), colons (:), and whitespace (spaces, tabs), and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
|
|
814
|
+
*/
|
|
815
|
+
onReason?: String;
|
|
816
|
+
/**
|
|
817
|
+
* Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. The patten can be up to 512 characters long, can contain only numbers, and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.
|
|
818
|
+
*/
|
|
819
|
+
onExitCode?: String;
|
|
820
|
+
/**
|
|
821
|
+
* Specifies the action to take if all of the specified conditions (onStatusReason, onReason, and onExitCode) are met.
|
|
822
|
+
*/
|
|
823
|
+
action: RetryAction;
|
|
824
|
+
}
|
|
825
|
+
export type EvaluateOnExitList = EvaluateOnExit[];
|
|
807
826
|
export interface Host {
|
|
808
827
|
/**
|
|
809
828
|
* The path on the host container instance that is presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume persists at the specified location on the host container instance until you delete it manually. If the source path location does not exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.
|
|
@@ -1086,7 +1105,7 @@ declare namespace Batch {
|
|
|
1086
1105
|
*/
|
|
1087
1106
|
tmpfs?: TmpfsList;
|
|
1088
1107
|
/**
|
|
1089
|
-
* The total amount of swap memory (in MiB) a container can use. This parameter will be translated to the --memory-swap option to docker run where the value would be the sum of the container memory plus the maxSwap value. If a maxSwap value of 0 is specified, the container will not use swap. Accepted values are 0 or any positive integer. If the maxSwap parameter is omitted, the container will use the swap configuration for the container instance it is running on. A maxSwap value must be set for the swappiness parameter to be used.
|
|
1108
|
+
* The total amount of swap memory (in MiB) a container can use. This parameter will be translated to the --memory-swap option to docker run where the value would be the sum of the container memory plus the maxSwap value. For more information, see --memory-swap details in the Docker documentation. If a maxSwap value of 0 is specified, the container will not use swap. Accepted values are 0 or any positive integer. If the maxSwap parameter is omitted, the container will use the swap configuration for the container instance it is running on. A maxSwap value must be set for the swappiness parameter to be used.
|
|
1090
1109
|
*/
|
|
1091
1110
|
maxSwap?: Integer;
|
|
1092
1111
|
/**
|
|
@@ -1320,11 +1339,16 @@ declare namespace Batch {
|
|
|
1320
1339
|
}
|
|
1321
1340
|
export type ResourceRequirements = ResourceRequirement[];
|
|
1322
1341
|
export type ResourceType = "GPU"|string;
|
|
1342
|
+
export type RetryAction = "RETRY"|"EXIT"|string;
|
|
1323
1343
|
export interface RetryStrategy {
|
|
1324
1344
|
/**
|
|
1325
1345
|
* The number of times to move a job to the RUNNABLE status. You may specify between 1 and 10 attempts. If the value of attempts is greater than one, the job is retried on failure the same number of attempts as the value.
|
|
1326
1346
|
*/
|
|
1327
1347
|
attempts?: Integer;
|
|
1348
|
+
/**
|
|
1349
|
+
* Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this parameter is specified, then the attempts parameter must also be specified.
|
|
1350
|
+
*/
|
|
1351
|
+
evaluateOnExit?: EvaluateOnExitList;
|
|
1328
1352
|
}
|
|
1329
1353
|
export interface Secret {
|
|
1330
1354
|
/**
|