aws-sdk 2.1305.0 → 2.1306.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 +19 -1
- package/README.md +1 -1
- package/apis/appsync-2017-07-25.min.json +104 -86
- package/apis/cloudtrail-2013-11-01.min.json +204 -55
- package/apis/cloudtrail-data-2021-08-11.examples.json +5 -0
- package/apis/cloudtrail-data-2021-08-11.min.json +94 -0
- package/apis/cloudtrail-data-2021-08-11.paginators.json +4 -0
- package/apis/codeartifact-2018-09-22.min.json +73 -21
- package/apis/ec2-2016-11-15.min.json +1465 -1291
- package/apis/groundstation-2019-05-23.min.json +312 -41
- package/apis/iot-2015-05-28.min.json +4 -1
- package/apis/metadata.json +4 -0
- package/apis/opensearch-2021-01-01.min.json +192 -176
- package/apis/sagemaker-2017-07-24.min.json +630 -585
- package/apis/securityhub-2018-10-26.min.json +173 -157
- package/clients/all.d.ts +1 -0
- package/clients/all.js +2 -1
- package/clients/appsync.d.ts +20 -2
- package/clients/cloudtrail.d.ts +234 -40
- package/clients/cloudtraildata.d.ts +111 -0
- package/clients/cloudtraildata.js +18 -0
- package/clients/codeartifact.d.ts +43 -6
- package/clients/ec2.d.ts +180 -2
- package/clients/groundstation.d.ts +284 -0
- package/clients/iot.d.ts +4 -0
- package/clients/opensearch.d.ts +31 -0
- package/clients/polly.d.ts +1 -1
- package/clients/sagemaker.d.ts +57 -1
- package/clients/securityhub.d.ts +26 -3
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +50 -13
- package/dist/aws-sdk.js +1680 -1350
- package/dist/aws-sdk.min.js +86 -86
- package/lib/config_service_placeholders.d.ts +2 -0
- package/lib/core.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {Request} from '../lib/request';
|
|
2
|
+
import {Response} from '../lib/response';
|
|
3
|
+
import {AWSError} from '../lib/error';
|
|
4
|
+
import {Service} from '../lib/service';
|
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
|
7
|
+
interface Blob {}
|
|
8
|
+
declare class CloudTrailData extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
|
11
|
+
*/
|
|
12
|
+
constructor(options?: CloudTrailData.Types.ClientConfiguration)
|
|
13
|
+
config: Config & CloudTrailData.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Ingests your application events into CloudTrail Lake. A required parameter, auditEvents, accepts the JSON records (also called payload) of events that you want CloudTrail to ingest. You can add up to 100 of these events (or up to 1 MB) per PutAuditEvents request.
|
|
16
|
+
*/
|
|
17
|
+
putAuditEvents(params: CloudTrailData.Types.PutAuditEventsRequest, callback?: (err: AWSError, data: CloudTrailData.Types.PutAuditEventsResponse) => void): Request<CloudTrailData.Types.PutAuditEventsResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Ingests your application events into CloudTrail Lake. A required parameter, auditEvents, accepts the JSON records (also called payload) of events that you want CloudTrail to ingest. You can add up to 100 of these events (or up to 1 MB) per PutAuditEvents request.
|
|
20
|
+
*/
|
|
21
|
+
putAuditEvents(callback?: (err: AWSError, data: CloudTrailData.Types.PutAuditEventsResponse) => void): Request<CloudTrailData.Types.PutAuditEventsResponse, AWSError>;
|
|
22
|
+
}
|
|
23
|
+
declare namespace CloudTrailData {
|
|
24
|
+
export interface AuditEvent {
|
|
25
|
+
/**
|
|
26
|
+
* The content of an audit event that comes from the event, such as userIdentity, userAgent, and eventSource.
|
|
27
|
+
*/
|
|
28
|
+
eventData: String;
|
|
29
|
+
/**
|
|
30
|
+
* A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches with the checksum. Calculate the checksum by running a command like the following: printf %s $eventdata | openssl dgst -binary -sha256 | base64
|
|
31
|
+
*/
|
|
32
|
+
eventDataChecksum?: String;
|
|
33
|
+
/**
|
|
34
|
+
* The original event ID from the source event.
|
|
35
|
+
*/
|
|
36
|
+
id: Uuid;
|
|
37
|
+
}
|
|
38
|
+
export type AuditEventResultEntries = AuditEventResultEntry[];
|
|
39
|
+
export interface AuditEventResultEntry {
|
|
40
|
+
/**
|
|
41
|
+
* The event ID assigned by CloudTrail.
|
|
42
|
+
*/
|
|
43
|
+
eventID: Uuid;
|
|
44
|
+
/**
|
|
45
|
+
* The original event ID from the source event.
|
|
46
|
+
*/
|
|
47
|
+
id: Uuid;
|
|
48
|
+
}
|
|
49
|
+
export type AuditEvents = AuditEvent[];
|
|
50
|
+
export type ChannelArn = string;
|
|
51
|
+
export type ErrorCode = string;
|
|
52
|
+
export type ErrorMessage = string;
|
|
53
|
+
export type ExternalId = string;
|
|
54
|
+
export interface PutAuditEventsRequest {
|
|
55
|
+
/**
|
|
56
|
+
* The JSON payload of events that you want to ingest. You can also point to the JSON event payload in a file.
|
|
57
|
+
*/
|
|
58
|
+
auditEvents: AuditEvents;
|
|
59
|
+
/**
|
|
60
|
+
* The ARN or ID (the ARN suffix) of a channel.
|
|
61
|
+
*/
|
|
62
|
+
channelArn: ChannelArn;
|
|
63
|
+
/**
|
|
64
|
+
* A unique identifier that is conditionally required when the channel's resource policy includes an external ID. This value can be any string, such as a passphrase or account number.
|
|
65
|
+
*/
|
|
66
|
+
externalId?: ExternalId;
|
|
67
|
+
}
|
|
68
|
+
export interface PutAuditEventsResponse {
|
|
69
|
+
/**
|
|
70
|
+
* Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error code and error message returned for events that could not be ingested.
|
|
71
|
+
*/
|
|
72
|
+
failed: ResultErrorEntries;
|
|
73
|
+
/**
|
|
74
|
+
* Lists events in the provided event payload that were successfully ingested into CloudTrail.
|
|
75
|
+
*/
|
|
76
|
+
successful: AuditEventResultEntries;
|
|
77
|
+
}
|
|
78
|
+
export type ResultErrorEntries = ResultErrorEntry[];
|
|
79
|
+
export interface ResultErrorEntry {
|
|
80
|
+
/**
|
|
81
|
+
* The error code for events that could not be ingested by CloudTrail. Possible error codes include: FieldTooLong, FieldNotFound, InvalidChecksum, InvalidData, InvalidRecipient, InvalidEventSource, AccountNotSubscribed, Throttling, and InternalFailure.
|
|
82
|
+
*/
|
|
83
|
+
errorCode: ErrorCode;
|
|
84
|
+
/**
|
|
85
|
+
* The message that describes the error for events that could not be ingested by CloudTrail.
|
|
86
|
+
*/
|
|
87
|
+
errorMessage: ErrorMessage;
|
|
88
|
+
/**
|
|
89
|
+
* The original event ID from the source event that could not be ingested by CloudTrail.
|
|
90
|
+
*/
|
|
91
|
+
id: Uuid;
|
|
92
|
+
}
|
|
93
|
+
export type String = string;
|
|
94
|
+
export type Uuid = string;
|
|
95
|
+
/**
|
|
96
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
97
|
+
*/
|
|
98
|
+
export type apiVersion = "2021-08-11"|"latest"|string;
|
|
99
|
+
export interface ClientApiVersions {
|
|
100
|
+
/**
|
|
101
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
102
|
+
*/
|
|
103
|
+
apiVersion?: apiVersion;
|
|
104
|
+
}
|
|
105
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
|
106
|
+
/**
|
|
107
|
+
* Contains interfaces for use with the CloudTrailData client.
|
|
108
|
+
*/
|
|
109
|
+
export import Types = CloudTrailData;
|
|
110
|
+
}
|
|
111
|
+
export = CloudTrailData;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require('../lib/node_loader');
|
|
2
|
+
var AWS = require('../lib/core');
|
|
3
|
+
var Service = AWS.Service;
|
|
4
|
+
var apiLoader = AWS.apiLoader;
|
|
5
|
+
|
|
6
|
+
apiLoader.services['cloudtraildata'] = {};
|
|
7
|
+
AWS.CloudTrailData = Service.defineService('cloudtraildata', ['2021-08-11']);
|
|
8
|
+
Object.defineProperty(apiLoader.services['cloudtraildata'], '2021-08-11', {
|
|
9
|
+
get: function get() {
|
|
10
|
+
var model = require('../apis/cloudtrail-data-2021-08-11.min.json');
|
|
11
|
+
model.paginators = require('../apis/cloudtrail-data-2021-08-11.paginators.json').pagination;
|
|
12
|
+
return model;
|
|
13
|
+
},
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
module.exports = AWS.CloudTrailData;
|
|
@@ -61,11 +61,19 @@ declare class CodeArtifact extends Service {
|
|
|
61
61
|
*/
|
|
62
62
|
deleteDomainPermissionsPolicy(callback?: (err: AWSError, data: CodeArtifact.Types.DeleteDomainPermissionsPolicyResult) => void): Request<CodeArtifact.Types.DeleteDomainPermissionsPolicyResult, AWSError>;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.
|
|
65
|
+
*/
|
|
66
|
+
deletePackage(params: CodeArtifact.Types.DeletePackageRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageResult) => void): Request<CodeArtifact.Types.DeletePackageResult, AWSError>;
|
|
67
|
+
/**
|
|
68
|
+
* Deletes a package and all associated package versions. A deleted package cannot be restored. To delete one or more package versions, use the DeletePackageVersions API.
|
|
69
|
+
*/
|
|
70
|
+
deletePackage(callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageResult) => void): Request<CodeArtifact.Types.DeletePackageResult, AWSError>;
|
|
71
|
+
/**
|
|
72
|
+
* Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListackageVersions), but you can restore them using UpdatePackageVersionsStatus.
|
|
65
73
|
*/
|
|
66
74
|
deletePackageVersions(params: CodeArtifact.Types.DeletePackageVersionsRequest, callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageVersionsResult) => void): Request<CodeArtifact.Types.DeletePackageVersionsResult, AWSError>;
|
|
67
75
|
/**
|
|
68
|
-
* Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example,
|
|
76
|
+
* Deletes one or more versions of a package. A deleted package version cannot be restored in your repository. If you want to remove a package version from your repository and be able to restore it later, set its status to Archived. Archived packages cannot be downloaded from a repository and don't show up with list package APIs (for example, ListackageVersions), but you can restore them using UpdatePackageVersionsStatus.
|
|
69
77
|
*/
|
|
70
78
|
deletePackageVersions(callback?: (err: AWSError, data: CodeArtifact.Types.DeletePackageVersionsResult) => void): Request<CodeArtifact.Types.DeletePackageVersionsResult, AWSError>;
|
|
71
79
|
/**
|
|
@@ -205,11 +213,11 @@ declare class CodeArtifact extends Service {
|
|
|
205
213
|
*/
|
|
206
214
|
listPackageVersionDependencies(callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageVersionDependenciesResult) => void): Request<CodeArtifact.Types.ListPackageVersionDependenciesResult, AWSError>;
|
|
207
215
|
/**
|
|
208
|
-
* Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters.
|
|
216
|
+
* Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions with no --status parameter.
|
|
209
217
|
*/
|
|
210
218
|
listPackageVersions(params: CodeArtifact.Types.ListPackageVersionsRequest, callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageVersionsResult) => void): Request<CodeArtifact.Types.ListPackageVersionsResult, AWSError>;
|
|
211
219
|
/**
|
|
212
|
-
* Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters.
|
|
220
|
+
* Returns a list of PackageVersionSummary objects for package versions in a repository that match the request parameters. Package versions of all statuses will be returned by default when calling list-package-versions with no --status parameter.
|
|
213
221
|
*/
|
|
214
222
|
listPackageVersions(callback?: (err: AWSError, data: CodeArtifact.Types.ListPackageVersionsResult) => void): Request<CodeArtifact.Types.ListPackageVersionsResult, AWSError>;
|
|
215
223
|
/**
|
|
@@ -494,6 +502,35 @@ declare namespace CodeArtifact {
|
|
|
494
502
|
*/
|
|
495
503
|
domain?: DomainDescription;
|
|
496
504
|
}
|
|
505
|
+
export interface DeletePackageRequest {
|
|
506
|
+
/**
|
|
507
|
+
* The name of the domain that contains the package to delete.
|
|
508
|
+
*/
|
|
509
|
+
domain: DomainName;
|
|
510
|
+
/**
|
|
511
|
+
* The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
|
|
512
|
+
*/
|
|
513
|
+
domainOwner?: AccountId;
|
|
514
|
+
/**
|
|
515
|
+
* The name of the repository that contains the package to delete.
|
|
516
|
+
*/
|
|
517
|
+
repository: RepositoryName;
|
|
518
|
+
/**
|
|
519
|
+
* The format of the requested package to delete.
|
|
520
|
+
*/
|
|
521
|
+
format: PackageFormat;
|
|
522
|
+
/**
|
|
523
|
+
* The namespace of the package to delete. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace is required when deleting Maven package versions. The namespace of an npm package is its scope. Python and NuGet packages do not contain corresponding components, packages of those formats do not have a namespace.
|
|
524
|
+
*/
|
|
525
|
+
namespace?: PackageNamespace;
|
|
526
|
+
/**
|
|
527
|
+
* The name of the package to delete.
|
|
528
|
+
*/
|
|
529
|
+
package: PackageName;
|
|
530
|
+
}
|
|
531
|
+
export interface DeletePackageResult {
|
|
532
|
+
deletedPackage?: PackageSummary;
|
|
533
|
+
}
|
|
497
534
|
export interface DeletePackageVersionsRequest {
|
|
498
535
|
/**
|
|
499
536
|
* The name of the domain that contains the package to delete.
|
|
@@ -1292,7 +1329,7 @@ declare namespace CodeArtifact {
|
|
|
1292
1329
|
*/
|
|
1293
1330
|
format?: PackageFormat;
|
|
1294
1331
|
/**
|
|
1295
|
-
* The namespace
|
|
1332
|
+
* The namespace used to filter requested packages. Only packages with the provided namespace will be returned. The package component that specifies its namespace depends on its type. For example: The namespace of a Maven package is its groupId. The namespace of an npm package is its scope. Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
|
|
1296
1333
|
*/
|
|
1297
1334
|
namespace?: PackageNamespace;
|
|
1298
1335
|
/**
|
|
@@ -1412,7 +1449,7 @@ declare namespace CodeArtifact {
|
|
|
1412
1449
|
*/
|
|
1413
1450
|
package?: PackageName;
|
|
1414
1451
|
/**
|
|
1415
|
-
* The type of a package dependency. The possible values depend on the package type.
|
|
1452
|
+
* The type of a package dependency. The possible values depend on the package type. Example types are compile, runtime, and test for Maven packages, and dev, prod, and optional for npm packages.
|
|
1416
1453
|
*/
|
|
1417
1454
|
dependencyType?: String;
|
|
1418
1455
|
/**
|
package/clients/ec2.d.ts
CHANGED
|
@@ -124,6 +124,14 @@ declare class EC2 extends Service {
|
|
|
124
124
|
* Assigns one or more secondary private IP addresses to the specified network interface. You can specify one or more specific secondary IP addresses, or you can specify the number of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. The number of secondary IP addresses that you can assign to an instance varies by instance type. For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. When you move a secondary private IP address to another network interface, any Elastic IP address that is associated with the IP address is also moved. Remapping an IP address is an asynchronous operation. When you move an IP address from one network interface to another, check network/interfaces/macs/mac/local-ipv4s in the instance metadata to confirm that the remapping is complete. You must specify either the IP addresses or the IP address count in the request. You can optionally use Prefix Delegation on the network interface. You must specify either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
|
|
125
125
|
*/
|
|
126
126
|
assignPrivateIpAddresses(callback?: (err: AWSError, data: EC2.Types.AssignPrivateIpAddressesResult) => void): Request<EC2.Types.AssignPrivateIpAddressesResult, AWSError>;
|
|
127
|
+
/**
|
|
128
|
+
* Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, see Work with NAT gateways in the Amazon Virtual Private Cloud User Guide.
|
|
129
|
+
*/
|
|
130
|
+
assignPrivateNatGatewayAddress(params: EC2.Types.AssignPrivateNatGatewayAddressRequest, callback?: (err: AWSError, data: EC2.Types.AssignPrivateNatGatewayAddressResult) => void): Request<EC2.Types.AssignPrivateNatGatewayAddressResult, AWSError>;
|
|
131
|
+
/**
|
|
132
|
+
* Assigns one or more private IPv4 addresses to a private NAT gateway. For more information, see Work with NAT gateways in the Amazon Virtual Private Cloud User Guide.
|
|
133
|
+
*/
|
|
134
|
+
assignPrivateNatGatewayAddress(callback?: (err: AWSError, data: EC2.Types.AssignPrivateNatGatewayAddressResult) => void): Request<EC2.Types.AssignPrivateNatGatewayAddressResult, AWSError>;
|
|
127
135
|
/**
|
|
128
136
|
* Associates an Elastic IP address, or carrier IP address (for instances that are in subnets in Wavelength Zones) with an instance or a network interface. Before you can use an Elastic IP address, you must allocate it to your account. An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide. [EC2-Classic, VPC in an EC2-VPC-only account] If the Elastic IP address is already associated with a different instance, it is disassociated from that instance and associated with the specified instance. If you associate an Elastic IP address with an instance that has an existing Elastic IP address, the existing address is disassociated from the instance, but remains allocated to your account. [VPC in an EC2-Classic account] If you don't specify a private IP address, the Elastic IP address is associated with the primary IP address. If the Elastic IP address is already associated with a different instance or a network interface, you get an error unless you allow reassociation. You cannot associate an Elastic IP address with an instance or network interface that has an existing Elastic IP address. [Subnets in Wavelength Zones] You can associate an IP address from the telecommunication carrier to the instance or network interface. You cannot associate an Elastic IP address with an interface in a different network border group. This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error, and you may be charged for each time the Elastic IP address is remapped to the same instance. For more information, see the Elastic IP Addresses section of Amazon EC2 Pricing. We are retiring EC2-Classic. We recommend that you migrate from EC2-Classic to a VPC. For more information, see Migrate from EC2-Classic to a VPC in the Amazon Elastic Compute Cloud User Guide.
|
|
129
137
|
*/
|
|
@@ -180,6 +188,14 @@ declare class EC2 extends Service {
|
|
|
180
188
|
* Associates an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.
|
|
181
189
|
*/
|
|
182
190
|
associateIpamResourceDiscovery(callback?: (err: AWSError, data: EC2.Types.AssociateIpamResourceDiscoveryResult) => void): Request<EC2.Types.AssociateIpamResourceDiscoveryResult, AWSError>;
|
|
191
|
+
/**
|
|
192
|
+
* Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon Virtual Private Cloud User Guide. By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon Virtual Private Cloud User Guide.
|
|
193
|
+
*/
|
|
194
|
+
associateNatGatewayAddress(params: EC2.Types.AssociateNatGatewayAddressRequest, callback?: (err: AWSError, data: EC2.Types.AssociateNatGatewayAddressResult) => void): Request<EC2.Types.AssociateNatGatewayAddressResult, AWSError>;
|
|
195
|
+
/**
|
|
196
|
+
* Associates Elastic IP addresses (EIPs) and private IPv4 addresses with a public NAT gateway. For more information, see Work with NAT gateways in the Amazon Virtual Private Cloud User Guide. By default, you can associate up to 2 Elastic IP addresses per public NAT gateway. You can increase the limit by requesting a quota adjustment. For more information, see Elastic IP address quotas in the Amazon Virtual Private Cloud User Guide.
|
|
197
|
+
*/
|
|
198
|
+
associateNatGatewayAddress(callback?: (err: AWSError, data: EC2.Types.AssociateNatGatewayAddressResult) => void): Request<EC2.Types.AssociateNatGatewayAddressResult, AWSError>;
|
|
183
199
|
/**
|
|
184
200
|
* 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.
|
|
185
201
|
*/
|
|
@@ -3060,6 +3076,14 @@ declare class EC2 extends Service {
|
|
|
3060
3076
|
* Disassociates a resource discovery from an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM Service to manage and monitor resources that belong to the owning account.
|
|
3061
3077
|
*/
|
|
3062
3078
|
disassociateIpamResourceDiscovery(callback?: (err: AWSError, data: EC2.Types.DisassociateIpamResourceDiscoveryResult) => void): Request<EC2.Types.DisassociateIpamResourceDiscoveryResult, AWSError>;
|
|
3079
|
+
/**
|
|
3080
|
+
* Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You cannot disassociate your primary EIP. For more information, see Edit secondary IP address associations in the Amazon Virtual Private Cloud User Guide. While disassociating is in progress, you cannot associate/disassociate additional EIPs while the connections are being drained. You are, however, allowed to delete the NAT gateway. An EIP will only be released at the end of MaxDrainDurationSeconds. The EIPs stay associated and support the existing connections but do not support any new connections (new connections are distributed across the remaining associated EIPs). As the existing connections drain out, the EIPs (and the corresponding private IPs mapped to them) get released.
|
|
3081
|
+
*/
|
|
3082
|
+
disassociateNatGatewayAddress(params: EC2.Types.DisassociateNatGatewayAddressRequest, callback?: (err: AWSError, data: EC2.Types.DisassociateNatGatewayAddressResult) => void): Request<EC2.Types.DisassociateNatGatewayAddressResult, AWSError>;
|
|
3083
|
+
/**
|
|
3084
|
+
* Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You cannot disassociate your primary EIP. For more information, see Edit secondary IP address associations in the Amazon Virtual Private Cloud User Guide. While disassociating is in progress, you cannot associate/disassociate additional EIPs while the connections are being drained. You are, however, allowed to delete the NAT gateway. An EIP will only be released at the end of MaxDrainDurationSeconds. The EIPs stay associated and support the existing connections but do not support any new connections (new connections are distributed across the remaining associated EIPs). As the existing connections drain out, the EIPs (and the corresponding private IPs mapped to them) get released.
|
|
3085
|
+
*/
|
|
3086
|
+
disassociateNatGatewayAddress(callback?: (err: AWSError, data: EC2.Types.DisassociateNatGatewayAddressResult) => void): Request<EC2.Types.DisassociateNatGatewayAddressResult, AWSError>;
|
|
3063
3087
|
/**
|
|
3064
3088
|
* 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.
|
|
3065
3089
|
*/
|
|
@@ -4660,6 +4684,14 @@ declare class EC2 extends Service {
|
|
|
4660
4684
|
* Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a network interface.
|
|
4661
4685
|
*/
|
|
4662
4686
|
unassignPrivateIpAddresses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
4687
|
+
/**
|
|
4688
|
+
* Unassigns secondary private NAT gateway IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see Edit secondary IP address associations in the Amazon Virtual Private Cloud User Guide. While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway. A private IP address will only be released at the end of MaxDrainDurationSeconds. The private IP addresses stay associated and support the existing connections but do not support any new connections (new connections are distributed across the remaining assigned private IP address). After the existing connections drain out, the private IP addresses get released.
|
|
4689
|
+
*/
|
|
4690
|
+
unassignPrivateNatGatewayAddress(params: EC2.Types.UnassignPrivateNatGatewayAddressRequest, callback?: (err: AWSError, data: EC2.Types.UnassignPrivateNatGatewayAddressResult) => void): Request<EC2.Types.UnassignPrivateNatGatewayAddressResult, AWSError>;
|
|
4691
|
+
/**
|
|
4692
|
+
* Unassigns secondary private NAT gateway IPv4 addresses from a private NAT gateway. You cannot unassign your primary private IP. For more information, see Edit secondary IP address associations in the Amazon Virtual Private Cloud User Guide. While unassigning is in progress, you cannot assign/unassign additional IP addresses while the connections are being drained. You are, however, allowed to delete the NAT gateway. A private IP address will only be released at the end of MaxDrainDurationSeconds. The private IP addresses stay associated and support the existing connections but do not support any new connections (new connections are distributed across the remaining assigned private IP address). After the existing connections drain out, the private IP addresses get released.
|
|
4693
|
+
*/
|
|
4694
|
+
unassignPrivateNatGatewayAddress(callback?: (err: AWSError, data: EC2.Types.UnassignPrivateNatGatewayAddressResult) => void): Request<EC2.Types.UnassignPrivateNatGatewayAddressResult, AWSError>;
|
|
4663
4695
|
/**
|
|
4664
4696
|
* Disables detailed monitoring for a running instance. For more information, see Monitoring your instances and volumes in the Amazon EC2 User Guide.
|
|
4665
4697
|
*/
|
|
@@ -5868,6 +5900,34 @@ declare namespace EC2 {
|
|
|
5868
5900
|
*/
|
|
5869
5901
|
AssignedIpv4Prefixes?: Ipv4PrefixesList;
|
|
5870
5902
|
}
|
|
5903
|
+
export interface AssignPrivateNatGatewayAddressRequest {
|
|
5904
|
+
/**
|
|
5905
|
+
* The NAT gateway ID.
|
|
5906
|
+
*/
|
|
5907
|
+
NatGatewayId: NatGatewayId;
|
|
5908
|
+
/**
|
|
5909
|
+
* The private IPv4 addresses you want to assign to the private NAT gateway.
|
|
5910
|
+
*/
|
|
5911
|
+
PrivateIpAddresses?: IpList;
|
|
5912
|
+
/**
|
|
5913
|
+
* The number of private IP addresses to assign to the NAT gateway. You can't specify this parameter when also specifying private IP addresses.
|
|
5914
|
+
*/
|
|
5915
|
+
PrivateIpAddressCount?: PrivateIpAddressCount;
|
|
5916
|
+
/**
|
|
5917
|
+
* 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.
|
|
5918
|
+
*/
|
|
5919
|
+
DryRun?: Boolean;
|
|
5920
|
+
}
|
|
5921
|
+
export interface AssignPrivateNatGatewayAddressResult {
|
|
5922
|
+
/**
|
|
5923
|
+
* The NAT gateway ID.
|
|
5924
|
+
*/
|
|
5925
|
+
NatGatewayId?: NatGatewayId;
|
|
5926
|
+
/**
|
|
5927
|
+
* NAT gateway IP addresses.
|
|
5928
|
+
*/
|
|
5929
|
+
NatGatewayAddresses?: NatGatewayAddressList;
|
|
5930
|
+
}
|
|
5871
5931
|
export interface AssignedPrivateIpAddress {
|
|
5872
5932
|
/**
|
|
5873
5933
|
* The private IP address assigned to the network interface.
|
|
@@ -6045,6 +6105,34 @@ declare namespace EC2 {
|
|
|
6045
6105
|
*/
|
|
6046
6106
|
IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation;
|
|
6047
6107
|
}
|
|
6108
|
+
export interface AssociateNatGatewayAddressRequest {
|
|
6109
|
+
/**
|
|
6110
|
+
* The NAT gateway ID.
|
|
6111
|
+
*/
|
|
6112
|
+
NatGatewayId: NatGatewayId;
|
|
6113
|
+
/**
|
|
6114
|
+
* The allocation IDs of EIPs that you want to associate with your NAT gateway.
|
|
6115
|
+
*/
|
|
6116
|
+
AllocationIds: AllocationIdList;
|
|
6117
|
+
/**
|
|
6118
|
+
* The private IPv4 addresses that you want to assign to the NAT gateway.
|
|
6119
|
+
*/
|
|
6120
|
+
PrivateIpAddresses?: IpList;
|
|
6121
|
+
/**
|
|
6122
|
+
* 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.
|
|
6123
|
+
*/
|
|
6124
|
+
DryRun?: Boolean;
|
|
6125
|
+
}
|
|
6126
|
+
export interface AssociateNatGatewayAddressResult {
|
|
6127
|
+
/**
|
|
6128
|
+
* The NAT gateway ID.
|
|
6129
|
+
*/
|
|
6130
|
+
NatGatewayId?: NatGatewayId;
|
|
6131
|
+
/**
|
|
6132
|
+
* The IP addresses.
|
|
6133
|
+
*/
|
|
6134
|
+
NatGatewayAddresses?: NatGatewayAddressList;
|
|
6135
|
+
}
|
|
6048
6136
|
export interface AssociateRouteTableRequest {
|
|
6049
6137
|
/**
|
|
6050
6138
|
* 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.
|
|
@@ -8115,7 +8203,7 @@ declare namespace EC2 {
|
|
|
8115
8203
|
/**
|
|
8116
8204
|
* When you copy an encrypted source snapshot using the Amazon EC2 Query API, you must supply a pre-signed URL. This parameter is optional for unencrypted snapshots. For more information, see Query requests. The PresignedUrl should use the snapshot source endpoint, the CopySnapshot action, and include the SourceRegion, SourceSnapshotId, and DestinationRegion parameters. The PresignedUrl must be signed using Amazon Web Services Signature Version 4. Because EBS snapshots are stored in Amazon S3, the signing algorithm for this parameter uses the same logic that is described in Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) in the Amazon Simple Storage Service API Reference. An invalid or improperly signed PresignedUrl will cause the copy operation to fail asynchronously, and the snapshot will move to an error state.
|
|
8117
8205
|
*/
|
|
8118
|
-
PresignedUrl?:
|
|
8206
|
+
PresignedUrl?: CopySnapshotRequestPSU;
|
|
8119
8207
|
/**
|
|
8120
8208
|
* The ID of the Region that contains the snapshot to be copied.
|
|
8121
8209
|
*/
|
|
@@ -8133,6 +8221,7 @@ declare namespace EC2 {
|
|
|
8133
8221
|
*/
|
|
8134
8222
|
DryRun?: Boolean;
|
|
8135
8223
|
}
|
|
8224
|
+
export type CopySnapshotRequestPSU = string;
|
|
8136
8225
|
export interface CopySnapshotResult {
|
|
8137
8226
|
/**
|
|
8138
8227
|
* The ID of the new snapshot.
|
|
@@ -9375,7 +9464,7 @@ declare namespace EC2 {
|
|
|
9375
9464
|
*/
|
|
9376
9465
|
DryRun?: Boolean;
|
|
9377
9466
|
/**
|
|
9378
|
-
* The subnet in which to create the NAT gateway.
|
|
9467
|
+
* The ID of the subnet in which to create the NAT gateway.
|
|
9379
9468
|
*/
|
|
9380
9469
|
SubnetId: SubnetId;
|
|
9381
9470
|
/**
|
|
@@ -9390,6 +9479,18 @@ declare namespace EC2 {
|
|
|
9390
9479
|
* The private IPv4 address to assign to the NAT gateway. If you don't provide an address, a private IPv4 address will be automatically assigned.
|
|
9391
9480
|
*/
|
|
9392
9481
|
PrivateIpAddress?: String;
|
|
9482
|
+
/**
|
|
9483
|
+
* Secondary EIP allocation IDs. For more information about secondary addresses, see Create a NAT gateway in the Amazon Virtual Private Cloud User Guide.
|
|
9484
|
+
*/
|
|
9485
|
+
SecondaryAllocationIds?: AllocationIdList;
|
|
9486
|
+
/**
|
|
9487
|
+
* Secondary private IPv4 addresses. For more information about secondary addresses, see Create a NAT gateway in the Amazon Virtual Private Cloud User Guide.
|
|
9488
|
+
*/
|
|
9489
|
+
SecondaryPrivateIpAddresses?: IpList;
|
|
9490
|
+
/**
|
|
9491
|
+
* [Private NAT gateway only] The number of secondary private IPv4 addresses you want to assign to the NAT gateway. For more information about secondary addresses, see Create a NAT gateway in the Amazon Virtual Private Cloud User Guide.
|
|
9492
|
+
*/
|
|
9493
|
+
SecondaryPrivateIpAddressCount?: PrivateIpAddressCount;
|
|
9393
9494
|
}
|
|
9394
9495
|
export interface CreateNatGatewayResult {
|
|
9395
9496
|
/**
|
|
@@ -17962,6 +18063,34 @@ declare namespace EC2 {
|
|
|
17962
18063
|
*/
|
|
17963
18064
|
IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation;
|
|
17964
18065
|
}
|
|
18066
|
+
export interface DisassociateNatGatewayAddressRequest {
|
|
18067
|
+
/**
|
|
18068
|
+
* The NAT gateway ID.
|
|
18069
|
+
*/
|
|
18070
|
+
NatGatewayId: NatGatewayId;
|
|
18071
|
+
/**
|
|
18072
|
+
* The association IDs of EIPs that have been associated with the NAT gateway.
|
|
18073
|
+
*/
|
|
18074
|
+
AssociationIds: EipAssociationIdList;
|
|
18075
|
+
/**
|
|
18076
|
+
* The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
|
|
18077
|
+
*/
|
|
18078
|
+
MaxDrainDurationSeconds?: DrainSeconds;
|
|
18079
|
+
/**
|
|
18080
|
+
* 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.
|
|
18081
|
+
*/
|
|
18082
|
+
DryRun?: Boolean;
|
|
18083
|
+
}
|
|
18084
|
+
export interface DisassociateNatGatewayAddressResult {
|
|
18085
|
+
/**
|
|
18086
|
+
* The NAT gateway ID.
|
|
18087
|
+
*/
|
|
18088
|
+
NatGatewayId?: NatGatewayId;
|
|
18089
|
+
/**
|
|
18090
|
+
* Information about the NAT gateway IP addresses.
|
|
18091
|
+
*/
|
|
18092
|
+
NatGatewayAddresses?: NatGatewayAddressList;
|
|
18093
|
+
}
|
|
17965
18094
|
export interface DisassociateRouteTableRequest {
|
|
17966
18095
|
/**
|
|
17967
18096
|
* The association ID representing the current association between the route table and subnet or gateway.
|
|
@@ -18211,6 +18340,7 @@ declare namespace EC2 {
|
|
|
18211
18340
|
export type DomainType = "vpc"|"standard"|string;
|
|
18212
18341
|
export type Double = number;
|
|
18213
18342
|
export type DoubleWithConstraints = number;
|
|
18343
|
+
export type DrainSeconds = number;
|
|
18214
18344
|
export type DynamicRoutingValue = "enable"|"disable"|string;
|
|
18215
18345
|
export interface EbsBlockDevice {
|
|
18216
18346
|
/**
|
|
@@ -18349,6 +18479,7 @@ declare namespace EC2 {
|
|
|
18349
18479
|
export type EgressOnlyInternetGatewayId = string;
|
|
18350
18480
|
export type EgressOnlyInternetGatewayIdList = EgressOnlyInternetGatewayId[];
|
|
18351
18481
|
export type EgressOnlyInternetGatewayList = EgressOnlyInternetGateway[];
|
|
18482
|
+
export type EipAssociationIdList = ElasticIpAssociationId[];
|
|
18352
18483
|
export interface ElasticGpuAssociation {
|
|
18353
18484
|
/**
|
|
18354
18485
|
* The ID of the Elastic Graphics accelerator.
|
|
@@ -23794,6 +23925,7 @@ declare namespace EC2 {
|
|
|
23794
23925
|
export type IpAddress = string;
|
|
23795
23926
|
export type IpAddressList = IpAddress[];
|
|
23796
23927
|
export type IpAddressType = "ipv4"|"dualstack"|"ipv6"|string;
|
|
23928
|
+
export type IpList = String[];
|
|
23797
23929
|
export interface IpPermission {
|
|
23798
23930
|
/**
|
|
23799
23931
|
* If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP or ICMPv6, this is the type number. A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you must specify all ICMP/ICMPv6 codes.
|
|
@@ -28253,8 +28385,25 @@ declare namespace EC2 {
|
|
|
28253
28385
|
* [Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
|
|
28254
28386
|
*/
|
|
28255
28387
|
PublicIp?: String;
|
|
28388
|
+
/**
|
|
28389
|
+
* [Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
|
|
28390
|
+
*/
|
|
28391
|
+
AssociationId?: String;
|
|
28392
|
+
/**
|
|
28393
|
+
* Defines if the IP address is the primary address.
|
|
28394
|
+
*/
|
|
28395
|
+
IsPrimary?: Boolean;
|
|
28396
|
+
/**
|
|
28397
|
+
* The address failure message.
|
|
28398
|
+
*/
|
|
28399
|
+
FailureMessage?: String;
|
|
28400
|
+
/**
|
|
28401
|
+
* The address status.
|
|
28402
|
+
*/
|
|
28403
|
+
Status?: NatGatewayAddressStatus;
|
|
28256
28404
|
}
|
|
28257
28405
|
export type NatGatewayAddressList = NatGatewayAddress[];
|
|
28406
|
+
export type NatGatewayAddressStatus = "assigning"|"unassigning"|"associating"|"disassociating"|"succeeded"|"failed"|string;
|
|
28258
28407
|
export type NatGatewayId = string;
|
|
28259
28408
|
export type NatGatewayIdStringList = NatGatewayId[];
|
|
28260
28409
|
export type NatGatewayList = NatGateway[];
|
|
@@ -29631,6 +29780,7 @@ declare namespace EC2 {
|
|
|
29631
29780
|
EnableResourceNameDnsAAAARecord?: Boolean;
|
|
29632
29781
|
}
|
|
29633
29782
|
export type PrivateIpAddressConfigSet = ScheduledInstancesPrivateIpAddressConfig[];
|
|
29783
|
+
export type PrivateIpAddressCount = number;
|
|
29634
29784
|
export interface PrivateIpAddressSpecification {
|
|
29635
29785
|
/**
|
|
29636
29786
|
* Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
|
|
@@ -35915,6 +36065,34 @@ declare namespace EC2 {
|
|
|
35915
36065
|
*/
|
|
35916
36066
|
Ipv4Prefixes?: IpPrefixList;
|
|
35917
36067
|
}
|
|
36068
|
+
export interface UnassignPrivateNatGatewayAddressRequest {
|
|
36069
|
+
/**
|
|
36070
|
+
* The NAT gateway ID.
|
|
36071
|
+
*/
|
|
36072
|
+
NatGatewayId: NatGatewayId;
|
|
36073
|
+
/**
|
|
36074
|
+
* The private IPv4 addresses you want to unassign.
|
|
36075
|
+
*/
|
|
36076
|
+
PrivateIpAddresses: IpList;
|
|
36077
|
+
/**
|
|
36078
|
+
* The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
|
|
36079
|
+
*/
|
|
36080
|
+
MaxDrainDurationSeconds?: DrainSeconds;
|
|
36081
|
+
/**
|
|
36082
|
+
* 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.
|
|
36083
|
+
*/
|
|
36084
|
+
DryRun?: Boolean;
|
|
36085
|
+
}
|
|
36086
|
+
export interface UnassignPrivateNatGatewayAddressResult {
|
|
36087
|
+
/**
|
|
36088
|
+
* The NAT gateway ID.
|
|
36089
|
+
*/
|
|
36090
|
+
NatGatewayId?: NatGatewayId;
|
|
36091
|
+
/**
|
|
36092
|
+
* Information about the NAT gateway IP addresses.
|
|
36093
|
+
*/
|
|
36094
|
+
NatGatewayAddresses?: NatGatewayAddressList;
|
|
36095
|
+
}
|
|
35918
36096
|
export type UnlimitedSupportedInstanceFamily = "t2"|"t3"|"t3a"|"t4g"|string;
|
|
35919
36097
|
export interface UnmonitorInstancesRequest {
|
|
35920
36098
|
/**
|