@aws-sdk/client-ec2 3.1097.0 → 3.1098.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.
Files changed (82) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +113 -11
  3. package/dist-es/EC2.js +8 -0
  4. package/dist-es/commands/CreateTransitGatewayPolicyTableEntryCommand.js +4 -0
  5. package/dist-es/commands/DeleteTransitGatewayPolicyTableEntryCommand.js +4 -0
  6. package/dist-es/commands/ModifyTransitGatewayPolicyTableEntryCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +4 -0
  9. package/dist-es/pagination/GetTransitGatewayPolicyTableEntriesPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +77 -10
  12. package/dist-types/EC2.d.ts +28 -0
  13. package/dist-types/EC2Client.d.ts +5 -2
  14. package/dist-types/commands/CreateTransitGatewayPolicyTableEntryCommand.d.ts +100 -0
  15. package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteRouteServerCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteRouteServerEndpointCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteRouteServerPeerCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteTransitGatewayPolicyTableEntryCommand.d.ts +88 -0
  20. package/dist-types/commands/DescribeImageUsageReportEntriesCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeImageUsageReportsCommand.d.ts +1 -2
  22. package/dist-types/commands/DescribeImagesCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -0
  24. package/dist-types/commands/GetActiveVpnTunnelStatusCommand.d.ts +1 -1
  25. package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +1 -1
  26. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -2
  27. package/dist-types/commands/GetTransitGatewayPolicyTableEntriesCommand.d.ts +2 -0
  28. package/dist-types/commands/ModifyIpamCommand.d.ts +2 -1
  29. package/dist-types/commands/ModifyIpamPolicyAllocationRulesCommand.d.ts +1 -1
  30. package/dist-types/commands/ModifyIpamPoolCommand.d.ts +1 -1
  31. package/dist-types/commands/ModifyTransitGatewayPolicyTableEntryCommand.d.ts +100 -0
  32. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  33. package/dist-types/commands/UnlockSnapshotCommand.d.ts +1 -1
  34. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +1 -1
  36. package/dist-types/commands/index.d.ts +3 -0
  37. package/dist-types/models/enums.d.ts +12 -0
  38. package/dist-types/models/models_2.d.ts +175 -116
  39. package/dist-types/models/models_3.d.ts +148 -802
  40. package/dist-types/models/models_4.d.ts +803 -350
  41. package/dist-types/models/models_5.d.ts +355 -262
  42. package/dist-types/models/models_6.d.ts +305 -227
  43. package/dist-types/models/models_7.d.ts +200 -150
  44. package/dist-types/models/models_8.d.ts +145 -1
  45. package/dist-types/pagination/GetTransitGatewayPolicyTableEntriesPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +1 -0
  47. package/dist-types/schemas/schemas_0.d.ts +11 -0
  48. package/dist-types/ts3.4/EC2.d.ts +58 -0
  49. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  50. package/dist-types/ts3.4/commands/CreateTransitGatewayPolicyTableEntryCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/DeleteRouteCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DeleteRouteServerCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DeleteRouteServerEndpointCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DeleteRouteServerPeerCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/DeleteTransitGatewayPolicyTableEntryCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/DescribeImageUsageReportEntriesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/DescribeImageUsageReportsCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/GetActiveVpnTunnelStatusCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/GetAllowedImagesSettingsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/ModifyIpamCommand.d.ts +2 -1
  63. package/dist-types/ts3.4/commands/ModifyIpamPolicyAllocationRulesCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ModifyIpamPoolCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ModifyTransitGatewayPolicyTableEntryCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UnlockSnapshotCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateCapacityManagerMonitoredTagKeysCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  71. package/dist-types/ts3.4/models/enums.d.ts +6 -0
  72. package/dist-types/ts3.4/models/models_2.d.ts +41 -30
  73. package/dist-types/ts3.4/models/models_3.d.ts +40 -105
  74. package/dist-types/ts3.4/models/models_4.d.ts +98 -61
  75. package/dist-types/ts3.4/models/models_5.d.ts +68 -46
  76. package/dist-types/ts3.4/models/models_6.d.ts +43 -50
  77. package/dist-types/ts3.4/models/models_7.d.ts +49 -36
  78. package/dist-types/ts3.4/models/models_8.d.ts +36 -1
  79. package/dist-types/ts3.4/pagination/GetTransitGatewayPolicyTableEntriesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  81. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  82. package/package.json +8 -8
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { CreateTransitGatewayPolicyTableEntryRequest, CreateTransitGatewayPolicyTableEntryResult } from "../models/models_2";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link CreateTransitGatewayPolicyTableEntryCommand}.
11
+ */
12
+ export interface CreateTransitGatewayPolicyTableEntryCommandInput extends CreateTransitGatewayPolicyTableEntryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link CreateTransitGatewayPolicyTableEntryCommand}.
18
+ */
19
+ export interface CreateTransitGatewayPolicyTableEntryCommandOutput extends CreateTransitGatewayPolicyTableEntryResult, __MetadataBearer {
20
+ }
21
+ declare const CreateTransitGatewayPolicyTableEntryCommand_base: {
22
+ new (input: CreateTransitGatewayPolicyTableEntryCommandInput): import("@smithy/core/client").CommandImpl<CreateTransitGatewayPolicyTableEntryCommandInput, CreateTransitGatewayPolicyTableEntryCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateTransitGatewayPolicyTableEntryCommandInput): import("@smithy/core/client").CommandImpl<CreateTransitGatewayPolicyTableEntryCommandInput, CreateTransitGatewayPolicyTableEntryCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates an entry in a transit gateway policy table to route matching traffic to a specified route table.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EC2Client, CreateTransitGatewayPolicyTableEntryCommand } from "@aws-sdk/client-ec2"; // ES Modules import
32
+ * // const { EC2Client, CreateTransitGatewayPolicyTableEntryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
33
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
34
+ * const config = {}; // type is EC2ClientConfig
35
+ * const client = new EC2Client(config);
36
+ * const input = { // CreateTransitGatewayPolicyTableEntryRequest
37
+ * TransitGatewayPolicyTableId: "STRING_VALUE", // required
38
+ * PolicyRuleNumber: "STRING_VALUE", // required
39
+ * PolicyRule: { // TransitGatewayRequestPolicyRule
40
+ * SourceCidrBlock: "STRING_VALUE",
41
+ * SourcePortRange: "STRING_VALUE",
42
+ * DestinationCidrBlock: "STRING_VALUE",
43
+ * DestinationPortRange: "STRING_VALUE",
44
+ * Protocol: "STRING_VALUE",
45
+ * MetaData: { // TransitGatewayRequestPolicyRuleMetaData
46
+ * MetaDataKey: "STRING_VALUE",
47
+ * MetaDataValue: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * TargetRouteTableId: "STRING_VALUE", // required
51
+ * DryRun: true || false,
52
+ * };
53
+ * const command = new CreateTransitGatewayPolicyTableEntryCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // CreateTransitGatewayPolicyTableEntryResult
56
+ * // TransitGatewayPolicyTableEntry: { // TransitGatewayPolicyTableEntry
57
+ * // PolicyRuleNumber: "STRING_VALUE",
58
+ * // PolicyRule: { // TransitGatewayPolicyRule
59
+ * // SourceCidrBlock: "STRING_VALUE",
60
+ * // SourcePortRange: "STRING_VALUE",
61
+ * // DestinationCidrBlock: "STRING_VALUE",
62
+ * // DestinationPortRange: "STRING_VALUE",
63
+ * // Protocol: "STRING_VALUE",
64
+ * // MetaData: { // TransitGatewayPolicyRuleMetaData
65
+ * // MetaDataKey: "STRING_VALUE",
66
+ * // MetaDataValue: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // TargetRouteTableId: "STRING_VALUE",
70
+ * // State: "active" || "deleted",
71
+ * // },
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param CreateTransitGatewayPolicyTableEntryCommandInput - {@link CreateTransitGatewayPolicyTableEntryCommandInput}
77
+ * @returns {@link CreateTransitGatewayPolicyTableEntryCommandOutput}
78
+ * @see {@link CreateTransitGatewayPolicyTableEntryCommandInput} for command's `input` shape.
79
+ * @see {@link CreateTransitGatewayPolicyTableEntryCommandOutput} for command's `response` shape.
80
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
81
+ *
82
+ * @throws {@link EC2ServiceException}
83
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class CreateTransitGatewayPolicyTableEntryCommand extends CreateTransitGatewayPolicyTableEntryCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: CreateTransitGatewayPolicyTableEntryRequest;
93
+ output: CreateTransitGatewayPolicyTableEntryResult;
94
+ };
95
+ sdk: {
96
+ input: CreateTransitGatewayPolicyTableEntryCommandInput;
97
+ output: CreateTransitGatewayPolicyTableEntryCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteRouteRequest } from "../models/models_2";
2
+ import type { DeleteRouteRequest } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteRouteServerRequest, DeleteRouteServerResult } from "../models/models_2";
2
+ import type { DeleteRouteServerRequest, DeleteRouteServerResult } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteRouteServerEndpointRequest, DeleteRouteServerEndpointResult } from "../models/models_2";
2
+ import type { DeleteRouteServerEndpointRequest, DeleteRouteServerEndpointResult } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DeleteRouteServerPeerRequest, DeleteRouteServerPeerResult } from "../models/models_2";
2
+ import type { DeleteRouteServerPeerRequest, DeleteRouteServerPeerResult } from "../models/models_3";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,88 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { DeleteTransitGatewayPolicyTableEntryRequest, DeleteTransitGatewayPolicyTableEntryResult } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link DeleteTransitGatewayPolicyTableEntryCommand}.
11
+ */
12
+ export interface DeleteTransitGatewayPolicyTableEntryCommandInput extends DeleteTransitGatewayPolicyTableEntryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link DeleteTransitGatewayPolicyTableEntryCommand}.
18
+ */
19
+ export interface DeleteTransitGatewayPolicyTableEntryCommandOutput extends DeleteTransitGatewayPolicyTableEntryResult, __MetadataBearer {
20
+ }
21
+ declare const DeleteTransitGatewayPolicyTableEntryCommand_base: {
22
+ new (input: DeleteTransitGatewayPolicyTableEntryCommandInput): import("@smithy/core/client").CommandImpl<DeleteTransitGatewayPolicyTableEntryCommandInput, DeleteTransitGatewayPolicyTableEntryCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteTransitGatewayPolicyTableEntryCommandInput): import("@smithy/core/client").CommandImpl<DeleteTransitGatewayPolicyTableEntryCommandInput, DeleteTransitGatewayPolicyTableEntryCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Deletes the specified transit gateway policy table entry.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EC2Client, DeleteTransitGatewayPolicyTableEntryCommand } from "@aws-sdk/client-ec2"; // ES Modules import
32
+ * // const { EC2Client, DeleteTransitGatewayPolicyTableEntryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
33
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
34
+ * const config = {}; // type is EC2ClientConfig
35
+ * const client = new EC2Client(config);
36
+ * const input = { // DeleteTransitGatewayPolicyTableEntryRequest
37
+ * TransitGatewayPolicyTableId: "STRING_VALUE", // required
38
+ * PolicyRuleNumber: "STRING_VALUE", // required
39
+ * DryRun: true || false,
40
+ * };
41
+ * const command = new DeleteTransitGatewayPolicyTableEntryCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // DeleteTransitGatewayPolicyTableEntryResult
44
+ * // TransitGatewayPolicyTableEntry: { // TransitGatewayPolicyTableEntry
45
+ * // PolicyRuleNumber: "STRING_VALUE",
46
+ * // PolicyRule: { // TransitGatewayPolicyRule
47
+ * // SourceCidrBlock: "STRING_VALUE",
48
+ * // SourcePortRange: "STRING_VALUE",
49
+ * // DestinationCidrBlock: "STRING_VALUE",
50
+ * // DestinationPortRange: "STRING_VALUE",
51
+ * // Protocol: "STRING_VALUE",
52
+ * // MetaData: { // TransitGatewayPolicyRuleMetaData
53
+ * // MetaDataKey: "STRING_VALUE",
54
+ * // MetaDataValue: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // TargetRouteTableId: "STRING_VALUE",
58
+ * // State: "active" || "deleted",
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param DeleteTransitGatewayPolicyTableEntryCommandInput - {@link DeleteTransitGatewayPolicyTableEntryCommandInput}
65
+ * @returns {@link DeleteTransitGatewayPolicyTableEntryCommandOutput}
66
+ * @see {@link DeleteTransitGatewayPolicyTableEntryCommandInput} for command's `input` shape.
67
+ * @see {@link DeleteTransitGatewayPolicyTableEntryCommandOutput} for command's `response` shape.
68
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
69
+ *
70
+ * @throws {@link EC2ServiceException}
71
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class DeleteTransitGatewayPolicyTableEntryCommand extends DeleteTransitGatewayPolicyTableEntryCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: DeleteTransitGatewayPolicyTableEntryRequest;
81
+ output: DeleteTransitGatewayPolicyTableEntryResult;
82
+ };
83
+ sdk: {
84
+ input: DeleteTransitGatewayPolicyTableEntryCommandInput;
85
+ output: DeleteTransitGatewayPolicyTableEntryCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeImageUsageReportEntriesRequest, DescribeImageUsageReportEntriesResult } from "../models/models_3";
2
+ import type { DescribeImageUsageReportEntriesRequest, DescribeImageUsageReportEntriesResult } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeImageUsageReportsRequest } from "../models/models_3";
3
- import type { DescribeImageUsageReportsResult } from "../models/models_4";
2
+ import type { DescribeImageUsageReportsRequest, DescribeImageUsageReportsResult } from "../models/models_4";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { DescribeImagesRequest, DescribeImagesResult } from "../models/models_3";
2
+ import type { DescribeImagesRequest, DescribeImagesResult } from "../models/models_4";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -64,6 +64,7 @@ declare const DescribeTransitGatewayAttachmentsCommand_base: {
64
64
  * // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
65
65
  * // Association: { // TransitGatewayAttachmentAssociation
66
66
  * // TransitGatewayRouteTableId: "STRING_VALUE",
67
+ * // TransitGatewayPolicyTableId: "STRING_VALUE",
67
68
  * // State: "associating" || "associated" || "disassociating" || "disassociated",
68
69
  * // },
69
70
  * // CreationTime: new Date("TIMESTAMP"),
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetActiveVpnTunnelStatusRequest, GetActiveVpnTunnelStatusResult } from "../models/models_5";
2
+ import type { GetActiveVpnTunnelStatusRequest, GetActiveVpnTunnelStatusResult } from "../models/models_6";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetAllowedImagesSettingsRequest, GetAllowedImagesSettingsResult } from "../models/models_5";
2
+ import type { GetAllowedImagesSettingsRequest, GetAllowedImagesSettingsResult } from "../models/models_6";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetAssociatedEnclaveCertificateIamRolesRequest } from "../models/models_5";
3
- import type { GetAssociatedEnclaveCertificateIamRolesResult } from "../models/models_6";
2
+ import type { GetAssociatedEnclaveCertificateIamRolesRequest, GetAssociatedEnclaveCertificateIamRolesResult } from "../models/models_6";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -65,8 +65,10 @@ declare const GetTransitGatewayPolicyTableEntriesCommand_base: {
65
65
  * // },
66
66
  * // },
67
67
  * // TargetRouteTableId: "STRING_VALUE",
68
+ * // State: "active" || "deleted",
68
69
  * // },
69
70
  * // ],
71
+ * // NextToken: "STRING_VALUE",
70
72
  * // };
71
73
  *
72
74
  * ```
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ModifyIpamRequest, ModifyIpamResult } from "../models/models_6";
2
+ import type { ModifyIpamRequest } from "../models/models_6";
3
+ import type { ModifyIpamResult } from "../models/models_7";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ModifyIpamPolicyAllocationRulesRequest, ModifyIpamPolicyAllocationRulesResult } from "../models/models_6";
2
+ import type { ModifyIpamPolicyAllocationRulesRequest, ModifyIpamPolicyAllocationRulesResult } from "../models/models_7";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ModifyIpamPoolRequest, ModifyIpamPoolResult } from "../models/models_6";
2
+ import type { ModifyIpamPoolRequest, ModifyIpamPoolResult } from "../models/models_7";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -0,0 +1,100 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ModifyTransitGatewayPolicyTableEntryRequest, ModifyTransitGatewayPolicyTableEntryResult } from "../models/models_7";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ModifyTransitGatewayPolicyTableEntryCommand}.
11
+ */
12
+ export interface ModifyTransitGatewayPolicyTableEntryCommandInput extends ModifyTransitGatewayPolicyTableEntryRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ModifyTransitGatewayPolicyTableEntryCommand}.
18
+ */
19
+ export interface ModifyTransitGatewayPolicyTableEntryCommandOutput extends ModifyTransitGatewayPolicyTableEntryResult, __MetadataBearer {
20
+ }
21
+ declare const ModifyTransitGatewayPolicyTableEntryCommand_base: {
22
+ new (input: ModifyTransitGatewayPolicyTableEntryCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayPolicyTableEntryCommandInput, ModifyTransitGatewayPolicyTableEntryCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ModifyTransitGatewayPolicyTableEntryCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayPolicyTableEntryCommandInput, ModifyTransitGatewayPolicyTableEntryCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Modifies the specified transit gateway policy table entry.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EC2Client, ModifyTransitGatewayPolicyTableEntryCommand } from "@aws-sdk/client-ec2"; // ES Modules import
32
+ * // const { EC2Client, ModifyTransitGatewayPolicyTableEntryCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
33
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
34
+ * const config = {}; // type is EC2ClientConfig
35
+ * const client = new EC2Client(config);
36
+ * const input = { // ModifyTransitGatewayPolicyTableEntryRequest
37
+ * TransitGatewayPolicyTableId: "STRING_VALUE", // required
38
+ * PolicyRuleNumber: "STRING_VALUE", // required
39
+ * PolicyRule: { // TransitGatewayRequestPolicyRule
40
+ * SourceCidrBlock: "STRING_VALUE",
41
+ * SourcePortRange: "STRING_VALUE",
42
+ * DestinationCidrBlock: "STRING_VALUE",
43
+ * DestinationPortRange: "STRING_VALUE",
44
+ * Protocol: "STRING_VALUE",
45
+ * MetaData: { // TransitGatewayRequestPolicyRuleMetaData
46
+ * MetaDataKey: "STRING_VALUE",
47
+ * MetaDataValue: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * TargetRouteTableId: "STRING_VALUE",
51
+ * DryRun: true || false,
52
+ * };
53
+ * const command = new ModifyTransitGatewayPolicyTableEntryCommand(input);
54
+ * const response = await client.send(command);
55
+ * // { // ModifyTransitGatewayPolicyTableEntryResult
56
+ * // TransitGatewayPolicyTableEntry: { // TransitGatewayPolicyTableEntry
57
+ * // PolicyRuleNumber: "STRING_VALUE",
58
+ * // PolicyRule: { // TransitGatewayPolicyRule
59
+ * // SourceCidrBlock: "STRING_VALUE",
60
+ * // SourcePortRange: "STRING_VALUE",
61
+ * // DestinationCidrBlock: "STRING_VALUE",
62
+ * // DestinationPortRange: "STRING_VALUE",
63
+ * // Protocol: "STRING_VALUE",
64
+ * // MetaData: { // TransitGatewayPolicyRuleMetaData
65
+ * // MetaDataKey: "STRING_VALUE",
66
+ * // MetaDataValue: "STRING_VALUE",
67
+ * // },
68
+ * // },
69
+ * // TargetRouteTableId: "STRING_VALUE",
70
+ * // State: "active" || "deleted",
71
+ * // },
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param ModifyTransitGatewayPolicyTableEntryCommandInput - {@link ModifyTransitGatewayPolicyTableEntryCommandInput}
77
+ * @returns {@link ModifyTransitGatewayPolicyTableEntryCommandOutput}
78
+ * @see {@link ModifyTransitGatewayPolicyTableEntryCommandInput} for command's `input` shape.
79
+ * @see {@link ModifyTransitGatewayPolicyTableEntryCommandOutput} for command's `response` shape.
80
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
81
+ *
82
+ * @throws {@link EC2ServiceException}
83
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
84
+ *
85
+ *
86
+ * @public
87
+ */
88
+ export declare class ModifyTransitGatewayPolicyTableEntryCommand extends ModifyTransitGatewayPolicyTableEntryCommand_base {
89
+ /** @internal type navigation helper, not in runtime. */
90
+ protected static __types: {
91
+ api: {
92
+ input: ModifyTransitGatewayPolicyTableEntryRequest;
93
+ output: ModifyTransitGatewayPolicyTableEntryResult;
94
+ };
95
+ sdk: {
96
+ input: ModifyTransitGatewayPolicyTableEntryCommandInput;
97
+ output: ModifyTransitGatewayPolicyTableEntryCommandOutput;
98
+ };
99
+ };
100
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UnassignPrivateNatGatewayAddressRequest, UnassignPrivateNatGatewayAddressResult } from "../models/models_7";
2
+ import type { UnassignPrivateNatGatewayAddressRequest, UnassignPrivateNatGatewayAddressResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UnlockSnapshotRequest, UnlockSnapshotResult } from "../models/models_7";
2
+ import type { UnlockSnapshotRequest, UnlockSnapshotResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UnmonitorInstancesRequest, UnmonitorInstancesResult } from "../models/models_7";
2
+ import type { UnmonitorInstancesRequest, UnmonitorInstancesResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateCapacityManagerMonitoredTagKeysRequest, UpdateCapacityManagerMonitoredTagKeysResult } from "../models/models_7";
2
+ import type { UpdateCapacityManagerMonitoredTagKeysRequest, UpdateCapacityManagerMonitoredTagKeysResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -145,6 +145,7 @@ export * from "./CreateTransitGatewayMeteringPolicyEntryCommand";
145
145
  export * from "./CreateTransitGatewayMulticastDomainCommand";
146
146
  export * from "./CreateTransitGatewayPeeringAttachmentCommand";
147
147
  export * from "./CreateTransitGatewayPolicyTableCommand";
148
+ export * from "./CreateTransitGatewayPolicyTableEntryCommand";
148
149
  export * from "./CreateTransitGatewayPrefixListReferenceCommand";
149
150
  export * from "./CreateTransitGatewayRouteCommand";
150
151
  export * from "./CreateTransitGatewayRouteTableAnnouncementCommand";
@@ -238,6 +239,7 @@ export * from "./DeleteTransitGatewayMeteringPolicyEntryCommand";
238
239
  export * from "./DeleteTransitGatewayMulticastDomainCommand";
239
240
  export * from "./DeleteTransitGatewayPeeringAttachmentCommand";
240
241
  export * from "./DeleteTransitGatewayPolicyTableCommand";
242
+ export * from "./DeleteTransitGatewayPolicyTableEntryCommand";
241
243
  export * from "./DeleteTransitGatewayPrefixListReferenceCommand";
242
244
  export * from "./DeleteTransitGatewayRouteCommand";
243
245
  export * from "./DeleteTransitGatewayRouteTableAnnouncementCommand";
@@ -663,6 +665,7 @@ export * from "./ModifyTrafficMirrorFilterRuleCommand";
663
665
  export * from "./ModifyTrafficMirrorSessionCommand";
664
666
  export * from "./ModifyTransitGatewayCommand";
665
667
  export * from "./ModifyTransitGatewayMeteringPolicyCommand";
668
+ export * from "./ModifyTransitGatewayPolicyTableEntryCommand";
666
669
  export * from "./ModifyTransitGatewayPrefixListReferenceCommand";
667
670
  export * from "./ModifyTransitGatewayVpcAttachmentCommand";
668
671
  export * from "./ModifyVerifiedAccessEndpointCommand";
@@ -4925,6 +4925,18 @@ export declare const TransitGatewayPolicyTableState: {
4925
4925
  * @public
4926
4926
  */
4927
4927
  export type TransitGatewayPolicyTableState = (typeof TransitGatewayPolicyTableState)[keyof typeof TransitGatewayPolicyTableState];
4928
+ /**
4929
+ * @public
4930
+ * @enum
4931
+ */
4932
+ export declare const TransitGatewayPolicyTableEntryState: {
4933
+ readonly active: "active";
4934
+ readonly deleted: "deleted";
4935
+ };
4936
+ /**
4937
+ * @public
4938
+ */
4939
+ export type TransitGatewayPolicyTableEntryState = (typeof TransitGatewayPolicyTableEntryState)[keyof typeof TransitGatewayPolicyTableEntryState];
4928
4940
  /**
4929
4941
  * @public
4930
4942
  * @enum