@aws-sdk/client-ec2 3.696.0 → 3.697.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 (66) hide show
  1. package/dist-cjs/index.js +179 -38
  2. package/dist-es/models/models_1.js +2 -4
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_3.js +0 -6
  5. package/dist-es/models/models_4.js +6 -0
  6. package/dist-es/protocols/Aws_ec2.js +168 -26
  7. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  10. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  16. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  17. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  21. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  24. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  25. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  26. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  28. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  29. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  30. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  31. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  32. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  33. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  34. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/models/models_1.d.ts +245 -198
  38. package/dist-types/models/models_2.d.ts +199 -115
  39. package/dist-types/models/models_3.d.ts +115 -220
  40. package/dist-types/models/models_4.d.ts +222 -341
  41. package/dist-types/models/models_5.d.ts +340 -211
  42. package/dist-types/models/models_6.d.ts +228 -135
  43. package/dist-types/models/models_7.d.ts +126 -5
  44. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_1.d.ts +22 -45
  60. package/dist-types/ts3.4/models/models_2.d.ts +46 -25
  61. package/dist-types/ts3.4/models/models_3.d.ts +25 -48
  62. package/dist-types/ts3.4/models/models_4.d.ts +49 -43
  63. package/dist-types/ts3.4/models/models_5.d.ts +41 -40
  64. package/dist-types/ts3.4/models/models_6.d.ts +39 -36
  65. package/dist-types/ts3.4/models/models_7.d.ts +41 -8
  66. package/package.json +1 -1
@@ -1,7 +1,225 @@
1
- import { AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, HostnameType, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, OperatorResponse, Placement, PlatformValues, StateReason, Tenancy } from "./models_1";
3
- import { GroupIdentifier, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable } from "./models_2";
4
- import { Byoasn, Filter, IdFormat, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
1
+ import { AllocationState, AllowsMultipleInstanceTypes, AlternatePathHint, AttachmentStatus, AutoPlacement, CurrencyCodeValues, Explanation, HostMaintenance, HostRecovery, IamInstanceProfile, IamInstanceProfileAssociation, InstanceEventWindow, IpamResourceDiscoveryAssociation, PathComponent, ReservedInstancesListing, SecurityGroupRule, Tag } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, HostnameType, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, OperatorResponse, Placement, PlatformValues, StateReason, Tenancy } from "./models_1";
3
+ import { GroupIdentifier, NetworkAcl, NetworkInsightsAccessScope, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable } from "./models_2";
4
+ import { Byoasn, Filter, IdFormat, InstanceTagNotificationAttribute, PaymentOption, PermissionGroup, ProductCode } from "./models_3";
5
+ /**
6
+ * <p>Details about the Dedicated Host Reservation offering.</p>
7
+ * @public
8
+ */
9
+ export interface HostOffering {
10
+ /**
11
+ * <p>The currency of the offering.</p>
12
+ * @public
13
+ */
14
+ CurrencyCode?: CurrencyCodeValues | undefined;
15
+ /**
16
+ * <p>The duration of the offering (in seconds).</p>
17
+ * @public
18
+ */
19
+ Duration?: number | undefined;
20
+ /**
21
+ * <p>The hourly price of the offering.</p>
22
+ * @public
23
+ */
24
+ HourlyPrice?: string | undefined;
25
+ /**
26
+ * <p>The instance family of the offering.</p>
27
+ * @public
28
+ */
29
+ InstanceFamily?: string | undefined;
30
+ /**
31
+ * <p>The ID of the offering.</p>
32
+ * @public
33
+ */
34
+ OfferingId?: string | undefined;
35
+ /**
36
+ * <p>The available payment option.</p>
37
+ * @public
38
+ */
39
+ PaymentOption?: PaymentOption | undefined;
40
+ /**
41
+ * <p>The upfront price of the offering. Does not apply to No Upfront offerings.</p>
42
+ * @public
43
+ */
44
+ UpfrontPrice?: string | undefined;
45
+ }
46
+ /**
47
+ * @public
48
+ */
49
+ export interface DescribeHostReservationOfferingsResult {
50
+ /**
51
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
52
+ * @public
53
+ */
54
+ NextToken?: string | undefined;
55
+ /**
56
+ * <p>Information about the offerings.</p>
57
+ * @public
58
+ */
59
+ OfferingSet?: HostOffering[] | undefined;
60
+ }
61
+ /**
62
+ * @public
63
+ */
64
+ export interface DescribeHostReservationsRequest {
65
+ /**
66
+ * <p>The filters.</p>
67
+ * <ul>
68
+ * <li>
69
+ * <p>
70
+ * <code>instance-family</code> - The instance family (for example,
71
+ * <code>m4</code>).</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>
75
+ * <code>payment-option</code> - The payment option (<code>NoUpfront</code> |
76
+ * <code>PartialUpfront</code> | <code>AllUpfront</code>).</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>
80
+ * <code>state</code> - The state of the reservation (<code>payment-pending</code>
81
+ * | <code>payment-failed</code> | <code>active</code> |
82
+ * <code>retired</code>).</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>
86
+ * <code>tag:<key></code> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
87
+ * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>
91
+ * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
92
+ * </li>
93
+ * </ul>
94
+ * @public
95
+ */
96
+ Filter?: Filter[] | undefined;
97
+ /**
98
+ * <p>The host reservation IDs.</p>
99
+ * @public
100
+ */
101
+ HostReservationIdSet?: string[] | undefined;
102
+ /**
103
+ * <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
104
+ * @public
105
+ */
106
+ MaxResults?: number | undefined;
107
+ /**
108
+ * <p>The token to use to retrieve the next page of results.</p>
109
+ * @public
110
+ */
111
+ NextToken?: string | undefined;
112
+ }
113
+ /**
114
+ * @public
115
+ * @enum
116
+ */
117
+ export declare const ReservationState: {
118
+ readonly ACTIVE: "active";
119
+ readonly PAYMENT_FAILED: "payment-failed";
120
+ readonly PAYMENT_PENDING: "payment-pending";
121
+ readonly RETIRED: "retired";
122
+ };
123
+ /**
124
+ * @public
125
+ */
126
+ export type ReservationState = (typeof ReservationState)[keyof typeof ReservationState];
127
+ /**
128
+ * <p>Details about the Dedicated Host Reservation and associated Dedicated Hosts.</p>
129
+ * @public
130
+ */
131
+ export interface HostReservation {
132
+ /**
133
+ * <p>The number of Dedicated Hosts the reservation is associated with.</p>
134
+ * @public
135
+ */
136
+ Count?: number | undefined;
137
+ /**
138
+ * <p>The currency in which the <code>upfrontPrice</code> and <code>hourlyPrice</code>
139
+ * amounts are specified. At this time, the only supported currency is
140
+ * <code>USD</code>.</p>
141
+ * @public
142
+ */
143
+ CurrencyCode?: CurrencyCodeValues | undefined;
144
+ /**
145
+ * <p>The length of the reservation's term, specified in seconds. Can be <code>31536000 (1
146
+ * year)</code> | <code>94608000 (3 years)</code>.</p>
147
+ * @public
148
+ */
149
+ Duration?: number | undefined;
150
+ /**
151
+ * <p>The date and time that the reservation ends.</p>
152
+ * @public
153
+ */
154
+ End?: Date | undefined;
155
+ /**
156
+ * <p>The IDs of the Dedicated Hosts associated with the reservation.</p>
157
+ * @public
158
+ */
159
+ HostIdSet?: string[] | undefined;
160
+ /**
161
+ * <p>The ID of the reservation that specifies the associated Dedicated Hosts.</p>
162
+ * @public
163
+ */
164
+ HostReservationId?: string | undefined;
165
+ /**
166
+ * <p>The hourly price of the reservation.</p>
167
+ * @public
168
+ */
169
+ HourlyPrice?: string | undefined;
170
+ /**
171
+ * <p>The instance family of the Dedicated Host Reservation. The instance family on the
172
+ * Dedicated Host must be the same in order for it to benefit from the reservation.</p>
173
+ * @public
174
+ */
175
+ InstanceFamily?: string | undefined;
176
+ /**
177
+ * <p>The ID of the reservation. This remains the same regardless of which Dedicated Hosts
178
+ * are associated with it.</p>
179
+ * @public
180
+ */
181
+ OfferingId?: string | undefined;
182
+ /**
183
+ * <p>The payment option selected for this reservation.</p>
184
+ * @public
185
+ */
186
+ PaymentOption?: PaymentOption | undefined;
187
+ /**
188
+ * <p>The date and time that the reservation started.</p>
189
+ * @public
190
+ */
191
+ Start?: Date | undefined;
192
+ /**
193
+ * <p>The state of the reservation.</p>
194
+ * @public
195
+ */
196
+ State?: ReservationState | undefined;
197
+ /**
198
+ * <p>The upfront price of the reservation.</p>
199
+ * @public
200
+ */
201
+ UpfrontPrice?: string | undefined;
202
+ /**
203
+ * <p>Any tags assigned to the Dedicated Host Reservation.</p>
204
+ * @public
205
+ */
206
+ Tags?: Tag[] | undefined;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface DescribeHostReservationsResult {
212
+ /**
213
+ * <p>Details about the reservation's configuration.</p>
214
+ * @public
215
+ */
216
+ HostReservationSet?: HostReservation[] | undefined;
217
+ /**
218
+ * <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
219
+ * @public
220
+ */
221
+ NextToken?: string | undefined;
222
+ }
5
223
  /**
6
224
  * @public
7
225
  */
@@ -10902,343 +11120,6 @@ export interface DescribeSecurityGroupRulesResult {
10902
11120
  */
10903
11121
  NextToken?: string | undefined;
10904
11122
  }
10905
- /**
10906
- * @public
10907
- */
10908
- export interface DescribeSecurityGroupsRequest {
10909
- /**
10910
- * <p>The IDs of the security groups. Required for security groups in a nondefault VPC.</p>
10911
- * <p>Default: Describes all of your security groups.</p>
10912
- * @public
10913
- */
10914
- GroupIds?: string[] | undefined;
10915
- /**
10916
- * <p>[Default VPC] The names of the security groups. You can specify either
10917
- * the security group name or the security group ID.</p>
10918
- * <p>Default: Describes all of your security groups.</p>
10919
- * @public
10920
- */
10921
- GroupNames?: string[] | undefined;
10922
- /**
10923
- * <p>The token returned from a previous paginated request.
10924
- * Pagination continues from the end of the items returned by the previous request.</p>
10925
- * @public
10926
- */
10927
- NextToken?: string | undefined;
10928
- /**
10929
- * <p>The maximum number of items to return for this request. To get the next page of items,
10930
- * make another request with the token returned in the output. This value can be between 5 and 1000.
10931
- * If this parameter is not specified, then all items are returned. For more information, see
10932
- * <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10933
- * @public
10934
- */
10935
- MaxResults?: number | undefined;
10936
- /**
10937
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
10938
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10939
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10940
- * @public
10941
- */
10942
- DryRun?: boolean | undefined;
10943
- /**
10944
- * <p>The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.</p>
10945
- * <ul>
10946
- * <li>
10947
- * <p>
10948
- * <code>description</code> - The description of the security group.</p>
10949
- * </li>
10950
- * <li>
10951
- * <p>
10952
- * <code>egress.ip-permission.cidr</code> - An IPv4 CIDR block for an outbound
10953
- * security group rule.</p>
10954
- * </li>
10955
- * <li>
10956
- * <p>
10957
- * <code>egress.ip-permission.from-port</code> - For an outbound rule, the
10958
- * start of port range for the TCP and UDP protocols, or an ICMP type
10959
- * number.</p>
10960
- * </li>
10961
- * <li>
10962
- * <p>
10963
- * <code>egress.ip-permission.group-id</code> - The ID of a security group
10964
- * that has been referenced in an outbound security group rule.</p>
10965
- * </li>
10966
- * <li>
10967
- * <p>
10968
- * <code>egress.ip-permission.group-name</code> - The name of a security group
10969
- * that is referenced in an outbound security group rule.</p>
10970
- * </li>
10971
- * <li>
10972
- * <p>
10973
- * <code>egress.ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an
10974
- * outbound security group rule.</p>
10975
- * </li>
10976
- * <li>
10977
- * <p>
10978
- * <code>egress.ip-permission.prefix-list-id</code> - The ID of a prefix list to which a security group rule allows outbound access.</p>
10979
- * </li>
10980
- * <li>
10981
- * <p>
10982
- * <code>egress.ip-permission.protocol</code> - The IP protocol for an
10983
- * outbound security group rule (<code>tcp</code> | <code>udp</code> |
10984
- * <code>icmp</code>, a protocol number, or -1 for all protocols).</p>
10985
- * </li>
10986
- * <li>
10987
- * <p>
10988
- * <code>egress.ip-permission.to-port</code> - For an outbound rule, the end
10989
- * of port range for the TCP and UDP protocols, or an ICMP code.</p>
10990
- * </li>
10991
- * <li>
10992
- * <p>
10993
- * <code>egress.ip-permission.user-id</code> - The ID of an Amazon Web Services account that
10994
- * has been referenced in an outbound security group rule.</p>
10995
- * </li>
10996
- * <li>
10997
- * <p>
10998
- * <code>group-id</code> - The ID of the security group. </p>
10999
- * </li>
11000
- * <li>
11001
- * <p>
11002
- * <code>group-name</code> - The name of the security group.</p>
11003
- * </li>
11004
- * <li>
11005
- * <p>
11006
- * <code>ip-permission.cidr</code> - An IPv4 CIDR block for an inbound security
11007
- * group rule.</p>
11008
- * </li>
11009
- * <li>
11010
- * <p>
11011
- * <code>ip-permission.from-port</code> - For an inbound rule, the start of port
11012
- * range for the TCP and UDP protocols, or an ICMP type number.</p>
11013
- * </li>
11014
- * <li>
11015
- * <p>
11016
- * <code>ip-permission.group-id</code> - The ID of a security group that has been
11017
- * referenced in an inbound security group rule.</p>
11018
- * </li>
11019
- * <li>
11020
- * <p>
11021
- * <code>ip-permission.group-name</code> - The name of a security group that is
11022
- * referenced in an inbound security group rule.</p>
11023
- * </li>
11024
- * <li>
11025
- * <p>
11026
- * <code>ip-permission.ipv6-cidr</code> - An IPv6 CIDR block for an inbound security
11027
- * group rule.</p>
11028
- * </li>
11029
- * <li>
11030
- * <p>
11031
- * <code>ip-permission.prefix-list-id</code> - The ID of a prefix list from which a security group rule allows inbound access.</p>
11032
- * </li>
11033
- * <li>
11034
- * <p>
11035
- * <code>ip-permission.protocol</code> - The IP protocol for an inbound security
11036
- * group rule (<code>tcp</code> | <code>udp</code> | <code>icmp</code>, a
11037
- * protocol number, or -1 for all protocols).</p>
11038
- * </li>
11039
- * <li>
11040
- * <p>
11041
- * <code>ip-permission.to-port</code> - For an inbound rule, the end of port range
11042
- * for the TCP and UDP protocols, or an ICMP code.</p>
11043
- * </li>
11044
- * <li>
11045
- * <p>
11046
- * <code>ip-permission.user-id</code> - The ID of an Amazon Web Services account that has been
11047
- * referenced in an inbound security group rule.</p>
11048
- * </li>
11049
- * <li>
11050
- * <p>
11051
- * <code>owner-id</code> - The Amazon Web Services account ID of the owner of the security group.</p>
11052
- * </li>
11053
- * <li>
11054
- * <p>
11055
- * <code>tag</code>:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.
11056
- * For example, to find all resources that have a tag with the key <code>Owner</code> and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter name and <code>TeamA</code> for the filter value.</p>
11057
- * </li>
11058
- * <li>
11059
- * <p>
11060
- * <code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11061
- * </li>
11062
- * <li>
11063
- * <p>
11064
- * <code>vpc-id</code> - The ID of the VPC specified when the security group was created.</p>
11065
- * </li>
11066
- * </ul>
11067
- * @public
11068
- */
11069
- Filters?: Filter[] | undefined;
11070
- }
11071
- /**
11072
- * <p>Describes a security group.</p>
11073
- * @public
11074
- */
11075
- export interface SecurityGroup {
11076
- /**
11077
- * <p>The ID of the security group.</p>
11078
- * @public
11079
- */
11080
- GroupId?: string | undefined;
11081
- /**
11082
- * <p>The outbound rules associated with the security group.</p>
11083
- * @public
11084
- */
11085
- IpPermissionsEgress?: IpPermission[] | undefined;
11086
- /**
11087
- * <p>Any tags assigned to the security group.</p>
11088
- * @public
11089
- */
11090
- Tags?: Tag[] | undefined;
11091
- /**
11092
- * <p>The ID of the VPC for the security group.</p>
11093
- * @public
11094
- */
11095
- VpcId?: string | undefined;
11096
- /**
11097
- * <p>The ARN of the security group.</p>
11098
- * @public
11099
- */
11100
- SecurityGroupArn?: string | undefined;
11101
- /**
11102
- * <p>The Amazon Web Services account ID of the owner of the security group.</p>
11103
- * @public
11104
- */
11105
- OwnerId?: string | undefined;
11106
- /**
11107
- * <p>The name of the security group.</p>
11108
- * @public
11109
- */
11110
- GroupName?: string | undefined;
11111
- /**
11112
- * <p>A description of the security group.</p>
11113
- * @public
11114
- */
11115
- Description?: string | undefined;
11116
- /**
11117
- * <p>The inbound rules associated with the security group.</p>
11118
- * @public
11119
- */
11120
- IpPermissions?: IpPermission[] | undefined;
11121
- }
11122
- /**
11123
- * @public
11124
- */
11125
- export interface DescribeSecurityGroupsResult {
11126
- /**
11127
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
11128
- * @public
11129
- */
11130
- NextToken?: string | undefined;
11131
- /**
11132
- * <p>Information about the security groups.</p>
11133
- * @public
11134
- */
11135
- SecurityGroups?: SecurityGroup[] | undefined;
11136
- }
11137
- /**
11138
- * @public
11139
- */
11140
- export interface DescribeSecurityGroupVpcAssociationsRequest {
11141
- /**
11142
- * <p>Security group VPC association filters.</p>
11143
- * <ul>
11144
- * <li>
11145
- * <p>
11146
- * <code>group-id</code>: The security group ID.</p>
11147
- * </li>
11148
- * <li>
11149
- * <p>
11150
- * <code>vpc-id</code>: The ID of the associated VPC.</p>
11151
- * </li>
11152
- * <li>
11153
- * <p>
11154
- * <code>vpc-owner-id</code>: The account ID of the VPC owner.</p>
11155
- * </li>
11156
- * <li>
11157
- * <p>
11158
- * <code>state</code>: The state of the association.</p>
11159
- * </li>
11160
- * <li>
11161
- * <p>
11162
- * <code>tag:<key></code>: The key/value combination of a tag assigned to the resource. Use
11163
- * the tag key in the filter name and the tag value as the filter value. For
11164
- * example, to find all resources that have a tag with the key <code>Owner</code>
11165
- * and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter
11166
- * name and <code>TeamA</code> for the filter value.</p>
11167
- * </li>
11168
- * <li>
11169
- * <p>
11170
- * <code>tag-key</code>: The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
11171
- * </li>
11172
- * </ul>
11173
- * @public
11174
- */
11175
- Filters?: Filter[] | undefined;
11176
- /**
11177
- * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
11178
- * @public
11179
- */
11180
- NextToken?: string | undefined;
11181
- /**
11182
- * <p>The maximum number of items to return for this request.
11183
- * To get the next page of items, make another request with the token returned in the output.
11184
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11185
- * @public
11186
- */
11187
- MaxResults?: number | undefined;
11188
- /**
11189
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
11190
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
11191
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
11192
- * @public
11193
- */
11194
- DryRun?: boolean | undefined;
11195
- }
11196
- /**
11197
- * <p>A security group association with a VPC that you made with <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html">AssociateSecurityGroupVpc</a>.</p>
11198
- * @public
11199
- */
11200
- export interface SecurityGroupVpcAssociation {
11201
- /**
11202
- * <p>The association's security group ID.</p>
11203
- * @public
11204
- */
11205
- GroupId?: string | undefined;
11206
- /**
11207
- * <p>The association's VPC ID.</p>
11208
- * @public
11209
- */
11210
- VpcId?: string | undefined;
11211
- /**
11212
- * <p>The Amazon Web Services account ID of the owner of the VPC.</p>
11213
- * @public
11214
- */
11215
- VpcOwnerId?: string | undefined;
11216
- /**
11217
- * <p>The association's state.</p>
11218
- * @public
11219
- */
11220
- State?: SecurityGroupVpcAssociationState | undefined;
11221
- /**
11222
- * <p>The association's state reason.</p>
11223
- * @public
11224
- */
11225
- StateReason?: string | undefined;
11226
- }
11227
- /**
11228
- * @public
11229
- */
11230
- export interface DescribeSecurityGroupVpcAssociationsResult {
11231
- /**
11232
- * <p>The security group VPC associations.</p>
11233
- * @public
11234
- */
11235
- SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[] | undefined;
11236
- /**
11237
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
11238
- * @public
11239
- */
11240
- NextToken?: string | undefined;
11241
- }
11242
11123
  /**
11243
11124
  * @internal
11244
11125
  */