@aws-sdk/client-ec2 3.353.0 → 3.355.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/dist-cjs/protocols/Aws_ec2.js +12 -0
- package/dist-es/protocols/Aws_ec2.js +12 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +9 -16
- package/dist-types/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +4 -0
- package/dist-types/models/models_4.d.ts +13 -1
- package/dist-types/models/models_6.d.ts +15 -1
- package/dist-types/ts3.4/models/models_4.d.ts +2 -0
- package/dist-types/ts3.4/models/models_6.d.ts +2 -0
- package/package.json +10 -10
|
@@ -44418,6 +44418,12 @@ const se_VerifiedAccessLogOptions = (input, context) => {
|
|
|
44418
44418
|
entries[loc] = value;
|
|
44419
44419
|
});
|
|
44420
44420
|
}
|
|
44421
|
+
if (input.LogVersion != null) {
|
|
44422
|
+
entries["LogVersion"] = input.LogVersion;
|
|
44423
|
+
}
|
|
44424
|
+
if (input.IncludeTrustContext != null) {
|
|
44425
|
+
entries["IncludeTrustContext"] = input.IncludeTrustContext;
|
|
44426
|
+
}
|
|
44421
44427
|
return entries;
|
|
44422
44428
|
};
|
|
44423
44429
|
const se_VerifiedAccessLogS3DestinationOptions = (input, context) => {
|
|
@@ -64061,6 +64067,12 @@ const de_VerifiedAccessLogs = (output, context) => {
|
|
|
64061
64067
|
if (output["kinesisDataFirehose"] !== undefined) {
|
|
64062
64068
|
contents.KinesisDataFirehose = de_VerifiedAccessLogKinesisDataFirehoseDestination(output["kinesisDataFirehose"], context);
|
|
64063
64069
|
}
|
|
64070
|
+
if (output["logVersion"] !== undefined) {
|
|
64071
|
+
contents.LogVersion = (0, smithy_client_1.expectString)(output["logVersion"]);
|
|
64072
|
+
}
|
|
64073
|
+
if (output["includeTrustContext"] !== undefined) {
|
|
64074
|
+
contents.IncludeTrustContext = (0, smithy_client_1.parseBoolean)(output["includeTrustContext"]);
|
|
64075
|
+
}
|
|
64064
64076
|
return contents;
|
|
64065
64077
|
};
|
|
64066
64078
|
const de_VerifiedAccessLogS3Destination = (output, context) => {
|
|
@@ -43204,6 +43204,12 @@ const se_VerifiedAccessLogOptions = (input, context) => {
|
|
|
43204
43204
|
entries[loc] = value;
|
|
43205
43205
|
});
|
|
43206
43206
|
}
|
|
43207
|
+
if (input.LogVersion != null) {
|
|
43208
|
+
entries["LogVersion"] = input.LogVersion;
|
|
43209
|
+
}
|
|
43210
|
+
if (input.IncludeTrustContext != null) {
|
|
43211
|
+
entries["IncludeTrustContext"] = input.IncludeTrustContext;
|
|
43212
|
+
}
|
|
43207
43213
|
return entries;
|
|
43208
43214
|
};
|
|
43209
43215
|
const se_VerifiedAccessLogS3DestinationOptions = (input, context) => {
|
|
@@ -62847,6 +62853,12 @@ const de_VerifiedAccessLogs = (output, context) => {
|
|
|
62847
62853
|
if (output["kinesisDataFirehose"] !== undefined) {
|
|
62848
62854
|
contents.KinesisDataFirehose = de_VerifiedAccessLogKinesisDataFirehoseDestination(output["kinesisDataFirehose"], context);
|
|
62849
62855
|
}
|
|
62856
|
+
if (output["logVersion"] !== undefined) {
|
|
62857
|
+
contents.LogVersion = __expectString(output["logVersion"]);
|
|
62858
|
+
}
|
|
62859
|
+
if (output["includeTrustContext"] !== undefined) {
|
|
62860
|
+
contents.IncludeTrustContext = __parseBoolean(output["includeTrustContext"]);
|
|
62861
|
+
}
|
|
62850
62862
|
return contents;
|
|
62851
62863
|
};
|
|
62852
62864
|
const de_VerifiedAccessLogS3Destination = (output, context) => {
|
|
@@ -27,13 +27,7 @@ export interface DescribeAccountAttributesCommandOutput extends DescribeAccountA
|
|
|
27
27
|
* <ul>
|
|
28
28
|
* <li>
|
|
29
29
|
* <p>
|
|
30
|
-
* <code>
|
|
31
|
-
* into EC2-Classic and EC2-VPC, or only into EC2-VPC.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>default-vpc</code>: The ID of the default VPC for your account, or
|
|
36
|
-
* <code>none</code>.</p>
|
|
30
|
+
* <code>default-vpc</code>: The ID of the default VPC for your account, or <code>none</code>.</p>
|
|
37
31
|
* </li>
|
|
38
32
|
* <li>
|
|
39
33
|
* <p>
|
|
@@ -44,23 +38,22 @@ export interface DescribeAccountAttributesCommandOutput extends DescribeAccountA
|
|
|
44
38
|
* </li>
|
|
45
39
|
* <li>
|
|
46
40
|
* <p>
|
|
47
|
-
* <code>
|
|
48
|
-
* that you can assign to a network interface.</p>
|
|
41
|
+
* <code>max-elastic-ips</code>: The maximum number of Elastic IP addresses that you can allocate.</p>
|
|
49
42
|
* </li>
|
|
50
43
|
* <li>
|
|
51
44
|
* <p>
|
|
52
|
-
* <code>
|
|
53
|
-
* allocate for use with EC2-Classic. </p>
|
|
45
|
+
* <code>supported-platforms</code>: This attribute is deprecated.</p>
|
|
54
46
|
* </li>
|
|
55
47
|
* <li>
|
|
56
48
|
* <p>
|
|
57
|
-
* <code>vpc-max-elastic-ips</code>: The maximum number of Elastic IP addresses that you can
|
|
58
|
-
*
|
|
49
|
+
* <code>vpc-max-elastic-ips</code>: The maximum number of Elastic IP addresses that you can allocate.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <code>vpc-max-security-groups-per-interface</code>: The maximum number of security groups
|
|
54
|
+
* that you can assign to a network interface.</p>
|
|
59
55
|
* </li>
|
|
60
56
|
* </ul>
|
|
61
|
-
* <note>
|
|
62
|
-
* <p>We are retiring EC2-Classic on August 15, 2022. We recommend that you migrate from EC2-Classic to a VPC. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the <i>Amazon EC2 User Guide</i>.</p>
|
|
63
|
-
* </note>
|
|
64
57
|
* @example
|
|
65
58
|
* Use a bare-bones client and the command you need to make an API call.
|
|
66
59
|
* ```javascript
|
|
@@ -47,6 +47,8 @@ export interface ModifyVerifiedAccessInstanceLoggingConfigurationCommandOutput e
|
|
|
47
47
|
* Enabled: true || false, // required
|
|
48
48
|
* DeliveryStream: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
|
+
* LogVersion: "STRING_VALUE",
|
|
51
|
+
* IncludeTrustContext: true || false,
|
|
50
52
|
* },
|
|
51
53
|
* DryRun: true || false,
|
|
52
54
|
* ClientToken: "STRING_VALUE",
|
|
@@ -83,6 +85,8 @@ export interface ModifyVerifiedAccessInstanceLoggingConfigurationCommandOutput e
|
|
|
83
85
|
* // },
|
|
84
86
|
* // DeliveryStream: "STRING_VALUE",
|
|
85
87
|
* // },
|
|
88
|
+
* // LogVersion: "STRING_VALUE",
|
|
89
|
+
* // IncludeTrustContext: true || false,
|
|
86
90
|
* // },
|
|
87
91
|
* // },
|
|
88
92
|
* // };
|
|
@@ -9762,7 +9762,7 @@ export interface VerifiedAccessLogS3Destination {
|
|
|
9762
9762
|
}
|
|
9763
9763
|
/**
|
|
9764
9764
|
* @public
|
|
9765
|
-
* <p>Describes the
|
|
9765
|
+
* <p>Describes the options for Verified Access logs.</p>
|
|
9766
9766
|
*/
|
|
9767
9767
|
export interface VerifiedAccessLogs {
|
|
9768
9768
|
/**
|
|
@@ -9777,6 +9777,18 @@ export interface VerifiedAccessLogs {
|
|
|
9777
9777
|
* <p>Kinesis logging destination.</p>
|
|
9778
9778
|
*/
|
|
9779
9779
|
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination;
|
|
9780
|
+
/**
|
|
9781
|
+
* <p>
|
|
9782
|
+
* Describes current setting for the logging version.
|
|
9783
|
+
* </p>
|
|
9784
|
+
*/
|
|
9785
|
+
LogVersion?: string;
|
|
9786
|
+
/**
|
|
9787
|
+
* <p>
|
|
9788
|
+
* Describes current setting for including trust data into the logs.
|
|
9789
|
+
* </p>
|
|
9790
|
+
*/
|
|
9791
|
+
IncludeTrustContext?: boolean;
|
|
9780
9792
|
}
|
|
9781
9793
|
/**
|
|
9782
9794
|
* @internal
|
|
@@ -3331,7 +3331,7 @@ export interface VerifiedAccessLogS3DestinationOptions {
|
|
|
3331
3331
|
}
|
|
3332
3332
|
/**
|
|
3333
3333
|
* @public
|
|
3334
|
-
* <p>
|
|
3334
|
+
* <p>Options for Verified Access logs.</p>
|
|
3335
3335
|
*/
|
|
3336
3336
|
export interface VerifiedAccessLogOptions {
|
|
3337
3337
|
/**
|
|
@@ -3346,6 +3346,20 @@ export interface VerifiedAccessLogOptions {
|
|
|
3346
3346
|
* <p>Sends Verified Access logs to Kinesis.</p>
|
|
3347
3347
|
*/
|
|
3348
3348
|
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestinationOptions;
|
|
3349
|
+
/**
|
|
3350
|
+
* <p>
|
|
3351
|
+
* The logging version to use.
|
|
3352
|
+
* </p>
|
|
3353
|
+
* <p>Valid values: <code>ocsf-0.1</code> | <code>ocsf-1.0.0-rc.2</code>
|
|
3354
|
+
* </p>
|
|
3355
|
+
*/
|
|
3356
|
+
LogVersion?: string;
|
|
3357
|
+
/**
|
|
3358
|
+
* <p>
|
|
3359
|
+
* Include trust data sent by trust providers into the logs.
|
|
3360
|
+
* </p>
|
|
3361
|
+
*/
|
|
3362
|
+
IncludeTrustContext?: boolean;
|
|
3349
3363
|
}
|
|
3350
3364
|
/**
|
|
3351
3365
|
* @public
|
|
@@ -2079,6 +2079,8 @@ export interface VerifiedAccessLogs {
|
|
|
2079
2079
|
S3?: VerifiedAccessLogS3Destination;
|
|
2080
2080
|
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestination;
|
|
2081
2081
|
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestination;
|
|
2082
|
+
LogVersion?: string;
|
|
2083
|
+
IncludeTrustContext?: boolean;
|
|
2082
2084
|
}
|
|
2083
2085
|
export declare const DescribeLaunchTemplateVersionsResultFilterSensitiveLog: (
|
|
2084
2086
|
obj: DescribeLaunchTemplateVersionsResult
|
|
@@ -968,6 +968,8 @@ export interface VerifiedAccessLogOptions {
|
|
|
968
968
|
S3?: VerifiedAccessLogS3DestinationOptions;
|
|
969
969
|
CloudWatchLogs?: VerifiedAccessLogCloudWatchLogsDestinationOptions;
|
|
970
970
|
KinesisDataFirehose?: VerifiedAccessLogKinesisDataFirehoseDestinationOptions;
|
|
971
|
+
LogVersion?: string;
|
|
972
|
+
IncludeTrustContext?: boolean;
|
|
971
973
|
}
|
|
972
974
|
export interface ModifyVerifiedAccessInstanceLoggingConfigurationRequest {
|
|
973
975
|
VerifiedAccessInstanceId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.355.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.354.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.354.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.354.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.353.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.347.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.347.0",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.347.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.347.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.347.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-sdk-ec2": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.354.0",
|
|
36
|
+
"@aws-sdk/middleware-sdk-ec2": "3.354.0",
|
|
37
37
|
"@aws-sdk/middleware-serde": "3.347.0",
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.354.0",
|
|
39
39
|
"@aws-sdk/middleware-stack": "3.347.0",
|
|
40
40
|
"@aws-sdk/middleware-user-agent": "3.352.0",
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.354.0",
|
|
42
42
|
"@aws-sdk/node-http-handler": "3.350.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.347.0",
|
|
44
44
|
"@aws-sdk/types": "3.347.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.353.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.354.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.352.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.347.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.347.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.354.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
56
56
|
"@aws-sdk/util-waiter": "3.347.0",
|
|
57
57
|
"@smithy/protocol-http": "^1.0.1",
|