aws-sdk 2.945.0 → 2.949.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 +25 -1
- package/README.md +1 -1
- package/apis/chime-2018-05-01.min.json +259 -258
- package/apis/dms-2016-01-01.min.json +127 -97
- package/apis/ec2-2016-11-15.min.json +1236 -930
- package/apis/ec2-2016-11-15.paginators.json +6 -0
- package/apis/emr-containers-2020-10-01.min.json +25 -23
- package/apis/glue-2017-03-31.min.json +254 -220
- package/apis/health-2016-08-04.min.json +29 -29
- package/apis/healthlake-2017-07-01.min.json +258 -60
- package/apis/healthlake-2017-07-01.paginators.json +10 -0
- package/apis/iotsitewise-2019-12-02.min.json +46 -25
- package/apis/lightsail-2016-11-28.min.json +557 -192
- package/apis/location-2020-11-19.min.json +205 -0
- package/apis/robomaker-2018-06-29.min.json +6 -3
- package/apis/wellarchitected-2020-03-31.min.json +60 -19
- package/clients/acm.d.ts +16 -16
- package/clients/appintegrations.d.ts +22 -22
- package/clients/auditmanager.d.ts +138 -138
- package/clients/chime.d.ts +5 -0
- package/clients/cognitoidentityserviceprovider.d.ts +72 -72
- package/clients/directconnect.d.ts +11 -8
- package/clients/dms.d.ts +253 -204
- package/clients/ec2.d.ts +332 -6
- package/clients/ecs.d.ts +83 -83
- package/clients/emrcontainers.d.ts +12 -2
- package/clients/glue.d.ts +38 -3
- package/clients/health.d.ts +3 -2
- package/clients/healthlake.d.ts +220 -5
- package/clients/imagebuilder.d.ts +27 -27
- package/clients/lexmodelbuildingservice.d.ts +1 -1
- package/clients/lightsail.d.ts +610 -150
- package/clients/location.d.ts +227 -35
- package/clients/robomaker.d.ts +12 -0
- package/clients/wellarchitected.d.ts +76 -5
- package/dist/aws-sdk-core-react-native.js +6 -1
- package/dist/aws-sdk-react-native.js +20 -15
- package/dist/aws-sdk.js +1455 -933
- package/dist/aws-sdk.min.js +65 -65
- package/lib/core.d.ts +1 -0
- package/lib/core.js +1 -1
- package/lib/json/builder.js +3 -0
- package/lib/json/parser.js +1 -0
- package/lib/model/index.d.ts +4 -0
- package/lib/model/shape.js +1 -0
- package/package.json +1 -1
- package/scripts/lib/ts-generator.js +16 -0
package/clients/ec2.d.ts
CHANGED
|
@@ -148,6 +148,14 @@ declare class EC2 extends Service {
|
|
|
148
148
|
* Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance.
|
|
149
149
|
*/
|
|
150
150
|
associateIamInstanceProfile(callback?: (err: AWSError, data: EC2.Types.AssociateIamInstanceProfileResult) => void): Request<EC2.Types.AssociateIamInstanceProfileResult, AWSError>;
|
|
151
|
+
/**
|
|
152
|
+
* Associates one or more targets with an event window. Only one type of target (instance IDs, Dedicated Host IDs, or tags) can be specified with an event window. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
153
|
+
*/
|
|
154
|
+
associateInstanceEventWindow(params: EC2.Types.AssociateInstanceEventWindowRequest, callback?: (err: AWSError, data: EC2.Types.AssociateInstanceEventWindowResult) => void): Request<EC2.Types.AssociateInstanceEventWindowResult, AWSError>;
|
|
155
|
+
/**
|
|
156
|
+
* Associates one or more targets with an event window. Only one type of target (instance IDs, Dedicated Host IDs, or tags) can be specified with an event window. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
157
|
+
*/
|
|
158
|
+
associateInstanceEventWindow(callback?: (err: AWSError, data: EC2.Types.AssociateInstanceEventWindowResult) => void): Request<EC2.Types.AssociateInstanceEventWindowResult, AWSError>;
|
|
151
159
|
/**
|
|
152
160
|
* Associates a subnet in your VPC or an internet gateway or virtual private gateway attached to your VPC with a route table in your VPC. This association causes traffic from the subnet or gateway to be routed according to the routes in the route table. The action returns an association ID, which you need in order to disassociate the route table later. A route table can be associated with multiple subnets. For more information, see Route Tables in the Amazon Virtual Private Cloud User Guide.
|
|
153
161
|
*/
|
|
@@ -468,6 +476,14 @@ declare class EC2 extends Service {
|
|
|
468
476
|
* Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped. If you customized your instance with instance store volumes or EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes. For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide.
|
|
469
477
|
*/
|
|
470
478
|
createImage(callback?: (err: AWSError, data: EC2.Types.CreateImageResult) => void): Request<EC2.Types.CreateImageResult, AWSError>;
|
|
479
|
+
/**
|
|
480
|
+
* Creates an event window in which scheduled events for the associated Amazon EC2 instances can run. You can define either a set of time ranges or a cron expression when creating the event window, but not both. All event window times are in UTC. You can create up to 200 event windows per Amazon Web Services Region. When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) are not yet associated with it. To ensure that the event window can be used, you must associate one or more targets with it by using the AssociateInstanceEventWindow API. Event windows are applicable only for scheduled events that stop, reboot, or terminate instances. Event windows are not applicable for: Expedited scheduled events and network maintenance events. Unscheduled maintenance such as AutoRecovery and unplanned reboots. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
481
|
+
*/
|
|
482
|
+
createInstanceEventWindow(params: EC2.Types.CreateInstanceEventWindowRequest, callback?: (err: AWSError, data: EC2.Types.CreateInstanceEventWindowResult) => void): Request<EC2.Types.CreateInstanceEventWindowResult, AWSError>;
|
|
483
|
+
/**
|
|
484
|
+
* Creates an event window in which scheduled events for the associated Amazon EC2 instances can run. You can define either a set of time ranges or a cron expression when creating the event window, but not both. All event window times are in UTC. You can create up to 200 event windows per Amazon Web Services Region. When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) are not yet associated with it. To ensure that the event window can be used, you must associate one or more targets with it by using the AssociateInstanceEventWindow API. Event windows are applicable only for scheduled events that stop, reboot, or terminate instances. Event windows are not applicable for: Expedited scheduled events and network maintenance events. Unscheduled maintenance such as AutoRecovery and unplanned reboots. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
485
|
+
*/
|
|
486
|
+
createInstanceEventWindow(callback?: (err: AWSError, data: EC2.Types.CreateInstanceEventWindowResult) => void): Request<EC2.Types.CreateInstanceEventWindowResult, AWSError>;
|
|
471
487
|
/**
|
|
472
488
|
* Exports a running or stopped instance to an Amazon S3 bucket. For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an instance as a VM Using VM Import/Export in the VM Import/Export User Guide.
|
|
473
489
|
*/
|
|
@@ -932,6 +948,14 @@ declare class EC2 extends Service {
|
|
|
932
948
|
* Deletes the specified Amazon FPGA Image (AFI).
|
|
933
949
|
*/
|
|
934
950
|
deleteFpgaImage(callback?: (err: AWSError, data: EC2.Types.DeleteFpgaImageResult) => void): Request<EC2.Types.DeleteFpgaImageResult, AWSError>;
|
|
951
|
+
/**
|
|
952
|
+
* Deletes the specified event window. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
953
|
+
*/
|
|
954
|
+
deleteInstanceEventWindow(params: EC2.Types.DeleteInstanceEventWindowRequest, callback?: (err: AWSError, data: EC2.Types.DeleteInstanceEventWindowResult) => void): Request<EC2.Types.DeleteInstanceEventWindowResult, AWSError>;
|
|
955
|
+
/**
|
|
956
|
+
* Deletes the specified event window. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
957
|
+
*/
|
|
958
|
+
deleteInstanceEventWindow(callback?: (err: AWSError, data: EC2.Types.DeleteInstanceEventWindowResult) => void): Request<EC2.Types.DeleteInstanceEventWindowResult, AWSError>;
|
|
935
959
|
/**
|
|
936
960
|
* Deletes the specified internet gateway. You must detach the internet gateway from the VPC before you can delete it.
|
|
937
961
|
*/
|
|
@@ -1309,11 +1333,11 @@ declare class EC2 extends Service {
|
|
|
1309
1333
|
*/
|
|
1310
1334
|
deregisterImage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
1311
1335
|
/**
|
|
1312
|
-
* Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region.
|
|
1336
|
+
* c Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region.
|
|
1313
1337
|
*/
|
|
1314
1338
|
deregisterInstanceEventNotificationAttributes(params: EC2.Types.DeregisterInstanceEventNotificationAttributesRequest, callback?: (err: AWSError, data: EC2.Types.DeregisterInstanceEventNotificationAttributesResult) => void): Request<EC2.Types.DeregisterInstanceEventNotificationAttributesResult, AWSError>;
|
|
1315
1339
|
/**
|
|
1316
|
-
* Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region.
|
|
1340
|
+
* c Deregisters tag keys to prevent tags that have the specified tag keys from being included in scheduled event notifications for resources in the Region.
|
|
1317
1341
|
*/
|
|
1318
1342
|
deregisterInstanceEventNotificationAttributes(callback?: (err: AWSError, data: EC2.Types.DeregisterInstanceEventNotificationAttributesResult) => void): Request<EC2.Types.DeregisterInstanceEventNotificationAttributesResult, AWSError>;
|
|
1319
1343
|
/**
|
|
@@ -1676,6 +1700,14 @@ declare class EC2 extends Service {
|
|
|
1676
1700
|
* Describes the tag keys that are registered to appear in scheduled event notifications for resources in the current Region.
|
|
1677
1701
|
*/
|
|
1678
1702
|
describeInstanceEventNotificationAttributes(callback?: (err: AWSError, data: EC2.Types.DescribeInstanceEventNotificationAttributesResult) => void): Request<EC2.Types.DescribeInstanceEventNotificationAttributesResult, AWSError>;
|
|
1703
|
+
/**
|
|
1704
|
+
* Describes the specified event windows or all event windows. If you specify event window IDs, the output includes information for only the specified event windows. If you specify filters, the output includes information for only those event windows that meet the filter criteria. If you do not specify event windows IDs or filters, the output includes information for all event windows, which can affect performance. We recommend that you use pagination to ensure that the operation returns quickly and successfully. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
1705
|
+
*/
|
|
1706
|
+
describeInstanceEventWindows(params: EC2.Types.DescribeInstanceEventWindowsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeInstanceEventWindowsResult) => void): Request<EC2.Types.DescribeInstanceEventWindowsResult, AWSError>;
|
|
1707
|
+
/**
|
|
1708
|
+
* Describes the specified event windows or all event windows. If you specify event window IDs, the output includes information for only the specified event windows. If you specify filters, the output includes information for only those event windows that meet the filter criteria. If you do not specify event windows IDs or filters, the output includes information for all event windows, which can affect performance. We recommend that you use pagination to ensure that the operation returns quickly and successfully. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
1709
|
+
*/
|
|
1710
|
+
describeInstanceEventWindows(callback?: (err: AWSError, data: EC2.Types.DescribeInstanceEventWindowsResult) => void): Request<EC2.Types.DescribeInstanceEventWindowsResult, AWSError>;
|
|
1679
1711
|
/**
|
|
1680
1712
|
* Describes the status of the specified instances or all of your instances. By default, only running instances are described, unless you specifically indicate to return the status of all instances. Instance status includes the following components: Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status checks for your instances and Troubleshooting instances with failed status checks in the Amazon EC2 User Guide. Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled events for your instances in the Amazon EC2 User Guide. Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance lifecycle in the Amazon EC2 User Guide.
|
|
1681
1713
|
*/
|
|
@@ -2460,6 +2492,14 @@ declare class EC2 extends Service {
|
|
|
2460
2492
|
* Disassociates an IAM instance profile from a running or stopped instance. Use DescribeIamInstanceProfileAssociations to get the association ID.
|
|
2461
2493
|
*/
|
|
2462
2494
|
disassociateIamInstanceProfile(callback?: (err: AWSError, data: EC2.Types.DisassociateIamInstanceProfileResult) => void): Request<EC2.Types.DisassociateIamInstanceProfileResult, AWSError>;
|
|
2495
|
+
/**
|
|
2496
|
+
* Disassociates one or more targets from an event window. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
2497
|
+
*/
|
|
2498
|
+
disassociateInstanceEventWindow(params: EC2.Types.DisassociateInstanceEventWindowRequest, callback?: (err: AWSError, data: EC2.Types.DisassociateInstanceEventWindowResult) => void): Request<EC2.Types.DisassociateInstanceEventWindowResult, AWSError>;
|
|
2499
|
+
/**
|
|
2500
|
+
* Disassociates one or more targets from an event window. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
2501
|
+
*/
|
|
2502
|
+
disassociateInstanceEventWindow(callback?: (err: AWSError, data: EC2.Types.DisassociateInstanceEventWindowResult) => void): Request<EC2.Types.DisassociateInstanceEventWindowResult, AWSError>;
|
|
2463
2503
|
/**
|
|
2464
2504
|
* Disassociates a subnet or gateway from a route table. After you perform this action, the subnet no longer uses the routes in the route table. Instead, it uses the routes in the VPC's main route table. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.
|
|
2465
2505
|
*/
|
|
@@ -2972,6 +3012,14 @@ declare class EC2 extends Service {
|
|
|
2972
3012
|
* Modifies the start time for a scheduled Amazon EC2 instance event.
|
|
2973
3013
|
*/
|
|
2974
3014
|
modifyInstanceEventStartTime(callback?: (err: AWSError, data: EC2.Types.ModifyInstanceEventStartTimeResult) => void): Request<EC2.Types.ModifyInstanceEventStartTimeResult, AWSError>;
|
|
3015
|
+
/**
|
|
3016
|
+
* Modifies the specified event window. You can define either a set of time ranges or a cron expression when modifying the event window, but not both. To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API. If Amazon Web Services has already scheduled an event, modifying an event window won't change the time of the scheduled event. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
3017
|
+
*/
|
|
3018
|
+
modifyInstanceEventWindow(params: EC2.Types.ModifyInstanceEventWindowRequest, callback?: (err: AWSError, data: EC2.Types.ModifyInstanceEventWindowResult) => void): Request<EC2.Types.ModifyInstanceEventWindowResult, AWSError>;
|
|
3019
|
+
/**
|
|
3020
|
+
* Modifies the specified event window. You can define either a set of time ranges or a cron expression when modifying the event window, but not both. To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API. If Amazon Web Services has already scheduled an event, modifying an event window won't change the time of the scheduled event. For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
|
|
3021
|
+
*/
|
|
3022
|
+
modifyInstanceEventWindow(callback?: (err: AWSError, data: EC2.Types.ModifyInstanceEventWindowResult) => void): Request<EC2.Types.ModifyInstanceEventWindowResult, AWSError>;
|
|
2975
3023
|
/**
|
|
2976
3024
|
* Modify the instance metadata parameters on a running or stopped instance. When you modify the parameters on a stopped instance, they are applied when the instance is started. When you modify the parameters on a running instance, the API responds with a state of “pending”. After the parameter modifications are successfully applied to the instance, the state of the modifications changes from “pending” to “applied” in subsequent describe-instances API calls. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.
|
|
2977
3025
|
*/
|
|
@@ -4673,6 +4721,26 @@ declare namespace EC2 {
|
|
|
4673
4721
|
*/
|
|
4674
4722
|
IamInstanceProfileAssociation?: IamInstanceProfileAssociation;
|
|
4675
4723
|
}
|
|
4724
|
+
export interface AssociateInstanceEventWindowRequest {
|
|
4725
|
+
/**
|
|
4726
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
4727
|
+
*/
|
|
4728
|
+
DryRun?: Boolean;
|
|
4729
|
+
/**
|
|
4730
|
+
* The ID of the event window.
|
|
4731
|
+
*/
|
|
4732
|
+
InstanceEventWindowId: InstanceEventWindowId;
|
|
4733
|
+
/**
|
|
4734
|
+
* One or more targets associated with the specified event window.
|
|
4735
|
+
*/
|
|
4736
|
+
AssociationTarget: InstanceEventWindowAssociationRequest;
|
|
4737
|
+
}
|
|
4738
|
+
export interface AssociateInstanceEventWindowResult {
|
|
4739
|
+
/**
|
|
4740
|
+
* Information about the event window.
|
|
4741
|
+
*/
|
|
4742
|
+
InstanceEventWindow?: InstanceEventWindow;
|
|
4743
|
+
}
|
|
4676
4744
|
export interface AssociateRouteTableRequest {
|
|
4677
4745
|
/**
|
|
4678
4746
|
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
@@ -7038,6 +7106,34 @@ declare namespace EC2 {
|
|
|
7038
7106
|
*/
|
|
7039
7107
|
ImageId?: String;
|
|
7040
7108
|
}
|
|
7109
|
+
export interface CreateInstanceEventWindowRequest {
|
|
7110
|
+
/**
|
|
7111
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
7112
|
+
*/
|
|
7113
|
+
DryRun?: Boolean;
|
|
7114
|
+
/**
|
|
7115
|
+
* The name of the event window.
|
|
7116
|
+
*/
|
|
7117
|
+
Name?: String;
|
|
7118
|
+
/**
|
|
7119
|
+
* The time range for the event window. If you specify a time range, you can't specify a cron expression.
|
|
7120
|
+
*/
|
|
7121
|
+
TimeRanges?: InstanceEventWindowTimeRangeRequestSet;
|
|
7122
|
+
/**
|
|
7123
|
+
* The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If you specify a cron expression, you can't specify a time range. Constraints: Only hour and day of the week values are supported. For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT. The minute, month, and year must be specified by *. The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23. Each hour range must be >= 2 hours, for example, 0-2 or 20-23. The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours. For more information about cron expressions, see cron on the Wikipedia website.
|
|
7124
|
+
*/
|
|
7125
|
+
CronExpression?: InstanceEventWindowCronExpression;
|
|
7126
|
+
/**
|
|
7127
|
+
* The tags to apply to the event window.
|
|
7128
|
+
*/
|
|
7129
|
+
TagSpecifications?: TagSpecificationList;
|
|
7130
|
+
}
|
|
7131
|
+
export interface CreateInstanceEventWindowResult {
|
|
7132
|
+
/**
|
|
7133
|
+
* Information about the event window.
|
|
7134
|
+
*/
|
|
7135
|
+
InstanceEventWindow?: InstanceEventWindow;
|
|
7136
|
+
}
|
|
7041
7137
|
export interface CreateInstanceExportTaskRequest {
|
|
7042
7138
|
/**
|
|
7043
7139
|
* A description for the conversion task or the resource being exported. The maximum length is 255 characters.
|
|
@@ -8727,6 +8823,7 @@ declare namespace EC2 {
|
|
|
8727
8823
|
export type DateTime = Date;
|
|
8728
8824
|
export type DedicatedHostFlag = boolean;
|
|
8729
8825
|
export type DedicatedHostId = string;
|
|
8826
|
+
export type DedicatedHostIdList = DedicatedHostId[];
|
|
8730
8827
|
export type DefaultNetworkCardIndex = number;
|
|
8731
8828
|
export type DefaultRouteTableAssociationValue = "enable"|"disable"|string;
|
|
8732
8829
|
export type DefaultRouteTablePropagationValue = "enable"|"disable"|string;
|
|
@@ -8917,6 +9014,26 @@ declare namespace EC2 {
|
|
|
8917
9014
|
*/
|
|
8918
9015
|
Return?: Boolean;
|
|
8919
9016
|
}
|
|
9017
|
+
export interface DeleteInstanceEventWindowRequest {
|
|
9018
|
+
/**
|
|
9019
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
9020
|
+
*/
|
|
9021
|
+
DryRun?: Boolean;
|
|
9022
|
+
/**
|
|
9023
|
+
* Specify true to force delete the event window. Use the force delete parameter if the event window is currently associated with targets.
|
|
9024
|
+
*/
|
|
9025
|
+
ForceDelete?: Boolean;
|
|
9026
|
+
/**
|
|
9027
|
+
* The ID of the event window.
|
|
9028
|
+
*/
|
|
9029
|
+
InstanceEventWindowId: InstanceEventWindowId;
|
|
9030
|
+
}
|
|
9031
|
+
export interface DeleteInstanceEventWindowResult {
|
|
9032
|
+
/**
|
|
9033
|
+
* The state of the event window.
|
|
9034
|
+
*/
|
|
9035
|
+
InstanceEventWindowState?: InstanceEventWindowStateChange;
|
|
9036
|
+
}
|
|
8920
9037
|
export interface DeleteInternetGatewayRequest {
|
|
8921
9038
|
/**
|
|
8922
9039
|
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
@@ -9305,7 +9422,7 @@ declare namespace EC2 {
|
|
|
9305
9422
|
*/
|
|
9306
9423
|
Resources: ResourceIdList;
|
|
9307
9424
|
/**
|
|
9308
|
-
* The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string. If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete
|
|
9425
|
+
* The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string. If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete Amazon Web Services-generated tags (tags that have the aws: prefix).
|
|
9309
9426
|
*/
|
|
9310
9427
|
Tags?: TagList;
|
|
9311
9428
|
}
|
|
@@ -11030,6 +11147,38 @@ declare namespace EC2 {
|
|
|
11030
11147
|
*/
|
|
11031
11148
|
InstanceTagAttribute?: InstanceTagNotificationAttribute;
|
|
11032
11149
|
}
|
|
11150
|
+
export interface DescribeInstanceEventWindowsRequest {
|
|
11151
|
+
/**
|
|
11152
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
11153
|
+
*/
|
|
11154
|
+
DryRun?: Boolean;
|
|
11155
|
+
/**
|
|
11156
|
+
* The IDs of the event windows.
|
|
11157
|
+
*/
|
|
11158
|
+
InstanceEventWindowIds?: InstanceEventWindowIdSet;
|
|
11159
|
+
/**
|
|
11160
|
+
* One or more filters. dedicated-host-id - The event windows associated with the specified Dedicated Host ID. event-window-name - The event windows associated with the specified names. instance-id - The event windows associated with the specified instance ID. instance-tag - The event windows associated with the specified tag and value. instance-tag-key - The event windows associated with the specified tag key, regardless of the value. instance-tag-value - The event windows associated with the specified tag value, regardless of the key. tag:<key> - The key/value combination of a tag assigned to the event window. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value CMX, specify tag:Owner for the filter name and CMX for the filter value. tag-key - The key of a tag assigned to the event window. Use this filter to find all event windows that have a tag with a specific key, regardless of the tag value. tag-value - The value of a tag assigned to the event window. Use this filter to find all event windows that have a tag with a specific value, regardless of the tag key.
|
|
11161
|
+
*/
|
|
11162
|
+
Filters?: FilterList;
|
|
11163
|
+
/**
|
|
11164
|
+
* The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. This value can be between 20 and 500. You cannot specify this parameter and the event window IDs parameter in the same call.
|
|
11165
|
+
*/
|
|
11166
|
+
MaxResults?: ResultRange;
|
|
11167
|
+
/**
|
|
11168
|
+
* The token to request the next page of results.
|
|
11169
|
+
*/
|
|
11170
|
+
NextToken?: String;
|
|
11171
|
+
}
|
|
11172
|
+
export interface DescribeInstanceEventWindowsResult {
|
|
11173
|
+
/**
|
|
11174
|
+
* Information about the event windows.
|
|
11175
|
+
*/
|
|
11176
|
+
InstanceEventWindows?: InstanceEventWindowSet;
|
|
11177
|
+
/**
|
|
11178
|
+
* The token to use to retrieve the next page of results. This value is null when there are no more results to return.
|
|
11179
|
+
*/
|
|
11180
|
+
NextToken?: String;
|
|
11181
|
+
}
|
|
11033
11182
|
export interface DescribeInstanceStatusRequest {
|
|
11034
11183
|
/**
|
|
11035
11184
|
* The filters. availability-zone - The Availability Zone of the instance. event.code - The code for the scheduled event (instance-reboot | system-reboot | system-maintenance | instance-retirement | instance-stop). event.description - A description of the event. event.instance-event-id - The ID of the event whose date and time you are modifying. event.not-after - The latest end time for the scheduled event (for example, 2014-09-15T17:15:20.000Z). event.not-before - The earliest start time for the scheduled event (for example, 2014-09-15T17:15:20.000Z). event.not-before-deadline - The deadline for starting the event (for example, 2014-09-15T17:15:20.000Z). instance-state-code - The code for the instance state, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped). instance-state-name - The state of the instance (pending | running | shutting-down | terminated | stopping | stopped). instance-status.reachability - Filters on instance status where the name is reachability (passed | failed | initializing | insufficient-data). instance-status.status - The status of the instance (ok | impaired | initializing | insufficient-data | not-applicable). system-status.reachability - Filters on system status where the name is reachability (passed | failed | initializing | insufficient-data). system-status.status - The system status of the instance (ok | impaired | initializing | insufficient-data | not-applicable).
|
|
@@ -14027,6 +14176,26 @@ declare namespace EC2 {
|
|
|
14027
14176
|
*/
|
|
14028
14177
|
IamInstanceProfileAssociation?: IamInstanceProfileAssociation;
|
|
14029
14178
|
}
|
|
14179
|
+
export interface DisassociateInstanceEventWindowRequest {
|
|
14180
|
+
/**
|
|
14181
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
14182
|
+
*/
|
|
14183
|
+
DryRun?: Boolean;
|
|
14184
|
+
/**
|
|
14185
|
+
* The ID of the event window.
|
|
14186
|
+
*/
|
|
14187
|
+
InstanceEventWindowId: InstanceEventWindowId;
|
|
14188
|
+
/**
|
|
14189
|
+
* One or more targets to disassociate from the specified event window.
|
|
14190
|
+
*/
|
|
14191
|
+
AssociationTarget: InstanceEventWindowDisassociationRequest;
|
|
14192
|
+
}
|
|
14193
|
+
export interface DisassociateInstanceEventWindowResult {
|
|
14194
|
+
/**
|
|
14195
|
+
* Information about the event window.
|
|
14196
|
+
*/
|
|
14197
|
+
InstanceEventWindow?: InstanceEventWindow;
|
|
14198
|
+
}
|
|
14030
14199
|
export interface DisassociateRouteTableRequest {
|
|
14031
14200
|
/**
|
|
14032
14201
|
* The association ID representing the current association between the route table and subnet or gateway.
|
|
@@ -16594,6 +16763,7 @@ declare namespace EC2 {
|
|
|
16594
16763
|
export type HostReservationIdSet = HostReservationId[];
|
|
16595
16764
|
export type HostReservationSet = HostReservation[];
|
|
16596
16765
|
export type HostTenancy = "dedicated"|"host"|string;
|
|
16766
|
+
export type Hour = number;
|
|
16597
16767
|
export type HttpTokensState = "optional"|"required"|string;
|
|
16598
16768
|
export type HypervisorType = "ovm"|"xen"|string;
|
|
16599
16769
|
export type IKEVersionsList = IKEVersionsListValue[];
|
|
@@ -17738,6 +17908,131 @@ declare namespace EC2 {
|
|
|
17738
17908
|
CpuCredits?: String;
|
|
17739
17909
|
}
|
|
17740
17910
|
export type InstanceEventId = string;
|
|
17911
|
+
export interface InstanceEventWindow {
|
|
17912
|
+
/**
|
|
17913
|
+
* The ID of the event window.
|
|
17914
|
+
*/
|
|
17915
|
+
InstanceEventWindowId?: InstanceEventWindowId;
|
|
17916
|
+
/**
|
|
17917
|
+
* One or more time ranges defined for the event window.
|
|
17918
|
+
*/
|
|
17919
|
+
TimeRanges?: InstanceEventWindowTimeRangeList;
|
|
17920
|
+
/**
|
|
17921
|
+
* The name of the event window.
|
|
17922
|
+
*/
|
|
17923
|
+
Name?: String;
|
|
17924
|
+
/**
|
|
17925
|
+
* The cron expression defined for the event window.
|
|
17926
|
+
*/
|
|
17927
|
+
CronExpression?: InstanceEventWindowCronExpression;
|
|
17928
|
+
/**
|
|
17929
|
+
* One or more targets associated with the event window.
|
|
17930
|
+
*/
|
|
17931
|
+
AssociationTarget?: InstanceEventWindowAssociationTarget;
|
|
17932
|
+
/**
|
|
17933
|
+
* The current state of the event window.
|
|
17934
|
+
*/
|
|
17935
|
+
State?: InstanceEventWindowState;
|
|
17936
|
+
/**
|
|
17937
|
+
* The instance tags associated with the event window.
|
|
17938
|
+
*/
|
|
17939
|
+
Tags?: TagList;
|
|
17940
|
+
}
|
|
17941
|
+
export interface InstanceEventWindowAssociationRequest {
|
|
17942
|
+
/**
|
|
17943
|
+
* The IDs of the instances to associate with the event window. If the instance is on a Dedicated Host, you can't specify the Instance ID parameter; you must use the Dedicated Host ID parameter.
|
|
17944
|
+
*/
|
|
17945
|
+
InstanceIds?: InstanceIdList;
|
|
17946
|
+
/**
|
|
17947
|
+
* The instance tags to associate with the event window. Any instances associated with the tags will be associated with the event window.
|
|
17948
|
+
*/
|
|
17949
|
+
InstanceTags?: TagList;
|
|
17950
|
+
/**
|
|
17951
|
+
* The IDs of the Dedicated Hosts to associate with the event window.
|
|
17952
|
+
*/
|
|
17953
|
+
DedicatedHostIds?: DedicatedHostIdList;
|
|
17954
|
+
}
|
|
17955
|
+
export interface InstanceEventWindowAssociationTarget {
|
|
17956
|
+
/**
|
|
17957
|
+
* The IDs of the instances associated with the event window.
|
|
17958
|
+
*/
|
|
17959
|
+
InstanceIds?: InstanceIdList;
|
|
17960
|
+
/**
|
|
17961
|
+
* The instance tags associated with the event window. Any instances associated with the tags will be associated with the event window.
|
|
17962
|
+
*/
|
|
17963
|
+
Tags?: TagList;
|
|
17964
|
+
/**
|
|
17965
|
+
* The IDs of the Dedicated Hosts associated with the event window.
|
|
17966
|
+
*/
|
|
17967
|
+
DedicatedHostIds?: DedicatedHostIdList;
|
|
17968
|
+
}
|
|
17969
|
+
export type InstanceEventWindowCronExpression = string;
|
|
17970
|
+
export interface InstanceEventWindowDisassociationRequest {
|
|
17971
|
+
/**
|
|
17972
|
+
* The IDs of the instances to disassociate from the event window.
|
|
17973
|
+
*/
|
|
17974
|
+
InstanceIds?: InstanceIdList;
|
|
17975
|
+
/**
|
|
17976
|
+
* The instance tags to disassociate from the event window. Any instances associated with the tags will be disassociated from the event window.
|
|
17977
|
+
*/
|
|
17978
|
+
InstanceTags?: TagList;
|
|
17979
|
+
/**
|
|
17980
|
+
* The IDs of the Dedicated Hosts to disassociate from the event window.
|
|
17981
|
+
*/
|
|
17982
|
+
DedicatedHostIds?: DedicatedHostIdList;
|
|
17983
|
+
}
|
|
17984
|
+
export type InstanceEventWindowId = string;
|
|
17985
|
+
export type InstanceEventWindowIdSet = InstanceEventWindowId[];
|
|
17986
|
+
export type InstanceEventWindowSet = InstanceEventWindow[];
|
|
17987
|
+
export type InstanceEventWindowState = "creating"|"deleting"|"active"|"deleted"|string;
|
|
17988
|
+
export interface InstanceEventWindowStateChange {
|
|
17989
|
+
/**
|
|
17990
|
+
* The ID of the event window.
|
|
17991
|
+
*/
|
|
17992
|
+
InstanceEventWindowId?: InstanceEventWindowId;
|
|
17993
|
+
/**
|
|
17994
|
+
* The current state of the event window.
|
|
17995
|
+
*/
|
|
17996
|
+
State?: InstanceEventWindowState;
|
|
17997
|
+
}
|
|
17998
|
+
export interface InstanceEventWindowTimeRange {
|
|
17999
|
+
/**
|
|
18000
|
+
* The day on which the time range begins.
|
|
18001
|
+
*/
|
|
18002
|
+
StartWeekDay?: WeekDay;
|
|
18003
|
+
/**
|
|
18004
|
+
* The hour when the time range begins.
|
|
18005
|
+
*/
|
|
18006
|
+
StartHour?: Hour;
|
|
18007
|
+
/**
|
|
18008
|
+
* The day on which the time range ends.
|
|
18009
|
+
*/
|
|
18010
|
+
EndWeekDay?: WeekDay;
|
|
18011
|
+
/**
|
|
18012
|
+
* The hour when the time range ends.
|
|
18013
|
+
*/
|
|
18014
|
+
EndHour?: Hour;
|
|
18015
|
+
}
|
|
18016
|
+
export type InstanceEventWindowTimeRangeList = InstanceEventWindowTimeRange[];
|
|
18017
|
+
export interface InstanceEventWindowTimeRangeRequest {
|
|
18018
|
+
/**
|
|
18019
|
+
* The day on which the time range begins.
|
|
18020
|
+
*/
|
|
18021
|
+
StartWeekDay?: WeekDay;
|
|
18022
|
+
/**
|
|
18023
|
+
* The hour when the time range begins.
|
|
18024
|
+
*/
|
|
18025
|
+
StartHour?: Hour;
|
|
18026
|
+
/**
|
|
18027
|
+
* The day on which the time range ends.
|
|
18028
|
+
*/
|
|
18029
|
+
EndWeekDay?: WeekDay;
|
|
18030
|
+
/**
|
|
18031
|
+
* The hour when the time range ends.
|
|
18032
|
+
*/
|
|
18033
|
+
EndHour?: Hour;
|
|
18034
|
+
}
|
|
18035
|
+
export type InstanceEventWindowTimeRangeRequestSet = InstanceEventWindowTimeRangeRequest[];
|
|
17741
18036
|
export interface InstanceExportDetails {
|
|
17742
18037
|
/**
|
|
17743
18038
|
* The ID of the resource being exported.
|
|
@@ -17760,6 +18055,7 @@ declare namespace EC2 {
|
|
|
17760
18055
|
}
|
|
17761
18056
|
export type InstanceHealthStatus = "healthy"|"unhealthy"|string;
|
|
17762
18057
|
export type InstanceId = string;
|
|
18058
|
+
export type InstanceIdList = InstanceId[];
|
|
17763
18059
|
export type InstanceIdSet = InstanceId[];
|
|
17764
18060
|
export type InstanceIdStringList = InstanceId[];
|
|
17765
18061
|
export type InstanceIdsSet = InstanceId[];
|
|
@@ -20100,6 +20396,34 @@ declare namespace EC2 {
|
|
|
20100
20396
|
export interface ModifyInstanceEventStartTimeResult {
|
|
20101
20397
|
Event?: InstanceStatusEvent;
|
|
20102
20398
|
}
|
|
20399
|
+
export interface ModifyInstanceEventWindowRequest {
|
|
20400
|
+
/**
|
|
20401
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
|
20402
|
+
*/
|
|
20403
|
+
DryRun?: Boolean;
|
|
20404
|
+
/**
|
|
20405
|
+
* The name of the event window.
|
|
20406
|
+
*/
|
|
20407
|
+
Name?: String;
|
|
20408
|
+
/**
|
|
20409
|
+
* The ID of the event window.
|
|
20410
|
+
*/
|
|
20411
|
+
InstanceEventWindowId: InstanceEventWindowId;
|
|
20412
|
+
/**
|
|
20413
|
+
* The time ranges of the event window.
|
|
20414
|
+
*/
|
|
20415
|
+
TimeRanges?: InstanceEventWindowTimeRangeRequestSet;
|
|
20416
|
+
/**
|
|
20417
|
+
* The cron expression of the event window, for example, * 0-4,20-23 * * 1,5. Constraints: Only hour and day of the week values are supported. For day of the week values, you can specify either integers 0 through 6, or alternative single values SUN through SAT. The minute, month, and year must be specified by *. The hour value must be one or a multiple range, for example, 0-4 or 0-4,20-23. Each hour range must be >= 2 hours, for example, 0-2 or 20-23. The event window must be >= 4 hours. The combined total time ranges in the event window must be >= 4 hours. For more information about cron expressions, see cron on the Wikipedia website.
|
|
20418
|
+
*/
|
|
20419
|
+
CronExpression?: InstanceEventWindowCronExpression;
|
|
20420
|
+
}
|
|
20421
|
+
export interface ModifyInstanceEventWindowResult {
|
|
20422
|
+
/**
|
|
20423
|
+
* Information about the event window.
|
|
20424
|
+
*/
|
|
20425
|
+
InstanceEventWindow?: InstanceEventWindow;
|
|
20426
|
+
}
|
|
20103
20427
|
export interface ModifyInstanceMetadataOptionsRequest {
|
|
20104
20428
|
/**
|
|
20105
20429
|
* The ID of the instance.
|
|
@@ -23778,7 +24102,7 @@ declare namespace EC2 {
|
|
|
23778
24102
|
export type ResourceArn = string;
|
|
23779
24103
|
export type ResourceIdList = TaggableResourceId[];
|
|
23780
24104
|
export type ResourceList = String[];
|
|
23781
|
-
export type ResourceType = "client-vpn-endpoint"|"customer-gateway"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"internet-gateway"|"key-pair"|"launch-template"|"local-gateway-route-table-vpc-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"placement-group"|"reserved-instances"|"route-table"|"security-group"|"security-group-rule"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-route-table"|"volume"|"vpc"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log"|string;
|
|
24105
|
+
export type ResourceType = "client-vpn-endpoint"|"customer-gateway"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"instance-event-window"|"internet-gateway"|"key-pair"|"launch-template"|"local-gateway-route-table-vpc-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"placement-group"|"reserved-instances"|"route-table"|"security-group"|"security-group-rule"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-route-table"|"volume"|"vpc"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log"|string;
|
|
23782
24106
|
export interface ResponseError {
|
|
23783
24107
|
/**
|
|
23784
24108
|
* The error code.
|
|
@@ -23946,6 +24270,7 @@ declare namespace EC2 {
|
|
|
23946
24270
|
*/
|
|
23947
24271
|
PrefixList?: ManagedPrefixList;
|
|
23948
24272
|
}
|
|
24273
|
+
export type ResultRange = number;
|
|
23949
24274
|
export interface RevokeClientVpnIngressRequest {
|
|
23950
24275
|
/**
|
|
23951
24276
|
* The ID of the Client VPN endpoint with which the authorization rule is associated.
|
|
@@ -25819,7 +26144,7 @@ declare namespace EC2 {
|
|
|
25819
26144
|
*/
|
|
25820
26145
|
SpotInstanceType?: SpotInstanceType;
|
|
25821
26146
|
/**
|
|
25822
|
-
*
|
|
26147
|
+
* Deprecated.
|
|
25823
26148
|
*/
|
|
25824
26149
|
BlockDurationMinutes?: Integer;
|
|
25825
26150
|
/**
|
|
@@ -26301,7 +26626,7 @@ declare namespace EC2 {
|
|
|
26301
26626
|
export type TagList = Tag[];
|
|
26302
26627
|
export interface TagSpecification {
|
|
26303
26628
|
/**
|
|
26304
|
-
* The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | egress-only-internet-gateway | elastic-ip | elastic-gpu | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | image| import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | local-gateway-route-table-vpc-association | placement-group | prefix-list | natgateway | network-acl | network-interface | reserved-instances |route-table | security-group| snapshot | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-multicast-domain | transit-gateway-route-table | volume |vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for
|
|
26629
|
+
* The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | egress-only-internet-gateway | elastic-ip | elastic-gpu | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | image| import-image-task | import-snapshot-task | instance | instance-event-window | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | local-gateway-route-table-vpc-association | placement-group | prefix-list | natgateway | network-acl | network-interface | reserved-instances |route-table | security-group| snapshot | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-multicast-domain | transit-gateway-route-table | volume |vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for PrivateLink) | vpc-flow-log | vpn-connection | vpn-gateway. To tag a resource after it has been created, see CreateTags.
|
|
26305
26630
|
*/
|
|
26306
26631
|
ResourceType?: ResourceType;
|
|
26307
26632
|
/**
|
|
@@ -28717,6 +29042,7 @@ declare namespace EC2 {
|
|
|
28717
29042
|
StartupAction?: String;
|
|
28718
29043
|
}
|
|
28719
29044
|
export type VpnTunnelOptionsSpecificationsList = VpnTunnelOptionsSpecification[];
|
|
29045
|
+
export type WeekDay = "sunday"|"monday"|"tuesday"|"wednesday"|"thursday"|"friday"|"saturday"|string;
|
|
28720
29046
|
export interface WithdrawByoipCidrRequest {
|
|
28721
29047
|
/**
|
|
28722
29048
|
* The address range, in CIDR notation.
|