1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
///
/// Fluent builder for the `instance_exists` waiter.
///
/// This builder is intended to be used similar to the other fluent builders for
/// normal operations on the client. However, instead of a `send` method, it has
/// a `wait` method that takes a maximum amount of time to wait.
///
/// Construct this fluent builder using the client by importing the
/// [`Waiters`](crate::client::Waiters) trait and calling the methods
/// prefixed with `wait_until`.
///
#[derive(::std::clone::Clone, ::std::fmt::Debug)]
pub struct InstanceExistsFluentBuilder {
handle: ::std::sync::Arc<crate::client::Handle>,
inner: crate::operation::describe_instances::builders::DescribeInstancesInputBuilder,
}
impl InstanceExistsFluentBuilder {
/// Creates a new `InstanceExistsFluentBuilder`.
pub(crate) fn new(handle: ::std::sync::Arc<crate::client::Handle>) -> Self {
Self {
handle,
inner: ::std::default::Default::default(),
}
}
/// Access the DescribeInstances as a reference.
pub fn as_input(&self) -> &crate::operation::describe_instances::builders::DescribeInstancesInputBuilder {
&self.inner
}
/// Wait for `instance_exists`
pub async fn wait(
self,
max_wait: ::std::time::Duration,
) -> ::std::result::Result<crate::waiters::instance_exists::InstanceExistsFinalPoll, crate::waiters::instance_exists::WaitUntilInstanceExistsError>
{
let input = self
.inner
.build()
.map_err(::aws_smithy_runtime_api::client::waiters::error::WaiterError::construction_failure)?;
let runtime_plugins = crate::operation::describe_instances::DescribeInstances::operation_runtime_plugins(
self.handle.runtime_plugins.clone(),
&self.handle.conf,
::std::option::Option::None,
);
let mut cfg = ::aws_smithy_types::config_bag::ConfigBag::base();
let runtime_components_builder = runtime_plugins
.apply_client_configuration(&mut cfg)
.map_err(::aws_smithy_runtime_api::client::waiters::error::WaiterError::construction_failure)?;
let time_components = runtime_components_builder.into_time_components();
let sleep_impl = time_components.sleep_impl().expect("a sleep impl is required by waiters");
let time_source = time_components.time_source().expect("a time source is required by waiters");
let acceptor = move |result: ::std::result::Result<
&crate::operation::describe_instances::DescribeInstancesOutput,
&crate::operation::describe_instances::DescribeInstancesError,
>| {
// Matches: {"output":{"path":"length(Reservations[]) > `0`","expected":"true","comparator":"booleanEquals"}}
if crate::waiters::matchers::match_describe_instances_1c820128f4b43851a(result) {
return ::aws_smithy_runtime::client::waiters::AcceptorState::Success;
}
// Matches: {"errorType":"InvalidInstanceID.NotFound"}
if crate::waiters::matchers::match_describe_instances_c46b5661fd6e97d44(result) {
return ::aws_smithy_runtime::client::waiters::AcceptorState::Retry;
}
::aws_smithy_runtime::client::waiters::AcceptorState::NoAcceptorsMatched
};
let operation = move || {
let input = input.clone();
let runtime_plugins = runtime_plugins.clone();
async move { crate::operation::describe_instances::DescribeInstances::orchestrate(&runtime_plugins, input).await }
};
let orchestrator = ::aws_smithy_runtime::client::waiters::WaiterOrchestrator::builder()
.min_delay(::std::time::Duration::from_secs(5))
.max_delay(::std::time::Duration::from_secs(120))
.max_wait(max_wait)
.time_source(time_source)
.sleep_impl(sleep_impl)
.acceptor(acceptor)
.operation(operation)
.build();
::aws_smithy_runtime::client::waiters::attach_waiter_tracing_span(orchestrator.orchestrate()).await
}
///
/// Appends an item to `Filters`.
///
/// To override the contents of this collection use [`set_filters`](Self::set_filters).
///
/// <p>The filters.</p>
/// <ul>
/// <li>
/// <p><code>affinity</code> - The affinity setting for an instance running on a Dedicated Host (<code>default</code> | <code>host</code>).</p></li>
/// <li>
/// <p><code>architecture</code> - The instance architecture (<code>i386</code> | <code>x86_64</code> | <code>arm64</code>).</p></li>
/// <li>
/// <p><code>availability-zone</code> - The Availability Zone of the instance.</p></li>
/// <li>
/// <p><code>block-device-mapping.attach-time</code> - The attach time for an EBS volume mapped to the instance, for example, <code>2022-09-15T17:15:20.000Z</code>.</p></li>
/// <li>
/// <p><code>block-device-mapping.delete-on-termination</code> - A Boolean that indicates whether the EBS volume is deleted on instance termination.</p></li>
/// <li>
/// <p><code>block-device-mapping.device-name</code> - The device name specified in the block device mapping (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p></li>
/// <li>
/// <p><code>block-device-mapping.status</code> - The status for the EBS volume (<code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>).</p></li>
/// <li>
/// <p><code>block-device-mapping.volume-id</code> - The volume ID of the EBS volume.</p></li>
/// <li>
/// <p><code>boot-mode</code> - The boot mode that was specified by the AMI (<code>legacy-bios</code> | <code>uefi</code> | <code>uefi-preferred</code>).</p></li>
/// <li>
/// <p><code>capacity-reservation-id</code> - The ID of the Capacity Reservation into which the instance was launched.</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-preference</code> - The instance's Capacity Reservation preference (<code>open</code> | <code>none</code>).</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id</code> - The ID of the targeted Capacity Reservation.</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn</code> - The ARN of the targeted Capacity Reservation group.</p></li>
/// <li>
/// <p><code>client-token</code> - The idempotency token you provided when you launched the instance.</p></li>
/// <li>
/// <p><code>current-instance-boot-mode</code> - The boot mode that is used to launch the instance at launch or start (<code>legacy-bios</code> | <code>uefi</code>).</p></li>
/// <li>
/// <p><code>dns-name</code> - The public DNS name of the instance.</p></li>
/// <li>
/// <p><code>ebs-optimized</code> - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.</p></li>
/// <li>
/// <p><code>ena-support</code> - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.</p></li>
/// <li>
/// <p><code>enclave-options.enabled</code> - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p></li>
/// <li>
/// <p><code>hibernation-options.configured</code> - A Boolean that indicates whether the instance is enabled for hibernation. A value of <code>true</code> means that the instance is enabled for hibernation.</p></li>
/// <li>
/// <p><code>host-id</code> - The ID of the Dedicated Host on which the instance is running, if applicable.</p></li>
/// <li>
/// <p><code>hypervisor</code> - The hypervisor type of the instance (<code>ovm</code> | <code>xen</code>). The value <code>xen</code> is used for both Xen and Nitro hypervisors.</p></li>
/// <li>
/// <p><code>iam-instance-profile.arn</code> - The instance profile associated with the instance. Specified as an ARN.</p></li>
/// <li>
/// <p><code>iam-instance-profile.id</code> - The instance profile associated with the instance. Specified as an ID.</p></li>
/// <li>
/// <p><code>iam-instance-profile.name</code> - The instance profile associated with the instance. Specified as an name.</p></li>
/// <li>
/// <p><code>image-id</code> - The ID of the image used to launch the instance.</p></li>
/// <li>
/// <p><code>instance-id</code> - The ID of the instance.</p></li>
/// <li>
/// <p><code>instance-lifecycle</code> - Indicates whether this is a Spot Instance, a Scheduled Instance, or a Capacity Block (<code>spot</code> | <code>scheduled</code> | <code>capacity-block</code>).</p></li>
/// <li>
/// <p><code>instance-state-code</code> - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).</p></li>
/// <li>
/// <p><code>instance-state-name</code> - The state of the instance (<code>pending</code> | <code>running</code> | <code>shutting-down</code> | <code>terminated</code> | <code>stopping</code> | <code>stopped</code>).</p></li>
/// <li>
/// <p><code>instance-type</code> - The type of instance (for example, <code>t2.micro</code>).</p></li>
/// <li>
/// <p><code>instance.group-id</code> - The ID of the security group for the instance.</p></li>
/// <li>
/// <p><code>instance.group-name</code> - The name of the security group for the instance.</p></li>
/// <li>
/// <p><code>ip-address</code> - The public IPv4 address of the instance.</p></li>
/// <li>
/// <p><code>ipv6-address</code> - The IPv6 address of the instance.</p></li>
/// <li>
/// <p><code>kernel-id</code> - The kernel ID.</p></li>
/// <li>
/// <p><code>key-name</code> - The name of the key pair used when the instance was launched.</p></li>
/// <li>
/// <p><code>launch-index</code> - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).</p></li>
/// <li>
/// <p><code>launch-time</code> - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, <code>2021-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which matches an entire day.</p></li>
/// <li>
/// <p><code>maintenance-options.auto-recovery</code> - The current automatic recovery behavior of the instance (<code>disabled</code> | <code>default</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-endpoint</code> - The status of access to the HTTP metadata endpoint on your instance (<code>enabled</code> | <code>disabled</code>)</p></li>
/// <li>
/// <p><code>metadata-options.http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-protocol-ipv6</code> - Indicates whether the IPv6 endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-put-response-hop-limit</code> - The HTTP metadata request put response hop limit (integer, possible values <code>1</code> to <code>64</code>)</p></li>
/// <li>
/// <p><code>metadata-options.http-tokens</code> - The metadata request authorization state (<code>optional</code> | <code>required</code>)</p></li>
/// <li>
/// <p><code>metadata-options.instance-metadata-tags</code> - The status of access to instance tags from the instance metadata (<code>enabled</code> | <code>disabled</code>)</p></li>
/// <li>
/// <p><code>metadata-options.state</code> - The state of the metadata option changes (<code>pending</code> | <code>applied</code>).</p></li>
/// <li>
/// <p><code>monitoring-state</code> - Indicates whether detailed monitoring is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.allocation-id</code> - The allocation ID.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.association-id</code> - The association ID.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.carrier-ip</code> - The carrier IP address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.customer-owned-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.ip-owner-id</code> - The owner ID of the private IPv4 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.public-ip</code> - The ID of the association of an Elastic IP address (IPv4) with a network interface.</p></li>
/// <li>
/// <p><code>network-interface.addresses.primary</code> - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.private-dns-name</code> - The private DNS name.</p></li>
/// <li>
/// <p><code>network-interface.addresses.private-ip-address</code> - The private IPv4 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.allocation-id</code> - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.association-id</code> - The association ID returned when the network interface was associated with an IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.association.carrier-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.association.customer-owned-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.association.ip-owner-id</code> - The owner of the Elastic IP address (IPv4) associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.association.public-ip</code> - The address of the Elastic IP address (IPv4) bound to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.attachment.attach-time</code> - The time that the network interface was attached to an instance.</p></li>
/// <li>
/// <p><code>network-interface.attachment.attachment-id</code> - The ID of the interface attachment.</p></li>
/// <li>
/// <p><code>network-interface.attachment.delete-on-termination</code> - Specifies whether the attachment is deleted when an instance is terminated.</p></li>
/// <li>
/// <p><code>network-interface.attachment.device-index</code> - The device index to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.instance-id</code> - The ID of the instance to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.instance-owner-id</code> - The owner ID of the instance to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.network-card-index</code> - The index of the network card.</p></li>
/// <li>
/// <p><code>network-interface.attachment.status</code> - The status of the attachment (<code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>).</p></li>
/// <li>
/// <p><code>network-interface.availability-zone</code> - The Availability Zone for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.deny-all-igw-traffic</code> - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.</p></li>
/// <li>
/// <p><code>network-interface.description</code> - The description of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.group-id</code> - The ID of a security group associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.group-name</code> - The name of a security group associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv4-prefixes.ipv4-prefix</code> - The IPv4 prefixes that are assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-address</code> - The IPv6 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-addresses.ipv6-address</code> - The IPv6 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-addresses.is-primary-ipv6</code> - A Boolean that indicates whether this is the primary IPv6 address.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-native</code> - A Boolean that indicates whether this is an IPv6 only network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-prefixes.ipv6-prefix</code> - The IPv6 prefix assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.mac-address</code> - The MAC address of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.network-interface-id</code> - The ID of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.outpost-arn</code> - The ARN of the Outpost.</p></li>
/// <li>
/// <p><code>network-interface.owner-id</code> - The ID of the owner of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.private-dns-name</code> - The private DNS name of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.private-ip-address</code> - The private IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.requester-id</code> - The requester ID for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.requester-managed</code> - Indicates whether the network interface is being managed by Amazon Web Services.</p></li>
/// <li>
/// <p><code>network-interface.status</code> - The status of the network interface (<code>available</code>) | <code>in-use</code>).</p></li>
/// <li>
/// <p><code>network-interface.source-dest-check</code> - Whether the network interface performs source/destination checking. A value of <code>true</code> means that checking is enabled, and <code>false</code> means that checking is disabled. The value must be <code>false</code> for the network interface to perform network address translation (NAT) in your VPC.</p></li>
/// <li>
/// <p><code>network-interface.subnet-id</code> - The ID of the subnet for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.tag-key</code> - The key of a tag assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.tag-value</code> - The value of a tag assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.vpc-id</code> - The ID of the VPC for the network interface.</p></li>
/// <li>
/// <p><code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p></li>
/// <li>
/// <p><code>owner-id</code> - The Amazon Web Services account ID of the instance owner.</p></li>
/// <li>
/// <p><code>placement-group-name</code> - The name of the placement group for the instance.</p></li>
/// <li>
/// <p><code>placement-partition-number</code> - The partition in which the instance is located.</p></li>
/// <li>
/// <p><code>platform</code> - The platform. To list only Windows instances, use <code>windows</code>.</p></li>
/// <li>
/// <p><code>platform-details</code> - The platform (<code>Linux/UNIX</code> | <code>Red Hat BYOL Linux</code> | <code> Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> | <code>Red Hat Enterprise Linux with SQL Server Standard and HA</code> | <code>Red Hat Enterprise Linux with SQL Server Enterprise and HA</code> | <code>Red Hat Enterprise Linux with SQL Server Standard</code> | <code>Red Hat Enterprise Linux with SQL Server Web</code> | <code>Red Hat Enterprise Linux with SQL Server Enterprise</code> | <code>SQL Server Enterprise</code> | <code>SQL Server Standard</code> | <code>SQL Server Web</code> | <code>SUSE Linux</code> | <code>Ubuntu Pro</code> | <code>Windows</code> | <code>Windows BYOL</code> | <code>Windows with SQL Server Enterprise</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with SQL Server Web</code>).</p></li>
/// <li>
/// <p><code>private-dns-name</code> - The private IPv4 DNS name of the instance.</p></li>
/// <li>
/// <p><code>private-dns-name-options.enable-resource-name-dns-a-record</code> - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p></li>
/// <li>
/// <p><code>private-dns-name-options.enable-resource-name-dns-aaaa-record</code> - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p></li>
/// <li>
/// <p><code>private-dns-name-options.hostname-type</code> - The type of hostname (<code>ip-name</code> | <code>resource-name</code>).</p></li>
/// <li>
/// <p><code>private-ip-address</code> - The private IPv4 address of the instance.</p></li>
/// <li>
/// <p><code>product-code</code> - The product code associated with the AMI used to launch the instance.</p></li>
/// <li>
/// <p><code>product-code.type</code> - The type of product code (<code>devpay</code> | <code>marketplace</code>).</p></li>
/// <li>
/// <p><code>ramdisk-id</code> - The RAM disk ID.</p></li>
/// <li>
/// <p><code>reason</code> - The reason for the current state of the instance (for example, shows "User Initiated [date]" when you stop or terminate the instance). Similar to the state-reason-code filter.</p></li>
/// <li>
/// <p><code>requester-id</code> - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).</p></li>
/// <li>
/// <p><code>reservation-id</code> - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.</p></li>
/// <li>
/// <p><code>root-device-name</code> - The device name of the root device volume (for example, <code>/dev/sda1</code>).</p></li>
/// <li>
/// <p><code>root-device-type</code> - The type of the root device volume (<code>ebs</code> | <code>instance-store</code>).</p></li>
/// <li>
/// <p><code>source-dest-check</code> - Indicates whether the instance performs source/destination checking. A value of <code>true</code> means that checking is enabled, and <code>false</code> means that checking is disabled. The value must be <code>false</code> for the instance to perform network address translation (NAT) in your VPC.</p></li>
/// <li>
/// <p><code>spot-instance-request-id</code> - The ID of the Spot Instance request.</p></li>
/// <li>
/// <p><code>state-reason-code</code> - The reason code for the state change.</p></li>
/// <li>
/// <p><code>state-reason-message</code> - A message that describes the state change.</p></li>
/// <li>
/// <p><code>subnet-id</code> - The ID of the subnet for the instance.</p></li>
/// <li>
/// <p><code>tag:<key></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. 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></li>
/// <li>
/// <p><code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.</p></li>
/// <li>
/// <p><code>tenancy</code> - The tenancy of an instance (<code>dedicated</code> | <code>default</code> | <code>host</code>).</p></li>
/// <li>
/// <p><code>tpm-support</code> - Indicates if the instance is configured for NitroTPM support (<code>v2.0</code>).</p></li>
/// <li>
/// <p><code>usage-operation</code> - The usage operation value for the instance (<code>RunInstances</code> | <code>RunInstances:00g0</code> | <code>RunInstances:0010</code> | <code>RunInstances:1010</code> | <code>RunInstances:1014</code> | <code>RunInstances:1110</code> | <code>RunInstances:0014</code> | <code>RunInstances:0210</code> | <code>RunInstances:0110</code> | <code>RunInstances:0100</code> | <code>RunInstances:0004</code> | <code>RunInstances:0200</code> | <code>RunInstances:000g</code> | <code>RunInstances:0g00</code> | <code>RunInstances:0002</code> | <code>RunInstances:0800</code> | <code>RunInstances:0102</code> | <code>RunInstances:0006</code> | <code>RunInstances:0202</code>).</p></li>
/// <li>
/// <p><code>usage-operation-update-time</code> - The time that the usage operation was last updated, for example, <code>2022-09-15T17:15:20.000Z</code>.</p></li>
/// <li>
/// <p><code>virtualization-type</code> - The virtualization type of the instance (<code>paravirtual</code> | <code>hvm</code>).</p></li>
/// <li>
/// <p><code>vpc-id</code> - The ID of the VPC that the instance is running in.</p></li>
/// </ul>
pub fn filters(mut self, input: crate::types::Filter) -> Self {
self.inner = self.inner.filters(input);
self
}
/// <p>The filters.</p>
/// <ul>
/// <li>
/// <p><code>affinity</code> - The affinity setting for an instance running on a Dedicated Host (<code>default</code> | <code>host</code>).</p></li>
/// <li>
/// <p><code>architecture</code> - The instance architecture (<code>i386</code> | <code>x86_64</code> | <code>arm64</code>).</p></li>
/// <li>
/// <p><code>availability-zone</code> - The Availability Zone of the instance.</p></li>
/// <li>
/// <p><code>block-device-mapping.attach-time</code> - The attach time for an EBS volume mapped to the instance, for example, <code>2022-09-15T17:15:20.000Z</code>.</p></li>
/// <li>
/// <p><code>block-device-mapping.delete-on-termination</code> - A Boolean that indicates whether the EBS volume is deleted on instance termination.</p></li>
/// <li>
/// <p><code>block-device-mapping.device-name</code> - The device name specified in the block device mapping (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p></li>
/// <li>
/// <p><code>block-device-mapping.status</code> - The status for the EBS volume (<code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>).</p></li>
/// <li>
/// <p><code>block-device-mapping.volume-id</code> - The volume ID of the EBS volume.</p></li>
/// <li>
/// <p><code>boot-mode</code> - The boot mode that was specified by the AMI (<code>legacy-bios</code> | <code>uefi</code> | <code>uefi-preferred</code>).</p></li>
/// <li>
/// <p><code>capacity-reservation-id</code> - The ID of the Capacity Reservation into which the instance was launched.</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-preference</code> - The instance's Capacity Reservation preference (<code>open</code> | <code>none</code>).</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id</code> - The ID of the targeted Capacity Reservation.</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn</code> - The ARN of the targeted Capacity Reservation group.</p></li>
/// <li>
/// <p><code>client-token</code> - The idempotency token you provided when you launched the instance.</p></li>
/// <li>
/// <p><code>current-instance-boot-mode</code> - The boot mode that is used to launch the instance at launch or start (<code>legacy-bios</code> | <code>uefi</code>).</p></li>
/// <li>
/// <p><code>dns-name</code> - The public DNS name of the instance.</p></li>
/// <li>
/// <p><code>ebs-optimized</code> - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.</p></li>
/// <li>
/// <p><code>ena-support</code> - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.</p></li>
/// <li>
/// <p><code>enclave-options.enabled</code> - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p></li>
/// <li>
/// <p><code>hibernation-options.configured</code> - A Boolean that indicates whether the instance is enabled for hibernation. A value of <code>true</code> means that the instance is enabled for hibernation.</p></li>
/// <li>
/// <p><code>host-id</code> - The ID of the Dedicated Host on which the instance is running, if applicable.</p></li>
/// <li>
/// <p><code>hypervisor</code> - The hypervisor type of the instance (<code>ovm</code> | <code>xen</code>). The value <code>xen</code> is used for both Xen and Nitro hypervisors.</p></li>
/// <li>
/// <p><code>iam-instance-profile.arn</code> - The instance profile associated with the instance. Specified as an ARN.</p></li>
/// <li>
/// <p><code>iam-instance-profile.id</code> - The instance profile associated with the instance. Specified as an ID.</p></li>
/// <li>
/// <p><code>iam-instance-profile.name</code> - The instance profile associated with the instance. Specified as an name.</p></li>
/// <li>
/// <p><code>image-id</code> - The ID of the image used to launch the instance.</p></li>
/// <li>
/// <p><code>instance-id</code> - The ID of the instance.</p></li>
/// <li>
/// <p><code>instance-lifecycle</code> - Indicates whether this is a Spot Instance, a Scheduled Instance, or a Capacity Block (<code>spot</code> | <code>scheduled</code> | <code>capacity-block</code>).</p></li>
/// <li>
/// <p><code>instance-state-code</code> - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).</p></li>
/// <li>
/// <p><code>instance-state-name</code> - The state of the instance (<code>pending</code> | <code>running</code> | <code>shutting-down</code> | <code>terminated</code> | <code>stopping</code> | <code>stopped</code>).</p></li>
/// <li>
/// <p><code>instance-type</code> - The type of instance (for example, <code>t2.micro</code>).</p></li>
/// <li>
/// <p><code>instance.group-id</code> - The ID of the security group for the instance.</p></li>
/// <li>
/// <p><code>instance.group-name</code> - The name of the security group for the instance.</p></li>
/// <li>
/// <p><code>ip-address</code> - The public IPv4 address of the instance.</p></li>
/// <li>
/// <p><code>ipv6-address</code> - The IPv6 address of the instance.</p></li>
/// <li>
/// <p><code>kernel-id</code> - The kernel ID.</p></li>
/// <li>
/// <p><code>key-name</code> - The name of the key pair used when the instance was launched.</p></li>
/// <li>
/// <p><code>launch-index</code> - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).</p></li>
/// <li>
/// <p><code>launch-time</code> - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, <code>2021-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which matches an entire day.</p></li>
/// <li>
/// <p><code>maintenance-options.auto-recovery</code> - The current automatic recovery behavior of the instance (<code>disabled</code> | <code>default</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-endpoint</code> - The status of access to the HTTP metadata endpoint on your instance (<code>enabled</code> | <code>disabled</code>)</p></li>
/// <li>
/// <p><code>metadata-options.http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-protocol-ipv6</code> - Indicates whether the IPv6 endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-put-response-hop-limit</code> - The HTTP metadata request put response hop limit (integer, possible values <code>1</code> to <code>64</code>)</p></li>
/// <li>
/// <p><code>metadata-options.http-tokens</code> - The metadata request authorization state (<code>optional</code> | <code>required</code>)</p></li>
/// <li>
/// <p><code>metadata-options.instance-metadata-tags</code> - The status of access to instance tags from the instance metadata (<code>enabled</code> | <code>disabled</code>)</p></li>
/// <li>
/// <p><code>metadata-options.state</code> - The state of the metadata option changes (<code>pending</code> | <code>applied</code>).</p></li>
/// <li>
/// <p><code>monitoring-state</code> - Indicates whether detailed monitoring is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.allocation-id</code> - The allocation ID.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.association-id</code> - The association ID.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.carrier-ip</code> - The carrier IP address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.customer-owned-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.ip-owner-id</code> - The owner ID of the private IPv4 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.public-ip</code> - The ID of the association of an Elastic IP address (IPv4) with a network interface.</p></li>
/// <li>
/// <p><code>network-interface.addresses.primary</code> - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.private-dns-name</code> - The private DNS name.</p></li>
/// <li>
/// <p><code>network-interface.addresses.private-ip-address</code> - The private IPv4 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.allocation-id</code> - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.association-id</code> - The association ID returned when the network interface was associated with an IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.association.carrier-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.association.customer-owned-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.association.ip-owner-id</code> - The owner of the Elastic IP address (IPv4) associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.association.public-ip</code> - The address of the Elastic IP address (IPv4) bound to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.attachment.attach-time</code> - The time that the network interface was attached to an instance.</p></li>
/// <li>
/// <p><code>network-interface.attachment.attachment-id</code> - The ID of the interface attachment.</p></li>
/// <li>
/// <p><code>network-interface.attachment.delete-on-termination</code> - Specifies whether the attachment is deleted when an instance is terminated.</p></li>
/// <li>
/// <p><code>network-interface.attachment.device-index</code> - The device index to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.instance-id</code> - The ID of the instance to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.instance-owner-id</code> - The owner ID of the instance to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.network-card-index</code> - The index of the network card.</p></li>
/// <li>
/// <p><code>network-interface.attachment.status</code> - The status of the attachment (<code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>).</p></li>
/// <li>
/// <p><code>network-interface.availability-zone</code> - The Availability Zone for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.deny-all-igw-traffic</code> - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.</p></li>
/// <li>
/// <p><code>network-interface.description</code> - The description of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.group-id</code> - The ID of a security group associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.group-name</code> - The name of a security group associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv4-prefixes.ipv4-prefix</code> - The IPv4 prefixes that are assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-address</code> - The IPv6 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-addresses.ipv6-address</code> - The IPv6 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-addresses.is-primary-ipv6</code> - A Boolean that indicates whether this is the primary IPv6 address.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-native</code> - A Boolean that indicates whether this is an IPv6 only network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-prefixes.ipv6-prefix</code> - The IPv6 prefix assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.mac-address</code> - The MAC address of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.network-interface-id</code> - The ID of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.outpost-arn</code> - The ARN of the Outpost.</p></li>
/// <li>
/// <p><code>network-interface.owner-id</code> - The ID of the owner of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.private-dns-name</code> - The private DNS name of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.private-ip-address</code> - The private IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.requester-id</code> - The requester ID for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.requester-managed</code> - Indicates whether the network interface is being managed by Amazon Web Services.</p></li>
/// <li>
/// <p><code>network-interface.status</code> - The status of the network interface (<code>available</code>) | <code>in-use</code>).</p></li>
/// <li>
/// <p><code>network-interface.source-dest-check</code> - Whether the network interface performs source/destination checking. A value of <code>true</code> means that checking is enabled, and <code>false</code> means that checking is disabled. The value must be <code>false</code> for the network interface to perform network address translation (NAT) in your VPC.</p></li>
/// <li>
/// <p><code>network-interface.subnet-id</code> - The ID of the subnet for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.tag-key</code> - The key of a tag assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.tag-value</code> - The value of a tag assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.vpc-id</code> - The ID of the VPC for the network interface.</p></li>
/// <li>
/// <p><code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p></li>
/// <li>
/// <p><code>owner-id</code> - The Amazon Web Services account ID of the instance owner.</p></li>
/// <li>
/// <p><code>placement-group-name</code> - The name of the placement group for the instance.</p></li>
/// <li>
/// <p><code>placement-partition-number</code> - The partition in which the instance is located.</p></li>
/// <li>
/// <p><code>platform</code> - The platform. To list only Windows instances, use <code>windows</code>.</p></li>
/// <li>
/// <p><code>platform-details</code> - The platform (<code>Linux/UNIX</code> | <code>Red Hat BYOL Linux</code> | <code> Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> | <code>Red Hat Enterprise Linux with SQL Server Standard and HA</code> | <code>Red Hat Enterprise Linux with SQL Server Enterprise and HA</code> | <code>Red Hat Enterprise Linux with SQL Server Standard</code> | <code>Red Hat Enterprise Linux with SQL Server Web</code> | <code>Red Hat Enterprise Linux with SQL Server Enterprise</code> | <code>SQL Server Enterprise</code> | <code>SQL Server Standard</code> | <code>SQL Server Web</code> | <code>SUSE Linux</code> | <code>Ubuntu Pro</code> | <code>Windows</code> | <code>Windows BYOL</code> | <code>Windows with SQL Server Enterprise</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with SQL Server Web</code>).</p></li>
/// <li>
/// <p><code>private-dns-name</code> - The private IPv4 DNS name of the instance.</p></li>
/// <li>
/// <p><code>private-dns-name-options.enable-resource-name-dns-a-record</code> - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p></li>
/// <li>
/// <p><code>private-dns-name-options.enable-resource-name-dns-aaaa-record</code> - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p></li>
/// <li>
/// <p><code>private-dns-name-options.hostname-type</code> - The type of hostname (<code>ip-name</code> | <code>resource-name</code>).</p></li>
/// <li>
/// <p><code>private-ip-address</code> - The private IPv4 address of the instance.</p></li>
/// <li>
/// <p><code>product-code</code> - The product code associated with the AMI used to launch the instance.</p></li>
/// <li>
/// <p><code>product-code.type</code> - The type of product code (<code>devpay</code> | <code>marketplace</code>).</p></li>
/// <li>
/// <p><code>ramdisk-id</code> - The RAM disk ID.</p></li>
/// <li>
/// <p><code>reason</code> - The reason for the current state of the instance (for example, shows "User Initiated [date]" when you stop or terminate the instance). Similar to the state-reason-code filter.</p></li>
/// <li>
/// <p><code>requester-id</code> - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).</p></li>
/// <li>
/// <p><code>reservation-id</code> - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.</p></li>
/// <li>
/// <p><code>root-device-name</code> - The device name of the root device volume (for example, <code>/dev/sda1</code>).</p></li>
/// <li>
/// <p><code>root-device-type</code> - The type of the root device volume (<code>ebs</code> | <code>instance-store</code>).</p></li>
/// <li>
/// <p><code>source-dest-check</code> - Indicates whether the instance performs source/destination checking. A value of <code>true</code> means that checking is enabled, and <code>false</code> means that checking is disabled. The value must be <code>false</code> for the instance to perform network address translation (NAT) in your VPC.</p></li>
/// <li>
/// <p><code>spot-instance-request-id</code> - The ID of the Spot Instance request.</p></li>
/// <li>
/// <p><code>state-reason-code</code> - The reason code for the state change.</p></li>
/// <li>
/// <p><code>state-reason-message</code> - A message that describes the state change.</p></li>
/// <li>
/// <p><code>subnet-id</code> - The ID of the subnet for the instance.</p></li>
/// <li>
/// <p><code>tag:<key></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. 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></li>
/// <li>
/// <p><code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.</p></li>
/// <li>
/// <p><code>tenancy</code> - The tenancy of an instance (<code>dedicated</code> | <code>default</code> | <code>host</code>).</p></li>
/// <li>
/// <p><code>tpm-support</code> - Indicates if the instance is configured for NitroTPM support (<code>v2.0</code>).</p></li>
/// <li>
/// <p><code>usage-operation</code> - The usage operation value for the instance (<code>RunInstances</code> | <code>RunInstances:00g0</code> | <code>RunInstances:0010</code> | <code>RunInstances:1010</code> | <code>RunInstances:1014</code> | <code>RunInstances:1110</code> | <code>RunInstances:0014</code> | <code>RunInstances:0210</code> | <code>RunInstances:0110</code> | <code>RunInstances:0100</code> | <code>RunInstances:0004</code> | <code>RunInstances:0200</code> | <code>RunInstances:000g</code> | <code>RunInstances:0g00</code> | <code>RunInstances:0002</code> | <code>RunInstances:0800</code> | <code>RunInstances:0102</code> | <code>RunInstances:0006</code> | <code>RunInstances:0202</code>).</p></li>
/// <li>
/// <p><code>usage-operation-update-time</code> - The time that the usage operation was last updated, for example, <code>2022-09-15T17:15:20.000Z</code>.</p></li>
/// <li>
/// <p><code>virtualization-type</code> - The virtualization type of the instance (<code>paravirtual</code> | <code>hvm</code>).</p></li>
/// <li>
/// <p><code>vpc-id</code> - The ID of the VPC that the instance is running in.</p></li>
/// </ul>
pub fn set_filters(mut self, input: ::std::option::Option<::std::vec::Vec<crate::types::Filter>>) -> Self {
self.inner = self.inner.set_filters(input);
self
}
/// <p>The filters.</p>
/// <ul>
/// <li>
/// <p><code>affinity</code> - The affinity setting for an instance running on a Dedicated Host (<code>default</code> | <code>host</code>).</p></li>
/// <li>
/// <p><code>architecture</code> - The instance architecture (<code>i386</code> | <code>x86_64</code> | <code>arm64</code>).</p></li>
/// <li>
/// <p><code>availability-zone</code> - The Availability Zone of the instance.</p></li>
/// <li>
/// <p><code>block-device-mapping.attach-time</code> - The attach time for an EBS volume mapped to the instance, for example, <code>2022-09-15T17:15:20.000Z</code>.</p></li>
/// <li>
/// <p><code>block-device-mapping.delete-on-termination</code> - A Boolean that indicates whether the EBS volume is deleted on instance termination.</p></li>
/// <li>
/// <p><code>block-device-mapping.device-name</code> - The device name specified in the block device mapping (for example, <code>/dev/sdh</code> or <code>xvdh</code>).</p></li>
/// <li>
/// <p><code>block-device-mapping.status</code> - The status for the EBS volume (<code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>).</p></li>
/// <li>
/// <p><code>block-device-mapping.volume-id</code> - The volume ID of the EBS volume.</p></li>
/// <li>
/// <p><code>boot-mode</code> - The boot mode that was specified by the AMI (<code>legacy-bios</code> | <code>uefi</code> | <code>uefi-preferred</code>).</p></li>
/// <li>
/// <p><code>capacity-reservation-id</code> - The ID of the Capacity Reservation into which the instance was launched.</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-preference</code> - The instance's Capacity Reservation preference (<code>open</code> | <code>none</code>).</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-id</code> - The ID of the targeted Capacity Reservation.</p></li>
/// <li>
/// <p><code>capacity-reservation-specification.capacity-reservation-target.capacity-reservation-resource-group-arn</code> - The ARN of the targeted Capacity Reservation group.</p></li>
/// <li>
/// <p><code>client-token</code> - The idempotency token you provided when you launched the instance.</p></li>
/// <li>
/// <p><code>current-instance-boot-mode</code> - The boot mode that is used to launch the instance at launch or start (<code>legacy-bios</code> | <code>uefi</code>).</p></li>
/// <li>
/// <p><code>dns-name</code> - The public DNS name of the instance.</p></li>
/// <li>
/// <p><code>ebs-optimized</code> - A Boolean that indicates whether the instance is optimized for Amazon EBS I/O.</p></li>
/// <li>
/// <p><code>ena-support</code> - A Boolean that indicates whether the instance is enabled for enhanced networking with ENA.</p></li>
/// <li>
/// <p><code>enclave-options.enabled</code> - A Boolean that indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.</p></li>
/// <li>
/// <p><code>hibernation-options.configured</code> - A Boolean that indicates whether the instance is enabled for hibernation. A value of <code>true</code> means that the instance is enabled for hibernation.</p></li>
/// <li>
/// <p><code>host-id</code> - The ID of the Dedicated Host on which the instance is running, if applicable.</p></li>
/// <li>
/// <p><code>hypervisor</code> - The hypervisor type of the instance (<code>ovm</code> | <code>xen</code>). The value <code>xen</code> is used for both Xen and Nitro hypervisors.</p></li>
/// <li>
/// <p><code>iam-instance-profile.arn</code> - The instance profile associated with the instance. Specified as an ARN.</p></li>
/// <li>
/// <p><code>iam-instance-profile.id</code> - The instance profile associated with the instance. Specified as an ID.</p></li>
/// <li>
/// <p><code>iam-instance-profile.name</code> - The instance profile associated with the instance. Specified as an name.</p></li>
/// <li>
/// <p><code>image-id</code> - The ID of the image used to launch the instance.</p></li>
/// <li>
/// <p><code>instance-id</code> - The ID of the instance.</p></li>
/// <li>
/// <p><code>instance-lifecycle</code> - Indicates whether this is a Spot Instance, a Scheduled Instance, or a Capacity Block (<code>spot</code> | <code>scheduled</code> | <code>capacity-block</code>).</p></li>
/// <li>
/// <p><code>instance-state-code</code> - The state of the instance, as a 16-bit unsigned integer. The high byte is used for internal purposes and should be ignored. The low byte is set based on the state represented. The valid values are: 0 (pending), 16 (running), 32 (shutting-down), 48 (terminated), 64 (stopping), and 80 (stopped).</p></li>
/// <li>
/// <p><code>instance-state-name</code> - The state of the instance (<code>pending</code> | <code>running</code> | <code>shutting-down</code> | <code>terminated</code> | <code>stopping</code> | <code>stopped</code>).</p></li>
/// <li>
/// <p><code>instance-type</code> - The type of instance (for example, <code>t2.micro</code>).</p></li>
/// <li>
/// <p><code>instance.group-id</code> - The ID of the security group for the instance.</p></li>
/// <li>
/// <p><code>instance.group-name</code> - The name of the security group for the instance.</p></li>
/// <li>
/// <p><code>ip-address</code> - The public IPv4 address of the instance.</p></li>
/// <li>
/// <p><code>ipv6-address</code> - The IPv6 address of the instance.</p></li>
/// <li>
/// <p><code>kernel-id</code> - The kernel ID.</p></li>
/// <li>
/// <p><code>key-name</code> - The name of the key pair used when the instance was launched.</p></li>
/// <li>
/// <p><code>launch-index</code> - When launching multiple instances, this is the index for the instance in the launch group (for example, 0, 1, 2, and so on).</p></li>
/// <li>
/// <p><code>launch-time</code> - The time when the instance was launched, in the ISO 8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ), for example, <code>2021-09-29T11:04:43.305Z</code>. You can use a wildcard (<code>*</code>), for example, <code>2021-09-29T*</code>, which matches an entire day.</p></li>
/// <li>
/// <p><code>maintenance-options.auto-recovery</code> - The current automatic recovery behavior of the instance (<code>disabled</code> | <code>default</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-endpoint</code> - The status of access to the HTTP metadata endpoint on your instance (<code>enabled</code> | <code>disabled</code>)</p></li>
/// <li>
/// <p><code>metadata-options.http-protocol-ipv4</code> - Indicates whether the IPv4 endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-protocol-ipv6</code> - Indicates whether the IPv6 endpoint is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>metadata-options.http-put-response-hop-limit</code> - The HTTP metadata request put response hop limit (integer, possible values <code>1</code> to <code>64</code>)</p></li>
/// <li>
/// <p><code>metadata-options.http-tokens</code> - The metadata request authorization state (<code>optional</code> | <code>required</code>)</p></li>
/// <li>
/// <p><code>metadata-options.instance-metadata-tags</code> - The status of access to instance tags from the instance metadata (<code>enabled</code> | <code>disabled</code>)</p></li>
/// <li>
/// <p><code>metadata-options.state</code> - The state of the metadata option changes (<code>pending</code> | <code>applied</code>).</p></li>
/// <li>
/// <p><code>monitoring-state</code> - Indicates whether detailed monitoring is enabled (<code>disabled</code> | <code>enabled</code>).</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.allocation-id</code> - The allocation ID.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.association-id</code> - The association ID.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.carrier-ip</code> - The carrier IP address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.customer-owned-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.ip-owner-id</code> - The owner ID of the private IPv4 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.addresses.association.public-ip</code> - The ID of the association of an Elastic IP address (IPv4) with a network interface.</p></li>
/// <li>
/// <p><code>network-interface.addresses.primary</code> - Specifies whether the IPv4 address of the network interface is the primary private IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.addresses.private-dns-name</code> - The private DNS name.</p></li>
/// <li>
/// <p><code>network-interface.addresses.private-ip-address</code> - The private IPv4 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.allocation-id</code> - The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.association-id</code> - The association ID returned when the network interface was associated with an IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.association.carrier-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.association.customer-owned-ip</code> - The customer-owned IP address.</p></li>
/// <li>
/// <p><code>network-interface.association.ip-owner-id</code> - The owner of the Elastic IP address (IPv4) associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.association.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.association.public-ip</code> - The address of the Elastic IP address (IPv4) bound to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.attachment.attach-time</code> - The time that the network interface was attached to an instance.</p></li>
/// <li>
/// <p><code>network-interface.attachment.attachment-id</code> - The ID of the interface attachment.</p></li>
/// <li>
/// <p><code>network-interface.attachment.delete-on-termination</code> - Specifies whether the attachment is deleted when an instance is terminated.</p></li>
/// <li>
/// <p><code>network-interface.attachment.device-index</code> - The device index to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.instance-id</code> - The ID of the instance to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.instance-owner-id</code> - The owner ID of the instance to which the network interface is attached.</p></li>
/// <li>
/// <p><code>network-interface.attachment.network-card-index</code> - The index of the network card.</p></li>
/// <li>
/// <p><code>network-interface.attachment.status</code> - The status of the attachment (<code>attaching</code> | <code>attached</code> | <code>detaching</code> | <code>detached</code>).</p></li>
/// <li>
/// <p><code>network-interface.availability-zone</code> - The Availability Zone for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.deny-all-igw-traffic</code> - A Boolean that indicates whether a network interface with an IPv6 address is unreachable from the public internet.</p></li>
/// <li>
/// <p><code>network-interface.description</code> - The description of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.group-id</code> - The ID of a security group associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.group-name</code> - The name of a security group associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv4-prefixes.ipv4-prefix</code> - The IPv4 prefixes that are assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-address</code> - The IPv6 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-addresses.ipv6-address</code> - The IPv6 address associated with the network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-addresses.is-primary-ipv6</code> - A Boolean that indicates whether this is the primary IPv6 address.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-native</code> - A Boolean that indicates whether this is an IPv6 only network interface.</p></li>
/// <li>
/// <p><code>network-interface.ipv6-prefixes.ipv6-prefix</code> - The IPv6 prefix assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.mac-address</code> - The MAC address of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.network-interface-id</code> - The ID of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.outpost-arn</code> - The ARN of the Outpost.</p></li>
/// <li>
/// <p><code>network-interface.owner-id</code> - The ID of the owner of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.private-dns-name</code> - The private DNS name of the network interface.</p></li>
/// <li>
/// <p><code>network-interface.private-ip-address</code> - The private IPv4 address.</p></li>
/// <li>
/// <p><code>network-interface.public-dns-name</code> - The public DNS name.</p></li>
/// <li>
/// <p><code>network-interface.requester-id</code> - The requester ID for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.requester-managed</code> - Indicates whether the network interface is being managed by Amazon Web Services.</p></li>
/// <li>
/// <p><code>network-interface.status</code> - The status of the network interface (<code>available</code>) | <code>in-use</code>).</p></li>
/// <li>
/// <p><code>network-interface.source-dest-check</code> - Whether the network interface performs source/destination checking. A value of <code>true</code> means that checking is enabled, and <code>false</code> means that checking is disabled. The value must be <code>false</code> for the network interface to perform network address translation (NAT) in your VPC.</p></li>
/// <li>
/// <p><code>network-interface.subnet-id</code> - The ID of the subnet for the network interface.</p></li>
/// <li>
/// <p><code>network-interface.tag-key</code> - The key of a tag assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.tag-value</code> - The value of a tag assigned to the network interface.</p></li>
/// <li>
/// <p><code>network-interface.vpc-id</code> - The ID of the VPC for the network interface.</p></li>
/// <li>
/// <p><code>outpost-arn</code> - The Amazon Resource Name (ARN) of the Outpost.</p></li>
/// <li>
/// <p><code>owner-id</code> - The Amazon Web Services account ID of the instance owner.</p></li>
/// <li>
/// <p><code>placement-group-name</code> - The name of the placement group for the instance.</p></li>
/// <li>
/// <p><code>placement-partition-number</code> - The partition in which the instance is located.</p></li>
/// <li>
/// <p><code>platform</code> - The platform. To list only Windows instances, use <code>windows</code>.</p></li>
/// <li>
/// <p><code>platform-details</code> - The platform (<code>Linux/UNIX</code> | <code>Red Hat BYOL Linux</code> | <code> Red Hat Enterprise Linux</code> | <code>Red Hat Enterprise Linux with HA</code> | <code>Red Hat Enterprise Linux with SQL Server Standard and HA</code> | <code>Red Hat Enterprise Linux with SQL Server Enterprise and HA</code> | <code>Red Hat Enterprise Linux with SQL Server Standard</code> | <code>Red Hat Enterprise Linux with SQL Server Web</code> | <code>Red Hat Enterprise Linux with SQL Server Enterprise</code> | <code>SQL Server Enterprise</code> | <code>SQL Server Standard</code> | <code>SQL Server Web</code> | <code>SUSE Linux</code> | <code>Ubuntu Pro</code> | <code>Windows</code> | <code>Windows BYOL</code> | <code>Windows with SQL Server Enterprise</code> | <code>Windows with SQL Server Standard</code> | <code>Windows with SQL Server Web</code>).</p></li>
/// <li>
/// <p><code>private-dns-name</code> - The private IPv4 DNS name of the instance.</p></li>
/// <li>
/// <p><code>private-dns-name-options.enable-resource-name-dns-a-record</code> - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS A records.</p></li>
/// <li>
/// <p><code>private-dns-name-options.enable-resource-name-dns-aaaa-record</code> - A Boolean that indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.</p></li>
/// <li>
/// <p><code>private-dns-name-options.hostname-type</code> - The type of hostname (<code>ip-name</code> | <code>resource-name</code>).</p></li>
/// <li>
/// <p><code>private-ip-address</code> - The private IPv4 address of the instance.</p></li>
/// <li>
/// <p><code>product-code</code> - The product code associated with the AMI used to launch the instance.</p></li>
/// <li>
/// <p><code>product-code.type</code> - The type of product code (<code>devpay</code> | <code>marketplace</code>).</p></li>
/// <li>
/// <p><code>ramdisk-id</code> - The RAM disk ID.</p></li>
/// <li>
/// <p><code>reason</code> - The reason for the current state of the instance (for example, shows "User Initiated [date]" when you stop or terminate the instance). Similar to the state-reason-code filter.</p></li>
/// <li>
/// <p><code>requester-id</code> - The ID of the entity that launched the instance on your behalf (for example, Amazon Web Services Management Console, Auto Scaling, and so on).</p></li>
/// <li>
/// <p><code>reservation-id</code> - The ID of the instance's reservation. A reservation ID is created any time you launch an instance. A reservation ID has a one-to-one relationship with an instance launch request, but can be associated with more than one instance if you launch multiple instances using the same launch request. For example, if you launch one instance, you get one reservation ID. If you launch ten instances using the same launch request, you also get one reservation ID.</p></li>
/// <li>
/// <p><code>root-device-name</code> - The device name of the root device volume (for example, <code>/dev/sda1</code>).</p></li>
/// <li>
/// <p><code>root-device-type</code> - The type of the root device volume (<code>ebs</code> | <code>instance-store</code>).</p></li>
/// <li>
/// <p><code>source-dest-check</code> - Indicates whether the instance performs source/destination checking. A value of <code>true</code> means that checking is enabled, and <code>false</code> means that checking is disabled. The value must be <code>false</code> for the instance to perform network address translation (NAT) in your VPC.</p></li>
/// <li>
/// <p><code>spot-instance-request-id</code> - The ID of the Spot Instance request.</p></li>
/// <li>
/// <p><code>state-reason-code</code> - The reason code for the state change.</p></li>
/// <li>
/// <p><code>state-reason-message</code> - A message that describes the state change.</p></li>
/// <li>
/// <p><code>subnet-id</code> - The ID of the subnet for the instance.</p></li>
/// <li>
/// <p><code>tag:<key></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. 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></li>
/// <li>
/// <p><code>tag-key</code> - The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.</p></li>
/// <li>
/// <p><code>tenancy</code> - The tenancy of an instance (<code>dedicated</code> | <code>default</code> | <code>host</code>).</p></li>
/// <li>
/// <p><code>tpm-support</code> - Indicates if the instance is configured for NitroTPM support (<code>v2.0</code>).</p></li>
/// <li>
/// <p><code>usage-operation</code> - The usage operation value for the instance (<code>RunInstances</code> | <code>RunInstances:00g0</code> | <code>RunInstances:0010</code> | <code>RunInstances:1010</code> | <code>RunInstances:1014</code> | <code>RunInstances:1110</code> | <code>RunInstances:0014</code> | <code>RunInstances:0210</code> | <code>RunInstances:0110</code> | <code>RunInstances:0100</code> | <code>RunInstances:0004</code> | <code>RunInstances:0200</code> | <code>RunInstances:000g</code> | <code>RunInstances:0g00</code> | <code>RunInstances:0002</code> | <code>RunInstances:0800</code> | <code>RunInstances:0102</code> | <code>RunInstances:0006</code> | <code>RunInstances:0202</code>).</p></li>
/// <li>
/// <p><code>usage-operation-update-time</code> - The time that the usage operation was last updated, for example, <code>2022-09-15T17:15:20.000Z</code>.</p></li>
/// <li>
/// <p><code>virtualization-type</code> - The virtualization type of the instance (<code>paravirtual</code> | <code>hvm</code>).</p></li>
/// <li>
/// <p><code>vpc-id</code> - The ID of the VPC that the instance is running in.</p></li>
/// </ul>
pub fn get_filters(&self) -> &::std::option::Option<::std::vec::Vec<crate::types::Filter>> {
self.inner.get_filters()
}
///
/// Appends an item to `InstanceIds`.
///
/// To override the contents of this collection use [`set_instance_ids`](Self::set_instance_ids).
///
/// <p>The instance IDs.</p>
/// <p>Default: Describes all your instances.</p>
pub fn instance_ids(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.instance_ids(input.into());
self
}
/// <p>The instance IDs.</p>
/// <p>Default: Describes all your instances.</p>
pub fn set_instance_ids(mut self, input: ::std::option::Option<::std::vec::Vec<::std::string::String>>) -> Self {
self.inner = self.inner.set_instance_ids(input);
self
}
/// <p>The instance IDs.</p>
/// <p>Default: Describes all your instances.</p>
pub fn get_instance_ids(&self) -> &::std::option::Option<::std::vec::Vec<::std::string::String>> {
self.inner.get_instance_ids()
}
/// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
pub fn dry_run(mut self, input: bool) -> Self {
self.inner = self.inner.dry_run(input);
self
}
/// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
pub fn set_dry_run(mut self, input: ::std::option::Option<bool>) -> Self {
self.inner = self.inner.set_dry_run(input);
self
}
/// <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
pub fn get_dry_run(&self) -> &::std::option::Option<bool> {
self.inner.get_dry_run()
}
/// <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
/// <p>You cannot specify this parameter and the instance IDs parameter in the same request.</p>
pub fn max_results(mut self, input: i32) -> Self {
self.inner = self.inner.max_results(input);
self
}
/// <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
/// <p>You cannot specify this parameter and the instance IDs parameter in the same request.</p>
pub fn set_max_results(mut self, input: ::std::option::Option<i32>) -> Self {
self.inner = self.inner.set_max_results(input);
self
}
/// <p>The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
/// <p>You cannot specify this parameter and the instance IDs parameter in the same request.</p>
pub fn get_max_results(&self) -> &::std::option::Option<i32> {
self.inner.get_max_results()
}
/// <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
pub fn next_token(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.inner = self.inner.next_token(input.into());
self
}
/// <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
pub fn set_next_token(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.inner = self.inner.set_next_token(input);
self
}
/// <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
pub fn get_next_token(&self) -> &::std::option::Option<::std::string::String> {
self.inner.get_next_token()
}
}
/// Successful return type for the `instance_exists` waiter.
pub type InstanceExistsFinalPoll = ::aws_smithy_runtime_api::client::waiters::FinalPoll<
crate::operation::describe_instances::DescribeInstancesOutput,
::aws_smithy_runtime_api::client::result::SdkError<
crate::operation::describe_instances::DescribeInstancesError,
::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
>,
>;
/// Error type for the `instance_exists` waiter.
pub type WaitUntilInstanceExistsError = ::aws_smithy_runtime_api::client::waiters::error::WaiterError<
crate::operation::describe_instances::DescribeInstancesOutput,
crate::operation::describe_instances::DescribeInstancesError,
>;