@aws-sdk/client-ec2 3.1169.0 → 3.1170.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 (120) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +248 -15
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/AssociateKmsKeyIdCommand.js +4 -0
  5. package/dist-es/commands/CreateTransitGatewayNetworkFunctionAttachmentCommand.js +4 -0
  6. package/dist-es/commands/DeleteTransitGatewayNetworkFunctionAttachmentCommand.js +4 -0
  7. package/dist-es/commands/DescribeTransitGatewayNetworkFunctionAttachmentsCommand.js +4 -0
  8. package/dist-es/commands/DisassociateKmsKeyIdCommand.js +4 -0
  9. package/dist-es/commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/enums.js +4 -0
  12. package/dist-es/schemas/schemas_0.js +192 -14
  13. package/dist-types/EC2.d.ts +43 -0
  14. package/dist-types/EC2Client.d.ts +8 -2
  15. package/dist-types/commands/AcceptVpcEndpointConnectionsCommand.d.ts +3 -0
  16. package/dist-types/commands/AssociateKmsKeyIdCommand.d.ts +78 -0
  17. package/dist-types/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +2 -1
  18. package/dist-types/commands/CreateNetworkingFlexCostAllocationPolicyCommand.d.ts +1 -2
  19. package/dist-types/commands/CreateSnapshotCommand.d.ts +5 -0
  20. package/dist-types/commands/CreateTransitGatewayNetworkFunctionAttachmentCommand.d.ts +115 -0
  21. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteIpamPolicyCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteTransitGatewayNetworkFunctionAttachmentCommand.d.ts +92 -0
  25. package/dist-types/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +2 -1
  26. package/dist-types/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeElasticGpusCommand.d.ts +1 -2
  29. package/dist-types/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeOutpostLagsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribePlacementGroupsCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +5 -0
  34. package/dist-types/commands/DescribeTransitGatewayNetworkFunctionAttachmentsCommand.d.ts +107 -0
  35. package/dist-types/commands/DescribeVpcEndpointConnectionsCommand.d.ts +2 -0
  36. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -0
  37. package/dist-types/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +2 -1
  38. package/dist-types/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
  39. package/dist-types/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
  40. package/dist-types/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  41. package/dist-types/commands/DisassociateAddressCommand.d.ts +1 -1
  42. package/dist-types/commands/DisassociateApplicationStatusCheckCommand.d.ts +1 -1
  43. package/dist-types/commands/DisassociateKmsKeyIdCommand.d.ts +75 -0
  44. package/dist-types/commands/GetRouteServerPropagationsCommand.d.ts +2 -1
  45. package/dist-types/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
  46. package/dist-types/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  47. package/dist-types/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  48. package/dist-types/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand.d.ts +109 -0
  50. package/dist-types/commands/ModifyVpcEndpointServicePermissionsCommand.d.ts +7 -0
  51. package/dist-types/commands/MonitorInstancesCommand.d.ts +2 -1
  52. package/dist-types/commands/MoveAddressToVpcCommand.d.ts +1 -1
  53. package/dist-types/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  54. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
  55. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  56. package/dist-types/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
  57. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +3 -0
  58. package/dist-types/commands/index.d.ts +6 -0
  59. package/dist-types/models/enums.d.ts +12 -0
  60. package/dist-types/models/models_0.d.ts +54 -31
  61. package/dist-types/models/models_1.d.ts +32 -91
  62. package/dist-types/models/models_2.d.ts +217 -82
  63. package/dist-types/models/models_3.d.ts +110 -290
  64. package/dist-types/models/models_4.d.ts +291 -507
  65. package/dist-types/models/models_5.d.ts +594 -189
  66. package/dist-types/models/models_6.d.ts +223 -339
  67. package/dist-types/models/models_7.d.ts +411 -302
  68. package/dist-types/models/models_8.d.ts +308 -3
  69. package/dist-types/schemas/schemas_0.d.ts +20 -0
  70. package/dist-types/ts3.4/EC2.d.ts +103 -0
  71. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  72. package/dist-types/ts3.4/commands/AssociateKmsKeyIdCommand.d.ts +38 -0
  73. package/dist-types/ts3.4/commands/CreateCapacityReservationDateChangeQuoteCommand.d.ts +2 -4
  74. package/dist-types/ts3.4/commands/CreateNetworkingFlexCostAllocationPolicyCommand.d.ts +4 -2
  75. package/dist-types/ts3.4/commands/CreateTransitGatewayNetworkFunctionAttachmentCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DeleteIpamInternetRegistryAssociationCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DeleteIpamPolicyCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/DeleteTransitGatewayNetworkFunctionAttachmentCommand.d.ts +42 -0
  80. package/dist-types/ts3.4/commands/DescribeDeclarativePoliciesReportsCommand.d.ts +2 -4
  81. package/dist-types/ts3.4/commands/DescribeDhcpOptionsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/DescribeEgressOnlyInternetGatewaysCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/DescribeElasticGpusCommand.d.ts +1 -2
  84. package/dist-types/ts3.4/commands/DescribeNetworkInterfacePermissionsCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/DescribeNetworkInterfacesCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/DescribeOutpostLagsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/DescribePlacementGroupsCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/DescribeTransitGatewayNetworkFunctionAttachmentsCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/DisableTransitGatewayRouteTablePropagationCommand.d.ts +2 -4
  90. package/dist-types/ts3.4/commands/DisableVgwRoutePropagationCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/DisableVpcClassicLinkCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/DisableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/DisassociateAddressCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/DisassociateApplicationStatusCheckCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/DisassociateKmsKeyIdCommand.d.ts +39 -0
  96. package/dist-types/ts3.4/commands/GetRouteServerPropagationsCommand.d.ts +2 -4
  97. package/dist-types/ts3.4/commands/GetRouteServerRoutingDatabaseCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetSecurityGroupsForVpcCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/GetSerialConsoleAccessStatusCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/GetSnapshotBlockPublicAccessStateCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/ModifyTransitGatewayNetworkFunctionAttachmentCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/MonitorInstancesCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/MoveAddressToVpcCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/MoveByoipCidrToIpamCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/MoveCapacityReservationInstancesCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ProvisionIpamByoasnCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  109. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  110. package/dist-types/ts3.4/models/models_0.d.ts +12 -7
  111. package/dist-types/ts3.4/models/models_1.d.ts +8 -18
  112. package/dist-types/ts3.4/models/models_2.d.ts +49 -24
  113. package/dist-types/ts3.4/models/models_3.d.ts +32 -50
  114. package/dist-types/ts3.4/models/models_4.d.ts +52 -56
  115. package/dist-types/ts3.4/models/models_5.d.ts +62 -49
  116. package/dist-types/ts3.4/models/models_6.d.ts +59 -68
  117. package/dist-types/ts3.4/models/models_7.d.ts +84 -72
  118. package/dist-types/ts3.4/models/models_8.d.ts +70 -5
  119. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  120. package/package.json +1 -1
@@ -0,0 +1,109 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ModifyTransitGatewayNetworkFunctionAttachmentRequest, ModifyTransitGatewayNetworkFunctionAttachmentResult } from "../models/models_7";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ModifyTransitGatewayNetworkFunctionAttachmentCommand}.
11
+ */
12
+ export interface ModifyTransitGatewayNetworkFunctionAttachmentCommandInput extends ModifyTransitGatewayNetworkFunctionAttachmentRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ModifyTransitGatewayNetworkFunctionAttachmentCommand}.
18
+ */
19
+ export interface ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput extends ModifyTransitGatewayNetworkFunctionAttachmentResult, __MetadataBearer {
20
+ }
21
+ declare const ModifyTransitGatewayNetworkFunctionAttachmentCommand_base: {
22
+ new (input: ModifyTransitGatewayNetworkFunctionAttachmentCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayNetworkFunctionAttachmentCommandInput, ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ModifyTransitGatewayNetworkFunctionAttachmentCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayNetworkFunctionAttachmentCommandInput, ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Adds Availability Zones to or removes Availability Zones from the specified network function attachment.
28
+ * The attachment must be in the <code>available</code> state. You must specify at least one Availability Zone to add or remove,
29
+ * and the attachment must keep at least one Availability Zone.</p>
30
+ * <p>Adding an Availability Zone provisions a new Gateway Load Balancer endpoint in that Availability Zone. If the endpoint service
31
+ * doesn't automatically accept connection requests, the endpoint service owner must accept the endpoint connection for
32
+ * each Availability Zone that you add.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { EC2Client, ModifyTransitGatewayNetworkFunctionAttachmentCommand } from "@aws-sdk/client-ec2"; // ES Modules import
37
+ * // const { EC2Client, ModifyTransitGatewayNetworkFunctionAttachmentCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
38
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
39
+ * const config = {}; // type is EC2ClientConfig
40
+ * const client = new EC2Client(config);
41
+ * const input = { // ModifyTransitGatewayNetworkFunctionAttachmentRequest
42
+ * TransitGatewayAttachmentId: "STRING_VALUE", // required
43
+ * AddAvailabilityZones: [ // NetworkFunctionAttachmentAZNameList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * AddAvailabilityZoneIds: [ // NetworkFunctionAttachmentAZIdList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * RemoveAvailabilityZones: [
50
+ * "STRING_VALUE",
51
+ * ],
52
+ * RemoveAvailabilityZoneIds: [
53
+ * "STRING_VALUE",
54
+ * ],
55
+ * DryRun: true || false,
56
+ * };
57
+ * const command = new ModifyTransitGatewayNetworkFunctionAttachmentCommand(input);
58
+ * const response = await client.send(command);
59
+ * // { // ModifyTransitGatewayNetworkFunctionAttachmentResult
60
+ * // TransitGatewayNetworkFunctionAttachment: { // TransitGatewayNetworkFunctionAttachment
61
+ * // TransitGatewayAttachmentId: "STRING_VALUE",
62
+ * // TransitGatewayId: "STRING_VALUE",
63
+ * // TransitGatewayOwnerId: "STRING_VALUE",
64
+ * // ResourceOwnerId: "STRING_VALUE",
65
+ * // ResourceId: "STRING_VALUE",
66
+ * // AvailabilityZones: [ // ValueStringList
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // AvailabilityZoneIds: [
70
+ * // "STRING_VALUE",
71
+ * // ],
72
+ * // State: "initiating" || "initiatingRequest" || "pendingAcceptance" || "rollingBack" || "pending" || "available" || "modifying" || "deleting" || "deleted" || "failed" || "rejected" || "rejecting" || "failing",
73
+ * // CreationTime: new Date("TIMESTAMP"),
74
+ * // Tags: [ // TagList
75
+ * // { // Tag
76
+ * // Key: "STRING_VALUE",
77
+ * // Value: "STRING_VALUE",
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param ModifyTransitGatewayNetworkFunctionAttachmentCommandInput - {@link ModifyTransitGatewayNetworkFunctionAttachmentCommandInput}
86
+ * @returns {@link ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput}
87
+ * @see {@link ModifyTransitGatewayNetworkFunctionAttachmentCommandInput} for command's `input` shape.
88
+ * @see {@link ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput} for command's `response` shape.
89
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
90
+ *
91
+ * @throws {@link EC2ServiceException}
92
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
93
+ *
94
+ *
95
+ * @public
96
+ */
97
+ export declare class ModifyTransitGatewayNetworkFunctionAttachmentCommand extends ModifyTransitGatewayNetworkFunctionAttachmentCommand_base {
98
+ /** @internal type navigation helper, not in runtime. */
99
+ protected static __types: {
100
+ api: {
101
+ input: ModifyTransitGatewayNetworkFunctionAttachmentRequest;
102
+ output: ModifyTransitGatewayNetworkFunctionAttachmentResult;
103
+ };
104
+ sdk: {
105
+ input: ModifyTransitGatewayNetworkFunctionAttachmentCommandInput;
106
+ output: ModifyTransitGatewayNetworkFunctionAttachmentCommandOutput;
107
+ };
108
+ };
109
+ }
@@ -30,6 +30,11 @@ declare const ModifyVpcEndpointServicePermissionsCommand_base: {
30
30
  * <p>If you grant permissions to all principals, the service is public. Any users who know the name of a
31
31
  * public service can send a request to attach an endpoint. If the service does not require manual approval,
32
32
  * attachments are automatically approved.</p>
33
+ * <p>By default, principals that you grant permissions to can create VPC endpoints that connect to
34
+ * your endpoint service. For Gateway Load Balancer endpoint services, you can instead grant permissions so that
35
+ * principals can create transit gateway attachments that connect to your endpoint service. To do so,
36
+ * specify <code>transit-gateway-attachment</code> for <code>PermissionType</code>. The two permission
37
+ * types are independent. A principal can have either or both.</p>
33
38
  * @example
34
39
  * Use a bare-bones client and the command you need to make an API call.
35
40
  * ```javascript
@@ -47,6 +52,7 @@ declare const ModifyVpcEndpointServicePermissionsCommand_base: {
47
52
  * RemoveAllowedPrincipals: [
48
53
  * "STRING_VALUE",
49
54
  * ],
55
+ * PermissionType: "vpc-endpoint" || "transit-gateway-attachment",
50
56
  * };
51
57
  * const command = new ModifyVpcEndpointServicePermissionsCommand(input);
52
58
  * const response = await client.send(command);
@@ -57,6 +63,7 @@ declare const ModifyVpcEndpointServicePermissionsCommand_base: {
57
63
  * // Principal: "STRING_VALUE",
58
64
  * // ServicePermissionId: "STRING_VALUE",
59
65
  * // ServiceId: "STRING_VALUE",
66
+ * // PermissionType: "vpc-endpoint" || "transit-gateway-attachment",
60
67
  * // },
61
68
  * // ],
62
69
  * // ReturnValue: true || false,
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { MonitorInstancesRequest, MonitorInstancesResult } from "../models/models_7";
2
+ import type { MonitorInstancesRequest } from "../models/models_7";
3
+ import type { MonitorInstancesResult } from "../models/models_8";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { MoveAddressToVpcRequest, MoveAddressToVpcResult } from "../models/models_7";
2
+ import type { MoveAddressToVpcRequest, MoveAddressToVpcResult } 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 { MoveByoipCidrToIpamRequest, MoveByoipCidrToIpamResult } from "../models/models_7";
2
+ import type { MoveByoipCidrToIpamRequest, MoveByoipCidrToIpamResult } 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 { MoveCapacityReservationInstancesRequest, MoveCapacityReservationInstancesResult } from "../models/models_7";
2
+ import type { MoveCapacityReservationInstancesRequest, MoveCapacityReservationInstancesResult } 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 { ProvisionByoipCidrRequest, ProvisionByoipCidrResult } from "../models/models_7";
2
+ import type { ProvisionByoipCidrRequest, ProvisionByoipCidrResult } 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 { ProvisionIpamByoasnRequest, ProvisionIpamByoasnResult } from "../models/models_7";
2
+ import type { ProvisionIpamByoasnRequest, ProvisionIpamByoasnResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -39,6 +39,9 @@ declare const RejectVpcEndpointConnectionsCommand_base: {
39
39
  * VpcEndpointIds: [ // VpcEndpointIdList // required
40
40
  * "STRING_VALUE",
41
41
  * ],
42
+ * TransitGatewayAttachmentIds: [ // TransitGatewayAttachmentIdList
43
+ * "STRING_VALUE",
44
+ * ],
42
45
  * };
43
46
  * const command = new RejectVpcEndpointConnectionsCommand(input);
44
47
  * const response = await client.send(command);
@@ -25,6 +25,7 @@ export * from "./AssociateIamInstanceProfileCommand";
25
25
  export * from "./AssociateInstanceEventWindowCommand";
26
26
  export * from "./AssociateIpamByoasnCommand";
27
27
  export * from "./AssociateIpamResourceDiscoveryCommand";
28
+ export * from "./AssociateKmsKeyIdCommand";
28
29
  export * from "./AssociateNatGatewayAddressCommand";
29
30
  export * from "./AssociateNetworkingFlexCostAllocationPolicyCommand";
30
31
  export * from "./AssociateRouteServerCommand";
@@ -152,6 +153,7 @@ export * from "./CreateTransitGatewayConnectPeerCommand";
152
153
  export * from "./CreateTransitGatewayMeteringPolicyCommand";
153
154
  export * from "./CreateTransitGatewayMeteringPolicyEntryCommand";
154
155
  export * from "./CreateTransitGatewayMulticastDomainCommand";
156
+ export * from "./CreateTransitGatewayNetworkFunctionAttachmentCommand";
155
157
  export * from "./CreateTransitGatewayPeeringAttachmentCommand";
156
158
  export * from "./CreateTransitGatewayPolicyTableCommand";
157
159
  export * from "./CreateTransitGatewayPolicyTableEntryCommand";
@@ -252,6 +254,7 @@ export * from "./DeleteTransitGatewayConnectPeerCommand";
252
254
  export * from "./DeleteTransitGatewayMeteringPolicyCommand";
253
255
  export * from "./DeleteTransitGatewayMeteringPolicyEntryCommand";
254
256
  export * from "./DeleteTransitGatewayMulticastDomainCommand";
257
+ export * from "./DeleteTransitGatewayNetworkFunctionAttachmentCommand";
255
258
  export * from "./DeleteTransitGatewayPeeringAttachmentCommand";
256
259
  export * from "./DeleteTransitGatewayPolicyTableCommand";
257
260
  export * from "./DeleteTransitGatewayPolicyTableEntryCommand";
@@ -446,6 +449,7 @@ export * from "./DescribeTransitGatewayConnectPeersCommand";
446
449
  export * from "./DescribeTransitGatewayConnectsCommand";
447
450
  export * from "./DescribeTransitGatewayMeteringPoliciesCommand";
448
451
  export * from "./DescribeTransitGatewayMulticastDomainsCommand";
452
+ export * from "./DescribeTransitGatewayNetworkFunctionAttachmentsCommand";
449
453
  export * from "./DescribeTransitGatewayPeeringAttachmentsCommand";
450
454
  export * from "./DescribeTransitGatewayPolicyTablesCommand";
451
455
  export * from "./DescribeTransitGatewayRouteTableAnnouncementsCommand";
@@ -518,6 +522,7 @@ export * from "./DisassociateIamInstanceProfileCommand";
518
522
  export * from "./DisassociateInstanceEventWindowCommand";
519
523
  export * from "./DisassociateIpamByoasnCommand";
520
524
  export * from "./DisassociateIpamResourceDiscoveryCommand";
525
+ export * from "./DisassociateKmsKeyIdCommand";
521
526
  export * from "./DisassociateNatGatewayAddressCommand";
522
527
  export * from "./DisassociateNetworkingFlexCostAllocationPolicyCommand";
523
528
  export * from "./DisassociateRouteServerCommand";
@@ -711,6 +716,7 @@ export * from "./ModifyTrafficMirrorSessionCommand";
711
716
  export * from "./ModifyTransitGatewayAttachmentNatConfigurationCommand";
712
717
  export * from "./ModifyTransitGatewayCommand";
713
718
  export * from "./ModifyTransitGatewayMeteringPolicyCommand";
719
+ export * from "./ModifyTransitGatewayNetworkFunctionAttachmentCommand";
714
720
  export * from "./ModifyTransitGatewayPolicyTableEntryCommand";
715
721
  export * from "./ModifyTransitGatewayPrefixListReferenceCommand";
716
722
  export * from "./ModifyTransitGatewayVpcAttachmentCommand";
@@ -464,6 +464,18 @@ export declare const ActivityStatus: {
464
464
  * @public
465
465
  */
466
466
  export type ActivityStatus = (typeof ActivityStatus)[keyof typeof ActivityStatus];
467
+ /**
468
+ * @public
469
+ * @enum
470
+ */
471
+ export declare const PermissionType: {
472
+ readonly TransitGatewayAttachment: "transit-gateway-attachment";
473
+ readonly VpcEndpoint: "vpc-endpoint";
474
+ };
475
+ /**
476
+ * @public
477
+ */
478
+ export type PermissionType = (typeof PermissionType)[keyof typeof PermissionType];
467
479
  /**
468
480
  * @public
469
481
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AccountVpcEncryptionControlMode, AccountVpcEncryptionControlState, AddressTransferStatus, AggregationStatusEnum, AllocationType, AmdSevSnp, ApplianceModeSupportValue, ApplyCancellationCharges, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationAdjustmentStatus, CapacityReservationCancellationQuoteState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationLaunchStatus, CapacityReservationModificationQuoteState, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, ClientVpnAuthorizationRuleStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, FlexCostAllocationAssociationMode, FlexCostAllocationNetworkResourceScopeType, HostMaintenance, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpamRoutingPolicyRegistrationDeltaState, IpScopeEnum, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, IpVersionEnum, ListingState, ListingStatus, ManagedBy, NatGatewayAddressStatus, NetworkProtocolEnum, OutputFormat, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, ServiceManaged, SSEType, SubnetCidrBlockStateCode, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayAttachmentStatusType, TransitGatewayMulitcastDomainAssociationState, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcPeeringConnectionStateReasonCode, VpnTunnelProvisioningStatus, WeekDay, ZeroSizePreference } from "./enums";
1
+ import type { AccountVpcEncryptionControlMode, AccountVpcEncryptionControlState, AddressTransferStatus, AggregationStatusEnum, AllocationType, AmdSevSnp, ApplianceModeSupportValue, ApplyCancellationCharges, AsnAssociationState, AssociationStatusCode, AttachmentStatus, AutoPlacement, BatchState, BundleTaskState, ByoipCidrState, CancelBatchErrorCode, CancelSpotInstanceRequestState, CapacityReservationAdjustmentStatus, CapacityReservationCancellationQuoteState, CapacityReservationDeliveryPreference, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationLaunchStatus, CapacityReservationModificationQuoteState, CapacityReservationState, CapacityReservationTenancy, CapacityReservationType, ClientVpnAuthorizationRuleStatusCode, CurrencyCodeValues, DeviceTrustProviderType, DnsSupportValue, DomainType, DynamicRoutingValue, EndDateType, FlexCostAllocationAssociationMode, FlexCostAllocationNetworkResourceScopeType, HostMaintenance, HostRecovery, IamInstanceProfileAssociationState, InstanceEventWindowState, InstanceHealthStatus, InstanceMatchCriteria, InterfaceProtocolType, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpamAssociatedResourceDiscoveryStatus, IpamPoolAllocationResourceType, IpamResourceDiscoveryAssociationState, IpamRoutingPolicyRegistrationDeltaState, IpScopeEnum, IpSource, Ipv6AddressAttribute, Ipv6SupportValue, IpVersionEnum, ListingState, ListingStatus, ManagedBy, NatGatewayAddressStatus, NetworkProtocolEnum, OutputFormat, PermissionType, PrincipalType, Protocol, ResourceType, RouteServerAssociationState, RouteTableAssociationStateCode, Schedule, SecurityGroupReferencingSupportValue, SecurityGroupVpcAssociationState, ServiceManaged, SSEType, SubnetCidrBlockStateCode, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayAttachmentStatusType, TransitGatewayMulitcastDomainAssociationState, TrustProviderType, UserTrustProviderType, VolumeAttachmentState, VolumeState, VolumeType, VpcCidrBlockStateCode, VpcEncryptionControlExclusionState, VpcPeeringConnectionStateReasonCode, VpnTunnelProvisioningStatus, WeekDay, ZeroSizePreference } from "./enums";
2
2
  /**
3
3
  * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips)
4
4
  * on an instance.</p>
@@ -673,9 +673,19 @@ export interface AcceptVpcEndpointConnectionsRequest {
673
673
  ServiceId: string | undefined;
674
674
  /**
675
675
  * <p>The IDs of the interface VPC endpoints.</p>
676
+ * <p>You must specify either <code>VpcEndpointIds</code> or <code>TransitGatewayAttachmentIds</code>,
677
+ * but not both.</p>
676
678
  * @public
677
679
  */
678
680
  VpcEndpointIds: string[] | undefined;
681
+ /**
682
+ * <p>The IDs of the transit gateway attachments to accept. This parameter is supported only for
683
+ * Gateway Load Balancer endpoint services.</p>
684
+ * <p>You must specify either <code>VpcEndpointIds</code> or <code>TransitGatewayAttachmentIds</code>,
685
+ * but not both.</p>
686
+ * @public
687
+ */
688
+ TransitGatewayAttachmentIds?: string[] | undefined;
679
689
  }
680
690
  /**
681
691
  * <p>Information about the error that occurred. For more information about errors, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html">Error codes</a>.</p>
@@ -2315,6 +2325,11 @@ export interface AddedPrincipal {
2315
2325
  * @public
2316
2326
  */
2317
2327
  ServiceId?: string | undefined;
2328
+ /**
2329
+ * <p>The type of permission granted to the principal.</p>
2330
+ * @public
2331
+ */
2332
+ PermissionType?: PermissionType | undefined;
2318
2333
  }
2319
2334
  /**
2320
2335
  * <p>Add an operating Region to an IPAM. Operating Regions are Amazon Web Services Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the Amazon Web Services Regions you select as operating Regions.</p>
@@ -3117,6 +3132,11 @@ export interface AllowedPrincipal {
3117
3132
  * @public
3118
3133
  */
3119
3134
  ServiceId?: string | undefined;
3135
+ /**
3136
+ * <p>The type of permission granted to the principal.</p>
3137
+ * @public
3138
+ */
3139
+ PermissionType?: PermissionType | undefined;
3120
3140
  }
3121
3141
  /**
3122
3142
  * <p>Describes an potential intermediate component of a feasible path.</p>
@@ -4164,6 +4184,39 @@ export interface AssociateIpamResourceDiscoveryResult {
4164
4184
  */
4165
4185
  IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation | undefined;
4166
4186
  }
4187
+ /**
4188
+ * @public
4189
+ */
4190
+ export interface AssociateKmsKeyIdRequest {
4191
+ /**
4192
+ * <p>The ID of the Amazon EBS snapshot.</p>
4193
+ * @public
4194
+ */
4195
+ SnapshotId?: string | undefined;
4196
+ /**
4197
+ * <p>The ID, alias, or ARN of the KMS key to associate with the snapshot. You can
4198
+ * specify a key ID, key alias, key ARN, or alias ARN.</p>
4199
+ * @public
4200
+ */
4201
+ KmsKeyId: string | undefined;
4202
+ /**
4203
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
4204
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
4205
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
4206
+ * @public
4207
+ */
4208
+ DryRun?: boolean | undefined;
4209
+ }
4210
+ /**
4211
+ * @public
4212
+ */
4213
+ export interface AssociateKmsKeyIdResult {
4214
+ /**
4215
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
4216
+ * @public
4217
+ */
4218
+ Return?: boolean | undefined;
4219
+ }
4167
4220
  /**
4168
4221
  * @public
4169
4222
  */
@@ -9217,33 +9270,3 @@ export interface CapacityReservationModificationQuote {
9217
9270
  */
9218
9271
  Tags?: Tag[] | undefined;
9219
9272
  }
9220
- /**
9221
- * @public
9222
- */
9223
- export interface CreateCapacityReservationDateChangeQuoteResult {
9224
- /**
9225
- * <p>Information about the Capacity Reservation date change quote.</p>
9226
- * @public
9227
- */
9228
- CapacityReservationModificationQuote?: CapacityReservationModificationQuote | undefined;
9229
- }
9230
- /**
9231
- * <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
9232
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
9233
- * EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
9234
- * @public
9235
- */
9236
- export interface BaselineEbsBandwidthMbpsRequest {
9237
- /**
9238
- * <p>The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit
9239
- * this parameter.</p>
9240
- * @public
9241
- */
9242
- Min?: number | undefined;
9243
- /**
9244
- * <p>The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit
9245
- * this parameter.</p>
9246
- * @public
9247
- */
9248
- Max?: number | undefined;
9249
- }
@@ -1,5 +1,35 @@
1
- import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationPreference, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnDeviceTrustProviderType, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMatchCriteria, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlexCostAllocationCostDimension, FlexCostAllocationNetworkResourceType, FlexCostAllocationReportingGranularity, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, PlatformValues, PrefixListState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
2
- import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AddIpamOperatingRegion, AddPrefixListEntry, BaselineEbsBandwidthMbpsRequest, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
1
+ import type { _InstanceType, AcceleratorManufacturer, AcceleratorName, AcceleratorType, AddressFamily, AmdSevSnpSpecification, AttachmentStatus, AutoProvisionZonesState, AutoScalingIpsState, AvailabilityMode, BareMetal, BlockPublicAccessMode, BootModeOverrideValues, BurstablePerformance, CapacityReservationFleetState, CapacityReservationInstancePlatform, CapacityReservationPreference, CarrierGatewayState, ClientVpnAuthenticationType, ClientVpnDeviceTrustProviderType, ClientVpnEndpointStatusCode, ClientVpnRouteStatusCode, ConnectivityType, ContainerFormat, CpuManufacturer, DefaultTargetCapacityType, DestinationFileFormat, DiskImageFormat, Ec2InstanceConnectEndpointState, EndpointIpAddressType, ExportEnvironment, ExportTaskState, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetHttpTokensState, FleetInstanceMatchCriteria, FleetInstanceMetadataEndpointState, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetReservationType, FleetType, FlexCostAllocationCostDimension, FlexCostAllocationReportingGranularity, FlowLogsResourceType, GatewayType, HostnameType, InstanceBandwidthWeighting, InstanceGeneration, InstanceInterruptionBehavior, InstanceLifecycle, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, IpamExternalResourceVerificationTokenState, IpamInternetRegistryAssociationState, IpamMeteredAccount, IpamPolicyState, IpamPoolAwsService, IpamPoolPublicIpSource, IpamPoolSourceResourceType, IpamPoolState, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPrefixListResolverState, IpamPrefixListResolverTargetState, IpamPrefixListResolverVersionCreationStatus, IpamResourceDiscoveryState, IpamResourceType, IpamScopeExternalAuthorityType, IpamScopeState, IpamScopeType, IpamState, IpamTier, KeyFormat, KeyType, LaunchTemplateAutoRecoveryState, LaunchTemplateHttpTokensState, LaunchTemplateInstanceMetadataEndpointState, LaunchTemplateInstanceMetadataOptionsState, LaunchTemplateInstanceMetadataProtocolIpv6, LaunchTemplateInstanceMetadataTagsState, LocalGatewayRouteState, LocalGatewayRouteTableMode, LocalGatewayRouteType, LocalGatewayVirtualInterfaceConfigurationState, LocalGatewayVirtualInterfaceGroupConfigurationState, LocalStorage, LocalStorageType, LogDestinationType, MacModificationTaskState, MacModificationTaskType, MacSystemIntegrityProtectionSettingStatus, MarketType, NatGatewayApplianceModifyState, NatGatewayApplianceState, NatGatewayApplianceType, NatGatewayState, NestedVirtualizationSpecification, PlatformValues, PrefixListState, ReservedCapacityAllocationStrategy, ReservedCapacityFallbackMarketType, ResourceType, Rir, RuleAction, SecondaryInterfaceType, SelfServicePortal, ShutdownBehavior, SnapshotLocationEnum, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, SpotInstanceType, SubnetState, TaggableResourceType, TargetCapacityUnitType, Tenancy, TokenState, TrafficIpAddressType, TrafficType, TransportProtocol, VolumeType, VpcEncryptionControlExclusionState, VpcEncryptionControlMode, VpcEncryptionControlState, VpcState, WeekDay, ZeroSizePreference } from "./enums";
2
+ import type { AcceleratorCount, AcceleratorCountRequest, AcceleratorTotalMemoryMiB, AcceleratorTotalMemoryMiBRequest, AddIpamOperatingRegion, AddPrefixListEntry, CapacityReservationModificationQuote, InstanceEventWindow, IpamRoutingPolicyRegistrationDelta, NatGatewayAddress, OperatorResponse, PortRange, SubnetIpv6CidrBlockAssociation, Tag, TagSpecification, UnsuccessfulItem, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface CreateCapacityReservationDateChangeQuoteResult {
7
+ /**
8
+ * <p>Information about the Capacity Reservation date change quote.</p>
9
+ * @public
10
+ */
11
+ CapacityReservationModificationQuote?: CapacityReservationModificationQuote | undefined;
12
+ }
13
+ /**
14
+ * <p>The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see
15
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon
16
+ * EBS–optimized instances</a> in the <i>Amazon EC2 User Guide</i>.</p>
17
+ * @public
18
+ */
19
+ export interface BaselineEbsBandwidthMbpsRequest {
20
+ /**
21
+ * <p>The minimum baseline bandwidth, in Mbps. To specify no minimum limit, omit
22
+ * this parameter.</p>
23
+ * @public
24
+ */
25
+ Min?: number | undefined;
26
+ /**
27
+ * <p>The maximum baseline bandwidth, in Mbps. To specify no maximum limit, omit
28
+ * this parameter.</p>
29
+ * @public
30
+ */
31
+ Max?: number | undefined;
32
+ }
3
33
  /**
4
34
  * <p>Specify an instance family to use as the baseline reference for CPU performance. All
5
35
  * instance types that match your specified attributes will be compared against the CPU
@@ -12542,92 +12572,3 @@ export interface NatFlexCostAllocationPolicyDocument {
12542
12572
  */
12543
12573
  CidrRangeSpecifications?: FlexCostAllocationCidrRangeSpecifications | undefined;
12544
12574
  }
12545
- /**
12546
- * <p>Describes the cost allocation policy document for Amazon VPC peering connections.</p>
12547
- * @public
12548
- */
12549
- export interface PcxFlexCostAllocationPolicyDocument {
12550
- /**
12551
- * <p>The resource granularity level at which networking costs are allocated. This parameter is required. Specify exactly
12552
- * one value. Valid values are <code>eni</code>, <code>ec2</code>, <code>subnet</code>, <code>vpc</code>,
12553
- * <code>account</code>, <code>peering-id</code>, and <code>cidr</code>.</p>
12554
- * @public
12555
- */
12556
- ReportingGranularity: FlexCostAllocationReportingGranularity[] | undefined;
12557
- /**
12558
- * <p>The cost dimensions to report. This parameter is required. The only valid value is
12559
- * <code>data-transfer</code>.</p>
12560
- * @public
12561
- */
12562
- Dimensions: FlexCostAllocationCostDimension[] | undefined;
12563
- /**
12564
- * <p>The CIDR range mappings to use for cost allocation. Specify this value when
12565
- * <code>ReportingGranularity</code> is <code>cidr</code>, and omit it otherwise.</p>
12566
- * @public
12567
- */
12568
- CidrRangeSpecifications?: FlexCostAllocationCidrRangeSpecifications | undefined;
12569
- }
12570
- /**
12571
- * @public
12572
- */
12573
- export interface CreateNetworkingFlexCostAllocationPolicyRequest {
12574
- /**
12575
- * <p>The type of network resource that the policy applies to. This parameter is required. Valid
12576
- * values are <code>natgw</code> (NAT gateway), <code>pcx</code> (Amazon VPC peering connection),
12577
- * and <code>ec2</code> (EC2 instance).</p>
12578
- * <p>Specify the policy document that matches the resource type: <code>NatFcaPolicyDocument</code>
12579
- * for <code>natgw</code>, <code>InstanceFcaPolicyDocument</code> for <code>ec2</code>, or
12580
- * <code>PcxFcaPolicyDocument</code> for <code>pcx</code>. Don't specify a policy document for a different
12581
- * resource type.</p>
12582
- * @public
12583
- */
12584
- NetworkResourceType: FlexCostAllocationNetworkResourceType | undefined;
12585
- /**
12586
- * <p>The policy document that defines cost allocation for NAT gateways. Provide this document when
12587
- * <code>NetworkResourceType</code> is <code>natgw</code>.</p>
12588
- * @public
12589
- */
12590
- NatFcaPolicyDocument?: NatFlexCostAllocationPolicyDocument | undefined;
12591
- /**
12592
- * <p>The policy document that defines cost allocation for EC2 instances. Provide this document when
12593
- * <code>NetworkResourceType</code> is <code>ec2</code>.</p>
12594
- * @public
12595
- */
12596
- InstanceFcaPolicyDocument?: InstanceFlexCostAllocationPolicyDocument | undefined;
12597
- /**
12598
- * <p>The policy document that defines cost allocation for Amazon VPC peering connections. Provide this
12599
- * document when <code>NetworkResourceType</code> is <code>pcx</code>.</p>
12600
- * @public
12601
- */
12602
- PcxFcaPolicyDocument?: PcxFlexCostAllocationPolicyDocument | undefined;
12603
- /**
12604
- * <p>Specifies whether showback reporting is enabled for the policy.</p>
12605
- * <p>Default: <code>true</code>
12606
- * </p>
12607
- * @public
12608
- */
12609
- ShowBackEnabled?: boolean | undefined;
12610
- /**
12611
- * <p>A description for the policy. The description can be up to 1024 characters long.</p>
12612
- * @public
12613
- */
12614
- Description?: string | undefined;
12615
- /**
12616
- * <p>The tags to assign to the policy.</p>
12617
- * @public
12618
- */
12619
- TagSpecifications?: TagSpecification[] | undefined;
12620
- /**
12621
- * <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the
12622
- * request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
12623
- * @public
12624
- */
12625
- ClientToken?: string | undefined;
12626
- /**
12627
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
12628
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
12629
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
12630
- * @public
12631
- */
12632
- DryRun?: boolean | undefined;
12633
- }