@aws-sdk/client-ec2 3.532.0 → 3.533.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.
@@ -44,7 +44,7 @@ declare const BundleInstanceCommand_base: {
44
44
  * AWSAccessKeyId: "STRING_VALUE",
45
45
  * Bucket: "STRING_VALUE",
46
46
  * Prefix: "STRING_VALUE",
47
- * UploadPolicy: "BLOB_VALUE",
47
+ * UploadPolicy: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
48
48
  * UploadPolicySignature: "STRING_VALUE",
49
49
  * },
50
50
  * },
@@ -68,7 +68,7 @@ declare const BundleInstanceCommand_base: {
68
68
  * // AWSAccessKeyId: "STRING_VALUE",
69
69
  * // Bucket: "STRING_VALUE",
70
70
  * // Prefix: "STRING_VALUE",
71
- * // UploadPolicy: "BLOB_VALUE",
71
+ * // UploadPolicy: new Uint8Array(),
72
72
  * // UploadPolicySignature: "STRING_VALUE",
73
73
  * // },
74
74
  * // },
@@ -55,7 +55,7 @@ declare const CancelBundleTaskCommand_base: {
55
55
  * // AWSAccessKeyId: "STRING_VALUE",
56
56
  * // Bucket: "STRING_VALUE",
57
57
  * // Prefix: "STRING_VALUE",
58
- * // UploadPolicy: "BLOB_VALUE",
58
+ * // UploadPolicy: new Uint8Array(),
59
59
  * // UploadPolicySignature: "STRING_VALUE",
60
60
  * // },
61
61
  * // },
@@ -74,7 +74,7 @@ declare const DescribeBundleTasksCommand_base: {
74
74
  * // AWSAccessKeyId: "STRING_VALUE",
75
75
  * // Bucket: "STRING_VALUE",
76
76
  * // Prefix: "STRING_VALUE",
77
- * // UploadPolicy: "BLOB_VALUE",
77
+ * // UploadPolicy: new Uint8Array(),
78
78
  * // UploadPolicySignature: "STRING_VALUE",
79
79
  * // },
80
80
  * // },
@@ -41,7 +41,7 @@ declare const ImportKeyPairCommand_base: {
41
41
  * const input = { // ImportKeyPairRequest
42
42
  * DryRun: true || false,
43
43
  * KeyName: "STRING_VALUE", // required
44
- * PublicKeyMaterial: "BLOB_VALUE", // required
44
+ * PublicKeyMaterial: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") // required
45
45
  * TagSpecifications: [ // TagSpecificationList
46
46
  * { // TagSpecification
47
47
  * ResourceType: "capacity-reservation" || "client-vpn-endpoint" || "customer-gateway" || "carrier-gateway" || "coip-pool" || "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" || "ipam" || "ipam-pool" || "ipam-scope" || "ipv4pool-ec2" || "ipv6pool-ec2" || "key-pair" || "launch-template" || "local-gateway" || "local-gateway-route-table" || "local-gateway-virtual-interface" || "local-gateway-virtual-interface-group" || "local-gateway-route-table-vpc-association" || "local-gateway-route-table-virtual-interface-group-association" || "natgateway" || "network-acl" || "network-interface" || "network-insights-analysis" || "network-insights-path" || "network-insights-access-scope" || "network-insights-access-scope-analysis" || "placement-group" || "prefix-list" || "replace-root-volume-task" || "reserved-instances" || "route-table" || "security-group" || "security-group-rule" || "snapshot" || "spot-fleet-request" || "spot-instances-request" || "subnet" || "subnet-cidr-reservation" || "traffic-mirror-filter" || "traffic-mirror-session" || "traffic-mirror-target" || "transit-gateway" || "transit-gateway-attachment" || "transit-gateway-connect-peer" || "transit-gateway-multicast-domain" || "transit-gateway-policy-table" || "transit-gateway-route-table" || "transit-gateway-route-table-announcement" || "volume" || "vpc" || "vpc-endpoint" || "vpc-endpoint-connection" || "vpc-endpoint-service" || "vpc-endpoint-service-permission" || "vpc-peering-connection" || "vpn-connection" || "vpn-gateway" || "vpc-flow-log" || "capacity-reservation-fleet" || "traffic-mirror-filter-rule" || "vpc-endpoint-connection-device-type" || "verified-access-instance" || "verified-access-group" || "verified-access-endpoint" || "verified-access-policy" || "verified-access-trust-provider" || "vpn-connection-device-type" || "vpc-block-public-access-exclusion" || "ipam-resource-discovery" || "ipam-resource-discovery-association" || "instance-connect-endpoint",
@@ -89,7 +89,7 @@ declare const ModifyInstanceAttributeCommand_base: {
89
89
  * Value: "STRING_VALUE",
90
90
  * },
91
91
  * UserData: { // BlobAttributeValue
92
- * Value: "BLOB_VALUE",
92
+ * Value: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
93
93
  * },
94
94
  * Value: "STRING_VALUE",
95
95
  * DisableApiStop: {
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { EC2ClientConfig } from "./EC2Client";
5
5
  export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -25,9 +25,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
25
25
  apiVersion: string;
26
26
  urlParser: import("@smithy/types").UrlParser;
27
27
  base64Decoder: import("@smithy/types").Decoder;
28
- base64Encoder: import("@smithy/types").Encoder;
28
+ base64Encoder: (_input: string | Uint8Array) => string;
29
29
  utf8Decoder: import("@smithy/types").Decoder;
30
- utf8Encoder: import("@smithy/types").Encoder;
30
+ utf8Encoder: (input: string | Uint8Array) => string;
31
31
  disableHostPrefix: boolean;
32
32
  serviceId: string;
33
33
  logger: import("@smithy/types").Logger;
@@ -29,9 +29,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
29
29
  apiVersion: string;
30
30
  urlParser: import("@smithy/types").UrlParser;
31
31
  base64Decoder: import("@smithy/types").Decoder;
32
- base64Encoder: import("@smithy/types").Encoder;
32
+ base64Encoder: (_input: string | Uint8Array) => string;
33
33
  utf8Decoder: import("@smithy/types").Decoder;
34
- utf8Encoder: import("@smithy/types").Encoder;
34
+ utf8Encoder: (input: string | Uint8Array) => string;
35
35
  disableHostPrefix: boolean;
36
36
  serviceId: string;
37
37
  logger: import("@smithy/types").Logger;
@@ -13,9 +13,9 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
13
13
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
14
14
  streamCollector: import("@smithy/types").StreamCollector;
15
15
  base64Decoder: import("@smithy/types").Decoder;
16
- base64Encoder: import("@smithy/types").Encoder;
16
+ base64Encoder: (_input: string | Uint8Array) => string;
17
17
  utf8Decoder: import("@smithy/types").Decoder;
18
- utf8Encoder: import("@smithy/types").Encoder;
18
+ utf8Encoder: (input: string | Uint8Array) => string;
19
19
  disableHostPrefix: boolean;
20
20
  serviceId: string;
21
21
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -2,7 +2,7 @@ import { EC2ClientConfig } from "./EC2Client";
2
2
  export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: import("@smithy/types").Encoder;
5
+ base64Encoder: (_input: string | Uint8Array) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: EC2ClientConfig) => {
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
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.532.0",
4
+ "version": "3.533.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-sdk-ec2": "3.525.0",
30
- "@aws-sdk/middleware-user-agent": "3.525.0",
31
- "@aws-sdk/region-config-resolver": "3.525.0",
32
- "@aws-sdk/types": "3.523.0",
33
- "@aws-sdk/util-endpoints": "3.525.0",
34
- "@aws-sdk/util-user-agent-browser": "3.523.0",
35
- "@aws-sdk/util-user-agent-node": "3.525.0",
36
- "@smithy/config-resolver": "^2.1.4",
37
- "@smithy/core": "^1.3.5",
38
- "@smithy/fetch-http-handler": "^2.4.3",
39
- "@smithy/hash-node": "^2.1.3",
40
- "@smithy/invalid-dependency": "^2.1.3",
41
- "@smithy/middleware-content-length": "^2.1.3",
42
- "@smithy/middleware-endpoint": "^2.4.4",
43
- "@smithy/middleware-retry": "^2.1.4",
44
- "@smithy/middleware-serde": "^2.1.3",
45
- "@smithy/middleware-stack": "^2.1.3",
46
- "@smithy/node-config-provider": "^2.2.4",
47
- "@smithy/node-http-handler": "^2.4.1",
48
- "@smithy/protocol-http": "^3.2.1",
49
- "@smithy/smithy-client": "^2.4.2",
50
- "@smithy/types": "^2.10.1",
51
- "@smithy/url-parser": "^2.1.3",
52
- "@smithy/util-base64": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.533.0",
24
+ "@aws-sdk/core": "3.533.0",
25
+ "@aws-sdk/credential-provider-node": "3.533.0",
26
+ "@aws-sdk/middleware-host-header": "3.533.0",
27
+ "@aws-sdk/middleware-logger": "3.533.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
+ "@aws-sdk/middleware-sdk-ec2": "3.533.0",
30
+ "@aws-sdk/middleware-user-agent": "3.533.0",
31
+ "@aws-sdk/region-config-resolver": "3.533.0",
32
+ "@aws-sdk/types": "3.533.0",
33
+ "@aws-sdk/util-endpoints": "3.533.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.533.0",
35
+ "@aws-sdk/util-user-agent-node": "3.533.0",
36
+ "@smithy/config-resolver": "^2.1.5",
37
+ "@smithy/core": "^1.3.8",
38
+ "@smithy/fetch-http-handler": "^2.4.5",
39
+ "@smithy/hash-node": "^2.1.4",
40
+ "@smithy/invalid-dependency": "^2.1.4",
41
+ "@smithy/middleware-content-length": "^2.1.4",
42
+ "@smithy/middleware-endpoint": "^2.4.6",
43
+ "@smithy/middleware-retry": "^2.1.7",
44
+ "@smithy/middleware-serde": "^2.2.1",
45
+ "@smithy/middleware-stack": "^2.1.4",
46
+ "@smithy/node-config-provider": "^2.2.5",
47
+ "@smithy/node-http-handler": "^2.4.3",
48
+ "@smithy/protocol-http": "^3.2.2",
49
+ "@smithy/smithy-client": "^2.4.5",
50
+ "@smithy/types": "^2.11.0",
51
+ "@smithy/url-parser": "^2.1.4",
52
+ "@smithy/util-base64": "^2.2.1",
53
53
  "@smithy/util-body-length-browser": "^2.1.1",
54
- "@smithy/util-body-length-node": "^2.2.1",
55
- "@smithy/util-defaults-mode-browser": "^2.1.4",
56
- "@smithy/util-defaults-mode-node": "^2.2.3",
57
- "@smithy/util-endpoints": "^1.1.4",
58
- "@smithy/util-middleware": "^2.1.3",
59
- "@smithy/util-retry": "^2.1.3",
60
- "@smithy/util-utf8": "^2.1.1",
61
- "@smithy/util-waiter": "^2.1.3",
54
+ "@smithy/util-body-length-node": "^2.2.2",
55
+ "@smithy/util-defaults-mode-browser": "^2.1.7",
56
+ "@smithy/util-defaults-mode-node": "^2.2.7",
57
+ "@smithy/util-endpoints": "^1.1.5",
58
+ "@smithy/util-middleware": "^2.1.4",
59
+ "@smithy/util-retry": "^2.1.4",
60
+ "@smithy/util-utf8": "^2.2.0",
61
+ "@smithy/util-waiter": "^2.1.4",
62
62
  "tslib": "^2.5.0",
63
63
  "uuid": "^9.0.1"
64
64
  },