aws-sdk 2.1461.0 → 2.1463.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 +18 -1
- package/README.md +1 -1
- package/apis/appconfig-2019-10-09.min.json +4 -2
- package/apis/appconfig-2019-10-09.paginators.json +16 -8
- package/apis/apprunner-2020-05-15.min.json +141 -72
- package/apis/apprunner-2020-05-15.paginators.json +5 -0
- package/apis/braket-2019-09-01.min.json +64 -12
- package/apis/dms-2016-01-01.examples.json +968 -0
- package/apis/dms-2016-01-01.min.json +305 -257
- package/apis/events-2015-10-07.min.json +59 -34
- package/apis/logs-2014-03-28.min.json +4 -1
- package/apis/mediaconvert-2017-08-29.min.json +169 -161
- package/apis/s3-2006-03-01.examples.json +120 -120
- package/apis/s3-2006-03-01.min.json +4 -4
- package/apis/servicediscovery-2017-03-14.min.json +37 -10
- package/clients/appconfig.d.ts +13 -5
- package/clients/apprunner.d.ts +96 -8
- package/clients/braket.d.ts +73 -0
- package/clients/cloudwatchevents.d.ts +13 -9
- package/clients/cloudwatchlogs.d.ts +11 -6
- package/clients/codeartifact.d.ts +1 -1
- package/clients/dms.d.ts +117 -19
- package/clients/ec2.d.ts +1 -1
- package/clients/efs.d.ts +10 -10
- package/clients/guardduty.d.ts +14 -14
- package/clients/kinesisvideo.d.ts +7 -7
- package/clients/mediaconvert.d.ts +15 -5
- package/clients/s3.d.ts +24 -24
- package/clients/servicediscovery.d.ts +34 -5
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +12 -12
- package/dist/aws-sdk.js +70 -42
- package/dist/aws-sdk.min.js +54 -54
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/appconfig.d.ts
CHANGED
@@ -44,11 +44,11 @@ declare class AppConfig extends Service {
|
|
44
44
|
*/
|
45
45
|
createEnvironment(callback?: (err: AWSError, data: AppConfig.Types.Environment) => void): Request<AppConfig.Types.Environment, AWSError>;
|
46
46
|
/**
|
47
|
-
* Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For
|
47
|
+
* Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version. For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field. For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field. For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
|
48
48
|
*/
|
49
49
|
createExtension(params: AppConfig.Types.CreateExtensionRequest, callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
|
50
50
|
/**
|
51
|
-
* Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For
|
51
|
+
* Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version. For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field. For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field. For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
|
52
52
|
*/
|
53
53
|
createExtension(callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
|
54
54
|
/**
|
@@ -570,7 +570,7 @@ declare namespace AppConfig {
|
|
570
570
|
*/
|
571
571
|
Description?: Description;
|
572
572
|
/**
|
573
|
-
* A URI to locate the configuration. You can specify the following: For the AppConfig hosted configuration store and for feature flags, specify hosted. For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in the format ssm-parameter://<parameter name> or the ARN. For an Secrets Manager secret, specify the URI in the following format:
|
573
|
+
* A URI to locate the configuration. You can specify the following: For the AppConfig hosted configuration store and for feature flags, specify hosted. For an Amazon Web Services Systems Manager Parameter Store parameter, specify either the parameter name in the format ssm-parameter://<parameter name> or the ARN. For an Amazon Web Services CodePipeline pipeline, specify the URI in the following format: codepipeline://<pipeline name>. For an Secrets Manager secret, specify the URI in the following format: secretsmanager://<secret name>. For an Amazon S3 object, specify the URI in the following format: s3://<bucket>/<objectKey> . Here is an example: s3://my-bucket/my-app/us-east-1/my-config.json For an SSM document, specify either the document name in the format ssm-document://<document name> or the Amazon Resource Name (ARN).
|
574
574
|
*/
|
575
575
|
LocationUri: Uri;
|
576
576
|
/**
|
@@ -871,6 +871,10 @@ declare namespace AppConfig {
|
|
871
871
|
* The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key.
|
872
872
|
*/
|
873
873
|
KmsKeyIdentifier?: Identifier;
|
874
|
+
/**
|
875
|
+
* A user-defined label for an AppConfig hosted configuration version.
|
876
|
+
*/
|
877
|
+
VersionLabel?: VersionLabel;
|
874
878
|
}
|
875
879
|
export interface DeploymentEvent {
|
876
880
|
/**
|
@@ -882,7 +886,7 @@ declare namespace AppConfig {
|
|
882
886
|
*/
|
883
887
|
TriggeredBy?: TriggeredBy;
|
884
888
|
/**
|
885
|
-
* A description of the deployment event. Descriptions include, but are not limited to, the
|
889
|
+
* A description of the deployment event. Descriptions include, but are not limited to, the following: The Amazon Web Services account or the Amazon CloudWatch alarm ARN that initiated a rollback. The percentage of hosts that received the deployment. A recommendation to attempt a new deployment (in the case of an internal error).
|
886
890
|
*/
|
887
891
|
Description?: Description;
|
888
892
|
/**
|
@@ -989,6 +993,10 @@ declare namespace AppConfig {
|
|
989
993
|
* Time the deployment completed.
|
990
994
|
*/
|
991
995
|
CompletedAt?: Iso8601DateTime;
|
996
|
+
/**
|
997
|
+
* A user-defined label for an AppConfig hosted configuration version.
|
998
|
+
*/
|
999
|
+
VersionLabel?: VersionLabel;
|
992
1000
|
}
|
993
1001
|
export interface Deployments {
|
994
1002
|
/**
|
@@ -1514,7 +1522,7 @@ declare namespace AppConfig {
|
|
1514
1522
|
*/
|
1515
1523
|
ConfigurationProfileId: Id;
|
1516
1524
|
/**
|
1517
|
-
* The configuration version to deploy. If deploying an AppConfig hosted configuration version, you can specify either the version number or version label.
|
1525
|
+
* The configuration version to deploy. If deploying an AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
|
1518
1526
|
*/
|
1519
1527
|
ConfigurationVersion: Version;
|
1520
1528
|
/**
|
package/clients/apprunner.d.ts
CHANGED
@@ -68,11 +68,11 @@ declare class AppRunner extends Service {
|
|
68
68
|
*/
|
69
69
|
createVpcIngressConnection(callback?: (err: AWSError, data: AppRunner.Types.CreateVpcIngressConnectionResponse) => void): Request<AppRunner.Types.CreateVpcIngressConnectionResponse, AWSError>;
|
70
70
|
/**
|
71
|
-
* Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the
|
71
|
+
* Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.
|
72
72
|
*/
|
73
73
|
deleteAutoScalingConfiguration(params: AppRunner.Types.DeleteAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.DeleteAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DeleteAutoScalingConfigurationResponse, AWSError>;
|
74
74
|
/**
|
75
|
-
* Delete an App Runner automatic scaling configuration resource. You can delete a specific revision or the
|
75
|
+
* Delete an App Runner automatic scaling configuration resource. You can delete a top level auto scaling configuration, a specific revision of one, or all revisions associated with the top level configuration. You can't delete the default auto scaling configuration or a configuration that's used by one or more App Runner services.
|
76
76
|
*/
|
77
77
|
deleteAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.DeleteAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.DeleteAutoScalingConfigurationResponse, AWSError>;
|
78
78
|
/**
|
@@ -211,6 +211,14 @@ declare class AppRunner extends Service {
|
|
211
211
|
* Returns a list of running App Runner services in your Amazon Web Services account.
|
212
212
|
*/
|
213
213
|
listServices(callback?: (err: AWSError, data: AppRunner.Types.ListServicesResponse) => void): Request<AppRunner.Types.ListServicesResponse, AWSError>;
|
214
|
+
/**
|
215
|
+
* Returns a list of the associated App Runner services using an auto scaling configuration.
|
216
|
+
*/
|
217
|
+
listServicesForAutoScalingConfiguration(params: AppRunner.Types.ListServicesForAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.ListServicesForAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.ListServicesForAutoScalingConfigurationResponse, AWSError>;
|
218
|
+
/**
|
219
|
+
* Returns a list of the associated App Runner services using an auto scaling configuration.
|
220
|
+
*/
|
221
|
+
listServicesForAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.ListServicesForAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.ListServicesForAutoScalingConfigurationResponse, AWSError>;
|
214
222
|
/**
|
215
223
|
* List tags that are associated with for an App Runner resource. The response contains a list of tag key-value pairs.
|
216
224
|
*/
|
@@ -275,6 +283,14 @@ declare class AppRunner extends Service {
|
|
275
283
|
* Remove tags from an App Runner resource.
|
276
284
|
*/
|
277
285
|
untagResource(callback?: (err: AWSError, data: AppRunner.Types.UntagResourceResponse) => void): Request<AppRunner.Types.UntagResourceResponse, AWSError>;
|
286
|
+
/**
|
287
|
+
* Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
|
288
|
+
*/
|
289
|
+
updateDefaultAutoScalingConfiguration(params: AppRunner.Types.UpdateDefaultAutoScalingConfigurationRequest, callback?: (err: AWSError, data: AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse, AWSError>;
|
290
|
+
/**
|
291
|
+
* Update an auto scaling configuration to be the default. The existing default auto scaling configuration will be set to non-default automatically.
|
292
|
+
*/
|
293
|
+
updateDefaultAutoScalingConfiguration(callback?: (err: AWSError, data: AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse) => void): Request<AppRunner.Types.UpdateDefaultAutoScalingConfigurationResponse, AWSError>;
|
278
294
|
/**
|
279
295
|
* Update an App Runner service. You can update the source configuration and instance configuration of the service. You can also update the ARN of the auto scaling configuration resource that's associated with the service. However, you can't change the name or the encryption configuration of the service. These can be set only when you create the service. To update the tags applied to your service, use the separate actions TagResource and UntagResource. This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.
|
280
296
|
*/
|
@@ -351,11 +367,11 @@ declare namespace AppRunner {
|
|
351
367
|
/**
|
352
368
|
* The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") that share the same AutoScalingConfigurationName.
|
353
369
|
*/
|
354
|
-
AutoScalingConfigurationRevision?:
|
370
|
+
AutoScalingConfigurationRevision?: AutoScalingConfigurationRevision;
|
355
371
|
/**
|
356
372
|
* It's set to true for the configuration with the highest Revision among all configurations that share the same AutoScalingConfigurationName. It's set to false otherwise.
|
357
373
|
*/
|
358
|
-
Latest?:
|
374
|
+
Latest?: Latest;
|
359
375
|
/**
|
360
376
|
* The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
|
361
377
|
*/
|
@@ -363,15 +379,15 @@ declare namespace AppRunner {
|
|
363
379
|
/**
|
364
380
|
* The maximum number of concurrent requests that an instance processes. If the number of concurrent requests exceeds this limit, App Runner scales the service up.
|
365
381
|
*/
|
366
|
-
MaxConcurrency?:
|
382
|
+
MaxConcurrency?: MaxConcurrency;
|
367
383
|
/**
|
368
384
|
* The minimum number of instances that App Runner provisions for a service. The service always has at least MinSize provisioned instances. Some of them actively serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective compute capacity reserve and are ready to be quickly activated. You pay for memory usage of all the provisioned instances. You pay for CPU usage of only the active subset. App Runner temporarily doubles the number of provisioned instances during deployments, to maintain the same capacity for both old and new code.
|
369
385
|
*/
|
370
|
-
MinSize?:
|
386
|
+
MinSize?: MinSize;
|
371
387
|
/**
|
372
388
|
* The maximum number of instances that a service scales up to. At most MaxSize instances actively serve traffic for your service.
|
373
389
|
*/
|
374
|
-
MaxSize?:
|
390
|
+
MaxSize?: MaxSize;
|
375
391
|
/**
|
376
392
|
* The time when the auto scaling configuration was created. It's in Unix time stamp format.
|
377
393
|
*/
|
@@ -380,8 +396,17 @@ declare namespace AppRunner {
|
|
380
396
|
* The time when the auto scaling configuration was deleted. It's in Unix time stamp format.
|
381
397
|
*/
|
382
398
|
DeletedAt?: Timestamp;
|
399
|
+
/**
|
400
|
+
* Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true indicates one or more services are associated. A value of false indicates no services are associated.
|
401
|
+
*/
|
402
|
+
HasAssociatedService?: HasAssociatedService;
|
403
|
+
/**
|
404
|
+
* Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration per region. The default AutoScalingConfiguration can be any revision under the same AutoScalingConfigurationName.
|
405
|
+
*/
|
406
|
+
IsDefault?: IsDefault;
|
383
407
|
}
|
384
408
|
export type AutoScalingConfigurationName = string;
|
409
|
+
export type AutoScalingConfigurationRevision = number;
|
385
410
|
export type AutoScalingConfigurationStatus = "ACTIVE"|"INACTIVE"|string;
|
386
411
|
export interface AutoScalingConfigurationSummary {
|
387
412
|
/**
|
@@ -396,6 +421,22 @@ declare namespace AppRunner {
|
|
396
421
|
* The revision of this auto scaling configuration. It's unique among all the active configurations ("Status": "ACTIVE") with the same AutoScalingConfigurationName.
|
397
422
|
*/
|
398
423
|
AutoScalingConfigurationRevision?: Integer;
|
424
|
+
/**
|
425
|
+
* The current state of the auto scaling configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
|
426
|
+
*/
|
427
|
+
Status?: AutoScalingConfigurationStatus;
|
428
|
+
/**
|
429
|
+
* The time when the auto scaling configuration was created. It's in Unix time stamp format.
|
430
|
+
*/
|
431
|
+
CreatedAt?: Timestamp;
|
432
|
+
/**
|
433
|
+
* Indicates if this auto scaling configuration has an App Runner service associated with it. A value of true indicates one or more services are associated. A value of false indicates no services are associated.
|
434
|
+
*/
|
435
|
+
HasAssociatedService?: HasAssociatedService;
|
436
|
+
/**
|
437
|
+
* Indicates if this auto scaling configuration should be used as the default for a new App Runner service that does not have an auto scaling configuration ARN specified during creation. Each account can have only one default AutoScalingConfiguration per region. The default AutoScalingConfiguration can be any revision under the same AutoScalingConfigurationName.
|
438
|
+
*/
|
439
|
+
IsDefault?: IsDefault;
|
399
440
|
}
|
400
441
|
export type AutoScalingConfigurationSummaryList = AutoScalingConfigurationSummary[];
|
401
442
|
export type Boolean = boolean;
|
@@ -521,7 +562,7 @@ declare namespace AppRunner {
|
|
521
562
|
export type Cpu = string;
|
522
563
|
export interface CreateAutoScalingConfigurationRequest {
|
523
564
|
/**
|
524
|
-
* A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.
|
565
|
+
* A name for the auto scaling configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number 1 of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration. Prior to the release of Managing auto scaling, the name DefaultConfiguration was reserved. This restriction is no longer in place. You can now manage DefaultConfiguration the same way you manage your custom auto scaling configurations. This means you can do the following with the DefaultConfiguration that App Runner provides: Create new revisions of the DefaultConfiguration. Delete the revisions of the DefaultConfiguration. Delete the auto scaling configuration for which the App Runner DefaultConfiguration was created. If you delete the auto scaling configuration you can create another custom auto scaling configuration with the same DefaultConfiguration name. The original DefaultConfiguration resource provided by App Runner remains in your account unless you make changes to it.
|
525
566
|
*/
|
526
567
|
AutoScalingConfigurationName: AutoScalingConfigurationName;
|
527
568
|
/**
|
@@ -709,6 +750,10 @@ declare namespace AppRunner {
|
|
709
750
|
* The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to delete. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is deleted.
|
710
751
|
*/
|
711
752
|
AutoScalingConfigurationArn: AppRunnerResourceArn;
|
753
|
+
/**
|
754
|
+
* Set to true to delete all of the revisions associated with the AutoScalingConfigurationArn parameter value. When DeleteAllRevisions is set to true, the only valid value for the Amazon Resource Name (ARN) is a partial ARN ending with: .../name.
|
755
|
+
*/
|
756
|
+
DeleteAllRevisions?: Boolean;
|
712
757
|
}
|
713
758
|
export interface DeleteAutoScalingConfigurationResponse {
|
714
759
|
/**
|
@@ -923,6 +968,7 @@ declare namespace AppRunner {
|
|
923
968
|
*/
|
924
969
|
KmsKey: KmsKeyArn;
|
925
970
|
}
|
971
|
+
export type HasAssociatedService = boolean;
|
926
972
|
export interface HealthCheckConfiguration {
|
927
973
|
/**
|
928
974
|
* The IP protocol that App Runner uses to perform health checks for your service. If you set Protocol to HTTP, App Runner sends health check requests to the HTTP path specified by Path. Default: TCP
|
@@ -1020,7 +1066,9 @@ declare namespace AppRunner {
|
|
1020
1066
|
InstanceRoleArn?: RoleArn;
|
1021
1067
|
}
|
1022
1068
|
export type Integer = number;
|
1069
|
+
export type IsDefault = boolean;
|
1023
1070
|
export type KmsKeyArn = string;
|
1071
|
+
export type Latest = boolean;
|
1024
1072
|
export interface ListAutoScalingConfigurationsRequest {
|
1025
1073
|
/**
|
1026
1074
|
* The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.
|
@@ -1126,6 +1174,30 @@ declare namespace AppRunner {
|
|
1126
1174
|
*/
|
1127
1175
|
NextToken?: String;
|
1128
1176
|
}
|
1177
|
+
export interface ListServicesForAutoScalingConfigurationRequest {
|
1178
|
+
/**
|
1179
|
+
* The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to list the services for. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is used.
|
1180
|
+
*/
|
1181
|
+
AutoScalingConfigurationArn: AppRunnerResourceArn;
|
1182
|
+
/**
|
1183
|
+
* The maximum number of results to include in each response (result page). It's used for a paginated request. If you don't specify MaxResults, the request retrieves all available results in a single response.
|
1184
|
+
*/
|
1185
|
+
MaxResults?: MaxResults;
|
1186
|
+
/**
|
1187
|
+
* A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
|
1188
|
+
*/
|
1189
|
+
NextToken?: NextToken;
|
1190
|
+
}
|
1191
|
+
export interface ListServicesForAutoScalingConfigurationResponse {
|
1192
|
+
/**
|
1193
|
+
* A list of service ARN records. In a paginated request, the request returns up to MaxResults records for each call.
|
1194
|
+
*/
|
1195
|
+
ServiceArnList: ServiceArnList;
|
1196
|
+
/**
|
1197
|
+
* The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.
|
1198
|
+
*/
|
1199
|
+
NextToken?: NextToken;
|
1200
|
+
}
|
1129
1201
|
export interface ListServicesRequest {
|
1130
1202
|
/**
|
1131
1203
|
* A token from a previous result page. Used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones specified in the initial request. If you don't specify NextToken, the request retrieves the first result page.
|
@@ -1212,8 +1284,11 @@ declare namespace AppRunner {
|
|
1212
1284
|
*/
|
1213
1285
|
NextToken?: NextToken;
|
1214
1286
|
}
|
1287
|
+
export type MaxConcurrency = number;
|
1215
1288
|
export type MaxResults = number;
|
1289
|
+
export type MaxSize = number;
|
1216
1290
|
export type Memory = string;
|
1291
|
+
export type MinSize = number;
|
1217
1292
|
export interface NetworkConfiguration {
|
1218
1293
|
/**
|
1219
1294
|
* Network configuration settings for outbound message traffic.
|
@@ -1413,6 +1488,7 @@ declare namespace AppRunner {
|
|
1413
1488
|
*/
|
1414
1489
|
ObservabilityConfiguration?: ServiceObservabilityConfiguration;
|
1415
1490
|
}
|
1491
|
+
export type ServiceArnList = AppRunnerResourceArn[];
|
1416
1492
|
export type ServiceId = string;
|
1417
1493
|
export type ServiceMaxResults = number;
|
1418
1494
|
export type ServiceName = string;
|
@@ -1549,6 +1625,18 @@ declare namespace AppRunner {
|
|
1549
1625
|
}
|
1550
1626
|
export interface UntagResourceResponse {
|
1551
1627
|
}
|
1628
|
+
export interface UpdateDefaultAutoScalingConfigurationRequest {
|
1629
|
+
/**
|
1630
|
+
* The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you want to set as the default. The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with either .../name or .../name/revision . If a revision isn't specified, the latest active revision is set as the default.
|
1631
|
+
*/
|
1632
|
+
AutoScalingConfigurationArn: AppRunnerResourceArn;
|
1633
|
+
}
|
1634
|
+
export interface UpdateDefaultAutoScalingConfigurationResponse {
|
1635
|
+
/**
|
1636
|
+
* A description of the App Runner auto scaling configuration that was set as default.
|
1637
|
+
*/
|
1638
|
+
AutoScalingConfiguration: AutoScalingConfiguration;
|
1639
|
+
}
|
1552
1640
|
export interface UpdateServiceRequest {
|
1553
1641
|
/**
|
1554
1642
|
* The Amazon Resource Name (ARN) of the App Runner service that you want to update.
|
package/clients/braket.d.ts
CHANGED
@@ -290,6 +290,21 @@ declare namespace Braket {
|
|
290
290
|
*/
|
291
291
|
device: String256;
|
292
292
|
}
|
293
|
+
export interface DeviceQueueInfo {
|
294
|
+
/**
|
295
|
+
* The name of the queue.
|
296
|
+
*/
|
297
|
+
queue: QueueName;
|
298
|
+
/**
|
299
|
+
* Optional. Specifies the priority of the queue. Tasks in a priority queue are processed before the tasks in a normal queue.
|
300
|
+
*/
|
301
|
+
queuePriority?: QueuePriority;
|
302
|
+
/**
|
303
|
+
* The number of jobs or tasks in the queue for a given device.
|
304
|
+
*/
|
305
|
+
queueSize: String;
|
306
|
+
}
|
307
|
+
export type DeviceQueueInfoList = DeviceQueueInfo[];
|
293
308
|
export type DeviceStatus = "ONLINE"|"OFFLINE"|"RETIRED"|string;
|
294
309
|
export interface DeviceSummary {
|
295
310
|
/**
|
@@ -334,6 +349,10 @@ declare namespace Braket {
|
|
334
349
|
* The name of the device.
|
335
350
|
*/
|
336
351
|
deviceName: String;
|
352
|
+
/**
|
353
|
+
* List of information about tasks and jobs queued on a device.
|
354
|
+
*/
|
355
|
+
deviceQueueInfo?: DeviceQueueInfoList;
|
337
356
|
/**
|
338
357
|
* The status of the device.
|
339
358
|
*/
|
@@ -348,6 +367,10 @@ declare namespace Braket {
|
|
348
367
|
providerName: String;
|
349
368
|
}
|
350
369
|
export interface GetJobRequest {
|
370
|
+
/**
|
371
|
+
* A list of attributes to return information for.
|
372
|
+
*/
|
373
|
+
additionalAttributeNames?: HybridJobAdditionalAttributeNamesList;
|
351
374
|
/**
|
352
375
|
* The ARN of the job to retrieve.
|
353
376
|
*/
|
@@ -410,6 +433,10 @@ declare namespace Braket {
|
|
410
433
|
* The path to the S3 location where job artifacts are stored and the encryption key used to store them there.
|
411
434
|
*/
|
412
435
|
outputDataConfig: JobOutputDataConfig;
|
436
|
+
/**
|
437
|
+
* Queue information for the requested job. Only returned if QueueInfo is specified in the additionalAttributeNames" field in the GetJob API request.
|
438
|
+
*/
|
439
|
+
queueInfo?: HybridJobQueueInfo;
|
413
440
|
/**
|
414
441
|
* The Amazon Resource Name (ARN) of an IAM role that Amazon Braket can assume to perform tasks on behalf of a user. It can access user resources, run an Amazon Braket job container on behalf of user, and output resources to the s3 buckets of a user.
|
415
442
|
*/
|
@@ -433,6 +460,10 @@ declare namespace Braket {
|
|
433
460
|
}
|
434
461
|
export type GetJobResponseJobNameString = string;
|
435
462
|
export interface GetQuantumTaskRequest {
|
463
|
+
/**
|
464
|
+
* A list of attributes to return information for.
|
465
|
+
*/
|
466
|
+
additionalAttributeNames?: QuantumTaskAdditionalAttributeNamesList;
|
436
467
|
/**
|
437
468
|
* the ARN of the task to retrieve.
|
438
469
|
*/
|
@@ -475,6 +506,10 @@ declare namespace Braket {
|
|
475
506
|
* The ARN of the task.
|
476
507
|
*/
|
477
508
|
quantumTaskArn: QuantumTaskArn;
|
509
|
+
/**
|
510
|
+
* Queue information for the requested quantum task. Only returned if QueueInfo is specified in the additionalAttributeNames" field in the GetQuantumTask API request.
|
511
|
+
*/
|
512
|
+
queueInfo?: QuantumTaskQueueInfo;
|
478
513
|
/**
|
479
514
|
* The number of shots used in the task.
|
480
515
|
*/
|
@@ -488,6 +523,22 @@ declare namespace Braket {
|
|
488
523
|
*/
|
489
524
|
tags?: TagsMap;
|
490
525
|
}
|
526
|
+
export type HybridJobAdditionalAttributeName = "QueueInfo"|string;
|
527
|
+
export type HybridJobAdditionalAttributeNamesList = HybridJobAdditionalAttributeName[];
|
528
|
+
export interface HybridJobQueueInfo {
|
529
|
+
/**
|
530
|
+
* Optional. Provides more information about the queue position. For example, if the job is complete and no longer in the queue, the message field contains that information.
|
531
|
+
*/
|
532
|
+
message?: String;
|
533
|
+
/**
|
534
|
+
* Current position of the job in the jobs queue.
|
535
|
+
*/
|
536
|
+
position: String;
|
537
|
+
/**
|
538
|
+
* The name of the queue.
|
539
|
+
*/
|
540
|
+
queue: QueueName;
|
541
|
+
}
|
491
542
|
export type HyperParameters = {[key: string]: HyperParametersValueString};
|
492
543
|
export type HyperParametersValueString = string;
|
493
544
|
export type InputConfigList = InputFileConfig[];
|
@@ -620,7 +671,27 @@ declare namespace Braket {
|
|
620
671
|
tags?: TagsMap;
|
621
672
|
}
|
622
673
|
export type Long = number;
|
674
|
+
export type QuantumTaskAdditionalAttributeName = "QueueInfo"|string;
|
675
|
+
export type QuantumTaskAdditionalAttributeNamesList = QuantumTaskAdditionalAttributeName[];
|
623
676
|
export type QuantumTaskArn = string;
|
677
|
+
export interface QuantumTaskQueueInfo {
|
678
|
+
/**
|
679
|
+
* Optional. Provides more information about the queue position. For example, if the task is complete and no longer in the queue, the message field contains that information.
|
680
|
+
*/
|
681
|
+
message?: String;
|
682
|
+
/**
|
683
|
+
* Current position of the task in the quantum tasks queue.
|
684
|
+
*/
|
685
|
+
position: String;
|
686
|
+
/**
|
687
|
+
* The name of the queue.
|
688
|
+
*/
|
689
|
+
queue: QueueName;
|
690
|
+
/**
|
691
|
+
* Optional. Specifies the priority of the queue. Quantum tasks in a priority queue are processed before the tasks in a normal queue.
|
692
|
+
*/
|
693
|
+
queuePriority?: QueuePriority;
|
694
|
+
}
|
624
695
|
export type QuantumTaskStatus = "CREATED"|"QUEUED"|"RUNNING"|"COMPLETED"|"FAILED"|"CANCELLING"|"CANCELLED"|string;
|
625
696
|
export interface QuantumTaskSummary {
|
626
697
|
/**
|
@@ -661,6 +732,8 @@ declare namespace Braket {
|
|
661
732
|
tags?: TagsMap;
|
662
733
|
}
|
663
734
|
export type QuantumTaskSummaryList = QuantumTaskSummary[];
|
735
|
+
export type QueueName = "QUANTUM_TASKS_QUEUE"|"JOBS_QUEUE"|string;
|
736
|
+
export type QueuePriority = "Normal"|"Priority"|string;
|
664
737
|
export type RoleArn = string;
|
665
738
|
export interface S3DataSource {
|
666
739
|
/**
|
@@ -517,6 +517,7 @@ declare namespace CloudWatchEvents {
|
|
517
517
|
export type Arn = string;
|
518
518
|
export type AssignPublicIp = "ENABLED"|"DISABLED"|string;
|
519
519
|
export type AuthHeaderParameters = string;
|
520
|
+
export type AuthHeaderParametersSensitive = string;
|
520
521
|
export interface AwsVpcConfiguration {
|
521
522
|
/**
|
522
523
|
* Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
|
@@ -688,7 +689,7 @@ declare namespace CloudWatchEvents {
|
|
688
689
|
/**
|
689
690
|
* The value associated with the key.
|
690
691
|
*/
|
691
|
-
Value?:
|
692
|
+
Value?: SensitiveString;
|
692
693
|
/**
|
693
694
|
* Specified whether the value is secret.
|
694
695
|
*/
|
@@ -704,7 +705,7 @@ declare namespace CloudWatchEvents {
|
|
704
705
|
/**
|
705
706
|
* The value associated with the key.
|
706
707
|
*/
|
707
|
-
Value?:
|
708
|
+
Value?: HeaderValueSensitive;
|
708
709
|
/**
|
709
710
|
* Specified whether the value is a secret.
|
710
711
|
*/
|
@@ -759,7 +760,7 @@ declare namespace CloudWatchEvents {
|
|
759
760
|
/**
|
760
761
|
* The value associated with the key for the query string parameter.
|
761
762
|
*/
|
762
|
-
Value?:
|
763
|
+
Value?: QueryStringValueSensitive;
|
763
764
|
/**
|
764
765
|
* Specifies whether the value is secret.
|
765
766
|
*/
|
@@ -861,7 +862,7 @@ declare namespace CloudWatchEvents {
|
|
861
862
|
/**
|
862
863
|
* The value for the API key to use for authorization.
|
863
864
|
*/
|
864
|
-
ApiKeyValue:
|
865
|
+
ApiKeyValue: AuthHeaderParametersSensitive;
|
865
866
|
}
|
866
867
|
export interface CreateConnectionAuthRequestParameters {
|
867
868
|
/**
|
@@ -889,7 +890,7 @@ declare namespace CloudWatchEvents {
|
|
889
890
|
/**
|
890
891
|
* The password associated with the user name to use for Basic authorization.
|
891
892
|
*/
|
892
|
-
Password:
|
893
|
+
Password: AuthHeaderParametersSensitive;
|
893
894
|
}
|
894
895
|
export interface CreateConnectionOAuthClientRequestParameters {
|
895
896
|
/**
|
@@ -899,7 +900,7 @@ declare namespace CloudWatchEvents {
|
|
899
900
|
/**
|
900
901
|
* The client secret associated with the client ID to use for OAuth authorization for the connection.
|
901
902
|
*/
|
902
|
-
ClientSecret:
|
903
|
+
ClientSecret: AuthHeaderParametersSensitive;
|
903
904
|
}
|
904
905
|
export interface CreateConnectionOAuthRequestParameters {
|
905
906
|
/**
|
@@ -1571,6 +1572,7 @@ declare namespace CloudWatchEvents {
|
|
1571
1572
|
export type HeaderKey = string;
|
1572
1573
|
export type HeaderParametersMap = {[key: string]: HeaderValue};
|
1573
1574
|
export type HeaderValue = string;
|
1575
|
+
export type HeaderValueSensitive = string;
|
1574
1576
|
export interface HttpParameters {
|
1575
1577
|
/**
|
1576
1578
|
* The path parameter values to be used to populate API Gateway REST API or EventBridge ApiDestination path wildcards ("*").
|
@@ -2218,6 +2220,7 @@ declare namespace CloudWatchEvents {
|
|
2218
2220
|
export type QueryStringKey = string;
|
2219
2221
|
export type QueryStringParametersMap = {[key: string]: QueryStringValue};
|
2220
2222
|
export type QueryStringValue = string;
|
2223
|
+
export type QueryStringValueSensitive = string;
|
2221
2224
|
export interface RedshiftDataParameters {
|
2222
2225
|
/**
|
2223
2226
|
* The name or ARN of the secret that enables access to the database. Required when authenticating using Amazon Web Services Secrets Manager.
|
@@ -2456,6 +2459,7 @@ declare namespace CloudWatchEvents {
|
|
2456
2459
|
}
|
2457
2460
|
export type ScheduleExpression = string;
|
2458
2461
|
export type SecretsManagerSecretArn = string;
|
2462
|
+
export type SensitiveString = string;
|
2459
2463
|
export type Sql = string;
|
2460
2464
|
export interface SqsParameters {
|
2461
2465
|
/**
|
@@ -2730,7 +2734,7 @@ declare namespace CloudWatchEvents {
|
|
2730
2734
|
/**
|
2731
2735
|
* The value associated with teh API key to use for authorization.
|
2732
2736
|
*/
|
2733
|
-
ApiKeyValue?:
|
2737
|
+
ApiKeyValue?: AuthHeaderParametersSensitive;
|
2734
2738
|
}
|
2735
2739
|
export interface UpdateConnectionAuthRequestParameters {
|
2736
2740
|
/**
|
@@ -2758,7 +2762,7 @@ declare namespace CloudWatchEvents {
|
|
2758
2762
|
/**
|
2759
2763
|
* The password associated with the user name to use for Basic authorization.
|
2760
2764
|
*/
|
2761
|
-
Password?:
|
2765
|
+
Password?: AuthHeaderParametersSensitive;
|
2762
2766
|
}
|
2763
2767
|
export interface UpdateConnectionOAuthClientRequestParameters {
|
2764
2768
|
/**
|
@@ -2768,7 +2772,7 @@ declare namespace CloudWatchEvents {
|
|
2768
2772
|
/**
|
2769
2773
|
* The client secret assciated with the client ID to use for OAuth authorization.
|
2770
2774
|
*/
|
2771
|
-
ClientSecret?:
|
2775
|
+
ClientSecret?: AuthHeaderParametersSensitive;
|
2772
2776
|
}
|
2773
2777
|
export interface UpdateConnectionOAuthRequestParameters {
|
2774
2778
|
/**
|
@@ -36,11 +36,11 @@ declare class CloudWatchLogs extends Service {
|
|
36
36
|
*/
|
37
37
|
createExportTask(callback?: (err: AWSError, data: CloudWatchLogs.Types.CreateExportTaskResponse) => void): Request<CloudWatchLogs.Types.CreateExportTaskResponse, AWSError>;
|
38
38
|
/**
|
39
|
-
* Creates a log group with the specified name. You can create up to
|
39
|
+
* Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group: Log group names must be unique within a Region for an Amazon Web Services account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign) When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy. If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException error. CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
|
40
40
|
*/
|
41
41
|
createLogGroup(params: CloudWatchLogs.Types.CreateLogGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
42
42
|
/**
|
43
|
-
* Creates a log group with the specified name. You can create up to
|
43
|
+
* Creates a log group with the specified name. You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group: Log group names must be unique within a Region for an Amazon Web Services account. Log group names can be between 1 and 512 characters long. Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and '#' (number sign) When you create a log group, by default the log events in the log group do not expire. To set a retention policy so that events expire and are deleted after a specified time, use PutRetentionPolicy. If you associate an KMS key with the log group, ingested data is encrypted using the KMS key. This association is stored as long as the data encrypted with the KMS key is still within CloudWatch Logs. This enables CloudWatch Logs to decrypt this data whenever it is requested. If you attempt to associate a KMS key with the log group but the KMS key does not exist or the KMS key is disabled, you receive an InvalidParameterException error. CloudWatch Logs supports only symmetric KMS keys. Do not associate an asymmetric KMS key with your log group. For more information, see Using Symmetric and Asymmetric Keys.
|
44
44
|
*/
|
45
45
|
createLogGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
46
46
|
/**
|
@@ -324,11 +324,11 @@ declare class CloudWatchLogs extends Service {
|
|
324
324
|
*/
|
325
325
|
putLogEvents(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutLogEventsResponse) => void): Request<CloudWatchLogs.Types.PutLogEventsResponse, AWSError>;
|
326
326
|
/**
|
327
|
-
* Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents. The maximum number of metric filters that can be associated with a log group is 100. When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs
|
327
|
+
* Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents. The maximum number of metric filters that can be associated with a log group is 100. When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs might disable a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within one hour. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
|
328
328
|
*/
|
329
329
|
putMetricFilter(params: CloudWatchLogs.Types.PutMetricFilterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
330
330
|
/**
|
331
|
-
* Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents. The maximum number of metric filters that can be associated with a log group is 100. When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs
|
331
|
+
* Creates or updates a metric filter and associates it with the specified log group. With metric filters, you can configure rules to extract metric data from log events ingested through PutLogEvents. The maximum number of metric filters that can be associated with a log group is 100. When you create a metric filter, you can also optionally assign a unit and dimensions to the metric that is created. Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric. CloudWatch Logs might disable a metric filter if it generates 1,000 different name/value pairs for your specified dimensions within one hour. You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
|
332
332
|
*/
|
333
333
|
putMetricFilter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
334
334
|
/**
|
@@ -348,11 +348,11 @@ declare class CloudWatchLogs extends Service {
|
|
348
348
|
*/
|
349
349
|
putResourcePolicy(callback?: (err: AWSError, data: CloudWatchLogs.Types.PutResourcePolicyResponse) => void): Request<CloudWatchLogs.Types.PutResourcePolicyResponse, AWSError>;
|
350
350
|
/**
|
351
|
-
* Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group. CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer. To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
|
351
|
+
* Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group. CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer. To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted. When log events reach their retention setting they are marked for deletion. After they are marked for deletion, they do not add to your archival storage costs anymore, even if they are not actually deleted until later. These log events marked for deletion are also not included when you use an API to retrieve the storedBytes value to see how many bytes a log group is storing.
|
352
352
|
*/
|
353
353
|
putRetentionPolicy(params: CloudWatchLogs.Types.PutRetentionPolicyRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
354
354
|
/**
|
355
|
-
* Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group. CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer. To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted.
|
355
|
+
* Sets the retention of the specified log group. With a retention policy, you can configure the number of days for which to retain log events in the specified log group. CloudWatch Logs doesn’t immediately delete log events when they reach their retention setting. It typically takes up to 72 hours after that before log events are deleted, but in rare situations might take longer. To illustrate, imagine that you change a log group to have a longer retention setting when it contains log events that are past the expiration date, but haven’t been deleted. Those log events will take up to 72 hours to be deleted after the new retention date is reached. To make sure that log data is deleted permanently, keep a log group at its lower retention setting until 72 hours after the previous retention period ends. Alternatively, wait to change the retention setting until you confirm that the earlier log events are deleted. When log events reach their retention setting they are marked for deletion. After they are marked for deletion, they do not add to your archival storage costs anymore, even if they are not actually deleted until later. These log events marked for deletion are also not included when you use an API to retrieve the storedBytes value to see how many bytes a log group is storing.
|
356
356
|
*/
|
357
357
|
putRetentionPolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
358
358
|
/**
|
@@ -474,6 +474,7 @@ declare namespace CloudWatchLogs {
|
|
474
474
|
*/
|
475
475
|
taskId: ExportTaskId;
|
476
476
|
}
|
477
|
+
export type ClientToken = string;
|
477
478
|
export interface CreateExportTaskRequest {
|
478
479
|
/**
|
479
480
|
* The name of the export task.
|
@@ -1573,6 +1574,10 @@ declare namespace CloudWatchLogs {
|
|
1573
1574
|
* The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
|
1574
1575
|
*/
|
1575
1576
|
queryString: QueryDefinitionString;
|
1577
|
+
/**
|
1578
|
+
* Used as an idempotency token, to avoid returning an exception if the service receives the same request twice because of a network error.
|
1579
|
+
*/
|
1580
|
+
clientToken?: ClientToken;
|
1576
1581
|
}
|
1577
1582
|
export interface PutQueryDefinitionResponse {
|
1578
1583
|
/**
|
@@ -1484,7 +1484,7 @@ declare namespace CodeArtifact {
|
|
1484
1484
|
*/
|
1485
1485
|
originConfiguration?: PackageOriginConfiguration;
|
1486
1486
|
}
|
1487
|
-
export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|string;
|
1487
|
+
export type PackageFormat = "npm"|"pypi"|"maven"|"nuget"|"generic"|"swift"|string;
|
1488
1488
|
export type PackageName = string;
|
1489
1489
|
export type PackageNamespace = string;
|
1490
1490
|
export interface PackageOriginConfiguration {
|