#[non_exhaustive]
pub enum InstanceType {
Show 666 variants A12xlarge, A14xlarge, A1Large, A1Medium, A1Metal, A1Xlarge, C1Medium, C1Xlarge, C32xlarge, C34xlarge, C38xlarge, C3Large, C3Xlarge, C42xlarge, C44xlarge, C48xlarge, C4Large, C4Xlarge, C512xlarge, C518xlarge, C524xlarge, C52xlarge, C54xlarge, C59xlarge, C5Large, C5Metal, C5Xlarge, C5a12xlarge, C5a16xlarge, C5a24xlarge, C5a2xlarge, C5a4xlarge, C5a8xlarge, C5aLarge, C5aXlarge, C5ad12xlarge, C5ad16xlarge, C5ad24xlarge, C5ad2xlarge, C5ad4xlarge, C5ad8xlarge, C5adLarge, C5adXlarge, C5d12xlarge, C5d18xlarge, C5d24xlarge, C5d2xlarge, C5d4xlarge, C5d9xlarge, C5dLarge, C5dMetal, C5dXlarge, C5n18xlarge, C5n2xlarge, C5n4xlarge, C5n9xlarge, C5nLarge, C5nMetal, C5nXlarge, C6a12xlarge, C6a16xlarge, C6a24xlarge, C6a2xlarge, C6a32xlarge, C6a48xlarge, C6a4xlarge, C6a8xlarge, C6aLarge, C6aMetal, C6aXlarge, C6g12xlarge, C6g16xlarge, C6g2xlarge, C6g4xlarge, C6g8xlarge, C6gLarge, C6gMedium, C6gMetal, C6gXlarge, C6gd12xlarge, C6gd16xlarge, C6gd2xlarge, C6gd4xlarge, C6gd8xlarge, C6gdLarge, C6gdMedium, C6gdMetal, C6gdXlarge, C6gn12xlarge, C6gn16xlarge, C6gn2xlarge, C6gn4xlarge, C6gn8xlarge, C6gnLarge, C6gnMedium, C6gnXlarge, C6i12xlarge, C6i16xlarge, C6i24xlarge, C6i2xlarge, C6i32xlarge, C6i4xlarge, C6i8xlarge, C6iLarge, C6iMetal, C6iXlarge, C6id12xlarge, C6id16xlarge, C6id24xlarge, C6id2xlarge, C6id32xlarge, C6id4xlarge, C6id8xlarge, C6idLarge, C6idMetal, C6idXlarge, C6in12xlarge, C6in16xlarge, C6in24xlarge, C6in2xlarge, C6in32xlarge, C6in4xlarge, C6in8xlarge, C6inLarge, C6inMetal, C6inXlarge, C7g12xlarge, C7g16xlarge, C7g2xlarge, C7g4xlarge, C7g8xlarge, C7gLarge, C7gMedium, C7gMetal, C7gXlarge, C7gn12xlarge, C7gn16xlarge, C7gn2xlarge, C7gn4xlarge, C7gn8xlarge, C7gnLarge, C7gnMedium, C7gnXlarge, Cc14xlarge, Cc28xlarge, Cg14xlarge, Cr18xlarge, D22xlarge, D24xlarge, D28xlarge, D2Xlarge, D32xlarge, D34xlarge, D38xlarge, D3Xlarge, D3en12xlarge, D3en2xlarge, D3en4xlarge, D3en6xlarge, D3en8xlarge, D3enXlarge, Dl124xlarge, F116xlarge, F12xlarge, F14xlarge, G22xlarge, G28xlarge, G316xlarge, G34xlarge, G38xlarge, G3sXlarge, G4ad16xlarge, G4ad2xlarge, G4ad4xlarge, G4ad8xlarge, G4adXlarge, G4dn12xlarge, G4dn16xlarge, G4dn2xlarge, G4dn4xlarge, G4dn8xlarge, G4dnMetal, G4dnXlarge, G512xlarge, G516xlarge, G524xlarge, G52xlarge, G548xlarge, G54xlarge, G58xlarge, G5Xlarge, G5g16xlarge, G5g2xlarge, G5g4xlarge, G5g8xlarge, G5gMetal, G5gXlarge, H116xlarge, H12xlarge, H14xlarge, H18xlarge, Hi14xlarge, Hpc6a48xlarge, Hpc6id32xlarge, Hpc7g16xlarge, Hpc7g4xlarge, Hpc7g8xlarge, Hs18xlarge, I22xlarge, I24xlarge, I28xlarge, I2Xlarge, I316xlarge, I32xlarge, I34xlarge, I38xlarge, I3Large, I3Metal, I3Xlarge, I3en12xlarge, I3en24xlarge, I3en2xlarge, I3en3xlarge, I3en6xlarge, I3enLarge, I3enMetal, I3enXlarge, I4g16xlarge, I4g2xlarge, I4g4xlarge, I4g8xlarge, I4gLarge, I4gXlarge, I4i16xlarge, I4i2xlarge, I4i32xlarge, I4i4xlarge, I4i8xlarge, I4iLarge, I4iMetal, I4iXlarge, Im4gn16xlarge, Im4gn2xlarge, Im4gn4xlarge, Im4gn8xlarge, Im4gnLarge, Im4gnXlarge, Inf124xlarge, Inf12xlarge, Inf16xlarge, Inf1Xlarge, Inf224xlarge, Inf248xlarge, Inf28xlarge, Inf2Xlarge, Is4gen2xlarge, Is4gen4xlarge, Is4gen8xlarge, Is4genLarge, Is4genMedium, Is4genXlarge, M1Large, M1Medium, M1Small, M1Xlarge, M22xlarge, M24xlarge, M2Xlarge, M32xlarge, M3Large, M3Medium, M3Xlarge, M410xlarge, M416xlarge, M42xlarge, M44xlarge, M4Large, M4Xlarge, M512xlarge, M516xlarge, M524xlarge, M52xlarge, M54xlarge, M58xlarge, M5Large, M5Metal, M5Xlarge, M5a12xlarge, M5a16xlarge, M5a24xlarge, M5a2xlarge, M5a4xlarge, M5a8xlarge, M5aLarge, M5aXlarge, M5ad12xlarge, M5ad16xlarge, M5ad24xlarge, M5ad2xlarge, M5ad4xlarge, M5ad8xlarge, M5adLarge, M5adXlarge, M5d12xlarge, M5d16xlarge, M5d24xlarge, M5d2xlarge, M5d4xlarge, M5d8xlarge, M5dLarge, M5dMetal, M5dXlarge, M5dn12xlarge, M5dn16xlarge, M5dn24xlarge, M5dn2xlarge, M5dn4xlarge, M5dn8xlarge, M5dnLarge, M5dnMetal, M5dnXlarge, M5n12xlarge, M5n16xlarge, M5n24xlarge, M5n2xlarge, M5n4xlarge, M5n8xlarge, M5nLarge, M5nMetal, M5nXlarge, M5zn12xlarge, M5zn2xlarge, M5zn3xlarge, M5zn6xlarge, M5znLarge, M5znMetal, M5znXlarge, M6a12xlarge, M6a16xlarge, M6a24xlarge, M6a2xlarge, M6a32xlarge, M6a48xlarge, M6a4xlarge, M6a8xlarge, M6aLarge, M6aMetal, M6aXlarge, M6g12xlarge, M6g16xlarge, M6g2xlarge, M6g4xlarge, M6g8xlarge, M6gLarge, M6gMedium, M6gMetal, M6gXlarge, M6gd12xlarge, M6gd16xlarge, M6gd2xlarge, M6gd4xlarge, M6gd8xlarge, M6gdLarge, M6gdMedium, M6gdMetal, M6gdXlarge, M6i12xlarge, M6i16xlarge, M6i24xlarge, M6i2xlarge, M6i32xlarge, M6i4xlarge, M6i8xlarge, M6iLarge, M6iMetal, M6iXlarge, M6id12xlarge, M6id16xlarge, M6id24xlarge, M6id2xlarge, M6id32xlarge, M6id4xlarge, M6id8xlarge, M6idLarge, M6idMetal, M6idXlarge, M6idn12xlarge, M6idn16xlarge, M6idn24xlarge, M6idn2xlarge, M6idn32xlarge, M6idn4xlarge, M6idn8xlarge, M6idnLarge, M6idnMetal, M6idnXlarge, M6in12xlarge, M6in16xlarge, M6in24xlarge, M6in2xlarge, M6in32xlarge, M6in4xlarge, M6in8xlarge, M6inLarge, M6inMetal, M6inXlarge, M7g12xlarge, M7g16xlarge, M7g2xlarge, M7g4xlarge, M7g8xlarge, M7gLarge, M7gMedium, M7gMetal, M7gXlarge, Mac1Metal, Mac2Metal, P216xlarge, P28xlarge, P2Xlarge, P316xlarge, P32xlarge, P38xlarge, P3dn24xlarge, P4d24xlarge, P4de24xlarge, R32xlarge, R34xlarge, R38xlarge, R3Large, R3Xlarge, R416xlarge, R42xlarge, R44xlarge, R48xlarge, R4Large, R4Xlarge, R512xlarge, R516xlarge, R524xlarge, R52xlarge, R54xlarge, R58xlarge, R5Large, R5Metal, R5Xlarge, R5a12xlarge, R5a16xlarge, R5a24xlarge, R5a2xlarge, R5a4xlarge, R5a8xlarge, R5aLarge, R5aXlarge, R5ad12xlarge, R5ad16xlarge, R5ad24xlarge, R5ad2xlarge, R5ad4xlarge, R5ad8xlarge, R5adLarge, R5adXlarge, R5b12xlarge, R5b16xlarge, R5b24xlarge, R5b2xlarge, R5b4xlarge, R5b8xlarge, R5bLarge, R5bMetal, R5bXlarge, R5d12xlarge, R5d16xlarge, R5d24xlarge, R5d2xlarge, R5d4xlarge, R5d8xlarge, R5dLarge, R5dMetal, R5dXlarge, R5dn12xlarge, R5dn16xlarge, R5dn24xlarge, R5dn2xlarge, R5dn4xlarge, R5dn8xlarge, R5dnLarge, R5dnMetal, R5dnXlarge, R5n12xlarge, R5n16xlarge, R5n24xlarge, R5n2xlarge, R5n4xlarge, R5n8xlarge, R5nLarge, R5nMetal, R5nXlarge, R6a12xlarge, R6a16xlarge, R6a24xlarge, R6a2xlarge, R6a32xlarge, R6a48xlarge, R6a4xlarge, R6a8xlarge, R6aLarge, R6aMetal, R6aXlarge, R6g12xlarge, R6g16xlarge, R6g2xlarge, R6g4xlarge, R6g8xlarge, R6gLarge, R6gMedium, R6gMetal, R6gXlarge, R6gd12xlarge, R6gd16xlarge, R6gd2xlarge, R6gd4xlarge, R6gd8xlarge, R6gdLarge, R6gdMedium, R6gdMetal, R6gdXlarge, R6i12xlarge, R6i16xlarge, R6i24xlarge, R6i2xlarge, R6i32xlarge, R6i4xlarge, R6i8xlarge, R6iLarge, R6iMetal, R6iXlarge, R6id12xlarge, R6id16xlarge, R6id24xlarge, R6id2xlarge, R6id32xlarge, R6id4xlarge, R6id8xlarge, R6idLarge, R6idMetal, R6idXlarge, R6idn12xlarge, R6idn16xlarge, R6idn24xlarge, R6idn2xlarge, R6idn32xlarge, R6idn4xlarge, R6idn8xlarge, R6idnLarge, R6idnMetal, R6idnXlarge, R6in12xlarge, R6in16xlarge, R6in24xlarge, R6in2xlarge, R6in32xlarge, R6in4xlarge, R6in8xlarge, R6inLarge, R6inMetal, R6inXlarge, R7g12xlarge, R7g16xlarge, R7g2xlarge, R7g4xlarge, R7g8xlarge, R7gLarge, R7gMedium, R7gMetal, R7gXlarge, T1Micro, T22xlarge, T2Large, T2Medium, T2Micro, T2Nano, T2Small, T2Xlarge, T32xlarge, T3Large, T3Medium, T3Micro, T3Nano, T3Small, T3Xlarge, T3a2xlarge, T3aLarge, T3aMedium, T3aMicro, T3aNano, T3aSmall, T3aXlarge, T4g2xlarge, T4gLarge, T4gMedium, T4gMicro, T4gNano, T4gSmall, T4gXlarge, Trn12xlarge, Trn132xlarge, Trn1n32xlarge, U12tb1112xlarge, U12tb1Metal, U18tb1112xlarge, U18tb1Metal, U24tb1112xlarge, U24tb1Metal, U3tb156xlarge, U6tb1112xlarge, U6tb156xlarge, U6tb1Metal, U9tb1112xlarge, U9tb1Metal, Vt124xlarge, Vt13xlarge, Vt16xlarge, X116xlarge, X132xlarge, X1e16xlarge, X1e2xlarge, X1e32xlarge, X1e4xlarge, X1e8xlarge, X1eXlarge, X2gd12xlarge, X2gd16xlarge, X2gd2xlarge, X2gd4xlarge, X2gd8xlarge, X2gdLarge, X2gdMedium, X2gdMetal, X2gdXlarge, X2idn16xlarge, X2idn24xlarge, X2idn32xlarge, X2idnMetal, X2iedn16xlarge, X2iedn24xlarge, X2iedn2xlarge, X2iedn32xlarge, X2iedn4xlarge, X2iedn8xlarge, X2iednMetal, X2iednXlarge, X2iezn12xlarge, X2iezn2xlarge, X2iezn4xlarge, X2iezn6xlarge, X2iezn8xlarge, X2ieznMetal, Z1d12xlarge, Z1d2xlarge, Z1d3xlarge, Z1d6xlarge, Z1dLarge, Z1dMetal, Z1dXlarge, Unknown(UnknownVariantValue),
}
Expand description

When writing a match expression against InstanceType, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.

Here is an example of how you can make a match expression forward-compatible:

# let instancetype = unimplemented!();
match instancetype {
    InstanceType::A12xlarge => { /* ... */ },
    InstanceType::A14xlarge => { /* ... */ },
    InstanceType::A1Large => { /* ... */ },
    InstanceType::A1Medium => { /* ... */ },
    InstanceType::A1Metal => { /* ... */ },
    InstanceType::A1Xlarge => { /* ... */ },
    InstanceType::C1Medium => { /* ... */ },
    InstanceType::C1Xlarge => { /* ... */ },
    InstanceType::C32xlarge => { /* ... */ },
    InstanceType::C34xlarge => { /* ... */ },
    InstanceType::C38xlarge => { /* ... */ },
    InstanceType::C3Large => { /* ... */ },
    InstanceType::C3Xlarge => { /* ... */ },
    InstanceType::C42xlarge => { /* ... */ },
    InstanceType::C44xlarge => { /* ... */ },
    InstanceType::C48xlarge => { /* ... */ },
    InstanceType::C4Large => { /* ... */ },
    InstanceType::C4Xlarge => { /* ... */ },
    InstanceType::C512xlarge => { /* ... */ },
    InstanceType::C518xlarge => { /* ... */ },
    InstanceType::C524xlarge => { /* ... */ },
    InstanceType::C52xlarge => { /* ... */ },
    InstanceType::C54xlarge => { /* ... */ },
    InstanceType::C59xlarge => { /* ... */ },
    InstanceType::C5Large => { /* ... */ },
    InstanceType::C5Metal => { /* ... */ },
    InstanceType::C5Xlarge => { /* ... */ },
    InstanceType::C5a12xlarge => { /* ... */ },
    InstanceType::C5a16xlarge => { /* ... */ },
    InstanceType::C5a24xlarge => { /* ... */ },
    InstanceType::C5a2xlarge => { /* ... */ },
    InstanceType::C5a4xlarge => { /* ... */ },
    InstanceType::C5a8xlarge => { /* ... */ },
    InstanceType::C5aLarge => { /* ... */ },
    InstanceType::C5aXlarge => { /* ... */ },
    InstanceType::C5ad12xlarge => { /* ... */ },
    InstanceType::C5ad16xlarge => { /* ... */ },
    InstanceType::C5ad24xlarge => { /* ... */ },
    InstanceType::C5ad2xlarge => { /* ... */ },
    InstanceType::C5ad4xlarge => { /* ... */ },
    InstanceType::C5ad8xlarge => { /* ... */ },
    InstanceType::C5adLarge => { /* ... */ },
    InstanceType::C5adXlarge => { /* ... */ },
    InstanceType::C5d12xlarge => { /* ... */ },
    InstanceType::C5d18xlarge => { /* ... */ },
    InstanceType::C5d24xlarge => { /* ... */ },
    InstanceType::C5d2xlarge => { /* ... */ },
    InstanceType::C5d4xlarge => { /* ... */ },
    InstanceType::C5d9xlarge => { /* ... */ },
    InstanceType::C5dLarge => { /* ... */ },
    InstanceType::C5dMetal => { /* ... */ },
    InstanceType::C5dXlarge => { /* ... */ },
    InstanceType::C5n18xlarge => { /* ... */ },
    InstanceType::C5n2xlarge => { /* ... */ },
    InstanceType::C5n4xlarge => { /* ... */ },
    InstanceType::C5n9xlarge => { /* ... */ },
    InstanceType::C5nLarge => { /* ... */ },
    InstanceType::C5nMetal => { /* ... */ },
    InstanceType::C5nXlarge => { /* ... */ },
    InstanceType::C6a12xlarge => { /* ... */ },
    InstanceType::C6a16xlarge => { /* ... */ },
    InstanceType::C6a24xlarge => { /* ... */ },
    InstanceType::C6a2xlarge => { /* ... */ },
    InstanceType::C6a32xlarge => { /* ... */ },
    InstanceType::C6a48xlarge => { /* ... */ },
    InstanceType::C6a4xlarge => { /* ... */ },
    InstanceType::C6a8xlarge => { /* ... */ },
    InstanceType::C6aLarge => { /* ... */ },
    InstanceType::C6aMetal => { /* ... */ },
    InstanceType::C6aXlarge => { /* ... */ },
    InstanceType::C6g12xlarge => { /* ... */ },
    InstanceType::C6g16xlarge => { /* ... */ },
    InstanceType::C6g2xlarge => { /* ... */ },
    InstanceType::C6g4xlarge => { /* ... */ },
    InstanceType::C6g8xlarge => { /* ... */ },
    InstanceType::C6gLarge => { /* ... */ },
    InstanceType::C6gMedium => { /* ... */ },
    InstanceType::C6gMetal => { /* ... */ },
    InstanceType::C6gXlarge => { /* ... */ },
    InstanceType::C6gd12xlarge => { /* ... */ },
    InstanceType::C6gd16xlarge => { /* ... */ },
    InstanceType::C6gd2xlarge => { /* ... */ },
    InstanceType::C6gd4xlarge => { /* ... */ },
    InstanceType::C6gd8xlarge => { /* ... */ },
    InstanceType::C6gdLarge => { /* ... */ },
    InstanceType::C6gdMedium => { /* ... */ },
    InstanceType::C6gdMetal => { /* ... */ },
    InstanceType::C6gdXlarge => { /* ... */ },
    InstanceType::C6gn12xlarge => { /* ... */ },
    InstanceType::C6gn16xlarge => { /* ... */ },
    InstanceType::C6gn2xlarge => { /* ... */ },
    InstanceType::C6gn4xlarge => { /* ... */ },
    InstanceType::C6gn8xlarge => { /* ... */ },
    InstanceType::C6gnLarge => { /* ... */ },
    InstanceType::C6gnMedium => { /* ... */ },
    InstanceType::C6gnXlarge => { /* ... */ },
    InstanceType::C6i12xlarge => { /* ... */ },
    InstanceType::C6i16xlarge => { /* ... */ },
    InstanceType::C6i24xlarge => { /* ... */ },
    InstanceType::C6i2xlarge => { /* ... */ },
    InstanceType::C6i32xlarge => { /* ... */ },
    InstanceType::C6i4xlarge => { /* ... */ },
    InstanceType::C6i8xlarge => { /* ... */ },
    InstanceType::C6iLarge => { /* ... */ },
    InstanceType::C6iMetal => { /* ... */ },
    InstanceType::C6iXlarge => { /* ... */ },
    InstanceType::C6id12xlarge => { /* ... */ },
    InstanceType::C6id16xlarge => { /* ... */ },
    InstanceType::C6id24xlarge => { /* ... */ },
    InstanceType::C6id2xlarge => { /* ... */ },
    InstanceType::C6id32xlarge => { /* ... */ },
    InstanceType::C6id4xlarge => { /* ... */ },
    InstanceType::C6id8xlarge => { /* ... */ },
    InstanceType::C6idLarge => { /* ... */ },
    InstanceType::C6idMetal => { /* ... */ },
    InstanceType::C6idXlarge => { /* ... */ },
    InstanceType::C6in12xlarge => { /* ... */ },
    InstanceType::C6in16xlarge => { /* ... */ },
    InstanceType::C6in24xlarge => { /* ... */ },
    InstanceType::C6in2xlarge => { /* ... */ },
    InstanceType::C6in32xlarge => { /* ... */ },
    InstanceType::C6in4xlarge => { /* ... */ },
    InstanceType::C6in8xlarge => { /* ... */ },
    InstanceType::C6inLarge => { /* ... */ },
    InstanceType::C6inMetal => { /* ... */ },
    InstanceType::C6inXlarge => { /* ... */ },
    InstanceType::C7g12xlarge => { /* ... */ },
    InstanceType::C7g16xlarge => { /* ... */ },
    InstanceType::C7g2xlarge => { /* ... */ },
    InstanceType::C7g4xlarge => { /* ... */ },
    InstanceType::C7g8xlarge => { /* ... */ },
    InstanceType::C7gLarge => { /* ... */ },
    InstanceType::C7gMedium => { /* ... */ },
    InstanceType::C7gMetal => { /* ... */ },
    InstanceType::C7gXlarge => { /* ... */ },
    InstanceType::C7gn12xlarge => { /* ... */ },
    InstanceType::C7gn16xlarge => { /* ... */ },
    InstanceType::C7gn2xlarge => { /* ... */ },
    InstanceType::C7gn4xlarge => { /* ... */ },
    InstanceType::C7gn8xlarge => { /* ... */ },
    InstanceType::C7gnLarge => { /* ... */ },
    InstanceType::C7gnMedium => { /* ... */ },
    InstanceType::C7gnXlarge => { /* ... */ },
    InstanceType::Cc14xlarge => { /* ... */ },
    InstanceType::Cc28xlarge => { /* ... */ },
    InstanceType::Cg14xlarge => { /* ... */ },
    InstanceType::Cr18xlarge => { /* ... */ },
    InstanceType::D22xlarge => { /* ... */ },
    InstanceType::D24xlarge => { /* ... */ },
    InstanceType::D28xlarge => { /* ... */ },
    InstanceType::D2Xlarge => { /* ... */ },
    InstanceType::D32xlarge => { /* ... */ },
    InstanceType::D34xlarge => { /* ... */ },
    InstanceType::D38xlarge => { /* ... */ },
    InstanceType::D3Xlarge => { /* ... */ },
    InstanceType::D3en12xlarge => { /* ... */ },
    InstanceType::D3en2xlarge => { /* ... */ },
    InstanceType::D3en4xlarge => { /* ... */ },
    InstanceType::D3en6xlarge => { /* ... */ },
    InstanceType::D3en8xlarge => { /* ... */ },
    InstanceType::D3enXlarge => { /* ... */ },
    InstanceType::Dl124xlarge => { /* ... */ },
    InstanceType::F116xlarge => { /* ... */ },
    InstanceType::F12xlarge => { /* ... */ },
    InstanceType::F14xlarge => { /* ... */ },
    InstanceType::G22xlarge => { /* ... */ },
    InstanceType::G28xlarge => { /* ... */ },
    InstanceType::G316xlarge => { /* ... */ },
    InstanceType::G34xlarge => { /* ... */ },
    InstanceType::G38xlarge => { /* ... */ },
    InstanceType::G3sXlarge => { /* ... */ },
    InstanceType::G4ad16xlarge => { /* ... */ },
    InstanceType::G4ad2xlarge => { /* ... */ },
    InstanceType::G4ad4xlarge => { /* ... */ },
    InstanceType::G4ad8xlarge => { /* ... */ },
    InstanceType::G4adXlarge => { /* ... */ },
    InstanceType::G4dn12xlarge => { /* ... */ },
    InstanceType::G4dn16xlarge => { /* ... */ },
    InstanceType::G4dn2xlarge => { /* ... */ },
    InstanceType::G4dn4xlarge => { /* ... */ },
    InstanceType::G4dn8xlarge => { /* ... */ },
    InstanceType::G4dnMetal => { /* ... */ },
    InstanceType::G4dnXlarge => { /* ... */ },
    InstanceType::G512xlarge => { /* ... */ },
    InstanceType::G516xlarge => { /* ... */ },
    InstanceType::G524xlarge => { /* ... */ },
    InstanceType::G52xlarge => { /* ... */ },
    InstanceType::G548xlarge => { /* ... */ },
    InstanceType::G54xlarge => { /* ... */ },
    InstanceType::G58xlarge => { /* ... */ },
    InstanceType::G5Xlarge => { /* ... */ },
    InstanceType::G5g16xlarge => { /* ... */ },
    InstanceType::G5g2xlarge => { /* ... */ },
    InstanceType::G5g4xlarge => { /* ... */ },
    InstanceType::G5g8xlarge => { /* ... */ },
    InstanceType::G5gMetal => { /* ... */ },
    InstanceType::G5gXlarge => { /* ... */ },
    InstanceType::H116xlarge => { /* ... */ },
    InstanceType::H12xlarge => { /* ... */ },
    InstanceType::H14xlarge => { /* ... */ },
    InstanceType::H18xlarge => { /* ... */ },
    InstanceType::Hi14xlarge => { /* ... */ },
    InstanceType::Hpc6a48xlarge => { /* ... */ },
    InstanceType::Hpc6id32xlarge => { /* ... */ },
    InstanceType::Hpc7g16xlarge => { /* ... */ },
    InstanceType::Hpc7g4xlarge => { /* ... */ },
    InstanceType::Hpc7g8xlarge => { /* ... */ },
    InstanceType::Hs18xlarge => { /* ... */ },
    InstanceType::I22xlarge => { /* ... */ },
    InstanceType::I24xlarge => { /* ... */ },
    InstanceType::I28xlarge => { /* ... */ },
    InstanceType::I2Xlarge => { /* ... */ },
    InstanceType::I316xlarge => { /* ... */ },
    InstanceType::I32xlarge => { /* ... */ },
    InstanceType::I34xlarge => { /* ... */ },
    InstanceType::I38xlarge => { /* ... */ },
    InstanceType::I3Large => { /* ... */ },
    InstanceType::I3Metal => { /* ... */ },
    InstanceType::I3Xlarge => { /* ... */ },
    InstanceType::I3en12xlarge => { /* ... */ },
    InstanceType::I3en24xlarge => { /* ... */ },
    InstanceType::I3en2xlarge => { /* ... */ },
    InstanceType::I3en3xlarge => { /* ... */ },
    InstanceType::I3en6xlarge => { /* ... */ },
    InstanceType::I3enLarge => { /* ... */ },
    InstanceType::I3enMetal => { /* ... */ },
    InstanceType::I3enXlarge => { /* ... */ },
    InstanceType::I4g16xlarge => { /* ... */ },
    InstanceType::I4g2xlarge => { /* ... */ },
    InstanceType::I4g4xlarge => { /* ... */ },
    InstanceType::I4g8xlarge => { /* ... */ },
    InstanceType::I4gLarge => { /* ... */ },
    InstanceType::I4gXlarge => { /* ... */ },
    InstanceType::I4i16xlarge => { /* ... */ },
    InstanceType::I4i2xlarge => { /* ... */ },
    InstanceType::I4i32xlarge => { /* ... */ },
    InstanceType::I4i4xlarge => { /* ... */ },
    InstanceType::I4i8xlarge => { /* ... */ },
    InstanceType::I4iLarge => { /* ... */ },
    InstanceType::I4iMetal => { /* ... */ },
    InstanceType::I4iXlarge => { /* ... */ },
    InstanceType::Im4gn16xlarge => { /* ... */ },
    InstanceType::Im4gn2xlarge => { /* ... */ },
    InstanceType::Im4gn4xlarge => { /* ... */ },
    InstanceType::Im4gn8xlarge => { /* ... */ },
    InstanceType::Im4gnLarge => { /* ... */ },
    InstanceType::Im4gnXlarge => { /* ... */ },
    InstanceType::Inf124xlarge => { /* ... */ },
    InstanceType::Inf12xlarge => { /* ... */ },
    InstanceType::Inf16xlarge => { /* ... */ },
    InstanceType::Inf1Xlarge => { /* ... */ },
    InstanceType::Inf224xlarge => { /* ... */ },
    InstanceType::Inf248xlarge => { /* ... */ },
    InstanceType::Inf28xlarge => { /* ... */ },
    InstanceType::Inf2Xlarge => { /* ... */ },
    InstanceType::Is4gen2xlarge => { /* ... */ },
    InstanceType::Is4gen4xlarge => { /* ... */ },
    InstanceType::Is4gen8xlarge => { /* ... */ },
    InstanceType::Is4genLarge => { /* ... */ },
    InstanceType::Is4genMedium => { /* ... */ },
    InstanceType::Is4genXlarge => { /* ... */ },
    InstanceType::M1Large => { /* ... */ },
    InstanceType::M1Medium => { /* ... */ },
    InstanceType::M1Small => { /* ... */ },
    InstanceType::M1Xlarge => { /* ... */ },
    InstanceType::M22xlarge => { /* ... */ },
    InstanceType::M24xlarge => { /* ... */ },
    InstanceType::M2Xlarge => { /* ... */ },
    InstanceType::M32xlarge => { /* ... */ },
    InstanceType::M3Large => { /* ... */ },
    InstanceType::M3Medium => { /* ... */ },
    InstanceType::M3Xlarge => { /* ... */ },
    InstanceType::M410xlarge => { /* ... */ },
    InstanceType::M416xlarge => { /* ... */ },
    InstanceType::M42xlarge => { /* ... */ },
    InstanceType::M44xlarge => { /* ... */ },
    InstanceType::M4Large => { /* ... */ },
    InstanceType::M4Xlarge => { /* ... */ },
    InstanceType::M512xlarge => { /* ... */ },
    InstanceType::M516xlarge => { /* ... */ },
    InstanceType::M524xlarge => { /* ... */ },
    InstanceType::M52xlarge => { /* ... */ },
    InstanceType::M54xlarge => { /* ... */ },
    InstanceType::M58xlarge => { /* ... */ },
    InstanceType::M5Large => { /* ... */ },
    InstanceType::M5Metal => { /* ... */ },
    InstanceType::M5Xlarge => { /* ... */ },
    InstanceType::M5a12xlarge => { /* ... */ },
    InstanceType::M5a16xlarge => { /* ... */ },
    InstanceType::M5a24xlarge => { /* ... */ },
    InstanceType::M5a2xlarge => { /* ... */ },
    InstanceType::M5a4xlarge => { /* ... */ },
    InstanceType::M5a8xlarge => { /* ... */ },
    InstanceType::M5aLarge => { /* ... */ },
    InstanceType::M5aXlarge => { /* ... */ },
    InstanceType::M5ad12xlarge => { /* ... */ },
    InstanceType::M5ad16xlarge => { /* ... */ },
    InstanceType::M5ad24xlarge => { /* ... */ },
    InstanceType::M5ad2xlarge => { /* ... */ },
    InstanceType::M5ad4xlarge => { /* ... */ },
    InstanceType::M5ad8xlarge => { /* ... */ },
    InstanceType::M5adLarge => { /* ... */ },
    InstanceType::M5adXlarge => { /* ... */ },
    InstanceType::M5d12xlarge => { /* ... */ },
    InstanceType::M5d16xlarge => { /* ... */ },
    InstanceType::M5d24xlarge => { /* ... */ },
    InstanceType::M5d2xlarge => { /* ... */ },
    InstanceType::M5d4xlarge => { /* ... */ },
    InstanceType::M5d8xlarge => { /* ... */ },
    InstanceType::M5dLarge => { /* ... */ },
    InstanceType::M5dMetal => { /* ... */ },
    InstanceType::M5dXlarge => { /* ... */ },
    InstanceType::M5dn12xlarge => { /* ... */ },
    InstanceType::M5dn16xlarge => { /* ... */ },
    InstanceType::M5dn24xlarge => { /* ... */ },
    InstanceType::M5dn2xlarge => { /* ... */ },
    InstanceType::M5dn4xlarge => { /* ... */ },
    InstanceType::M5dn8xlarge => { /* ... */ },
    InstanceType::M5dnLarge => { /* ... */ },
    InstanceType::M5dnMetal => { /* ... */ },
    InstanceType::M5dnXlarge => { /* ... */ },
    InstanceType::M5n12xlarge => { /* ... */ },
    InstanceType::M5n16xlarge => { /* ... */ },
    InstanceType::M5n24xlarge => { /* ... */ },
    InstanceType::M5n2xlarge => { /* ... */ },
    InstanceType::M5n4xlarge => { /* ... */ },
    InstanceType::M5n8xlarge => { /* ... */ },
    InstanceType::M5nLarge => { /* ... */ },
    InstanceType::M5nMetal => { /* ... */ },
    InstanceType::M5nXlarge => { /* ... */ },
    InstanceType::M5zn12xlarge => { /* ... */ },
    InstanceType::M5zn2xlarge => { /* ... */ },
    InstanceType::M5zn3xlarge => { /* ... */ },
    InstanceType::M5zn6xlarge => { /* ... */ },
    InstanceType::M5znLarge => { /* ... */ },
    InstanceType::M5znMetal => { /* ... */ },
    InstanceType::M5znXlarge => { /* ... */ },
    InstanceType::M6a12xlarge => { /* ... */ },
    InstanceType::M6a16xlarge => { /* ... */ },
    InstanceType::M6a24xlarge => { /* ... */ },
    InstanceType::M6a2xlarge => { /* ... */ },
    InstanceType::M6a32xlarge => { /* ... */ },
    InstanceType::M6a48xlarge => { /* ... */ },
    InstanceType::M6a4xlarge => { /* ... */ },
    InstanceType::M6a8xlarge => { /* ... */ },
    InstanceType::M6aLarge => { /* ... */ },
    InstanceType::M6aMetal => { /* ... */ },
    InstanceType::M6aXlarge => { /* ... */ },
    InstanceType::M6g12xlarge => { /* ... */ },
    InstanceType::M6g16xlarge => { /* ... */ },
    InstanceType::M6g2xlarge => { /* ... */ },
    InstanceType::M6g4xlarge => { /* ... */ },
    InstanceType::M6g8xlarge => { /* ... */ },
    InstanceType::M6gLarge => { /* ... */ },
    InstanceType::M6gMedium => { /* ... */ },
    InstanceType::M6gMetal => { /* ... */ },
    InstanceType::M6gXlarge => { /* ... */ },
    InstanceType::M6gd12xlarge => { /* ... */ },
    InstanceType::M6gd16xlarge => { /* ... */ },
    InstanceType::M6gd2xlarge => { /* ... */ },
    InstanceType::M6gd4xlarge => { /* ... */ },
    InstanceType::M6gd8xlarge => { /* ... */ },
    InstanceType::M6gdLarge => { /* ... */ },
    InstanceType::M6gdMedium => { /* ... */ },
    InstanceType::M6gdMetal => { /* ... */ },
    InstanceType::M6gdXlarge => { /* ... */ },
    InstanceType::M6i12xlarge => { /* ... */ },
    InstanceType::M6i16xlarge => { /* ... */ },
    InstanceType::M6i24xlarge => { /* ... */ },
    InstanceType::M6i2xlarge => { /* ... */ },
    InstanceType::M6i32xlarge => { /* ... */ },
    InstanceType::M6i4xlarge => { /* ... */ },
    InstanceType::M6i8xlarge => { /* ... */ },
    InstanceType::M6iLarge => { /* ... */ },
    InstanceType::M6iMetal => { /* ... */ },
    InstanceType::M6iXlarge => { /* ... */ },
    InstanceType::M6id12xlarge => { /* ... */ },
    InstanceType::M6id16xlarge => { /* ... */ },
    InstanceType::M6id24xlarge => { /* ... */ },
    InstanceType::M6id2xlarge => { /* ... */ },
    InstanceType::M6id32xlarge => { /* ... */ },
    InstanceType::M6id4xlarge => { /* ... */ },
    InstanceType::M6id8xlarge => { /* ... */ },
    InstanceType::M6idLarge => { /* ... */ },
    InstanceType::M6idMetal => { /* ... */ },
    InstanceType::M6idXlarge => { /* ... */ },
    InstanceType::M6idn12xlarge => { /* ... */ },
    InstanceType::M6idn16xlarge => { /* ... */ },
    InstanceType::M6idn24xlarge => { /* ... */ },
    InstanceType::M6idn2xlarge => { /* ... */ },
    InstanceType::M6idn32xlarge => { /* ... */ },
    InstanceType::M6idn4xlarge => { /* ... */ },
    InstanceType::M6idn8xlarge => { /* ... */ },
    InstanceType::M6idnLarge => { /* ... */ },
    InstanceType::M6idnMetal => { /* ... */ },
    InstanceType::M6idnXlarge => { /* ... */ },
    InstanceType::M6in12xlarge => { /* ... */ },
    InstanceType::M6in16xlarge => { /* ... */ },
    InstanceType::M6in24xlarge => { /* ... */ },
    InstanceType::M6in2xlarge => { /* ... */ },
    InstanceType::M6in32xlarge => { /* ... */ },
    InstanceType::M6in4xlarge => { /* ... */ },
    InstanceType::M6in8xlarge => { /* ... */ },
    InstanceType::M6inLarge => { /* ... */ },
    InstanceType::M6inMetal => { /* ... */ },
    InstanceType::M6inXlarge => { /* ... */ },
    InstanceType::M7g12xlarge => { /* ... */ },
    InstanceType::M7g16xlarge => { /* ... */ },
    InstanceType::M7g2xlarge => { /* ... */ },
    InstanceType::M7g4xlarge => { /* ... */ },
    InstanceType::M7g8xlarge => { /* ... */ },
    InstanceType::M7gLarge => { /* ... */ },
    InstanceType::M7gMedium => { /* ... */ },
    InstanceType::M7gMetal => { /* ... */ },
    InstanceType::M7gXlarge => { /* ... */ },
    InstanceType::Mac1Metal => { /* ... */ },
    InstanceType::Mac2Metal => { /* ... */ },
    InstanceType::P216xlarge => { /* ... */ },
    InstanceType::P28xlarge => { /* ... */ },
    InstanceType::P2Xlarge => { /* ... */ },
    InstanceType::P316xlarge => { /* ... */ },
    InstanceType::P32xlarge => { /* ... */ },
    InstanceType::P38xlarge => { /* ... */ },
    InstanceType::P3dn24xlarge => { /* ... */ },
    InstanceType::P4d24xlarge => { /* ... */ },
    InstanceType::P4de24xlarge => { /* ... */ },
    InstanceType::R32xlarge => { /* ... */ },
    InstanceType::R34xlarge => { /* ... */ },
    InstanceType::R38xlarge => { /* ... */ },
    InstanceType::R3Large => { /* ... */ },
    InstanceType::R3Xlarge => { /* ... */ },
    InstanceType::R416xlarge => { /* ... */ },
    InstanceType::R42xlarge => { /* ... */ },
    InstanceType::R44xlarge => { /* ... */ },
    InstanceType::R48xlarge => { /* ... */ },
    InstanceType::R4Large => { /* ... */ },
    InstanceType::R4Xlarge => { /* ... */ },
    InstanceType::R512xlarge => { /* ... */ },
    InstanceType::R516xlarge => { /* ... */ },
    InstanceType::R524xlarge => { /* ... */ },
    InstanceType::R52xlarge => { /* ... */ },
    InstanceType::R54xlarge => { /* ... */ },
    InstanceType::R58xlarge => { /* ... */ },
    InstanceType::R5Large => { /* ... */ },
    InstanceType::R5Metal => { /* ... */ },
    InstanceType::R5Xlarge => { /* ... */ },
    InstanceType::R5a12xlarge => { /* ... */ },
    InstanceType::R5a16xlarge => { /* ... */ },
    InstanceType::R5a24xlarge => { /* ... */ },
    InstanceType::R5a2xlarge => { /* ... */ },
    InstanceType::R5a4xlarge => { /* ... */ },
    InstanceType::R5a8xlarge => { /* ... */ },
    InstanceType::R5aLarge => { /* ... */ },
    InstanceType::R5aXlarge => { /* ... */ },
    InstanceType::R5ad12xlarge => { /* ... */ },
    InstanceType::R5ad16xlarge => { /* ... */ },
    InstanceType::R5ad24xlarge => { /* ... */ },
    InstanceType::R5ad2xlarge => { /* ... */ },
    InstanceType::R5ad4xlarge => { /* ... */ },
    InstanceType::R5ad8xlarge => { /* ... */ },
    InstanceType::R5adLarge => { /* ... */ },
    InstanceType::R5adXlarge => { /* ... */ },
    InstanceType::R5b12xlarge => { /* ... */ },
    InstanceType::R5b16xlarge => { /* ... */ },
    InstanceType::R5b24xlarge => { /* ... */ },
    InstanceType::R5b2xlarge => { /* ... */ },
    InstanceType::R5b4xlarge => { /* ... */ },
    InstanceType::R5b8xlarge => { /* ... */ },
    InstanceType::R5bLarge => { /* ... */ },
    InstanceType::R5bMetal => { /* ... */ },
    InstanceType::R5bXlarge => { /* ... */ },
    InstanceType::R5d12xlarge => { /* ... */ },
    InstanceType::R5d16xlarge => { /* ... */ },
    InstanceType::R5d24xlarge => { /* ... */ },
    InstanceType::R5d2xlarge => { /* ... */ },
    InstanceType::R5d4xlarge => { /* ... */ },
    InstanceType::R5d8xlarge => { /* ... */ },
    InstanceType::R5dLarge => { /* ... */ },
    InstanceType::R5dMetal => { /* ... */ },
    InstanceType::R5dXlarge => { /* ... */ },
    InstanceType::R5dn12xlarge => { /* ... */ },
    InstanceType::R5dn16xlarge => { /* ... */ },
    InstanceType::R5dn24xlarge => { /* ... */ },
    InstanceType::R5dn2xlarge => { /* ... */ },
    InstanceType::R5dn4xlarge => { /* ... */ },
    InstanceType::R5dn8xlarge => { /* ... */ },
    InstanceType::R5dnLarge => { /* ... */ },
    InstanceType::R5dnMetal => { /* ... */ },
    InstanceType::R5dnXlarge => { /* ... */ },
    InstanceType::R5n12xlarge => { /* ... */ },
    InstanceType::R5n16xlarge => { /* ... */ },
    InstanceType::R5n24xlarge => { /* ... */ },
    InstanceType::R5n2xlarge => { /* ... */ },
    InstanceType::R5n4xlarge => { /* ... */ },
    InstanceType::R5n8xlarge => { /* ... */ },
    InstanceType::R5nLarge => { /* ... */ },
    InstanceType::R5nMetal => { /* ... */ },
    InstanceType::R5nXlarge => { /* ... */ },
    InstanceType::R6a12xlarge => { /* ... */ },
    InstanceType::R6a16xlarge => { /* ... */ },
    InstanceType::R6a24xlarge => { /* ... */ },
    InstanceType::R6a2xlarge => { /* ... */ },
    InstanceType::R6a32xlarge => { /* ... */ },
    InstanceType::R6a48xlarge => { /* ... */ },
    InstanceType::R6a4xlarge => { /* ... */ },
    InstanceType::R6a8xlarge => { /* ... */ },
    InstanceType::R6aLarge => { /* ... */ },
    InstanceType::R6aMetal => { /* ... */ },
    InstanceType::R6aXlarge => { /* ... */ },
    InstanceType::R6g12xlarge => { /* ... */ },
    InstanceType::R6g16xlarge => { /* ... */ },
    InstanceType::R6g2xlarge => { /* ... */ },
    InstanceType::R6g4xlarge => { /* ... */ },
    InstanceType::R6g8xlarge => { /* ... */ },
    InstanceType::R6gLarge => { /* ... */ },
    InstanceType::R6gMedium => { /* ... */ },
    InstanceType::R6gMetal => { /* ... */ },
    InstanceType::R6gXlarge => { /* ... */ },
    InstanceType::R6gd12xlarge => { /* ... */ },
    InstanceType::R6gd16xlarge => { /* ... */ },
    InstanceType::R6gd2xlarge => { /* ... */ },
    InstanceType::R6gd4xlarge => { /* ... */ },
    InstanceType::R6gd8xlarge => { /* ... */ },
    InstanceType::R6gdLarge => { /* ... */ },
    InstanceType::R6gdMedium => { /* ... */ },
    InstanceType::R6gdMetal => { /* ... */ },
    InstanceType::R6gdXlarge => { /* ... */ },
    InstanceType::R6i12xlarge => { /* ... */ },
    InstanceType::R6i16xlarge => { /* ... */ },
    InstanceType::R6i24xlarge => { /* ... */ },
    InstanceType::R6i2xlarge => { /* ... */ },
    InstanceType::R6i32xlarge => { /* ... */ },
    InstanceType::R6i4xlarge => { /* ... */ },
    InstanceType::R6i8xlarge => { /* ... */ },
    InstanceType::R6iLarge => { /* ... */ },
    InstanceType::R6iMetal => { /* ... */ },
    InstanceType::R6iXlarge => { /* ... */ },
    InstanceType::R6id12xlarge => { /* ... */ },
    InstanceType::R6id16xlarge => { /* ... */ },
    InstanceType::R6id24xlarge => { /* ... */ },
    InstanceType::R6id2xlarge => { /* ... */ },
    InstanceType::R6id32xlarge => { /* ... */ },
    InstanceType::R6id4xlarge => { /* ... */ },
    InstanceType::R6id8xlarge => { /* ... */ },
    InstanceType::R6idLarge => { /* ... */ },
    InstanceType::R6idMetal => { /* ... */ },
    InstanceType::R6idXlarge => { /* ... */ },
    InstanceType::R6idn12xlarge => { /* ... */ },
    InstanceType::R6idn16xlarge => { /* ... */ },
    InstanceType::R6idn24xlarge => { /* ... */ },
    InstanceType::R6idn2xlarge => { /* ... */ },
    InstanceType::R6idn32xlarge => { /* ... */ },
    InstanceType::R6idn4xlarge => { /* ... */ },
    InstanceType::R6idn8xlarge => { /* ... */ },
    InstanceType::R6idnLarge => { /* ... */ },
    InstanceType::R6idnMetal => { /* ... */ },
    InstanceType::R6idnXlarge => { /* ... */ },
    InstanceType::R6in12xlarge => { /* ... */ },
    InstanceType::R6in16xlarge => { /* ... */ },
    InstanceType::R6in24xlarge => { /* ... */ },
    InstanceType::R6in2xlarge => { /* ... */ },
    InstanceType::R6in32xlarge => { /* ... */ },
    InstanceType::R6in4xlarge => { /* ... */ },
    InstanceType::R6in8xlarge => { /* ... */ },
    InstanceType::R6inLarge => { /* ... */ },
    InstanceType::R6inMetal => { /* ... */ },
    InstanceType::R6inXlarge => { /* ... */ },
    InstanceType::R7g12xlarge => { /* ... */ },
    InstanceType::R7g16xlarge => { /* ... */ },
    InstanceType::R7g2xlarge => { /* ... */ },
    InstanceType::R7g4xlarge => { /* ... */ },
    InstanceType::R7g8xlarge => { /* ... */ },
    InstanceType::R7gLarge => { /* ... */ },
    InstanceType::R7gMedium => { /* ... */ },
    InstanceType::R7gMetal => { /* ... */ },
    InstanceType::R7gXlarge => { /* ... */ },
    InstanceType::T1Micro => { /* ... */ },
    InstanceType::T22xlarge => { /* ... */ },
    InstanceType::T2Large => { /* ... */ },
    InstanceType::T2Medium => { /* ... */ },
    InstanceType::T2Micro => { /* ... */ },
    InstanceType::T2Nano => { /* ... */ },
    InstanceType::T2Small => { /* ... */ },
    InstanceType::T2Xlarge => { /* ... */ },
    InstanceType::T32xlarge => { /* ... */ },
    InstanceType::T3Large => { /* ... */ },
    InstanceType::T3Medium => { /* ... */ },
    InstanceType::T3Micro => { /* ... */ },
    InstanceType::T3Nano => { /* ... */ },
    InstanceType::T3Small => { /* ... */ },
    InstanceType::T3Xlarge => { /* ... */ },
    InstanceType::T3a2xlarge => { /* ... */ },
    InstanceType::T3aLarge => { /* ... */ },
    InstanceType::T3aMedium => { /* ... */ },
    InstanceType::T3aMicro => { /* ... */ },
    InstanceType::T3aNano => { /* ... */ },
    InstanceType::T3aSmall => { /* ... */ },
    InstanceType::T3aXlarge => { /* ... */ },
    InstanceType::T4g2xlarge => { /* ... */ },
    InstanceType::T4gLarge => { /* ... */ },
    InstanceType::T4gMedium => { /* ... */ },
    InstanceType::T4gMicro => { /* ... */ },
    InstanceType::T4gNano => { /* ... */ },
    InstanceType::T4gSmall => { /* ... */ },
    InstanceType::T4gXlarge => { /* ... */ },
    InstanceType::Trn12xlarge => { /* ... */ },
    InstanceType::Trn132xlarge => { /* ... */ },
    InstanceType::Trn1n32xlarge => { /* ... */ },
    InstanceType::U12tb1112xlarge => { /* ... */ },
    InstanceType::U12tb1Metal => { /* ... */ },
    InstanceType::U18tb1112xlarge => { /* ... */ },
    InstanceType::U18tb1Metal => { /* ... */ },
    InstanceType::U24tb1112xlarge => { /* ... */ },
    InstanceType::U24tb1Metal => { /* ... */ },
    InstanceType::U3tb156xlarge => { /* ... */ },
    InstanceType::U6tb1112xlarge => { /* ... */ },
    InstanceType::U6tb156xlarge => { /* ... */ },
    InstanceType::U6tb1Metal => { /* ... */ },
    InstanceType::U9tb1112xlarge => { /* ... */ },
    InstanceType::U9tb1Metal => { /* ... */ },
    InstanceType::Vt124xlarge => { /* ... */ },
    InstanceType::Vt13xlarge => { /* ... */ },
    InstanceType::Vt16xlarge => { /* ... */ },
    InstanceType::X116xlarge => { /* ... */ },
    InstanceType::X132xlarge => { /* ... */ },
    InstanceType::X1e16xlarge => { /* ... */ },
    InstanceType::X1e2xlarge => { /* ... */ },
    InstanceType::X1e32xlarge => { /* ... */ },
    InstanceType::X1e4xlarge => { /* ... */ },
    InstanceType::X1e8xlarge => { /* ... */ },
    InstanceType::X1eXlarge => { /* ... */ },
    InstanceType::X2gd12xlarge => { /* ... */ },
    InstanceType::X2gd16xlarge => { /* ... */ },
    InstanceType::X2gd2xlarge => { /* ... */ },
    InstanceType::X2gd4xlarge => { /* ... */ },
    InstanceType::X2gd8xlarge => { /* ... */ },
    InstanceType::X2gdLarge => { /* ... */ },
    InstanceType::X2gdMedium => { /* ... */ },
    InstanceType::X2gdMetal => { /* ... */ },
    InstanceType::X2gdXlarge => { /* ... */ },
    InstanceType::X2idn16xlarge => { /* ... */ },
    InstanceType::X2idn24xlarge => { /* ... */ },
    InstanceType::X2idn32xlarge => { /* ... */ },
    InstanceType::X2idnMetal => { /* ... */ },
    InstanceType::X2iedn16xlarge => { /* ... */ },
    InstanceType::X2iedn24xlarge => { /* ... */ },
    InstanceType::X2iedn2xlarge => { /* ... */ },
    InstanceType::X2iedn32xlarge => { /* ... */ },
    InstanceType::X2iedn4xlarge => { /* ... */ },
    InstanceType::X2iedn8xlarge => { /* ... */ },
    InstanceType::X2iednMetal => { /* ... */ },
    InstanceType::X2iednXlarge => { /* ... */ },
    InstanceType::X2iezn12xlarge => { /* ... */ },
    InstanceType::X2iezn2xlarge => { /* ... */ },
    InstanceType::X2iezn4xlarge => { /* ... */ },
    InstanceType::X2iezn6xlarge => { /* ... */ },
    InstanceType::X2iezn8xlarge => { /* ... */ },
    InstanceType::X2ieznMetal => { /* ... */ },
    InstanceType::Z1d12xlarge => { /* ... */ },
    InstanceType::Z1d2xlarge => { /* ... */ },
    InstanceType::Z1d3xlarge => { /* ... */ },
    InstanceType::Z1d6xlarge => { /* ... */ },
    InstanceType::Z1dLarge => { /* ... */ },
    InstanceType::Z1dMetal => { /* ... */ },
    InstanceType::Z1dXlarge => { /* ... */ },
    other @ _ if other.as_str() == "NewFeature" => { /* handles a case for `NewFeature` */ },
    _ => { /* ... */ },
}

The above code demonstrates that when instancetype represents NewFeature, the execution path will lead to the second last match arm, even though the enum does not contain a variant InstanceType::NewFeature in the current version of SDK. The reason is that the variable other, created by the @ operator, is bound to InstanceType::Unknown(UnknownVariantValue("NewFeature".to_owned())) and calling as_str on it yields "NewFeature". This match expression is forward-compatible when executed with a newer version of SDK where the variant InstanceType::NewFeature is defined. Specifically, when instancetype represents NewFeature, the execution path will hit the second last match arm as before by virtue of calling as_str on InstanceType::NewFeature also yielding "NewFeature".

Explicitly matching on the Unknown variant should be avoided for two reasons:

  • The inner data UnknownVariantValue is opaque, and no further information can be extracted.
  • It might inadvertently shadow other intended match arms.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

A12xlarge

§

A14xlarge

§

A1Large

§

A1Medium

§

A1Metal

§

A1Xlarge

§

C1Medium

§

C1Xlarge

§

C32xlarge

§

C34xlarge

§

C38xlarge

§

C3Large

§

C3Xlarge

§

C42xlarge

§

C44xlarge

§

C48xlarge

§

C4Large

§

C4Xlarge

§

C512xlarge

§

C518xlarge

§

C524xlarge

§

C52xlarge

§

C54xlarge

§

C59xlarge

§

C5Large

§

C5Metal

§

C5Xlarge

§

C5a12xlarge

§

C5a16xlarge

§

C5a24xlarge

§

C5a2xlarge

§

C5a4xlarge

§

C5a8xlarge

§

C5aLarge

§

C5aXlarge

§

C5ad12xlarge

§

C5ad16xlarge

§

C5ad24xlarge

§

C5ad2xlarge

§

C5ad4xlarge

§

C5ad8xlarge

§

C5adLarge

§

C5adXlarge

§

C5d12xlarge

§

C5d18xlarge

§

C5d24xlarge

§

C5d2xlarge

§

C5d4xlarge

§

C5d9xlarge

§

C5dLarge

§

C5dMetal

§

C5dXlarge

§

C5n18xlarge

§

C5n2xlarge

§

C5n4xlarge

§

C5n9xlarge

§

C5nLarge

§

C5nMetal

§

C5nXlarge

§

C6a12xlarge

§

C6a16xlarge

§

C6a24xlarge

§

C6a2xlarge

§

C6a32xlarge

§

C6a48xlarge

§

C6a4xlarge

§

C6a8xlarge

§

C6aLarge

§

C6aMetal

§

C6aXlarge

§

C6g12xlarge

§

C6g16xlarge

§

C6g2xlarge

§

C6g4xlarge

§

C6g8xlarge

§

C6gLarge

§

C6gMedium

§

C6gMetal

§

C6gXlarge

§

C6gd12xlarge

§

C6gd16xlarge

§

C6gd2xlarge

§

C6gd4xlarge

§

C6gd8xlarge

§

C6gdLarge

§

C6gdMedium

§

C6gdMetal

§

C6gdXlarge

§

C6gn12xlarge

§

C6gn16xlarge

§

C6gn2xlarge

§

C6gn4xlarge

§

C6gn8xlarge

§

C6gnLarge

§

C6gnMedium

§

C6gnXlarge

§

C6i12xlarge

§

C6i16xlarge

§

C6i24xlarge

§

C6i2xlarge

§

C6i32xlarge

§

C6i4xlarge

§

C6i8xlarge

§

C6iLarge

§

C6iMetal

§

C6iXlarge

§

C6id12xlarge

§

C6id16xlarge

§

C6id24xlarge

§

C6id2xlarge

§

C6id32xlarge

§

C6id4xlarge

§

C6id8xlarge

§

C6idLarge

§

C6idMetal

§

C6idXlarge

§

C6in12xlarge

§

C6in16xlarge

§

C6in24xlarge

§

C6in2xlarge

§

C6in32xlarge

§

C6in4xlarge

§

C6in8xlarge

§

C6inLarge

§

C6inMetal

§

C6inXlarge

§

C7g12xlarge

§

C7g16xlarge

§

C7g2xlarge

§

C7g4xlarge

§

C7g8xlarge

§

C7gLarge

§

C7gMedium

§

C7gMetal

§

C7gXlarge

§

C7gn12xlarge

§

C7gn16xlarge

§

C7gn2xlarge

§

C7gn4xlarge

§

C7gn8xlarge

§

C7gnLarge

§

C7gnMedium

§

C7gnXlarge

§

Cc14xlarge

§

Cc28xlarge

§

Cg14xlarge

§

Cr18xlarge

§

D22xlarge

§

D24xlarge

§

D28xlarge

§

D2Xlarge

§

D32xlarge

§

D34xlarge

§

D38xlarge

§

D3Xlarge

§

D3en12xlarge

§

D3en2xlarge

§

D3en4xlarge

§

D3en6xlarge

§

D3en8xlarge

§

D3enXlarge

§

Dl124xlarge

§

F116xlarge

§

F12xlarge

§

F14xlarge

§

G22xlarge

§

G28xlarge

§

G316xlarge

§

G34xlarge

§

G38xlarge

§

G3sXlarge

§

G4ad16xlarge

§

G4ad2xlarge

§

G4ad4xlarge

§

G4ad8xlarge

§

G4adXlarge

§

G4dn12xlarge

§

G4dn16xlarge

§

G4dn2xlarge

§

G4dn4xlarge

§

G4dn8xlarge

§

G4dnMetal

§

G4dnXlarge

§

G512xlarge

§

G516xlarge

§

G524xlarge

§

G52xlarge

§

G548xlarge

§

G54xlarge

§

G58xlarge

§

G5Xlarge

§

G5g16xlarge

§

G5g2xlarge

§

G5g4xlarge

§

G5g8xlarge

§

G5gMetal

§

G5gXlarge

§

H116xlarge

§

H12xlarge

§

H14xlarge

§

H18xlarge

§

Hi14xlarge

§

Hpc6a48xlarge

§

Hpc6id32xlarge

§

Hpc7g16xlarge

§

Hpc7g4xlarge

§

Hpc7g8xlarge

§

Hs18xlarge

§

I22xlarge

§

I24xlarge

§

I28xlarge

§

I2Xlarge

§

I316xlarge

§

I32xlarge

§

I34xlarge

§

I38xlarge

§

I3Large

§

I3Metal

§

I3Xlarge

§

I3en12xlarge

§

I3en24xlarge

§

I3en2xlarge

§

I3en3xlarge

§

I3en6xlarge

§

I3enLarge

§

I3enMetal

§

I3enXlarge

§

I4g16xlarge

§

I4g2xlarge

§

I4g4xlarge

§

I4g8xlarge

§

I4gLarge

§

I4gXlarge

§

I4i16xlarge

§

I4i2xlarge

§

I4i32xlarge

§

I4i4xlarge

§

I4i8xlarge

§

I4iLarge

§

I4iMetal

§

I4iXlarge

§

Im4gn16xlarge

§

Im4gn2xlarge

§

Im4gn4xlarge

§

Im4gn8xlarge

§

Im4gnLarge

§

Im4gnXlarge

§

Inf124xlarge

§

Inf12xlarge

§

Inf16xlarge

§

Inf1Xlarge

§

Inf224xlarge

§

Inf248xlarge

§

Inf28xlarge

§

Inf2Xlarge

§

Is4gen2xlarge

§

Is4gen4xlarge

§

Is4gen8xlarge

§

Is4genLarge

§

Is4genMedium

§

Is4genXlarge

§

M1Large

§

M1Medium

§

M1Small

§

M1Xlarge

§

M22xlarge

§

M24xlarge

§

M2Xlarge

§

M32xlarge

§

M3Large

§

M3Medium

§

M3Xlarge

§

M410xlarge

§

M416xlarge

§

M42xlarge

§

M44xlarge

§

M4Large

§

M4Xlarge

§

M512xlarge

§

M516xlarge

§

M524xlarge

§

M52xlarge

§

M54xlarge

§

M58xlarge

§

M5Large

§

M5Metal

§

M5Xlarge

§

M5a12xlarge

§

M5a16xlarge

§

M5a24xlarge

§

M5a2xlarge

§

M5a4xlarge

§

M5a8xlarge

§

M5aLarge

§

M5aXlarge

§

M5ad12xlarge

§

M5ad16xlarge

§

M5ad24xlarge

§

M5ad2xlarge

§

M5ad4xlarge

§

M5ad8xlarge

§

M5adLarge

§

M5adXlarge

§

M5d12xlarge

§

M5d16xlarge

§

M5d24xlarge

§

M5d2xlarge

§

M5d4xlarge

§

M5d8xlarge

§

M5dLarge

§

M5dMetal

§

M5dXlarge

§

M5dn12xlarge

§

M5dn16xlarge

§

M5dn24xlarge

§

M5dn2xlarge

§

M5dn4xlarge

§

M5dn8xlarge

§

M5dnLarge

§

M5dnMetal

§

M5dnXlarge

§

M5n12xlarge

§

M5n16xlarge

§

M5n24xlarge

§

M5n2xlarge

§

M5n4xlarge

§

M5n8xlarge

§

M5nLarge

§

M5nMetal

§

M5nXlarge

§

M5zn12xlarge

§

M5zn2xlarge

§

M5zn3xlarge

§

M5zn6xlarge

§

M5znLarge

§

M5znMetal

§

M5znXlarge

§

M6a12xlarge

§

M6a16xlarge

§

M6a24xlarge

§

M6a2xlarge

§

M6a32xlarge

§

M6a48xlarge

§

M6a4xlarge

§

M6a8xlarge

§

M6aLarge

§

M6aMetal

§

M6aXlarge

§

M6g12xlarge

§

M6g16xlarge

§

M6g2xlarge

§

M6g4xlarge

§

M6g8xlarge

§

M6gLarge

§

M6gMedium

§

M6gMetal

§

M6gXlarge

§

M6gd12xlarge

§

M6gd16xlarge

§

M6gd2xlarge

§

M6gd4xlarge

§

M6gd8xlarge

§

M6gdLarge

§

M6gdMedium

§

M6gdMetal

§

M6gdXlarge

§

M6i12xlarge

§

M6i16xlarge

§

M6i24xlarge

§

M6i2xlarge

§

M6i32xlarge

§

M6i4xlarge

§

M6i8xlarge

§

M6iLarge

§

M6iMetal

§

M6iXlarge

§

M6id12xlarge

§

M6id16xlarge

§

M6id24xlarge

§

M6id2xlarge

§

M6id32xlarge

§

M6id4xlarge

§

M6id8xlarge

§

M6idLarge

§

M6idMetal

§

M6idXlarge

§

M6idn12xlarge

§

M6idn16xlarge

§

M6idn24xlarge

§

M6idn2xlarge

§

M6idn32xlarge

§

M6idn4xlarge

§

M6idn8xlarge

§

M6idnLarge

§

M6idnMetal

§

M6idnXlarge

§

M6in12xlarge

§

M6in16xlarge

§

M6in24xlarge

§

M6in2xlarge

§

M6in32xlarge

§

M6in4xlarge

§

M6in8xlarge

§

M6inLarge

§

M6inMetal

§

M6inXlarge

§

M7g12xlarge

§

M7g16xlarge

§

M7g2xlarge

§

M7g4xlarge

§

M7g8xlarge

§

M7gLarge

§

M7gMedium

§

M7gMetal

§

M7gXlarge

§

Mac1Metal

§

Mac2Metal

§

P216xlarge

§

P28xlarge

§

P2Xlarge

§

P316xlarge

§

P32xlarge

§

P38xlarge

§

P3dn24xlarge

§

P4d24xlarge

§

P4de24xlarge

§

R32xlarge

§

R34xlarge

§

R38xlarge

§

R3Large

§

R3Xlarge

§

R416xlarge

§

R42xlarge

§

R44xlarge

§

R48xlarge

§

R4Large

§

R4Xlarge

§

R512xlarge

§

R516xlarge

§

R524xlarge

§

R52xlarge

§

R54xlarge

§

R58xlarge

§

R5Large

§

R5Metal

§

R5Xlarge

§

R5a12xlarge

§

R5a16xlarge

§

R5a24xlarge

§

R5a2xlarge

§

R5a4xlarge

§

R5a8xlarge

§

R5aLarge

§

R5aXlarge

§

R5ad12xlarge

§

R5ad16xlarge

§

R5ad24xlarge

§

R5ad2xlarge

§

R5ad4xlarge

§

R5ad8xlarge

§

R5adLarge

§

R5adXlarge

§

R5b12xlarge

§

R5b16xlarge

§

R5b24xlarge

§

R5b2xlarge

§

R5b4xlarge

§

R5b8xlarge

§

R5bLarge

§

R5bMetal

§

R5bXlarge

§

R5d12xlarge

§

R5d16xlarge

§

R5d24xlarge

§

R5d2xlarge

§

R5d4xlarge

§

R5d8xlarge

§

R5dLarge

§

R5dMetal

§

R5dXlarge

§

R5dn12xlarge

§

R5dn16xlarge

§

R5dn24xlarge

§

R5dn2xlarge

§

R5dn4xlarge

§

R5dn8xlarge

§

R5dnLarge

§

R5dnMetal

§

R5dnXlarge

§

R5n12xlarge

§

R5n16xlarge

§

R5n24xlarge

§

R5n2xlarge

§

R5n4xlarge

§

R5n8xlarge

§

R5nLarge

§

R5nMetal

§

R5nXlarge

§

R6a12xlarge

§

R6a16xlarge

§

R6a24xlarge

§

R6a2xlarge

§

R6a32xlarge

§

R6a48xlarge

§

R6a4xlarge

§

R6a8xlarge

§

R6aLarge

§

R6aMetal

§

R6aXlarge

§

R6g12xlarge

§

R6g16xlarge

§

R6g2xlarge

§

R6g4xlarge

§

R6g8xlarge

§

R6gLarge

§

R6gMedium

§

R6gMetal

§

R6gXlarge

§

R6gd12xlarge

§

R6gd16xlarge

§

R6gd2xlarge

§

R6gd4xlarge

§

R6gd8xlarge

§

R6gdLarge

§

R6gdMedium

§

R6gdMetal

§

R6gdXlarge

§

R6i12xlarge

§

R6i16xlarge

§

R6i24xlarge

§

R6i2xlarge

§

R6i32xlarge

§

R6i4xlarge

§

R6i8xlarge

§

R6iLarge

§

R6iMetal

§

R6iXlarge

§

R6id12xlarge

§

R6id16xlarge

§

R6id24xlarge

§

R6id2xlarge

§

R6id32xlarge

§

R6id4xlarge

§

R6id8xlarge

§

R6idLarge

§

R6idMetal

§

R6idXlarge

§

R6idn12xlarge

§

R6idn16xlarge

§

R6idn24xlarge

§

R6idn2xlarge

§

R6idn32xlarge

§

R6idn4xlarge

§

R6idn8xlarge

§

R6idnLarge

§

R6idnMetal

§

R6idnXlarge

§

R6in12xlarge

§

R6in16xlarge

§

R6in24xlarge

§

R6in2xlarge

§

R6in32xlarge

§

R6in4xlarge

§

R6in8xlarge

§

R6inLarge

§

R6inMetal

§

R6inXlarge

§

R7g12xlarge

§

R7g16xlarge

§

R7g2xlarge

§

R7g4xlarge

§

R7g8xlarge

§

R7gLarge

§

R7gMedium

§

R7gMetal

§

R7gXlarge

§

T1Micro

§

T22xlarge

§

T2Large

§

T2Medium

§

T2Micro

§

T2Nano

§

T2Small

§

T2Xlarge

§

T32xlarge

§

T3Large

§

T3Medium

§

T3Micro

§

T3Nano

§

T3Small

§

T3Xlarge

§

T3a2xlarge

§

T3aLarge

§

T3aMedium

§

T3aMicro

§

T3aNano

§

T3aSmall

§

T3aXlarge

§

T4g2xlarge

§

T4gLarge

§

T4gMedium

§

T4gMicro

§

T4gNano

§

T4gSmall

§

T4gXlarge

§

Trn12xlarge

§

Trn132xlarge

§

Trn1n32xlarge

§

U12tb1112xlarge

§

U12tb1Metal

§

U18tb1112xlarge

§

U18tb1Metal

§

U24tb1112xlarge

§

U24tb1Metal

§

U3tb156xlarge

§

U6tb1112xlarge

§

U6tb156xlarge

§

U6tb1Metal

§

U9tb1112xlarge

§

U9tb1Metal

§

Vt124xlarge

§

Vt13xlarge

§

Vt16xlarge

§

X116xlarge

§

X132xlarge

§

X1e16xlarge

§

X1e2xlarge

§

X1e32xlarge

§

X1e4xlarge

§

X1e8xlarge

§

X1eXlarge

§

X2gd12xlarge

§

X2gd16xlarge

§

X2gd2xlarge

§

X2gd4xlarge

§

X2gd8xlarge

§

X2gdLarge

§

X2gdMedium

§

X2gdMetal

§

X2gdXlarge

§

X2idn16xlarge

§

X2idn24xlarge

§

X2idn32xlarge

§

X2idnMetal

§

X2iedn16xlarge

§

X2iedn24xlarge

§

X2iedn2xlarge

§

X2iedn32xlarge

§

X2iedn4xlarge

§

X2iedn8xlarge

§

X2iednMetal

§

X2iednXlarge

§

X2iezn12xlarge

§

X2iezn2xlarge

§

X2iezn4xlarge

§

X2iezn6xlarge

§

X2iezn8xlarge

§

X2ieznMetal

§

Z1d12xlarge

§

Z1d2xlarge

§

Z1d3xlarge

§

Z1d6xlarge

§

Z1dLarge

§

Z1dMetal

§

Z1dXlarge

§

Unknown(UnknownVariantValue)

Unknown contains new variants that have been added since this code was generated.

Implementations§

source§

impl InstanceType

source

pub fn as_str(&self) -> &str

Returns the &str value of the enum member.

source

pub const fn values() -> &'static [&'static str]

Returns all the &str representations of the enum members.

Trait Implementations§

source§

impl AsRef<str> for InstanceType

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Clone for InstanceType

source§

fn clone(&self) -> InstanceType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for InstanceType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&str> for InstanceType

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl FromStr for InstanceType

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for InstanceType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for InstanceType

source§

fn cmp(&self, other: &InstanceType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<InstanceType> for InstanceType

source§

fn eq(&self, other: &InstanceType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<InstanceType> for InstanceType

source§

fn partial_cmp(&self, other: &InstanceType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Eq for InstanceType

source§

impl StructuralEq for InstanceType

source§

impl StructuralPartialEq for InstanceType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more